arm64: dts: renesas: r8a77990: ebisu: Add GPIO expander
Subsystems (2)
Geert Uytterhoeven
maintainerPATCH 1/1 arm64: dts: renesas: r8a77990: ebisu: Add GPIO expander
Describe the ON Semiconductor PCA9654 I/O expander on the first I2C bus, which provides 8 extra GPIOs.
---
GPIOs 5-7 are accessible on test points CP16, CP17, and CP72.
Output tested with a multi-meter using /sys/class/gpio/. Input and interrupt capability tested using gpio-keys.
--- arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 9 +++++++++ 1 file changed, 9 insertions(+)
arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts +9 -0
@@ -337,6 +337,15 @@ &i2c0 { status = "okay"; + io_expander: gpio@20 { + compatible = "onnn,pca9654"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&gpio2>; + interrupts = <22 IRQ_TYPE_LEVEL_LOW>; + }; + hdmi-encoder@39 { compatible = "adi,adv7511w"; reg = <0x39>;
Signature · 1 line
2.17.1
Quoted 4 lines · Geert Uytterhoeven
Describe the ON Semiconductor PCA9654 I/O expander on the first I2C bus, which provides 8 extra GPIOs.
Signed-off-by Geert Uytterhoeven <[email protected]>
Thanks,
This looks fine to me but I will wait to see if there are other reviews before applying.
Quoted 32 lines
---
GPIOs 5-7 are accessible on test points CP16, CP17, and CP72.Output tested with a multi-meter using
/sys/class/gpio/. Input and interrupt capability tested using gpio-keys.--- arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 9 +++++++++ 1 file changed, 9 insertions(+)arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts +9
-0@@ -337,6 +337,15 @@ &i2c0 { status = "okay"; + io_expander: gpio@20 { + compatible = "onnn,pca9654"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&gpio2>; + interrupts = <22 IRQ_TYPE_LEVEL_LOW>; + }; + hdmi-encoder@39 { compatible = "adi,adv7511w"; reg = <0x39>;Signature · 1 line
2.17.1
Hi Geert,
Thanks for your patch.
Quoted 4 lines · Geert Uytterhoeven
Describe the ON Semiconductor PCA9654 I/O expander on the first I2C bus, which provides 8 extra GPIOs.
Signed-off-by Geert Uytterhoeven <[email protected]>
Quoted 32 lines
---
GPIOs 5-7 are accessible on test points CP16, CP17, and CP72.Output tested with a multi-meter using
/sys/class/gpio/. Input and interrupt capability tested using gpio-keys.--- arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 9 +++++++++ 1 file changed, 9 insertions(+)arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts +9
-0@@ -337,6 +337,15 @@ &i2c0 { status = "okay"; + io_expander: gpio@20 { + compatible = "onnn,pca9654"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + interrupt-parent = <&gpio2>; + interrupts = <22 IRQ_TYPE_LEVEL_LOW>; + }; + hdmi-encoder@39 { compatible = "adi,adv7511w"; reg = <0x39>;Signature · 1 line
2.17.1
Signature · 2 lines
Regards, Niklas Söderlund
Simon Horman
AppliedQuoted 11 lines · Niklas Söderlund
Hi Geert,
Thanks for your patch.
Quoted 4 lines · Geert Uytterhoeven
Describe the ON Semiconductor PCA9654 I/O expander on the first I2C bus, which provides 8 extra GPIOs.
Signed-off-by Geert Uytterhoeven <[email protected]>Reviewed-by Niklas Söderlund <[email protected]>
Thanks, applied for v5.2.