From 99552c343576051c9edcf5c9f3fe4186d5c76029 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Mon, 23 Apr 2018 13:26:53 +0900 Subject: test: regmap: test Linux-compatible syscon_node_to_regmap() Like Linux, syscon_node_to_regmap() allows a node to work as a syscon provider without binding it to a syscon driver. Test this. Requested-by: Simon Glass Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass --- arch/sandbox/dts/test.dts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch/sandbox/dts') diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 06d0e8ce85..3c25cb79ef 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -393,6 +393,14 @@ 0x38 8>; }; + syscon@2 { + compatible = "simple-mfd", "syscon"; + reg = <0x40 5 + 0x48 6 + 0x50 7 + 0x58 8>; + }; + timer { compatible = "sandbox,timer"; clock-frequency = <1000000>; -- cgit