AM335x ICE: Add support for PCA9536 GPIO expander
Subsystems (2)
cover AM335x ICE: Add support for PCA9536 GPIO expander
This patch series adds support for TI PCA9536 GPIO expander present on AM335x ICE board.
Vignesh R (2):
gpio: pca953x: Add support for TI PCA9536
ARM: dts: am335x-icev2: Add DT node for TI PCA9536
Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 1 + arch/arm/boot/dts/am335x-icev2.dts | 7 +++++++ drivers/gpio/gpio-pca953x.c | 1 + 3 files changed, 9 insertions(+)
Signature · 1 line
2.8.2
PATCH 1/2 gpio: pca953x: Add support for TI PCA9536
TI PCA9536 is 4-Bit I2C GPIO expander without interrupt support[1]. Add support for the same.
[1] TRM: http://www.ti.com/lit/ds/symlink/pca9536.pdf
--- Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 1 + drivers/gpio/gpio-pca953x.c | 1 + 2 files changed, 2 insertions(+)
Documentation/devicetree/bindings/gpio/gpio-pca953x.txt +1 -0
@@ -21,6 +21,7 @@ Required properties: maxim,max7313 maxim,max7315 ti,pca6107 + ti,pca9536 ti,tca6408 ti,tca6416 ti,tca6424
drivers/gpio/gpio-pca953x.c +1 -0
@@ -861,6 +861,7 @@ static const struct of_device_id pca953x_dt_ids[] = { { .compatible = "maxim,max7315", .data = OF_953X( 8, PCA_INT), }, { .compatible = "ti,pca6107", .data = OF_953X( 8, PCA_INT), }, + { .compatible = "ti,pca9536", .data = OF_953X( 4, 0), }, { .compatible = "ti,tca6408", .data = OF_953X( 8, PCA_INT), }, { .compatible = "ti,tca6416", .data = OF_953X(16, PCA_INT), }, { .compatible = "ti,tca6424", .data = OF_953X(24, PCA_INT), },
Signature · 1 line
2.8.2
PATCH 2/2 ARM: dts: am335x-icev2: Add DT node for TI PCA9536
In reply to Vignesh RAM335x ICE board has a TI PCA9536 chip connected to I2C0 at address 0x41. Add DT entry for the same.
--- arch/arm/boot/dts/am335x-icev2.dts | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/am335x-icev2.dts +7 -0
@@ -206,6 +206,13 @@ gpio-controller; #gpio-cells = <2>; }; + + pca9536: gpio at 41 { + compatible = "ti,pca9536"; + reg = <0x41>; + gpio-controller; + #gpio-cells = <2>; + }; }; #include "tps65910.dtsi"
Signature · 1 line
2.8.2
Re: [PATCH 2/2] ARM: dts: am335x-icev2: Add DT node for TI PCA9536
Quoted 16 lines · Vignesh R
AM335x ICE board has a TI PCA9536 chip connected to I2C0 at address
0x41. Add DT entry for the same.Signed-off-by Vignesh R <[email protected]>--- arch/arm/boot/dts/am335x-icev2.dts | 7 +++++++ 1 file changed, 7 insertions(+)arch/arm/boot/dts/am335x-icev2.dts +0
-0@@ -206,6 +206,13 @@ gpio-controller; #gpio-cells = <2>; };
arch/arm/boot/dts/am335x-icev2.dts line 218
Quoted 10 lines
arch/arm/boot/dts/am335x-icev2.dts +7
-0+ + pca9536: gpio at 41 { + compatible = "ti,pca9536"; + reg = <0x41>; + gpio-controller; + #gpio-cells = <2>; + }; }; #include "tps65910.dtsi"
M.K.
Quoted 8 lines
--
2.8.2_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Re: [PATCH 1/2] gpio: pca953x: Add support for TI PCA9536
In reply to Vignesh RQuoted 10 lines · Vignesh R
TI PCA9536 is 4-Bit I2C GPIO expander without interrupt support[1]. Add support for the same.
[1] TRM: http://www.ti.com/lit/ds/symlink/pca9536.pdf
Signed-off-by Vignesh R <[email protected]>--- Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 1 + drivers/gpio/gpio-pca953x.c | 1 + 2 files changed, 2 insertions(+)
Re: [PATCH 2/2] ARM: dts: am335x-icev2: Add DT node for TI PCA9536
In reply to Vignesh RQuoted 4 lines · Vignesh R
AM335x ICE board has a TI PCA9536 chip connected to I2C0 at address
0x41. Add DT entry for the same.Signed-off-by Vignesh R <[email protected]>
Pls take this through the ARM SoC TI git tree.
Yours,
Linus Walleij
Re: [PATCH 1/2] gpio: pca953x: Add support for TI PCA9536
In reply to Vignesh RQuoted 6 lines · Vignesh R
TI PCA9536 is 4-Bit I2C GPIO expander without interrupt support[1]. Add support for the same.
[1] TRM: http://www.ti.com/lit/ds/symlink/pca9536.pdf
Signed-off-by Vignesh R <[email protected]>
Patch applied with Rob's ACK.
Yours,
Linus Walleij
Re: [PATCH 2/2] ARM: dts: am335x-icev2: Add DT node for TI PCA9536
In reply to Linus WalleijQuoted 10 lines · Linus Walleij
Quoted 4 lines · Vignesh R
AM335x ICE board has a TI PCA9536 chip connected to I2C0 at address
0x41. Add DT entry for the same.Signed-off-by Vignesh R <[email protected]>Acked-by Linus Walleij <[email protected]>Pls take this through the ARM SoC TI git tree.
Applying this patch into omap-for-v4.8/dt thanks.
Tony