iio: isl29028: move out of staging
Subsystems (3)
cover iio: isl29028: move out of staging
This is my last series of staging cleanups for the ISL29028 driver. Highlights of this patch series include some cleanups to the timing code, a fix for runtime power management support, and documentation.
I mentioned in one of my earlier patch series that I was having issues getting the proximity sensing portion of the sensor working. This appears to be an issue with my sensor since I was able to get the proximity sensor working intermittenly by tapping the chip. It is likely an issue with the way that the chip was mounted on my breakout board. I've also verified with a cell phone screen that the IR LED turns on for two seconds when the proximity sensing feature is enabled.
Brian Masney (7):
staging: iio: isl29028: change mdelay() to msleep()
staging: iio: isl29028: fix incorrect sleep time when taking proximity
reading
staging: iio: isl29028: fix incorrect sampling frequency value
staging: iio: isl29028: use the runtime power management for system
sleep
staging: iio: isl29028: add copyright
iio: Documentation: add ABI documentation for
in_proximity_sampling_frequency_available
staging: iio: isl29028: move out of staging
Documentation/ABI/testing/sysfs-bus-iio | 1 +
drivers/iio/light/Kconfig | 10 ++++++++
drivers/iio/light/Makefile | 1 +
drivers/{staging => }/iio/light/isl29028.c | 39 ++++++++++++++++++++----------
drivers/staging/iio/light/Kconfig | 10 --------
drivers/staging/iio/light/Makefile | 1 -
6 files changed, 38 insertions(+), 24 deletions(-)
rename drivers/{staging => }/iio/light/isl29028.c (95%)Signature · 1 line
2.9.3
PATCH 1/7 staging: iio: isl29028: change mdelay() to msleep()
This driver in some cases can busy wait for upwards of 100 ms. Since the kernel at this point is not running in atomic context, and is running in process context, we can safely use msleep() instead. This patch changes the two occurrences of mdelay() to msleep().
--- drivers/staging/iio/light/isl29028.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/iio/light/isl29028.c +2 -2
@@ -121,7 +121,7 @@ static int isl29028_enable_proximity(struct isl29028_chip *chip)return ret;/* Wait for conversion to be complete for first sample */ -mdelay (DIV_ROUND_UP (1000 , chip->prox_sampling)); +msleep (DIV_ROUND_UP (1000 , chip->prox_sampling));return 0 ; }
@@ -192,7 +192,7 @@ static int isl29028_set_als_ir_mode(struct isl29028_chip *chip,return ret;/* Need to wait for conversion time if ALS/IR mode enabled */ -mdelay (ISL29028_CONV_TIME_MS ); +msleep (ISL29028_CONV_TIME_MS ); chip->als_ir_mode = mode;
Signature · 1 line
2.9.3
Jonathan Cameron
maintainerRe: [PATCH 1/7] staging: iio: isl29028: change mdelay() to msleep()
Quoted 6 lines · Brian Masney
This driver in some cases can busy wait for upwards of 100 ms. Since the kernel at this point is not running in atomic context, and is running in process context, we can safely use
msleep()instead. This patch changes the two occurrences ofmdelay()tomsleep().Signed-off-by Brian Masney <[email protected]>
Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.
Thanks,
Jonathan
Quoted 27 lines
--- drivers/staging/iio/light/isl29028.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/staging/iio/light/isl29028.c +2
-2@@ -121,7 +121,7 @@ static int isl29028_enable_proximity(struct isl29028_chip *chip)return ret;/* Wait for conversion to be complete for first sample */ -mdelay (DIV_ROUND_UP (1000 , chip->prox_sampling)); +msleep (DIV_ROUND_UP (1000 , chip->prox_sampling));return 0 ; }@@ -192,7 +192,7 @@ static int isl29028_set_als_ir_mode(struct isl29028_chip *chip,return ret;/* Need to wait for conversion time if ALS/IR mode enabled */ -mdelay (ISL29028_CONV_TIME_MS ); +msleep (ISL29028_CONV_TIME_MS ); chip->als_ir_mode = mode;
PATCH 2/7 staging: iio: isl29028: fix incorrect sleep time when taking initial proximity reading
In reply to Brian MasneyWhen proximity is enabled in isl29028_enable_proximity(), the function msleep() is called with the sampling frequency, which is not correct. This patch changes the code to sleep the specified amount of time listed in the datasheet instead.
--- drivers/staging/iio/light/isl29028.c | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-)
drivers/staging/iio/light/isl29028.c +21 -10
@@ -63,6 +63,9 @@#define ISL29028_POWER_OFF_DELAY_MS 2000 +static const unsigned int isl29028_prox_sleep_time[] = {800 ,400 ,200 ,100 ,75 , +50 ,12 ,0 }; +enum isl29028_als_ir_mode {ISL29028_MODE_NONE =0 ,ISL29028_MODE_ALS ,
@@ -78,22 +81,29 @@ struct isl29028_chip {enum isl29028_als_ir_mode als_ir_mode; }; -static int isl29028_set_proxim_sampling (struct isl29028_chip *chip, -unsigned int sampling) +static int isl29028_find_prox_sleep_time_index (int sampling) { -struct device *dev =regmap_get_device (chip->regmap); -static unsigned int prox_period[] = {800 ,400 ,200 ,100 ,75 ,50 ,12 ,0 };unsigned int period =DIV_ROUND_UP (1000 , sampling); -int sel, ret; +int i; -for (sel =0 ; sel <ARRAY_SIZE (prox_period); ++sel) { -if (period >= prox_period[sel]) +for (i =0 ; i <ARRAY_SIZE (isl29028_prox_sleep_time); ++i) { +if (period >= isl29028_prox_sleep_time[i])break ; } +return i; +} + +static int isl29028_set_proxim_sampling (struct isl29028_chip *chip, +unsigned int sampling) +{ +struct device *dev =regmap_get_device (chip->regmap); +int sleep_index, ret; + + sleep_index =isl29028_find_prox_sleep_time_index (sampling); ret =regmap_update_bits (chip->regmap,ISL29028_REG_CONFIGURE ,ISL29028_CONF_PROX_SLP_MASK , - sel <<ISL29028_CONF_PROX_SLP_SH ); + sleep_index <<ISL29028_CONF_PROX_SLP_SH );if (ret <0 ) { dev_err(dev, "%s(): Error %d setting the proximity sampling\n",
@@ -108,7 +118,7 @@ static int isl29028_set_proxim_sampling(struct isl29028_chip *chip,static int isl29028_enable_proximity (struct isl29028_chip *chip) { -int ret; +int sleep_index, ret; ret =isl29028_set_proxim_sampling (chip, chip->prox_sampling);if (ret <0 )
@@ -121,7 +131,8 @@ static int isl29028_enable_proximity(struct isl29028_chip *chip)return ret;/* Wait for conversion to be complete for first sample */ -msleep (DIV_ROUND_UP (1000 , chip->prox_sampling)); + sleep_index =isl29028_find_prox_sleep_time_index (chip->prox_sampling); +msleep (isl29028_prox_sleep_time[sleep_index]);return 0 ; }
Signature · 1 line
2.9.3
Jonathan Cameron
maintainerRe: [PATCH 2/7] staging: iio: isl29028: fix incorrect sleep time when taking initial proximity reading
Quoted 6 lines · Brian Masney
When proximity is enabled in
isl29028_enable_proximity(), the functionmsleep()is called with the sampling frequency, which is not correct. This patch changes the code to sleep the specified amount of time listed in the datasheet instead.Signed-off-by Brian Masney <[email protected]>
Seems sensible. Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.
Thanks,
Jonathan
Quoted 76 lines
--- drivers/staging/iio/light/isl29028.c | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-)drivers/staging/iio/light/isl29028.c +21
-10@@ -63,6 +63,9 @@#define ISL29028_POWER_OFF_DELAY_MS 2000 +static const unsigned int isl29028_prox_sleep_time[] = {800 ,400 ,200 ,100 ,75 , +50 ,12 ,0 }; +enum isl29028_als_ir_mode {ISL29028_MODE_NONE =0 ,ISL29028_MODE_ALS ,@@ -78,22 +81,29 @@ struct isl29028_chip {enum isl29028_als_ir_mode als_ir_mode; }; -static int isl29028_set_proxim_sampling (struct isl29028_chip *chip, -unsigned int sampling) +static int isl29028_find_prox_sleep_time_index (int sampling) { -struct device *dev =regmap_get_device (chip->regmap); -static unsigned int prox_period[] = {800 ,400 ,200 ,100 ,75 ,50 ,12 ,0 };unsigned int period =DIV_ROUND_UP (1000 , sampling); -int sel, ret; +int i; -for (sel =0 ; sel <ARRAY_SIZE (prox_period); ++sel) { -if (period >= prox_period[sel]) +for (i =0 ; i <ARRAY_SIZE (isl29028_prox_sleep_time); ++i) { +if (period >= isl29028_prox_sleep_time[i])break ; } +return i; +} + +static int isl29028_set_proxim_sampling (struct isl29028_chip *chip, +unsigned int sampling) +{ +struct device *dev =regmap_get_device (chip->regmap); +int sleep_index, ret; + + sleep_index =isl29028_find_prox_sleep_time_index (sampling); ret =regmap_update_bits (chip->regmap,ISL29028_REG_CONFIGURE ,ISL29028_CONF_PROX_SLP_MASK , - sel <<ISL29028_CONF_PROX_SLP_SH ); + sleep_index <<ISL29028_CONF_PROX_SLP_SH );if (ret <0 ) { dev_err(dev, "%s(): Error %d setting the proximity sampling\n",@@ -108,7 +118,7 @@ static int isl29028_set_proxim_sampling(struct isl29028_chip *chip,static int isl29028_enable_proximity (struct isl29028_chip *chip) { -int ret; +int sleep_index, ret; ret =isl29028_set_proxim_sampling (chip, chip->prox_sampling);if (ret <0 )@@ -121,7 +131,8 @@ static int isl29028_enable_proximity(struct isl29028_chip *chip)return ret;/* Wait for conversion to be complete for first sample */ -msleep (DIV_ROUND_UP (1000 , chip->prox_sampling)); + sleep_index =isl29028_find_prox_sleep_time_index (chip->prox_sampling); +msleep (isl29028_prox_sleep_time[sleep_index]);return 0 ; }
PATCH 3/7 staging: iio: isl29028: fix incorrect sampling frequency value
In reply to Brian MasneyThe sysfs attribute in_proximity_sampling_frequency_available currently shows the values 1 3 5 10 13 20 83 100. These values are supposed to correspond to the sleep values 800 400 200 100 75 50 12 0 (all in ms). When passing in a sampling frequency of 3, it actually uses a sleep time of 200ms instead of the expected 400ms value. This patch changes the 3 supported sampling frequency to 2 so that the proximity sleep time of 400ms can be used.
--- drivers/staging/iio/light/isl29028.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/light/isl29028.c +1 -1
@@ -471,7 +471,7 @@ static int isl29028_read_raw(struct iio_dev *indio_dev, } static IIO_CONST_ATTR(in_proximity_sampling_frequency_available, - "1 3 5 10 13 20 83 100"); + "1 2 5 10 13 20 83 100"); static IIO_CONST_ATTR(in_illuminance_scale_available, "125 2000");#define ISL29028_CONST_ATTR (name) (&iio_const_attr_##name.dev_attr.attr)
Signature · 1 line
2.9.3
Jonathan Cameron
maintainerRe: [PATCH 3/7] staging: iio: isl29028: fix incorrect sampling frequency value
Quoted 9 lines · Brian Masney
The sysfs attribute
in_proximity_sampling_frequency_availablecurrently shows the values 1 3 5 10 13 20 83 100. These values are supposed to correspond to the sleep values 800 400 200 100 75 50 12 0 (all in ms). When passing in a sampling frequency of 3, it actually uses a sleep time of 200ms instead of the expected 400ms value. This patch changes the 3 supported sampling frequency to 2 so that the proximity sleep time of 400ms can be used.Signed-off-by Brian Masney <[email protected]>
Given there is no real difficulty in supporting fixed point numbers, could we move this over to:
1, 2.5, 5 etc
Will clearly require more changes than you have with the fixup here, but would represent what is going on more accurately for minimal cost.
Jonathan
Quoted 18 lines
--- drivers/staging/iio/light/isl29028.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/iio/light/isl29028.c +1
-1@@ -471,7 +471,7 @@ static int isl29028_read_raw(struct iio_dev *indio_dev, } static IIO_CONST_ATTR(in_proximity_sampling_frequency_available, - "1 3 5 10 13 20 83 100"); + "1 2 5 10 13 20 83 100"); static IIO_CONST_ATTR(in_illuminance_scale_available, "125 2000");#define ISL29028_CONST_ATTR (name) (&iio_const_attr_##name.dev_attr.attr)
PATCH 4/7 staging: iio: isl29028: use the runtime power management for system sleep
In reply to Brian MasneyWith the introduction of runtime power management in commit 2db5054ac28d ("staging: iio: isl29028: add runtime power management support"), the system could go to sleep and turn off the device without notifying the runtime power management code. This patch changes the system suspend and resume to go through the runtime power management.
--- drivers/staging/iio/light/isl29028.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/iio/light/isl29028.c +2 -1
@@ -656,7 +656,8 @@ static int __maybe_unused isl29028_resume(struct device *dev) }static const struct dev_pm_ops isl29028_pm_ops = { - SET_SYSTEM_SLEEP_PM_OPS(isl29028_suspend, isl29028_resume) + SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, + pm_runtime_force_resume)SET_RUNTIME_PM_OPS (isl29028_suspend, isl29028_resume,NULL ) };
Signature · 1 line
2.9.3
Jonathan Cameron
maintainerRe: [PATCH 4/7] staging: iio: isl29028: use the runtime power management for system sleep
Quoted 7 lines · Brian Masney
With the introduction of runtime power management in commit
2db5054ac28d("staging: iio: isl29028: add runtime power management support"), the system could go to sleep and turn off the device without notifying the runtime power management code. This patch changes the system suspend and resume to go through the runtime power management.Signed-off-by Brian Masney <[email protected]>
Applied to the togreg branch of iio.git and pushed out as testing.
Thanks,
Jonathan
Quoted 19 lines
--- drivers/staging/iio/light/isl29028.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/staging/iio/light/isl29028.c +2
-1@@ -656,7 +656,8 @@ static int __maybe_unused isl29028_resume(struct device *dev) }static const struct dev_pm_ops isl29028_pm_ops = { - SET_SYSTEM_SLEEP_PM_OPS(isl29028_suspend, isl29028_resume) + SET_SYSTEM_SLEEP_PM_OPS(pm_runtime_force_suspend, + pm_runtime_force_resume)SET_RUNTIME_PM_OPS (isl29028_suspend, isl29028_resume,NULL ) };
PATCH 5/7 staging: iio: isl29028: add copyright
In reply to Brian MasneyAdd Brian Masney's copyright to the header for the several rounds of staging cleanups that has been done to this driver.
--- drivers/staging/iio/light/isl29028.c | 1 + 1 file changed, 1 insertion(+)
drivers/staging/iio/light/isl29028.c +1 -0
@@ -3,6 +3,7 @@* ISL29028 is Concurrent Ambient Light and Proximity Sensor * * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. +* Copyright (c) 2016-2017 Brian Masney <[email protected]> * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License,
Signature · 1 line
2.9.3
Jonathan Cameron
maintainerRe: [PATCH 5/7] staging: iio: isl29028: add copyright
Quoted 4 lines · Brian Masney
Add Brian Masney's copyright to the header for the several rounds of staging cleanups that has been done to this driver.
Signed-off-by Brian Masney <[email protected]>
Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it.
Not that they'll do much with this one ;)
Thanks,
Jonathan
Quoted 17 lines
--- drivers/staging/iio/light/isl29028.c | 1 + 1 file changed, 1 insertion(+)drivers/staging/iio/light/isl29028.c +1
-0@@ -3,6 +3,7 @@* ISL29028 is Concurrent Ambient Light and Proximity Sensor * * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. +* Copyright (c) 2016-2017 Brian Masney <[email protected]> * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License,
PATCH 6/7 iio: Documentation: add ABI documentation for in_proximity_sampling_frequency_available
In reply to Brian MasneyAdd entry for the in_proximity_sampling_frequency_available sysfs entry to the existing sampling_frequency_available ABI documentation.
--- Documentation/ABI/testing/sysfs-bus-iio | 1 + 1 file changed, 1 insertion(+)
Documentation/ABI/testing/sysfs-bus-iio +1 -0
@@ -55,6 +55,7 @@ Description: then it is to be found in the base device directory. What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available +What: /sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_available What: /sys/.../iio:deviceX/buffer/sampling_frequency_available What: /sys/bus/iio/devices/triggerX/sampling_frequency_available KernelVersion: 2.6.35
Signature · 1 line
2.9.3
Re: [PATCH 6/7] iio: Documentation: add ABI documentation for in_proximity_sampling_frequency_available
Quoted 4 lines · Brian Masney
Add entry for the
in_proximity_sampling_frequency_availablesysfs entry to the existingsampling_frequency_availableABI documentation.Signed-off-by Brian Masney <[email protected]>
Applied.
Quoted 17 lines
--- Documentation/ABI/testing/sysfs-bus-iio | 1 + 1 file changed, 1 insertion(+)Documentation/ABI/testing/sysfs-bus-iio +1
-0@@ -55,6 +55,7 @@ Description: then it is to be found in the base device directory. What: /sys/bus/iio/devices/iio:deviceX/sampling_frequency_available +What: /sys/bus/iio/devices/iio:deviceX/in_proximity_sampling_frequency_available What: /sys/.../iio:deviceX/buffer/sampling_frequency_available What: /sys/bus/iio/devices/triggerX/sampling_frequency_available KernelVersion: 2.6.35
PATCH 7/7 staging: iio: isl29028: move out of staging
In reply to Brian MasneyMove ISL29028 ALS / Proximity Sensor out of staging and into mainline.
---
drivers/iio/light/Kconfig | 10 ++++++++++
drivers/iio/light/Makefile | 1 +
drivers/{staging => }/iio/light/isl29028.c | 0
drivers/staging/iio/light/Kconfig | 10 ----------
drivers/staging/iio/light/Makefile | 1 -
5 files changed, 11 insertions(+), 11 deletions(-)
rename drivers/{staging => }/iio/light/isl29028.c (100%)drivers/iio/light/Kconfig +10 -0
@@ -172,6 +172,16 @@ config SENSORS_ISL29018 in lux, proximity infrared sensing and normal infrared sensing. Data from sensor is accessible via sysfs. +config SENSORS_ISL29028 + tristate "Intersil ISL29028 Concurrent Light and Proximity Sensor" + depends on I2C + select REGMAP_I2C + help + Provides driver for the Intersil's ISL29028 device. + This driver supports the sysfs interface to get the ALS, IR intensity, + Proximity value via iio. The ISL29028 provides the concurrent sensing + of ambient light and proximity. + config ISL29125 tristate "Intersil ISL29125 digital color light sensor" depends on I2C
drivers/iio/light/Makefile +1 -0
@@ -20,6 +20,7 @@ obj-$(CONFIG_GP2AP020A00F) += gp2ap020a00f.o obj-$(CONFIG_HID_SENSOR_ALS) += hid-sensor-als.o obj-$(CONFIG_HID_SENSOR_PROX) += hid-sensor-prox.o obj-$(CONFIG_SENSORS_ISL29018) += isl29018.o +obj-$(CONFIG_SENSORS_ISL29028) += isl29028.o obj-$(CONFIG_ISL29125) += isl29125.o obj-$(CONFIG_JSA1212) += jsa1212.o obj-$(CONFIG_SENSORS_LM3533) += lm3533-als.o
drivers/iio/light/isl29028.c renamed from drivers/staging/iio/light/isl29028.c +0 -0
drivers/staging/iio/light/Kconfig +0 -10
@@ -3,16 +3,6 @@ # menu "Light sensors" -config SENSORS_ISL29028 - tristate "Intersil ISL29028 Concurrent Light and Proximity Sensor" - depends on I2C - select REGMAP_I2C - help - Provides driver for the Intersil's ISL29028 device. - This driver supports the sysfs interface to get the ALS, IR intensity, - Proximity value via iio. The ISL29028 provides the concurrent sensing - of ambient light and proximity. - config TSL2x7x tristate "TAOS TSL/TMD2x71 and TSL/TMD2x72 Family of light and proximity sensors" depends on I2C
drivers/staging/iio/light/Makefile +0 -1
@@ -2,5 +2,4 @@ # Makefile for industrial I/O Light sensors # -obj-$(CONFIG_SENSORS_ISL29028) += isl29028.o obj-$(CONFIG_TSL2x7x) += tsl2x7x_core.o
Signature · 1 line
2.9.3
Jonathan Cameron
maintainerRe: [PATCH 7/7] staging: iio: isl29028: move out of staging
Quoted 3 lines · Brian Masney
Move ISL29028 ALS / Proximity Sensor out of staging and into mainline.
Signed-off-by Brian Masney <[email protected]>
I've taken another quick look at the driver and think this will be fine once we have cleaned up that small question on the sampling frequencies.
Jonathan
Quoted 78 lines
--- drivers/iio/light/Kconfig | 10 ++++++++++ drivers/iio/light/Makefile | 1 + drivers/{staging => }/iio/light/isl29028.c | 0 drivers/staging/iio/light/Kconfig | 10 ---------- drivers/staging/iio/light/Makefile | 1 - 5 files changed, 11 insertions(+), 11 deletions(-) rename drivers/{staging => }/iio/light/isl29028.c (100%)drivers/iio/light/Kconfig +10
-0@@ -172,6 +172,16 @@ config SENSORS_ISL29018 in lux, proximity infrared sensing and normal infrared sensing. Data from sensor is accessible via sysfs. +config SENSORS_ISL29028 + tristate "Intersil ISL29028 Concurrent Light and Proximity Sensor" + depends on I2C + select REGMAP_I2C + help + Provides driver for the Intersil's ISL29028 device. + This driver supports the sysfs interface to get the ALS, IR intensity, + Proximity value via iio. The ISL29028 provides the concurrent sensing + of ambient light and proximity. + config ISL29125 tristate "Intersil ISL29125 digital color light sensor" depends on I2Cdrivers/iio/light/Makefile +1
-0@@ -20,6 +20,7 @@ obj-$(CONFIG_GP2AP020A00F) += gp2ap020a00f.o obj-$(CONFIG_HID_SENSOR_ALS) += hid-sensor-als.o obj-$(CONFIG_HID_SENSOR_PROX) += hid-sensor-prox.o obj-$(CONFIG_SENSORS_ISL29018) += isl29018.o +obj-$(CONFIG_SENSORS_ISL29028) += isl29028.o obj-$(CONFIG_ISL29125) += isl29125.o obj-$(CONFIG_JSA1212) += jsa1212.o obj-$(CONFIG_SENSORS_LM3533) += lm3533-als.odrivers/iio/light/isl29028.c renamed from drivers/staging/iio/light/isl29028.c +0
-0drivers/staging/iio/light/Kconfig +0
-10@@ -3,16 +3,6 @@ # menu "Light sensors" -config SENSORS_ISL29028 - tristate "Intersil ISL29028 Concurrent Light and Proximity Sensor" - depends on I2C - select REGMAP_I2C - help - Provides driver for the Intersil's ISL29028 device. - This driver supports the sysfs interface to get the ALS, IR intensity, - Proximity value via iio. The ISL29028 provides the concurrent sensing - of ambient light and proximity. - config TSL2x7x tristate "TAOS TSL/TMD2x71 and TSL/TMD2x72 Family of light and proximity sensors" depends on I2Cdrivers/staging/iio/light/Makefile +0
-1@@ -2,5 +2,4 @@ # Makefile for industrial I/O Light sensors # -obj-$(CONFIG_SENSORS_ISL29028) += isl29028.o obj-$(CONFIG_TSL2x7x) += tsl2x7x_core.o