mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
input: misc: Add initial driver to support QTI HV haptics
QTI HV (High Voltage) haptics is a module which can play haptics effects for LRA or ERM with drive voltage up to 10 V. It has several pattern sources built inside and each pattern source can be used for playing different vibration effects. Add the driver to support QTI HV haptics module, which will be registered as an input FF device and can be controlled by calling read/write/ ioctl APIs on the input device node. Change-Id: I8323bdf3f7a631570604577719d5b7876fc65ef1 Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
This commit is contained in:
parent
cc6ee913ab
commit
5ef7f0d84f
|
|
@ -186,6 +186,17 @@ config INPUT_PMIC8XXX_PWRKEY
|
|||
To compile this driver as a module, choose M here: the
|
||||
module will be called pmic8xxx-pwrkey.
|
||||
|
||||
config INPUT_QCOM_HV_HAPTICS
|
||||
tristate "QTI High Voltage Haptics support"
|
||||
depends on MFD_SPMI_PMIC
|
||||
help
|
||||
This option enables device driver support for the high voltage haptics
|
||||
peripheral found on Qualcomm Technologies, Inc. PMICs. The high voltage
|
||||
haptics peripheral is capable of driving either LRA or ERM vibrators with
|
||||
drive voltage up to 10 V, and its 5 integrated pattern sources can be used
|
||||
for playing different vibration effects. To compile this driver as a module,
|
||||
choose M here: the module will be called qcom-hv-haptics.
|
||||
|
||||
config INPUT_SPARCSPKR
|
||||
tristate "SPARC Speaker support"
|
||||
depends on PCI && SPARC64
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ obj-$(CONFIG_INPUT_PCSPKR) += pcspkr.o
|
|||
obj-$(CONFIG_INPUT_PM8941_PWRKEY) += pm8941-pwrkey.o
|
||||
obj-$(CONFIG_INPUT_PM8XXX_VIBRATOR) += pm8xxx-vibrator.o
|
||||
obj-$(CONFIG_INPUT_PMIC8XXX_PWRKEY) += pmic8xxx-pwrkey.o
|
||||
obj-$(CONFIG_INPUT_QCOM_HV_HAPTICS) += qcom-hv-haptics.o
|
||||
obj-$(CONFIG_INPUT_POWERMATE) += powermate.o
|
||||
obj-$(CONFIG_INPUT_PWM_BEEPER) += pwm-beeper.o
|
||||
obj-$(CONFIG_INPUT_PWM_VIBRA) += pwm-vibra.o
|
||||
|
|
|
|||
1746
drivers/input/misc/qcom-hv-haptics.c
Normal file
1746
drivers/input/misc/qcom-hv-haptics.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user