arm64: dts: renesas: salvator-common: add GPIO extender
Subsystems (2)
PATCH 1/1 arm64: dts: renesas: salvator-common: add GPIO extender
We need to configure its GPIOs later.
---
arch/arm64/boot/dts/renesas/salvator-common.dtsi | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/renesas/salvator-common.dtsi +5 -0
@@ -338,6 +338,11 @@ &i2c4 { status = "okay"; + pca9654: gpio@20 { + compatible = "onsemi,pca9654"; + reg = <0x20>; + }; + csa_vdd: adc@7c { compatible = "maxim,max9611"; reg = <0x7c>;
Signature · 1 line
2.11.0
Quoted 13 lines · Wolfram Sang
We need to configure its GPIOs later.
Signed-off-by Wolfram Sang <[email protected]>---
arch/arm64/boot/dts/renesas/salvator-common.dtsi | 5 +++++ 1 file changed, 5 insertions(+)arch/arm64/boot/dts/renesas/salvator-common.dtsi +0
-0
arch/arm64/boot/dts/renesas/salvator-common.dtsi line 342
Quoted 5 lines
arch/arm64/boot/dts/renesas/salvator-common.dtsi +2
-0@@ -338,6 +338,11 @@ &i2c4 { status = "okay"; + pca9654: gpio@20 { + compatible = "onsemi,pca9654";
The registered vendor prefix is "onnn", not "onsemi". The GPIO driver no
longer recognizes "onsemi,pca9654", I've fixed it.
[...]
MBR, Sergei
Quoted 6 lines
arch/arm64/boot/dts/renesas/salvator-common.dtsi line 342
Quoted 3 lines
arch/arm64/boot/dts/renesas/salvator-common.dtsi +2
-0+ pca9654: gpio@20 { + compatible = "onsemi,pca9654";The registered vendor prefix is "onnn", not "onsemi". The GPIO driver no
longer recognizes "onsemi,pca9654", I've fixed it.
Now, that's a cool vendor prefix. I'll definately use that! Onnn...
Hi Wolfram,
Quoted 1 line · Wolfram Sang
We need to configure its GPIOs later.
Thanks for your patch!
arch/arm64/boot/dts/renesas/salvator-common.dtsi line 343
Quoted 9 lines
arch/arm64/boot/dts/renesas/salvator-common.dtsi +3
-0@@ -338,6 +338,11 @@ &i2c4 { status = "okay"; + pca9654: gpio@20 { + compatible = "onsemi,pca9654"; + reg = <0x20>;
Missing gpio-controller, #gpio-cells, and interrupts properties?
Seems like Documentation/devicetree/bindings/gpio/gpio-pca953x.txt can use some updates...
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Quoted 2 lines
Missing gpio-controller, #gpio-cells,
I can fix that...
Quoted 1 line
and interrupts properties?
... but this is not tested!
Quoted 2 lines
Seems like
Documentation/devicetree/bindings/gpio/gpio-pca953x.txtcan use some updates...
Heh, I was relying on that. I can fix it, too.
Hi Wolfram,
Quoted 7 lines · Wolfram Sang
Quoted 1 line
Missing gpio-controller, #gpio-cells,
I can fix that...
Quoted 1 line
and interrupts properties?
... but this is not tested!
It's hardware description ;-)
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Hello!
Quoted 10 lines · Geert Uytterhoeven
Quoted 1 line
We need to configure its GPIOs later.
Thanks for your patch!
Quoted 6 lines
arch/arm64/boot/dts/renesas/salvator-common.dtsi +0
-0@@ -338,6 +338,11 @@ &i2c4 { status = "okay";
Quoted 5 lines
arch/arm64/boot/dts/renesas/salvator-common.dtsi line 343
Quoted 3 lines
arch/arm64/boot/dts/renesas/salvator-common.dtsi +3
-0+ pca9654: gpio@20 { + compatible = "onsemi,pca9654"; + reg = <0x20>;Missing gpio-controller, #gpio-cells, and interrupts properties?
Indeed.
Quoted 2 lines
Seems like
Documentation/devicetree/bindings/gpio/gpio-pca953x.txtcan use some updates...
What do you mean? I've surely updated it in my vendor prefix fix:
Quoted 3 lines
Gr{oetje,eeting}s,
Geert
MBR, Sergei
Hi Sergei,
Quoted 14 lines · Sergei Shtylyov
Quoted 6 lines · Geert Uytterhoeven
Quoted 6 lines
arch/arm64/boot/dts/renesas/salvator-common.dtsi +0
-0@@ -338,6 +338,11 @@ &i2c4 { status = "okay";Quoted 6 lines
arch/arm64/boot/dts/renesas/salvator-common.dtsi line 343
Quoted 3 lines
arch/arm64/boot/dts/renesas/salvator-common.dtsi +3
-0+ pca9654: gpio@20 { + compatible = "onsemi,pca9654"; + reg = <0x20>;Missing gpio-controller, #gpio-cells, and interrupts properties?
Quoted 8 lines
Indeed.
Quoted 2 lines
Seems like
Documentation/devicetree/bindings/gpio/gpio-pca953x.txtcan use some updates...What do you mean? I've surely updated it in my vendor prefix fix:
I mean the missing properties are also not documented in the bindings, or omitted in the example.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds