mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-06 05:13:18 +00:00
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>
This commit is contained in:
parent
dc92642421
commit
60df548277
@ -32,6 +32,20 @@ config CROS_EC_MKBP_PROXIMITY
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called cros_ec_mkbp_proximity.
|
||||
|
||||
config HX9023S
|
||||
tristate "TYHX HX9023S SAR sensor"
|
||||
select IIO_BUFFER
|
||||
select IIO_TRIGGERED_BUFFER
|
||||
select REGMAP_I2C
|
||||
depends on I2C
|
||||
help
|
||||
Say Y here to build a driver for TYHX HX9023S capacitive SAR sensor.
|
||||
This driver supports the TYHX HX9023S capacitive
|
||||
SAR sensors. This sensors is used for proximity detection applications.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called hx9023s.
|
||||
|
||||
config IRSD200
|
||||
tristate "Murata IRS-D200 PIR sensor"
|
||||
select IIO_BUFFER
|
||||
|
@ -6,6 +6,7 @@
|
||||
# When adding new entries keep the list in alphabetical order
|
||||
obj-$(CONFIG_AS3935) += as3935.o
|
||||
obj-$(CONFIG_CROS_EC_MKBP_PROXIMITY) += cros_ec_mkbp_proximity.o
|
||||
obj-$(CONFIG_HX9023S) += hx9023s.o
|
||||
obj-$(CONFIG_IRSD200) += irsd200.o
|
||||
obj-$(CONFIG_ISL29501) += isl29501.o
|
||||
obj-$(CONFIG_LIDAR_LITE_V2) += pulsedlight-lidar-lite-v2.o
|
||||
|
1143
drivers/iio/proximity/hx9023s.c
Normal file
1143
drivers/iio/proximity/hx9023s.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user