mbox series

[v5,0/3] Add TYHX HX9023S sensor driver

Message ID SN7PR12MB810163A2116D5F84FF3F866DA4CC2@SN7PR12MB8101.namprd12.prod.outlook.com (mailing list archive)
Headers show
Series Add TYHX HX9023S sensor driver | expand

Message

Yasin Lee June 16, 2024, 7:36 a.m. UTC
Changes in v5:
- I have addressed all the issues mentioned in the email responses.
  Additionally, regarding the IIO-related header files, I have checked and found no unused headers.
- Link to v4: https://lore.kernel.org/linux-iio/SN7PR12MB81017291E79E6B61A8DEC9A5A4FB2@SN7PR12MB8101.namprd12.prod.outlook.com/

Signed-off-by: Yasin Lee <yasin.lee.x@gmail.com>
---
Changes in v4:
- Removed hardware-irrelevant properties from dt-bindings, retaining only channel configuration
  related `channel-positive` and `channel-negative`. Grouped by channel.
  Retained `channel-in-use` as it is hardware-related.
- Removed redundant register definitions.
- Reorganized `struct hx9023s_data`, extracting channel-related attributes
  into a new `struct hx9023s_ch_data`.
- Optimized bit operation related code.
- Replaced `of_` versions with generic firmware parsing functions.
- Fixed other issues mentioned in the email feedback.
- Link to v3: https://lore.kernel.org/linux-iio/20240602152638.2c674930@jic23-huawei/

---
Yasin Lee (3):
      dt-bindings:iio:proximity:new vendor prefix: tyhx
      dt-bindings:iio:proximity: Add hx9023s binding
      iio:proximity:hx9023s: Add TYHX HX9023S sensor driver

 .../bindings/iio/proximity/tyhx,hx9023s.yaml       |   98 ++
 .../devicetree/bindings/vendor-prefixes.yaml       |    2 +
 drivers/iio/proximity/Kconfig                      |   14 +
 drivers/iio/proximity/Makefile                     |    1 +
 drivers/iio/proximity/hx9023s.c                    | 1149 ++++++++++++++++++++
 5 files changed, 1264 insertions(+)
---
base-commit: b4b34b020896597406448392ae8678dcb2183803
change-id: 20240616-add-tyhx-hx9023s-sensor-driver-e7dbe3bfe596

Best regards,