mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 13:44:15 +08:00
Input: new da7280 haptic driver
Adds support for the Dialog DA7280 LRA/ERM Haptic Driver with multiple mode and integrated waveform memory and wideband support. It communicates via an I2C bus to the device. Signed-off-by: Roy Im <roy.im.opensource@diasemi.com> Reviewed-by: Jes Sorensen <Jes.Sorensen@gmail.com>. Link: https://lore.kernel.org/r/1e293e8c4830b09255af3b7e1721b73afaefdfa3.1606320459.git.Roy.Im@diasemi.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
4f3c429ec7
commit
cd3f609823
@ -620,6 +620,18 @@ config INPUT_RB532_BUTTON
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called rb532_button.
|
||||
|
||||
config INPUT_DA7280_HAPTICS
|
||||
tristate "Dialog Semiconductor DA7280 haptics support"
|
||||
depends on INPUT && I2C
|
||||
select REGMAP_I2C
|
||||
help
|
||||
Say Y to enable support for the Dialog DA7280 haptics driver.
|
||||
The haptics can be controlled by PWM or GPIO
|
||||
with I2C communication.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called da7280.
|
||||
|
||||
config INPUT_DA9052_ONKEY
|
||||
tristate "Dialog DA9052/DA9053 Onkey"
|
||||
depends on PMIC_DA9052
|
||||
|
@ -26,6 +26,7 @@ obj-$(CONFIG_INPUT_CMA3000) += cma3000_d0x.o
|
||||
obj-$(CONFIG_INPUT_CMA3000_I2C) += cma3000_d0x_i2c.o
|
||||
obj-$(CONFIG_INPUT_COBALT_BTNS) += cobalt_btns.o
|
||||
obj-$(CONFIG_INPUT_CPCAP_PWRBUTTON) += cpcap-pwrbutton.o
|
||||
obj-$(CONFIG_INPUT_DA7280_HAPTICS) += da7280.o
|
||||
obj-$(CONFIG_INPUT_DA9052_ONKEY) += da9052_onkey.o
|
||||
obj-$(CONFIG_INPUT_DA9055_ONKEY) += da9055_onkey.o
|
||||
obj-$(CONFIG_INPUT_DA9063_ONKEY) += da9063_onkey.o
|
||||
|
1329
drivers/input/misc/da7280.c
Normal file
1329
drivers/input/misc/da7280.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user