summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/dts
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-06-17 09:43:59 -0600
committerSimon Glass <sjg@chromium.org>2016-06-19 17:05:55 -0600
commit4581b717b1bf0fb04e7d9fcaf3d4c23d357154ac (patch)
treed59cea67293deab951e1322d4ab8add35ed555de /arch/sandbox/dts
parent89c1e2da78f82a09685006291ce8bb44f635fa25 (diff)
downloadtalos-obmc-uboot-4581b717b1bf0fb04e7d9fcaf3d4c23d357154ac.tar.gz
talos-obmc-uboot-4581b717b1bf0fb04e7d9fcaf3d4c23d357154ac.zip
reset: implement a reset test
This adds a sandbox reset implementation (provider), a test client device, instantiates them both from Sandbox's DT, and adds a DM test that excercises everything. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/dts')
-rw-r--r--arch/sandbox/dts/test.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 686c215aea..879b30e3cc 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -259,6 +259,17 @@
compatible = "sandbox,reset";
};
+ resetc: reset-ctl {
+ compatible = "sandbox,reset-ctl";
+ #reset-cells = <1>;
+ };
+
+ reset-ctl-test {
+ compatible = "sandbox,reset-ctl-test";
+ resets = <&resetc 100>, <&resetc 2>;
+ reset-names = "other", "test";
+ };
+
rproc_1: rproc@1 {
compatible = "sandbox,test-processor";
remoteproc-name = "remoteproc-test-dev1";
OpenPOWER on IntegriCloud