Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f0ff813 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

input: misc: Add snapshot of QTI haptics driver



QTI haptics driver adds support for configuring the haptics module
in QTI PMICs based on per-effect configuration defined by the user
through device tree.

This snapshot is taken as of msm-4.14
commit 9bb584ae3a9d ("msm/sde/rotator: Add rev checks for sdmmagpie").

This change also splits qti_haptics_parse_dt() to fix cyclomatic
complexity warnings.

Change-Id: Icb1ae5eb7795dc61b41e34027fbc7b98583bcbec
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 97663a66
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -164,6 +164,15 @@ config INPUT_PMIC8XXX_PWRKEY
	  To compile this driver as a module, choose M here: the
	  module will be called pmic8xxx-pwrkey.

config INPUT_QTI_HAPTICS
	tristate "Haptics support for QTI PMIC"
	depends on MFD_SPMI_PMIC
	help
	  This option enables device driver support for the haptics peripheral
	  found on Qualcomm Technologies, Inc. PMICs.  The haptics peripheral
	  is capable of driving both LRA and ERM vibrators.  This module provides
	  haptic feedback for user actions such as a long press on the touch screen.

config INPUT_SPARCSPKR
	tristate "SPARC Speaker support"
	depends on PCI && SPARC64
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,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_QTI_HAPTICS)		+= qti-haptics.o
obj-$(CONFIG_INPUT_POWERMATE)		+= powermate.o
obj-$(CONFIG_INPUT_PWM_BEEPER)		+= pwm-beeper.o
obj-$(CONFIG_INPUT_PWM_VIBRA)		+= pwm-vibra.o
+2031 −0

File added.

Preview size limit exceeded, changes collapsed.