aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sandbox
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-04-16 21:01:11 -0600
committerTom Rini <trini@konsulko.com>2017-04-27 16:49:02 -0400
commit43b41566f72c3ff1074fe686f37227ebe33e11f9 (patch)
tree8fb90db0bfe55a22257930fdd5512e0e2fc03f89 /arch/sandbox
parent29f089a60547178cd59b5482c57e6a87bdd11089 (diff)
downloadu-boot-midas-43b41566f72c3ff1074fe686f37227ebe33e11f9.tar.gz
u-boot-midas-43b41566f72c3ff1074fe686f37227ebe33e11f9.tar.bz2
u-boot-midas-43b41566f72c3ff1074fe686f37227ebe33e11f9.zip
dm: sandbox: pwm: Add a basic pwm test
Unfortunately a test for the PWM uclass was not included when it was submitted. This was noticed when trying to add more functionality: http://patchwork.ozlabs.org/patch/748172/ Add a simple test to get us started. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/dts/test.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index fff175d1b7..50bcdebf74 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -272,6 +272,14 @@
power-domains = <&pwrdom 2>;
};
+ pwm {
+ compatible = "sandbox,pwm";
+ };
+
+ pwm2 {
+ compatible = "sandbox,pwm";
+ };
+
ram {
compatible = "sandbox,ram";
};