]> git.baikalelectronics.ru Git - kernel.git/commit
w1: add DS2405 addressable switch driver
authorMaciej S. Szmigiero <mail@maciej.szmigiero.name>
Thu, 19 Jan 2017 20:26:51 +0000 (21:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 10:46:42 +0000 (11:46 +0100)
commit66eeda6ed48a3ef22ff628d58fe4021812320a71
treeb99c940035bfea5b3ce39eb9c3abb4082db13278
parent2abf1265363ccc566541d2bc43113d7969e952cf
w1: add DS2405 addressable switch driver

This adds a driver for a DS2405 1-wire single-channel addressable switch.
The DS2405 can also work as a single-channel binary remote sensor.

This driver supports two attributes: "state" and "output" which are the
same attribute names as supported by existing DS2406, DS2408 and DS2413
drivers.

Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/Kconfig
drivers/w1/slaves/Makefile
drivers/w1/slaves/w1_ds2405.c [new file with mode: 0644]
drivers/w1/w1_family.h
drivers/w1/w1_io.c