summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <[email protected]>2019-01-21 13:54:57 +0100
committerTom Rini <[email protected]>2019-01-26 08:13:57 -0500
commite38cef9f6ef6937934cb5070ad33063ecbf81efa (patch)
tree69f86fab2c0ce77d77006e0a35620f4a588cd1e3
parente4478d9ac8cf83ee22765e3aca61c13ebfd3987b (diff)
misc: i2c_eeprom: Add atmel,24c08 to the list
Linux kernel binding is using atmel,24c08 compatible string. On the other hand there is atmel,24c08a which is not listed in the kernel. Add compatible string without "a" suffix to be compatible with Linux kernel binding. These eeproms are available on several ZynqMP development boards. Signed-off-by: Michal Simek <[email protected]>
-rw-r--r--drivers/misc/i2c_eeprom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/i2c_eeprom.c b/drivers/misc/i2c_eeprom.c
index 243e7ae5abf..29ad87c1d7b 100644
--- a/drivers/misc/i2c_eeprom.c
+++ b/drivers/misc/i2c_eeprom.c
@@ -69,6 +69,7 @@ static const struct udevice_id i2c_eeprom_std_ids[] = {
{ .compatible = "atmel,24c01a", .data = 3 },
{ .compatible = "atmel,24c02", .data = 3 },
{ .compatible = "atmel,24c04", .data = 4 },
+ { .compatible = "atmel,24c08", .data = 4 },
{ .compatible = "atmel,24c08a", .data = 4 },
{ .compatible = "atmel,24c16a", .data = 4 },
{ .compatible = "atmel,24mac402", .data = 4 },