mirror of
https://github.com/Dasharo/linux.git
synced 2026-03-06 15:25:10 -08:00
Input: cs40l50 - Add support for the CS40L50 haptic driver
Introduce support for Cirrus Logic Device CS40L50: a haptic driver with waveform memory, integrated DSP, and closed-loop algorithms. The input driver provides the interface for control of haptic effects through the device. Signed-off-by: James Ogletree <jogletre@opensource.cirrus.com> Reviewed-by: Jeff LaBundy <jeff@labundy.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Link: https://lore.kernel.org/r/20240620161745.2312359-5-jogletre@opensource.cirrus.com Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
committed by
Lee Jones
parent
cb626376cb
commit
c38fe1bb5d
@@ -5213,6 +5213,7 @@ M: Ben Bright <ben.bright@cirrus.com>
|
||||
L: patches@opensource.cirrus.com
|
||||
S: Supported
|
||||
F: Documentation/devicetree/bindings/input/cirrus,cs40l50.yaml
|
||||
F: drivers/input/misc/cs40l*
|
||||
F: drivers/mfd/cs40l*
|
||||
F: include/linux/mfd/cs40l*
|
||||
|
||||
|
||||
@@ -140,6 +140,16 @@ config INPUT_BMA150
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called bma150.
|
||||
|
||||
config INPUT_CS40L50_VIBRA
|
||||
tristate "CS40L50 Haptic Driver support"
|
||||
depends on MFD_CS40L50_CORE
|
||||
help
|
||||
Say Y here to enable support for Cirrus Logic's CS40L50
|
||||
haptic driver.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called cs40l50-vibra.
|
||||
|
||||
config INPUT_E3X0_BUTTON
|
||||
tristate "NI Ettus Research USRP E3xx Button support."
|
||||
default n
|
||||
|
||||
@@ -28,6 +28,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_CS40L50_VIBRA) += cs40l50-vibra.o
|
||||
obj-$(CONFIG_INPUT_DA7280_HAPTICS) += da7280.o
|
||||
obj-$(CONFIG_INPUT_DA9052_ONKEY) += da9052_onkey.o
|
||||
obj-$(CONFIG_INPUT_DA9055_ONKEY) += da9055_onkey.o
|
||||
|
||||
555
drivers/input/misc/cs40l50-vibra.c
Normal file
555
drivers/input/misc/cs40l50-vibra.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user