Add support for Dallas DS28CM00 Unique ID chip
PATCH 1/1 Add support for Dallas DS28CM00 Unique ID chip
This patch adds support for the (I2C based) DS28CM00 ID chip.
---
drivers/i2c/chips/Kconfig | 7 ++ drivers/i2c/chips/Makefile | 1 + drivers/i2c/chips/ds28cm00.c | 189 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 197 insertions(+), 0 deletions(-)
drivers/i2c/chips/Kconfig +0 -0
@@ -172,4 +172,11 @@ config MENELAUS
and other features that are often used in portable devices like cell phones and PDAs.
+config DS28CM00
+ tristate "DS28CM00 Serial Number chip"
+ depends on EXPERIMENTAL
+ help
+ If you say yes here you get support for the Dallas DS28CM00
+ Serial Number chip.
+
endmenu
drivers/i2c/chips/Makefile +0 -0
@@ -21,6 +21,7 @@ obj-$(CONFIG_ISP1301_OMAP) += isp1301_omap.o
obj-$(CONFIG_TPS65010) += tps65010.o
obj-$(CONFIG_MENELAUS) += menelaus.o
obj-$(CONFIG_SENSORS_TSL2550) += tsl2550.o
+obj-$(CONFIG_DS28CM00) += ds28cm00.o
ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)EXTRA_CFLAGS += -DDEBUG
drivers/i2c/chips/ds28cm00.c new file +189 -0
189 lines not on this page · raw message
Quoted 1 line · On Tue, 07 Oct 2008 14:09:59 +0100 Mark Jackson <[email protected]> wrote:
This patch adds support for the (I2C based) DS28CM00 ID chip.
Please run scritps/checkpatch.pl across the diff and consider the various things which it reports. Many of them are minor layout issues. The lack of printk facility levels is a should-fix thing.
Quoted 1 line
printk("adding ds28cm00 driver !!\n");Remove the " !!" :)
Please also cc [email protected] on version 2.
Thanks.