summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSean Anderson <[email protected]>2021-04-20 10:50:58 -0400
committerTom Rini <[email protected]>2021-05-04 07:57:18 -0400
commit1cbfed8d3e9254d7e2a9466498ef867f7cb3f4cd (patch)
treef12a5f88da3f54abb4f4fb744f8982a6fa87f1e6 /arch
parent54aa07fdfc01ac5abff342699df269f6f869fbe0 (diff)
test: Add gpio-sysinfo test
This adds a test for the gpio-sysinfo driver. Signed-off-by: Sean Anderson <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'arch')
-rw-r--r--arch/sandbox/dts/test.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index 4fde923e9ad..6fd56c351cf 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -1526,6 +1526,13 @@
compatible = "sandbox,sysinfo-sandbox";
};
+ sysinfo-gpio {
+ compatible = "gpio-sysinfo";
+ gpios = <&gpio_a 15>, <&gpio_a 16>, <&gpio_a 17>;
+ revisions = <19>, <5>;
+ names = "rev_a", "foo";
+ };
+
some_regmapped-bus {
#address-cells = <0x1>;
#size-cells = <0x1>;