Skip to contentSkip to conversation

ARM: dts: dra7x-evm: fix incorrect compatibles

PATCH New Sekhar Nori 1 participant 3 messages Jul 16, 2015 Device tree bindings

lore
Share & tools
lore
#0 lore raw

cover ARM: dts: dra7x-evm: fix incorrect compatibles

Hi Tony,

Here non-critical compatible name fix
for DRA7x EVM for v4.3

Thanks,
Sekhar

Sekhar Nori (2):
ARM: dts: dra7-evm: fix compatible name for pcf8575
ARM: dts: dra72-evm: fix compatible name for pcf8575

 arch/arm/boot/dts/dra7-evm.dts  | 2 +-
 arch/arm/boot/dts/dra72-evm.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.4.4.408.g16da57c
#1 lore raw

PATCH 1/2 ARM: dts: dra7-evm: fix compatible name for pcf8575

Compatible name "ti,pcf8575" used in dra7-evm.dts is not documented in binding definitions nor is used by the gpio-pcf857x driver.

The correct compatible to use is "nxp,pcf8575". Fix it.

The existing .dtb works in spite of this issue because i2c_device_match() falls back to id table based matching if compatible match fails.

---
 arch/arm/boot/dts/dra7-evm.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/dra7-evm.dts +1 -1
index aa465904f6cc..5f33556175da 100644
@@ -401,7 +401,7 @@
 	};
 
 	pcf_gpio_21: gpio at 21 {
-		compatible = "ti,pcf8575";
+		compatible = "nxp,pcf8575";
 		reg = <0x21>;
 		lines-initial-states = <0x1408>;
 		gpio-controller;
Signature · 1 line
2.4.4.408.g16da57c
#2 lore raw

PATCH 2/2 ARM: dts: dra72-evm: fix compatible name for pcf8575

In reply to Sekhar Nori

Compatible name "ti,pcf8575" used in dra72-evm.dts is not documented in binding definitions nor is used by the gpio-pcf857x driver.

The correct compatible to use is "nxp,pcf8575". Fix it.

The existing .dtb still works because i2c_device_match() falls back to id table based matching if compatible match fails.

---
 arch/arm/boot/dts/dra72-evm.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/dra72-evm.dts +1 -1
index 4e1b60581782..746acce940c3 100644
@@ -334,7 +334,7 @@
 	};
 
 	pcf_gpio_21: gpio at 21 {
-		compatible = "ti,pcf8575";
+		compatible = "nxp,pcf8575";
 		reg = <0x21>;
 		lines-initial-states = <0x1408>;
 		gpio-controller;
Signature · 1 line
2.4.4.408.g16da57c