diff mbox series

[v3,13/15] ARM: dts: dove: fix PCA95xx GPIO expander properties on A510

Message ID 20200916155715.21009-14-krzk@kernel.org
State Superseded
Headers show
Series ARM: dts: / gpio: Add dtschema for NXP PCA953x and correct dts | expand

Commit Message

Krzysztof Kozlowski Sept. 16, 2020, 3:57 p.m. UTC
The PCA95xx GPIO expander requires GPIO controller properties to operate
properly.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/boot/dts/dove-sbc-a510.dts | 1 +
 1 file changed, 1 insertion(+)

Comments

Gregory CLEMENT Sept. 23, 2020, 2:38 p.m. UTC | #1
Hi Krzysztof,

> The PCA95xx GPIO expander requires GPIO controller properties to operate

> properly.


Applied on mvebu/dt

Thanks,

Gregory
>

> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>

> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

> ---

>  arch/arm/boot/dts/dove-sbc-a510.dts | 1 +

>  1 file changed, 1 insertion(+)

>

> diff --git a/arch/arm/boot/dts/dove-sbc-a510.dts b/arch/arm/boot/dts/dove-sbc-a510.dts

> index 2bb85a9b7614..df021f9b0117 100644

> --- a/arch/arm/boot/dts/dove-sbc-a510.dts

> +++ b/arch/arm/boot/dts/dove-sbc-a510.dts

> @@ -143,6 +143,7 @@

>  	gpio_ext: gpio@20 {

>  		compatible = "nxp,pca9555";

>  		reg = <0x20>;

> +		gpio-controller;

>  		#gpio-cells = <2>;

>  	};

>  };

> -- 

> 2.17.1

>


-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/dove-sbc-a510.dts b/arch/arm/boot/dts/dove-sbc-a510.dts
index 2bb85a9b7614..df021f9b0117 100644
--- a/arch/arm/boot/dts/dove-sbc-a510.dts
+++ b/arch/arm/boot/dts/dove-sbc-a510.dts
@@ -143,6 +143,7 @@ 
 	gpio_ext: gpio@20 {
 		compatible = "nxp,pca9555";
 		reg = <0x20>;
+		gpio-controller;
 		#gpio-cells = <2>;
 	};
 };