Skip to content

iio: Add Intersil isl76683 light sensor support

Christoph Fritz linux-devicetree 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 5 repliesIn review
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- introduce dt property suffix -kilo-ohms
- rename optinal dt property to isil,external-resistor-kilo-ohms
- purge dynamic buffer in favour of simple static 16 byte IIO_LE
- use iio_device_claim/release_direct_mode() instead of flag variable
- return with IRQ_HANDLED in all cases in isl76683_trigger_handler()
- simplify return in isl76683_set_config
- rename isl76683_read_lux() to isl76683_get_sensordata()
- use IIO_CHAN_INFO_SCALE instead of IIO_CHAN_INFO_HARDWAREGAIN
- rename macro ISL76683_REG_SENSOR_L/M to ISL76683_REG_SENSOR_LSB/MSB
- rename marcro ISL76683_CHANNEL_2 to ISL76683_CHANNEL
- use GENMASK for ISL76683_PHOTOD_MASK

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iio: light: Add support for Intersil isl76683 sensordrivers/iio/light/Kconfig drivers/iio/light/Makefile drivers/iio/light/isl76683.c+676 -01 reply
2/3dt-bindings: iio: add Intersil isl76683 light sensor bindingsDocumentation/devicetree/bindings/iio/light/isl76683.txt Documentation/devicetree/bindings/property-units.txt+27 -01 reply
3/3iio: light: isl76683 add way to adjust irq thresholdDocumentation/ABI/testing/sysfs-bus-iio-light-isl76683 drivers/iio/light/isl76683.c+71 -33 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] iio: Add Intersil isl76683 light sensor support

This patchset adds initial support for isl76683 light sensor.

Changes since v1:
- introduce dt property suffix -kilo-ohms
- rename optinal dt property to isil,external-resistor-kilo-ohms
- purge dynamic buffer in favour of simple static 16 byte IIO_LE
- use iio_device_claim/release_direct_mode() instead of flag variable
- return with IRQ_HANDLED in all cases in isl76683_trigger_handler()
- simplify return in isl76683_set_config
- rename isl76683_read_lux() to isl76683_get_sensordata()
- use IIO_CHAN_INFO_SCALE instead of IIO_CHAN_INFO_HARDWAREGAIN
- rename macro ISL76683_REG_SENSOR_L/M to ISL76683_REG_SENSOR_LSB/MSB
- rename marcro ISL76683_CHANNEL_2 to ISL76683_CHANNEL
- use GENMASK for ISL76683_PHOTOD_MASK

Christoph Fritz (3):
iio: light: Add support for Intersil isl76683 sensor
dt-bindings: iio: add Intersil isl76683 light sensor bindings
iio: light: isl76683 add way to adjust irq threshold

 .../ABI/testing/sysfs-bus-iio-light-isl76683       |  17 +
 .../devicetree/bindings/iio/light/isl76683.txt     |  26 +
 .../devicetree/bindings/property-units.txt         |   1 +
 drivers/iio/light/Kconfig                          |  12 +
 drivers/iio/light/Makefile                         |   1 +
 drivers/iio/light/isl76683.c                       | 714 +++++++++++++++++++++
 6 files changed, 771 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-light-isl76683
 create mode 100644 Documentation/devicetree/bindings/iio/light/isl76683.txt
 create mode 100644 drivers/iio/light/isl76683.c
Signature · 6 lines
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html