Skip to content

iio: hid-sensors-prox: Add support for more channels

Ricardo Ribalda linux-iio linux-input lkml 3 versions – In review

Get series with b4
b4 am [email protected] change-id 20241023-hpd-edeb37f1ffc4

Versions newest first

  1. v3 Latest5 patches 4 repliesIn review
  2. v25 patches 6 repliesSuperseded
  3. v13 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Make attention CHAN_INFO_PROCESSED.
- Fix comment style.
- Multiply attention by 100 to make it a percentage.
- Link to v2: https://lore.kernel.org/r/[email protected]

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5iio: hid-sensors: Add proximity and attention IDsinclude/linux/hid-sensor-ids.h+2 -00 replies
2/5iio: hid-sensors-prox: Factor-in hid_sensor_push_datadrivers/iio/light/hid-sensor-prox.c+4 -120 replies
3/5iio: Add channel type for attentionDocumentation/ABI/testing/sysfs-bus-iio drivers/iio/industrialio-core.c include/uapi/linux/iio/types.h +1 more+12 -00 replies
4/5iio: hid-sensors-prox: Make proximity channel indexeddrivers/iio/light/hid-sensor-prox.c+1 -00 replies
5/5iio: hid-sensor-prox: Add support for more channelsdrivers/iio/light/hid-sensor-prox.c+104 -760 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJiri KosinaSrinivas Pandruvada
SeriesA-b A-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] iio: hid-sensors-prox: Add support for more channels

EgisVision 620 provides two additional channels:
- proximity
- attention

Add support for them.

---
Changes in v3:
- Make attention CHAN_INFO_PROCESSED.
- Fix comment style.
- Multiply attention by 100 to make it a percentage.
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2 (Thanks Jonathan):
- Create new attention channel type.
- Improve documentation for HID usages.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Ricardo Ribalda (5):
iio: hid-sensors: Add proximity and attention IDs
iio: hid-sensors-prox: Factor-in hid_sensor_push_data
iio: Add channel type for attention
iio: hid-sensors-prox: Make proximity channel indexed
iio: hid-sensor-prox: Add support for more channels

 Documentation/ABI/testing/sysfs-bus-iio |   8 ++
 drivers/iio/industrialio-core.c         |   1 +
 drivers/iio/light/hid-sensor-prox.c     | 195 ++++++++++++++++++--------------
 include/linux/hid-sensor-ids.h          |   2 +
 include/uapi/linux/iio/types.h          |   1 +
 tools/iio/iio_event_monitor.c           |   2 +
 6 files changed, 122 insertions(+), 87 deletions(-)

---
base-commit: c2ee9f594da826bea183ed14f2cc029c719bf4da
change-id: 20241023-hpd-edeb37f1ffc4

Best regards,

Signature · 1 line
Ricardo Ribalda <[email protected]>