Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1358944 > unrolled thread

[PATCH] x86: dts: ce4100: Fix compatible string for PCF8575 chip

Started byBen Hutchings <ben.hutchings@codethink.co.uk>
First post2016-03-16 13:20 +0100
Last post2016-03-16 13:30 +0100
Articles 2 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] x86: dts: ce4100: Fix compatible string for PCF8575 chip Ben Hutchings <ben.hutchings@codethink.co.uk> - 2016-03-16 13:20 +0100
    Re: [PATCH] x86: dts: ce4100: Fix compatible string for PCF8575 chip Ben Hutchings <ben.hutchings@codethink.co.uk> - 2016-03-16 13:30 +0100

#1358944 — [PATCH] x86: dts: ce4100: Fix compatible string for PCF8575 chip

FromBen Hutchings <ben.hutchings@codethink.co.uk>
Date2016-03-16 13:20 +0100
Subject[PATCH] x86: dts: ce4100: Fix compatible string for PCF8575 chip
Message-ID<rdiAG-nR-19@gated-at.bofh.it>
The binding definition for the PCF857x GPIO expanders doesn't mention
a "ti,pcf8575" compatible string.  This is apparently because TI is
only a second source - there is no functional difference between
PCF8575 chips manufactured by TI and NXP, and the same board might be
populated with either depending on availability.

As a practical matter, the gpio-pcf857x driver doesn't match this
string, so this device tree currently won't work.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
 Documentation/devicetree/bindings/i2c/i2c-pxa-pci-ce4100.txt | 4 ++--
 arch/x86/platform/ce4100/falconfalls.dts                     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-pxa-pci-ce4100.txt b/Documentation/devicetree/bindings/i2c/i2c-pxa-pci-ce4100.txt
index 569b16248514..1ff6f8487a2d 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-pxa-pci-ce4100.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-pxa-pci-ce4100.txt
@@ -71,7 +71,7 @@ This is an example which is used on FalconFalls:
 			/* This I2C controller has one gpio controller */
 			gpio@26 {
 				#gpio-cells = <2>;
-				compatible = "ti,pcf8575";
+				compatible = "nxp,pcf8575";
 				reg = <0x26>;
 				gpio-controller;
 			};
@@ -85,7 +85,7 @@ This is an example which is used on FalconFalls:
 
 			gpio@26 {
 				#gpio-cells = <2>;
-				compatible = "ti,pcf8575";
+				compatible = "nxp,pcf8575";
 				reg = <0x26>;
 				gpio-controller;
 			};
diff --git a/arch/x86/platform/ce4100/falconfalls.dts b/arch/x86/platform/ce4100/falconfalls.dts
index ce874f872cc6..4958e0045c34 100644
--- a/arch/x86/platform/ce4100/falconfalls.dts
+++ b/arch/x86/platform/ce4100/falconfalls.dts
@@ -252,7 +252,7 @@
 
 						gpio@26 {
 							#gpio-cells = <2>;
-							compatible = "ti,pcf8575";
+							compatible = "nxp,pcf8575";
 							reg = <0x26>;
 							gpio-controller;
 						};
@@ -266,7 +266,7 @@
 
 						gpio@26 {
 							#gpio-cells = <2>;
-							compatible = "ti,pcf8575";
+							compatible = "nxp,pcf8575";
 							reg = <0x26>;
 							gpio-controller;
 						};

-- 
Ben Hutchings
Software Developer, Codethink Ltd.

[toc] | [next] | [standalone]


#1358945

FromBen Hutchings <ben.hutchings@codethink.co.uk>
Date2016-03-16 13:30 +0100
Message-ID<rdiKm-rP-5@gated-at.bofh.it>
In reply to#1358944
On Wed, 2016-03-16 at 12:15 +0000, Ben Hutchings wrote:
> The binding definition for the PCF857x GPIO expanders doesn't mention
> a "ti,pcf8575" compatible string.  This is apparently because TI is
> only a second source - there is no functional difference between
> PCF8575 chips manufactured by TI and NXP, and the same board might be
> populated with either depending on availability.
> 
> As a practical matter, the gpio-pcf857x driver doesn't match this
> string, so this device tree currently won't work.
> 
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

Append or replace that with:

Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>

> ---
>  Documentation/devicetree/bindings/i2c/i2c-pxa-pci-ce4100.txt | 4 ++--
>  arch/x86/platform/ce4100/falconfalls.dts                     | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/i2c/i2c-pxa-pci-ce4100.txt b/Documentation/devicetree/bindings/i2c/i2c-pxa-pci-ce4100.txt
> index 569b16248514..1ff6f8487a2d 100644
> --- a/Documentation/devicetree/bindings/i2c/i2c-pxa-pci-ce4100.txt
> +++ b/Documentation/devicetree/bindings/i2c/i2c-pxa-pci-ce4100.txt
> @@ -71,7 +71,7 @@ This is an example which is used on FalconFalls:
>  			/* This I2C controller has one gpio controller */
>  			gpio@26 {
>  				#gpio-cells = <2>;
> -				compatible = "ti,pcf8575";
> +				compatible = "nxp,pcf8575";
>  				reg = <0x26>;
>  				gpio-controller;
>  			};
> @@ -85,7 +85,7 @@ This is an example which is used on FalconFalls:
>  
>  			gpio@26 {
>  				#gpio-cells = <2>;
> -				compatible = "ti,pcf8575";
> +				compatible = "nxp,pcf8575";
>  				reg = <0x26>;
>  				gpio-controller;
>  			};
> diff --git a/arch/x86/platform/ce4100/falconfalls.dts b/arch/x86/platform/ce4100/falconfalls.dts
> index ce874f872cc6..4958e0045c34 100644
> --- a/arch/x86/platform/ce4100/falconfalls.dts
> +++ b/arch/x86/platform/ce4100/falconfalls.dts
> @@ -252,7 +252,7 @@
>  
>  						gpio@26 {
>  							#gpio-cells = <2>;
> -							compatible = "ti,pcf8575";
> +							compatible = "nxp,pcf8575";
>  							reg = <0x26>;
>  							gpio-controller;
>  						};
> @@ -266,7 +266,7 @@
>  
>  						gpio@26 {
>  							#gpio-cells = <2>;
> -							compatible = "ti,pcf8575";
> +							compatible = "nxp,pcf8575";
>  							reg = <0x26>;
>  							gpio-controller;
>  						};
> 

-- 
Ben Hutchings
Software Developer, Codethink Ltd.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web