Commit 05e7d622 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Tony Lindgren

ARM: dts: omap: 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: default avatarJavier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent cb11a8ba
......@@ -255,7 +255,7 @@ tps: tps@2d {
};
at24@50 {
compatible = "at24,24c02";
compatible = "atmel,24c02";
pagesize = <8>;
reg = <0x50>;
};
......
......@@ -89,7 +89,7 @@ &lcdc {
&i2c0 {
eeprom: eeprom@50 {
compatible = "at,24c256";
compatible = "atmel,24c256";
reg = <0x50>;
};
};
......@@ -232,7 +232,7 @@ tps: tps@24 {
};
baseboard_eeprom: baseboard_eeprom@50 {
compatible = "at,24c256";
compatible = "atmel,24c256";
reg = <0x50>;
#address-cells = <1>;
......@@ -251,7 +251,7 @@ &i2c2 {
clock-frequency = <100000>;
cape_eeprom0: cape_eeprom0@54 {
compatible = "at,24c256";
compatible = "atmel,24c256";
reg = <0x54>;
#address-cells = <1>;
#size-cells = <1>;
......@@ -261,7 +261,7 @@ cape0_data: cape_data@0 {
};
cape_eeprom1: cape_eeprom1@55 {
compatible = "at,24c256";
compatible = "atmel,24c256";
reg = <0x55>;
#address-cells = <1>;
#size-cells = <1>;
......@@ -271,7 +271,7 @@ cape1_data: cape_data@0 {
};
cape_eeprom2: cape_eeprom2@56 {
compatible = "at,24c256";
compatible = "atmel,24c256";
reg = <0x56>;
#address-cells = <1>;
#size-cells = <1>;
......@@ -281,7 +281,7 @@ cape2_data: cape_data@0 {
};
cape_eeprom3: cape_eeprom3@57 {
compatible = "at,24c256";
compatible = "atmel,24c256";
reg = <0x57>;
#address-cells = <1>;
#size-cells = <1>;
......
......@@ -224,7 +224,7 @@ tps: tps@24 {
};
eeprom@53 {
compatible = "microchip,24c02";
compatible = "microchip,24c02", "atmel,24c02";
reg = <0x53>;
pagesize = <8>;
};
......
......@@ -67,7 +67,7 @@ tps: tps@24 {
};
eeprom: eeprom@50 {
compatible = "at,24c256";
compatible = "atmel,24c256";
reg = <0x50>;
};
......
......@@ -188,7 +188,7 @@ tps: tps@24 {
};
at24@50 {
compatible = "at24,24c32";
compatible = "atmel,24c32";
pagesize = <32>;
reg = <0x50>;
};
......
......@@ -309,7 +309,7 @@ bq32000: rtc@68 {
};
eeprom: eeprom@50 {
compatible = "at,24c256";
compatible = "atmel,24c256";
reg = <0x50>;
};
......
......@@ -339,7 +339,7 @@ &i2c0 {
clock-frequency = <400000>;
at24@50 {
compatible = "at24,24c256";
compatible = "atmel,24c256";
pagesize = <64>;
reg = <0x50>;
};
......
......@@ -511,7 +511,7 @@ power-button {
};
at24@50 {
compatible = "at24,24c256";
compatible = "atmel,24c256";
pagesize = <64>;
reg = <0x50>;
};
......
......@@ -477,7 +477,7 @@ ldo1: regulator-ldo1 {
};
at24@50 {
compatible = "at24,24c256";
compatible = "atmel,24c256";
pagesize = <64>;
reg = <0x50>;
};
......
......@@ -388,7 +388,7 @@ tlv320aic3104: tlv320aic3104@18 {
};
eeprom: eeprom@50 {
compatible = "at,24c32";
compatible = "atmel,24c32";
reg = <0x50>;
};
};
......
......@@ -188,7 +188,7 @@ &i2c1 {
clock-frequency = <400000>;
at24@50 {
compatible = "at24,24c02";
compatible = "atmel,24c02";
pagesize = <16>;
reg = <0x50>;
};
......
......@@ -418,7 +418,7 @@ tsc2007@48 {
/* RFID EEPROM */
m24lr64@50 {
compatible = "at,24c64";
compatible = "atmel,24c64";
reg = <0x50>;
};
};
......
......@@ -89,7 +89,7 @@ &i2c3 {
clock-frequency = <400000>;
at24@50 {
compatible = "at24,24c02";
compatible = "atmel,24c02";
pagesize = <16>;
reg = <0x50>;
};
......
......@@ -241,7 +241,7 @@ tmp105@49 {
};
eeprom@50 {
compatible = "microchip,24c32";
compatible = "microchip,24c32", "atmel,24c32";
reg = <0x50>;
};
};
......
......@@ -404,7 +404,7 @@ &i2c1 {
clock-frequency = <400000>;
at24@50 {
compatible = "at24,24c02";
compatible = "atmel,24c02";
pagesize = <16>;
reg = <0x50>;
};
......
......@@ -44,7 +44,7 @@ &i2c4 {
clock-frequency = <400000>;
at24@50 {
compatible = "at24,24c02";
compatible = "atmel,24c02";
pagesize = <16>;
reg = <0x50>;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment