test: regmap: test Linux-compatible syscon_node_to_regmap()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 23 Apr 2018 04:26:53 +0000 (13:26 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 7 May 2018 19:49:52 +0000 (15:49 -0400)
commit99552c343576051c9edcf5c9f3fe4186d5c76029
treea683c5e6e43995c14ba3f124f3713de5d0c45fcf
parente151a1c288bd8b3e85ca6386942e6322fa984d96
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 <sjg@chromium.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
test/dm/regmap.c