Skip to content

staging: iio: light: isl29018: Remove non-standard sysfs attributes

Roberta Dobrescu linux-iio 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 8 repliesIn review
  2. v14 patches 7 repliesSuperseded

Changes in v2 from the cover letter

* Use integration time for controlling adc resolution
* Use scale to control range instead of introducing IIO_CHAN_INFO_RANGE

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3staging: iio: light: isl29018: Remove non-standard sysfs attributesdrivers/staging/iio/light/isl29018.c+0 -941 reply
2/3staging: iio: light: isl29018: Rename lux_scale to calibscaledrivers/staging/iio/light/isl29018.c+11 -111 reply
3/3staging: iio: light: isl29018: Use standard sysfs attributes for scale and integration timedrivers/staging/iio/light/isl29018.c+175 -496 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] staging: iio: light: isl29018: Remove non-standard sysfs attributes

This set of patches removes non-standard sysfs attributes used by isl29018 driver.

Integration time is used instead of adc resolution since these are strongly connected. Also, full scale range is controlled by scale. isl29018 driver code is refactored in order to use these standard attributes.

Additionally, it renames lux_scale to calibscale and lux_uscale to ucalibscale since these parameters are used for hardware applied calibration.

The purpose of these patches is to change the isl29018 driver to use standard IIO attributes in order to be moved out of staging.

Changes since v1:
* Use integration time for controlling adc resolution
* Use scale to control range instead of introducing IIO_CHAN_INFO_RANGE

Roberta Dobrescu (3):
staging: iio: light: isl29018: Remove non-standard sysfs attributes
staging: iio: light: isl29018: Rename lux_scale to calibscale
staging: iio: light: isl29018: Use standard sysfs attributes for scale
and integration time

 drivers/staging/iio/light/isl29018.c | 294 +++++++++++++++++++----------------
 1 file changed, 163 insertions(+), 131 deletions(-)
Signature · 1 line
1.9.1