Skip to content

Commit 07b2412

Browse files
shuaijie wangjic23
authored andcommitted
iio: proximity: aw96103: Add support for aw96103/aw96105 proximity sensor
AW96103 is a low power consumption capacitive touch and proximity controller. Each channel can be independently config as sensor input, shield output. Channel Information: aw96103: 3-channel aw96105: 5-channel Signed-off-by: shuaijie wang <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 61075d0 commit 07b2412

File tree

3 files changed

+858
-0
lines changed

3 files changed

+858
-0
lines changed

drivers/iio/proximity/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,4 +233,15 @@ config VL53L0X_I2C
233233
To compile this driver as a module, choose M here: the
234234
module will be called vl53l0x-i2c.
235235

236+
config AW96103
237+
tristate "AW96103/AW96105 Awinic proximity sensor"
238+
select REGMAP_I2C
239+
depends on I2C
240+
help
241+
Say Y here to build a driver for Awinic's AW96103/AW96105 capacitive
242+
proximity sensor.
243+
244+
To compile this driver as a module, choose M here: the
245+
module will be called aw96103.
246+
236247
endmenu

drivers/iio/proximity/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ obj-$(CONFIG_SX_COMMON) += sx_common.o
2222
obj-$(CONFIG_SX9500) += sx9500.o
2323
obj-$(CONFIG_VCNL3020) += vcnl3020.o
2424
obj-$(CONFIG_VL53L0X_I2C) += vl53l0x-i2c.o
25+
obj-$(CONFIG_AW96103) += aw96103.o
2526

0 commit comments

Comments
 (0)