w1: Add 1-wire slave device driver for DS28E04-100
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/2 w1: Add 1-wire slave device driver for DS28E04-100
This patch adds a 1-wire slave device driver for the DS28E04-100.
It applies to the current linux kernel git tree.
Signed-off-by Markus Franke <[email protected]>
Acked-by Evgeniy Polyakov <[email protected]>
--- drivers/w1/slaves/Kconfig | 7 + drivers/w1/slaves/Makefile | 1 + drivers/w1/slaves/w1_ds28e04.c | 462 ++++++++++++++++++++++++++++++++++++++++ drivers/w1/w1_family.h | 1 + 4 files changed, 471 insertions(+), 0 deletions(-) create mode 100644 drivers/w1/slaves/w1_ds28e04.c
drivers/w1/slaves/Kconfig +7 -0
@@ -94,6 +94,13 @@ config W1_SLAVE_DS2781 If you are unsure, say N. +config W1_SLAVE_DS28E04 + tristate "4096-Bit Addressable 1-Wire EEPROM with PIO (DS28E04-100)" + depends on W1 + help + Say Y here if you want to use a 1-wire + 4kb EEPROM with PIO family device (DS28E04). + config W1_SLAVE_BQ27000 tristate "BQ27000 slave support" depends on W1
drivers/w1/slaves/Makefile +1 -0
@@ -12,3 +12,4 @@ obj-$(CONFIG_W1_SLAVE_DS2760) += w1_ds2760.o obj-$(CONFIG_W1_SLAVE_DS2780) += w1_ds2780.o obj-$(CONFIG_W1_SLAVE_DS2781) += w1_ds2781.o obj-$(CONFIG_W1_SLAVE_BQ27000) += w1_bq27000.o +obj-$(CONFIG_W1_SLAVE_DS28E04) += w1_ds28e04.o
drivers/w1/slaves/w1_ds28e04.c new file +462 -0
462 lines not on this page · raw message
drivers/w1/w1_family.h +1 -0
@@ -30,6 +30,7 @@#define W1_FAMILY_SMEM_01 0x01#define W1_FAMILY_SMEM_81 0x81#define W1_THERM_DS18S20 0x10 +#define W1_FAMILY_DS28E04 0x1C#define W1_COUNTER_DS2423 0x1D#define W1_THERM_DS1822 0x22#define W1_EEPROM_DS2433 0x23
Signature · 1 line
1.7.5.4