misc: bh1770glc features and fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest19 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | bh1770glc: added input device interfacedrivers/ | +57 | 5 replies | |
| 2/19 | bh1770glc: different glass attenuation parametersinclude/ | +2 | 0 replies | |
| 3/19 | bh1770glc: lux0_glass_factor & lux0_comp_factor on sysfsdrivers/ | +22 | 2 replies | |
| 4/19 | bh1770glc: Added raw lux output file for ALS to sysfsdrivers/ | +31 | 0 replies | |
| 5/19 | bh1770glc: Removed obsolete offset settings from SFH7770 codedrivers/ | +0 | 0 replies | |
| 6/19 | bh1770glc: removed proximity adjustementdrivers/ | +2 | 0 replies | |
| 7/19 | bh1770glc: split read result functiondrivers/ | +34 | 0 replies | |
| 8/19 | bh1770glc: logic change in the proximity readdrivers/ | +5 | 0 replies | |
| 9/19 | bh1770glc: use min_t instead of mindrivers/ | +1 | 0 replies | |
| 10/19 | bh1770glc: use kstrtoul instead of strict_strtouldrivers/ | +10 | 0 replies | |
| 11/19 | bh1770glc: removed lux_read_raw_result() functiondrivers/ | +2 | 0 replies | |
| 12/19 | bh1770glc: Introduced dynamic thresholddrivers/ include/ | +61 | 0 replies | |
| 13/19 | bh1770glc: Code cleaning and aligning in source codedrivers/ include/ | +38 | 0 replies | |
| 14/19 | bh1770glc: Modified the neutral glass attenuation valueinclude/ | +2 | 0 replies | |
| 15/19 | bh1770glc: Modified scaler variabledrivers/ | +2 | 0 replies | |
| 16/19 | bh1770glc: Added sanity check for scfdrivers/ | +11 | 0 replies | |
| 17/19 | bh1770glc: Implemented switch for interrupt operationdrivers/ include/ | +11 | 0 replies | |
| 18/19 | bh1770glc: Corrected proximity sensor ratesdrivers/ | +3 | 0 replies | |
| 19/19 | bh1770glc: Proximity sensor LED current updatedrivers/ include/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/19] misc: bh1770glc features and fixes
Hi,
This patchset contains a collection of new features and fixes for the bh1770glc driver for the BH1770 and SFH7770 proximity and ambient light sensor device.
In few words this is what it brings:
- /dev/input/event interface
- removal obsolete and wrong parameters
- new relevant parameters for glass attenuation and glass factor, lux compensation due to the LED cover or ink
- improvments of the threshold usage
- corrections of the device rates and default LED current
- general code cleanup
These patches have been applied on top of mainline master, but they could be easily applied on top of any branch since they don't affect any core code.
Thanks,
Andi
Andi Shyti (7):
bh1770glc: added input device interface
bh1770glc: removed proximity adjustement
bh1770glc: split read result function
bh1770glc: logic change in the proximity read
bh1770glc: use min_t instead of min
bh1770glc: use kstrtoul instead of strict_strtoul
bh1770glc: removed lux_read_raw_result() function
Onur Atilla (12):
bh1770glc: different glass attenuation parameters
bh1770glc: lux0_glass_factor & lux0_comp_factor on sysfs
bh1770glc: Added raw lux output file for ALS to sysfs
bh1770glc: Removed obsolete offset settings from SFH7770 code
bh1770glc: Introduced dynamic threshold
bh1770glc: Code cleaning and aligning in source code
bh1770glc: Modified the neutral glass attenuation value
bh1770glc: Modified scaler variable
bh1770glc: Added sanity check for scf
bh1770glc: Implemented switch for interrupt operation
bh1770glc: Corrected proximity sensor rates
bh1770glc: Proximity sensor LED current update
drivers/misc/bh1770glc.c | 411 +++++++++++++++++++++++++++-------------- include/linux/i2c/bh1770glc.h | 30 +-- 2 files changed, 289 insertions(+), 152 deletions(-)
Signature · 1 line
1.7.10.4