Skip to content

Commit 52e06d5

Browse files
Griffin Kroah-Hartmandtor
authored andcommitted
Input: aw86927 - add driver for Awinic AW86927
Add support for the I2C-connected Awinic AW86927 LRA haptic driver. This driver includes a hardcoded sine waveform to be uploaded to the AW86927's SRAM for haptic playback. This driver does not currently support all the capabilities of the AW86927, such as F0 calibration, RTP mode, and CONT mode. Signed-off-by: Griffin Kroah-Hartman <griffin.kroah@fairphone.com> Link: https://lore.kernel.org/r/20250925-aw86927-v3-2-1fc6265b42de@fairphone.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 9fbad55 commit 52e06d5

3 files changed

Lines changed: 859 additions & 0 deletions

File tree

drivers/input/misc/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,17 @@ config INPUT_ATMEL_CAPTOUCH
126126
To compile this driver as a module, choose M here: the
127127
module will be called atmel_captouch.
128128

129+
config INPUT_AW86927
130+
tristate "Awinic AW86927 Haptic Driver Support"
131+
depends on I2C && INPUT
132+
select INPUT_FF_MEMLESS
133+
select REGMAP_I2C
134+
help
135+
Say Y here if you have an Awinic AW86927 haptic chip.
136+
137+
To compile this driver as a module, choose M here: the
138+
module will be called aw86927.
139+
129140
config INPUT_BBNSM_PWRKEY
130141
tristate "NXP BBNSM Power Key Driver"
131142
depends on ARCH_MXC || COMPILE_TEST

drivers/input/misc/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ obj-$(CONFIG_INPUT_ATC260X_ONKEY) += atc260x-onkey.o
2222
obj-$(CONFIG_INPUT_ATI_REMOTE2) += ati_remote2.o
2323
obj-$(CONFIG_INPUT_ATLAS_BTNS) += atlas_btns.o
2424
obj-$(CONFIG_INPUT_ATMEL_CAPTOUCH) += atmel_captouch.o
25+
obj-$(CONFIG_INPUT_AW86927) += aw86927.o
2526
obj-$(CONFIG_INPUT_BBNSM_PWRKEY) += nxp-bbnsm-pwrkey.o
2627
obj-$(CONFIG_INPUT_BMA150) += bma150.o
2728
obj-$(CONFIG_INPUT_CM109) += cm109.o

0 commit comments

Comments
 (0)