aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@gmail.com>2021-07-04 21:31:18 +0200
committerTom Rini <trini@konsulko.com>2021-07-14 14:10:19 -0400
commita9abfb27ea95a7e2a43aad93fcf491d7fc6acd61 (patch)
tree9c6377e11f216c7230d2a8e6a91a9aa29cb0e2b9
parent06e7ba3bd985f966d9bda8193cdeb13b70838d31 (diff)
downloadu-boot-a9abfb27ea95a7e2a43aad93fcf491d7fc6acd61.zip
u-boot-a9abfb27ea95a7e2a43aad93fcf491d7fc6acd61.tar.gz
u-boot-a9abfb27ea95a7e2a43aad93fcf491d7fc6acd61.tar.bz2
misc: i2c_eeprom: Add atmel,24c01 to the list
Linux kernel binding is using atmel,24c01 compatible string. On the other hand there is atmel,24c01a which is not listed in the kernel. Add compatible string without "a" suffix to be compatible with Linux kernel binding. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Heiko Schocher <hs@denx.de> Cc: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Heiko Schocher <hs@denx.de>
-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 3b24984..89a450d 100644
--- a/drivers/misc/i2c_eeprom.c
+++ b/drivers/misc/i2c_eeprom.c
@@ -264,6 +264,7 @@ static const struct i2c_eeprom_drv_data atmel24c512_data = {
static const struct udevice_id i2c_eeprom_std_ids[] = {
{ .compatible = "i2c-eeprom", (ulong)&eeprom_data },
{ .compatible = "microchip,24aa02e48", (ulong)&mc24aa02e48_data },
+ { .compatible = "atmel,24c01", (ulong)&atmel24c01a_data },
{ .compatible = "atmel,24c01a", (ulong)&atmel24c01a_data },
{ .compatible = "atmel,24c02", (ulong)&atmel24c02_data },
{ .compatible = "atmel,24c04", (ulong)&atmel24c04_data },