Added LTR501 Interrupt support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest5 patches 8 repliesIn review
- v45 patches 8 repliesSuperseded
- v36 patches 8 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 4 patches | 2 replies | Superseded | |
| v1 | 3 patches | 17 replies | Superseded |
Changes in v5 from the cover letter
1. Added const qualifier for sampling table, it table & reg_field variables.
2. Rebased patches on top of Daniel's checkpatch fix.
3. Renamed rate variable to sampling_period.
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | iio: ltr501: Add regmap support.drivers/ | +86 | 1 reply | |
| 2/5 | iio: ltr501: Add integration time supportdrivers/ | +89 | 2 replies | |
| 3/5 | iio: ltr501: Add interrupt supportdrivers/ | +313 | 2 replies | |
| 4/5 | iio: ltr501: Add interrupt rate control supportdrivers/ | +406 | 2 replies | |
| 5/5 | iio: ltr501: Add ACPI enumeration supportdrivers/ | +8 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH v5 0/5] Added LTR501 Interrupt support
This patchset adds Integration time, sampling frequency, interrupt and acpi enumeration support for LTR-501 chip.
Please let me know your review comments.
v1:
1. Added support to enable ALS & PS intterupts based on threshold settings.
2. Added support to control intrrupt rate.
3. Added acpi enumeration support.
v2:
1. Removed persistance attribute from ext_channel and added support for IIO_EV_INFO_PERIOD.
2. Rebased my patches on top of Daniel's alignment fix.
v3:
1. Added a new ABI to define threshold interrupt persistence filter value.
2. Added Documentation for persistence filter iio ABI
3. Used IIO_EV_INFO_PERSISTENCE instead of IIO_EV_INFO_PERIOD in ltr501 driver.
v4:
1. Added regmap support to handle register bitwise updates easily.
2. Added support to change integration time from user code.
3. Modified threshold interrupt persistence code to use IIO_EV_INFO_PERIOD values.
4. Added support to change sampling frequency from user code
5. Addressed Jonathan's comments
v5:
1. Added const qualifier for sampling table, it table & reg_field variables.
2. Rebased patches on top of Daniel's checkpatch fix.
3. Renamed rate variable to sampling_period.
Kuppuswamy Sathyanarayanan (5):
iio: ltr501: Add regmap support.
iio: ltr501: Add integration time support
iio: ltr501: Add interrupt support
iio: ltr501: Add interrupt rate control support
iio: ltr501: Add ACPI enumeration support
drivers/iio/light/ltr501.c | 945 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 895 insertions(+), 50 deletions(-)
Signature · 1 line
1.9.1