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)
commitdd6478d68b16ce3d165b9d0e4ac0c021923e0f5a
treeb99c940035bfea5b3ce39eb9c3abb4082db13278
parent61cd1b4cd1e8f7f7642ab64529d9bd52e8374641
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