Skip to content

Commit e3af95e

Browse files
maniogregkh
authored andcommitted
w1: add support for DS2438 Smart Battery Monitor
Detailed information about support and provided sysfs files in my next commit which creates a documentation file: Documentation/w1/slaves/w1_ds2438 Signed-off-by: Mariusz Bialonczyk <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent a9ee205 commit e3af95e

File tree

4 files changed

+398
-0
lines changed

4 files changed

+398
-0
lines changed

drivers/w1/slaves/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ config W1_SLAVE_DS2433_CRC
8686
Each block has 30 bytes of data and a two byte CRC16.
8787
Full block writes are only allowed if the CRC is valid.
8888

89+
config W1_SLAVE_DS2438
90+
tristate "DS2438 Smart Battery Monitor 0x26 family support"
91+
help
92+
Say Y here if you want to use a 1-wire
93+
DS2438 Smart Battery Monitor device support
94+
8995
config W1_SLAVE_DS2760
9096
tristate "Dallas 2760 battery monitor chip (HP iPAQ & others)"
9197
help

drivers/w1/slaves/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ obj-$(CONFIG_W1_SLAVE_DS2406) += w1_ds2406.o
1111
obj-$(CONFIG_W1_SLAVE_DS2423) += w1_ds2423.o
1212
obj-$(CONFIG_W1_SLAVE_DS2431) += w1_ds2431.o
1313
obj-$(CONFIG_W1_SLAVE_DS2433) += w1_ds2433.o
14+
obj-$(CONFIG_W1_SLAVE_DS2438) += w1_ds2438.o
1415
obj-$(CONFIG_W1_SLAVE_DS2760) += w1_ds2760.o
1516
obj-$(CONFIG_W1_SLAVE_DS2780) += w1_ds2780.o
1617
obj-$(CONFIG_W1_SLAVE_DS2781) += w1_ds2781.o

0 commit comments

Comments
 (0)