-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i2c: Move at24 to drivers/misc/eeprom
As drivers/i2c/chips is going to go away, move the driver to drivers/misc/eeprom. Other eeprom drivers may be moved here later, too. Update Kconfig text to specify this driver as I2C. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Jean Delvare <khali@linux-fr.org>
- Loading branch information
Wolfram Sang
authored and
Jean Delvare
committed
Jan 26, 2009
1 parent
a01064a
commit 5195e50
Showing
7 changed files
with
32 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
menu "EEPROM support" | ||
|
||
config AT24 | ||
tristate "I2C EEPROMs from most vendors" | ||
depends on I2C && SYSFS && EXPERIMENTAL | ||
help | ||
Enable this driver to get read/write support to most I2C EEPROMs, | ||
after you configure the driver to know about each EEPROM on | ||
your target board. Use these generic chip names, instead of | ||
vendor-specific ones like at24c64 or 24lc02: | ||
|
||
24c00, 24c01, 24c02, spd (readonly 24c02), 24c04, 24c08, | ||
24c16, 24c32, 24c64, 24c128, 24c256, 24c512, 24c1024 | ||
|
||
Unless you like data loss puzzles, always be sure that any chip | ||
you configure as a 24c32 (32 kbit) or larger is NOT really a | ||
24c16 (16 kbit) or smaller, and vice versa. Marking the chip | ||
as read-only won't help recover from this. Also, if your chip | ||
has any software write-protect mechanism you may want to review the | ||
code to make sure this driver won't turn it on by accident. | ||
|
||
If you use this with an SMBus adapter instead of an I2C adapter, | ||
full functionality is not available. Only smaller devices are | ||
supported (24c16 and below, max 4 kByte). | ||
|
||
This driver can also be built as a module. If so, the module | ||
will be called at24. | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
obj-$(CONFIG_AT24) += at24.o |
File renamed without changes.