misc: i2c_eeprom: Add atmel,24c08 to the list
authorMichal Simek <michal.simek@xilinx.com>
Mon, 21 Jan 2019 12:54:57 +0000 (13:54 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 26 Jan 2019 13:13:57 +0000 (08:13 -0500)
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 <michal.simek@xilinx.com>
drivers/misc/i2c_eeprom.c

index 243e7ae..29ad87c 100644 (file)
@@ -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 },