iio:light:tsl2563 move out of staging
Subsystems (3)
Jonathan Cameron
maintainerPATCH v2 1/1 iio:light:tsl2563 move out of staging
This driver is simple, uses the latest interfaces and contains few if any controversial elements. All of its interfaces have been in place for a long time now. Hence let's move it out of staging.
Signed-off-by Jonathan Cameron <[email protected]>
---
Changes since v1
Now actually has the tsl2563.h header.
Sorry about that.
drivers/iio/light/Kconfig | 10 + drivers/iio/light/Makefile | 1 + drivers/iio/light/tsl2563.c | 899 ++++++++++++++++++++++++++++++++++ drivers/staging/iio/light/Kconfig | 10 - drivers/staging/iio/light/Makefile | 1 - drivers/staging/iio/light/tsl2563.c | 899 ---------------------------------- drivers/staging/iio/light/tsl2563.h | 9 - include/linux/platform_data/tsl2563.h | 9 + 8 files changed, 919 insertions(+), 919 deletions(-)
drivers/iio/light/Kconfig +10 -0
@@ -32,6 +32,16 @@ config SENSORS_LM3533 changes. The ALS-control output values can be set per zone for the three current output channels. +config SENSORS_TSL2563 + tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors" + depends on I2C + help + If you say yes here you get support for the Taos TSL2560, + TSL2561, TSL2562 and TSL2563 ambient light sensors. + + This driver can also be built as a module. If so, the module + will be called tsl2563. + config VCNL4000 tristate "VCNL4000 combined ALS and proximity sensor" depends on I2C
drivers/iio/light/Makefile +1 -0
@@ -4,5 +4,6 @@ obj-$(CONFIG_ADJD_S311) += adjd_s311.o obj-$(CONFIG_SENSORS_LM3533) += lm3533-als.o +obj-$(CONFIG_SENSORS_TSL2563) += tsl2563.o obj-$(CONFIG_VCNL4000) += vcnl4000.o obj-$(CONFIG_HID_SENSOR_ALS) += hid-sensor-als.o
drivers/iio/light/tsl2563.c new file +899 -0
899 lines not on this page · raw message
drivers/staging/iio/light/Kconfig +0 -10
@@ -25,16 +25,6 @@ config SENSORS_ISL29028 Proximity value via iio. The ISL29028 provides the concurrent sensing of ambient light and proximity. -config SENSORS_TSL2563 - tristate "TAOS TSL2560, TSL2561, TSL2562 and TSL2563 ambient light sensors" - depends on I2C - help - If you say yes here you get support for the Taos TSL2560, - TSL2561, TSL2562 and TSL2563 ambient light sensors. - - This driver can also be built as a module. If so, the module - will be called tsl2563. - config TSL2583 tristate "TAOS TSL2580, TSL2581 and TSL2583 light-to-digital converters" depends on I2C
drivers/staging/iio/light/Makefile +0 -1
@@ -2,7 +2,6 @@ # Makefile for industrial I/O Light sensors # -obj-$(CONFIG_SENSORS_TSL2563) += tsl2563.o obj-$(CONFIG_SENSORS_ISL29018) += isl29018.o obj-$(CONFIG_SENSORS_ISL29028) += isl29028.o obj-$(CONFIG_TSL2583) += tsl2583.o
drivers/staging/iio/light/tsl2563.c deleted +0 -899
899 lines not on this page · raw message
drivers/staging/iio/light/tsl2563.h deleted +0 -9
@@ -1,9 +0,0 @@ -#ifndef __LINUX_TSL2563_H -#define __LINUX_TSL2563_H - -struct tsl2563_platform_data { -int cover_comp_gain; -}; - -#endif /* __LINUX_TSL2563_H */ -
include/linux/platform_data/tsl2563.h new file +9 -0
@@ -0,0 +1,9 @@ +#ifndef __LINUX_TSL2563_H +#define __LINUX_TSL2563_H + +struct tsl2563_platform_data { +int cover_comp_gain; +}; + +#endif /* __LINUX_TSL2563_H */ +
Signature · 1 line
1.8.1