summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/mpc8349emitx.dts
diff options
context:
space:
mode:
authorJavier Martinez Canillas2017-06-15 20:54:17 +0200
committerMichael Ellerman2017-06-28 05:08:14 +0200
commit8d0590cefdc22bc5d6f4d30ea19c95acda2eefed (patch)
treeaf2781c158638927de257f03f71421b26ba7c3ac /arch/powerpc/boot/dts/mpc8349emitx.dts
parentpowerpc/512x: Add generic compatible string for I2C EEPROM (diff)
downloadkernel-qcow2-linux-8d0590cefdc22bc5d6f4d30ea19c95acda2eefed.tar.gz
kernel-qcow2-linux-8d0590cefdc22bc5d6f4d30ea19c95acda2eefed.tar.xz
kernel-qcow2-linux-8d0590cefdc22bc5d6f4d30ea19c95acda2eefed.zip
powerpc/83xx: Add generic compatible string for I2C EEPROM
The at24 driver allows to register I2C EEPROM chips using different vendor and devices, but the I2C subsystem does not take the vendor into account when matching using the I2C table since it only has device entries. But when matching using an OF table, both the vendor and device has to be taken into account so the driver defines only a set of compatible strings using the "atmel" vendor as a generic fallback for compatible I2C devices. So add this generic fallback to the device node compatible string to make the device to match the driver using the OF device ID table. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/boot/dts/mpc8349emitx.dts')
-rw-r--r--arch/powerpc/boot/dts/mpc8349emitx.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/boot/dts/mpc8349emitx.dts b/arch/powerpc/boot/dts/mpc8349emitx.dts
index 90aed3ac2f69..648a85858eb5 100644
--- a/arch/powerpc/boot/dts/mpc8349emitx.dts
+++ b/arch/powerpc/boot/dts/mpc8349emitx.dts
@@ -92,7 +92,7 @@
dfsrr;
eeprom: at24@50 {
- compatible = "st,24c256";
+ compatible = "st,24c256", "atmel,24c256";
reg = <0x50>;
};
@@ -130,7 +130,7 @@
};
spd: at24@51 {
- compatible = "at24,spd";
+ compatible = "atmel,spd";
reg = <0x51>;
};