iio: proximity: Add driver support for TYHX's HX9023S capacitive proximity sensor
authorYasin Lee <yasin.lee.x@gmail.com>
Tue, 2 Jul 2024 14:12:34 +0000 (22:12 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 29 Jul 2024 19:31:13 +0000 (20:31 +0100)
commit60df548277b7281171f51b87b214ab6717fc6101
treee0a7d39573f0a0d30f5d9b3a57fe987d3e3f66ff
parentdc926424211cf940d69e55bc46a064626b0cfa6f
iio: proximity: Add driver support for TYHX's HX9023S capacitive proximity sensor

A SAR sensor from NanjingTianyihexin Electronics Ltd.

The device has the following entry points:

Usual frequency:
- sampling_frequency

Instant reading of current values for different sensors:
- in_proximity0_raw
- in_proximity1_raw
- in_proximity2_raw
- in_proximity3_raw
- in_proximity4_raw
and associated events in events/

Signed-off-by: Yasin Lee <yasin.lee.x@gmail.com>
Link: https://patch.msgid.link/20240702-add-tyhx-hx9023s-sensor-driver-v9-3-c030f1801d9b@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/proximity/Kconfig
drivers/iio/proximity/Makefile
drivers/iio/proximity/hx9023s.c [new file with mode: 0644]