diff options
author | Tom Rini <trini@konsulko.com> | 2020-07-05 08:06:52 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-05 08:06:52 -0400 |
commit | 04da1cd8076b44ff49a79b7fe048a9e8e56b5f60 (patch) | |
tree | 7a276566b545e1a8df7f2113d67baaace3c5b2e8 /arch | |
parent | 06e1321553ffa442248e35d9100fd70153690348 (diff) | |
parent | 9ba84329dc45f28f8581e95de155b5bf0373bb3d (diff) |
Merge branch '2020-07-05-gpio-regression-fix'
- Merge a fix to the gpio uclass and a test for it.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/dts/test.dts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 5ce5e28476..24bb3ce36f 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -343,6 +343,26 @@ #gpio-cells = <1>; gpio-bank-name = "a"; sandbox,gpio-count = <20>; + hog_input_active_low { + gpio-hog; + input; + gpios = <0 GPIO_ACTIVE_LOW>; + }; + hog_input_active_high { + gpio-hog; + input; + gpios = <1 GPIO_ACTIVE_HIGH>; + }; + hog_output_low { + gpio-hog; + output-low; + gpios = <2 GPIO_ACTIVE_HIGH>; + }; + hog_output_high { + gpio-hog; + output-high; + gpios = <3 GPIO_ACTIVE_HIGH>; + }; }; gpio_b: extra-gpios { |