summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-29 21:19:25 -0700
committerSimon Glass <sjg@chromium.org>2020-01-07 16:02:39 -0700
commitdc12ebbbdb765153805d2b17d18edf5fe0813d5a (patch)
tree8f0872ad4ec567e7b5cda4422762289ea904e5ba /arch
parentcce61fc428700a782f2f76b0f32b6112eeb99dfb (diff)
downloadu-boot-dc12ebbbdb765153805d2b17d18edf5fe0813d5a.tar.gz
u-boot-dc12ebbbdb765153805d2b17d18edf5fe0813d5a.tar.xz
u-boot-dc12ebbbdb765153805d2b17d18edf5fe0813d5a.zip
dm: test: Add a test driver for devres
Add a driver which does devres allocations so that we can write tests for devres. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sandbox/dts/test.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 57513a449f..3aef40d5ca 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -201,6 +201,10 @@
compatible = "denx,u-boot-fdt-test1";
};
+ devres-test {
+ compatible = "denx,u-boot-devres-test";
+ };
+
clocks {
clk_fixed: clk-fixed {
compatible = "fixed-clock";