This is my second version of my w1 patchset. It mainly adds support for the DS2438. There is also a documentation for it and also a missing one for DS2413.
Changes since v1: Cleaned up according to Evgeniy Polyakov suggestions: 1/ changed to have lock/unlock_mutex calls in a single function (it was splitted accross more functions) 2/ fix defines indentations 3/ added additional patch which fixes the same defines indentation problem in w1_ds2760.h Mariusz Bialonczyk (4): w1: add missing DS2413 documentation w1: add support for DS2438 Smart Battery Monitor w1: add documentation for w1_ds2438 w1: w1_ds2760.h: fix defines indentation Documentation/w1/slaves/00-INDEX | 4 + Documentation/w1/slaves/w1_ds2413 | 50 +++++ Documentation/w1/slaves/w1_ds2438 | 63 ++++++ drivers/w1/slaves/Kconfig | 6 + drivers/w1/slaves/Makefile | 1 + drivers/w1/slaves/w1_ds2438.c | 390 ++++++++++++++++++++++++++++++++++++++ drivers/w1/slaves/w1_ds2760.h | 10 +- drivers/w1/w1_family.h | 1 + 8 files changed, 521 insertions(+), 4 deletions(-) create mode 100644 Documentation/w1/slaves/w1_ds2413 create mode 100644 Documentation/w1/slaves/w1_ds2438 create mode 100644 drivers/w1/slaves/w1_ds2438.c -- 2.11.0