U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] misc: i2c_eeprom: Add atmel,24c08 to the list
@ 2019-01-21 12:54 Michal Simek
  2019-01-27  3:53 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Simek @ 2019-01-21 12:54 UTC (permalink / raw)
  To: u-boot

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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/misc/i2c_eeprom.c b/drivers/misc/i2c_eeprom.c
index 243e7ae5abfb..29ad87c1d7b4 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 },
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-28 13:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-21 12:54 [U-Boot] [PATCH] misc: i2c_eeprom: Add atmel,24c08 to the list Michal Simek
2019-01-27  3:53 ` [U-Boot] " Tom Rini
2019-01-28 12:56   ` Michal Simek
2019-01-28 13:15     ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox