Commit cd3f6098 authored by Roy Im's avatar Roy Im Committed by Dmitry Torokhov
Browse files

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: default avatarRoy Im <roy.im.opensource@diasemi.com>
Reviewed-by: default avatarJes Sorensen <Jes.Sorensen@gmail.com&gt;.>
Link: https://lore.kernel.org/r/1e293e8c4830b09255af3b7e1721b73afaefdfa3.1606320459.git.Roy.Im@diasemi.com


Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 4f3c429e
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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 −0

File added.

Preview size limit exceeded, changes collapsed.