public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] misc/at24: Add at24c512b eeprom support
@ 2013-01-23  6:32 Liu Ying
       [not found] ` <1358922764-31654-1-git-send-email-Ying.Liu-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
  2013-01-23 12:24 ` [PATCH 1/2] misc/at24: " Linus Walleij
  0 siblings, 2 replies; 14+ messages in thread
From: Liu Ying @ 2013-01-23  6:32 UTC (permalink / raw)
  To: grant.likely-s3s/WqlpOiPyB63q8FvJNQ,
	rob.herring-bsGFqQB8/DxBDgjK7y7TUQ, rob-VoJi6FS/r0vR7s880joybQ,
	linux-lFZ/pmaqli7XmaaqVzeoHQ, w.sang-bIcnvbaLZ9MEGnE8C9+IrQ,
	shawn.guo-QSEj5FYQhm4dnm+yROfE0A, s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ,
	linus.walleij-QSEj5FYQhm4dnm+yROfE0A
  Cc: linux-doc-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	liu.y.victor-Re5JQEeQqe8AvxtiuMwx3w, Liu Ying

This patch adds at24c512b eeprom support.
The datasheet of at24c512b can be found at:
http://www.alldatasheet.com/datasheet-pdf/pdf/
256958/ATMEL/AT24C512B-TH-B.html

Signed-off-by: Liu Ying <Ying.Liu-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
---
 Documentation/devicetree/bindings/eeprom.txt |    2 +-
 drivers/misc/eeprom/at24.c                   |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Documentation/devicetree/bindings/eeprom.txt b/Documentation/devicetree/bindings/eeprom.txt
index 4342c10..fcea214 100644
--- a/Documentation/devicetree/bindings/eeprom.txt
+++ b/Documentation/devicetree/bindings/eeprom.txt
@@ -6,7 +6,7 @@ Required properties:
 		 If there is no specific driver for <manufacturer>, a generic
 		 driver based on <type> is selected. Possible types are:
 		 24c00, 24c01, 24c02, 24c04, 24c08, 24c16, 24c32, 24c64,
-		 24c128, 24c256, 24c512, 24c1024, spd
+		 24c128, 24c256, 24c512, 24c512b, 24c1024, spd
 
   - reg : the I2C address of the EEPROM
 
diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c
index 2baeec5..0df4cb0 100644
--- a/drivers/misc/eeprom/at24.c
+++ b/drivers/misc/eeprom/at24.c
@@ -124,6 +124,7 @@ static const struct i2c_device_id at24_ids[] = {
 	{ "24c128", AT24_DEVICE_MAGIC(131072 / 8, AT24_FLAG_ADDR16) },
 	{ "24c256", AT24_DEVICE_MAGIC(262144 / 8, AT24_FLAG_ADDR16) },
 	{ "24c512", AT24_DEVICE_MAGIC(524288 / 8, AT24_FLAG_ADDR16) },
+	{ "24c512b", AT24_DEVICE_MAGIC(524288 / 8, AT24_FLAG_ADDR16) },
 	{ "24c1024", AT24_DEVICE_MAGIC(1048576 / 8, AT24_FLAG_ADDR16) },
 	{ "at24", 0 },
 	{ /* END OF LIST */ }
-- 
1.7.1

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

end of thread, other threads:[~2013-01-24 14:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23  6:32 [PATCH 1/2] misc/at24: Add at24c512b eeprom support Liu Ying
     [not found] ` <1358922764-31654-1-git-send-email-Ying.Liu-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2013-01-23  6:32   ` [PATCH 2/2] ARM: dts: imx51-babbage: " Liu Ying
2013-01-23  7:30     ` Sascha Hauer
2013-01-23  7:51       ` Liu Ying
     [not found]         ` <CA+8Hj80ceGEUtzfvvEuH7ZftWGydzd9pHK_FxfE59WBxOst4rQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-01-23  7:55           ` Sascha Hauer
2013-01-23  7:59             ` Liu Ying
2013-01-23 12:24 ` [PATCH 1/2] misc/at24: " Linus Walleij
2013-01-23 12:50   ` Wolfram Sang
2013-01-23 13:40     ` Liu Ying
     [not found]       ` <CA+8Hj80=Mk1gMSC9gcRT_XPFrEdRxifaB9FNMtkn3BkUkv9bGA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-01-23 13:49         ` Wolfram Sang
2013-01-23 14:08           ` Liu Ying
     [not found]             ` <CA+8Hj83n+pC+a6bYOOH1b61DTqSjpKsxyKDgDL2pCRKxTq4EXg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-01-23 14:14               ` Wolfram Sang
2013-01-23 14:23                 ` Liu Ying
2013-01-24 14:41     ` Linus Walleij

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