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

Commit bab8b2b2 authored by David Collins's avatar David Collins
Browse files

input: add snapshot of qpnp-power-on driver



The qpnp-power-on driver provides support for key presses via
several key specific PMIC inputs.  It also supports reading
power-on reasons and configuring the power-off type (i.e.
restart, shutdown, etc).

This snapshot is taken as of msm-4.14
commit 8397d59bfcb9 ("input: qpnp-power-on: refactor the
qpnp-power-on driver").

Change-Id: I8105cf74d65609932146157f82a8e99f29a4dde2
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 2e0e4194
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_QPNP_POWER_ON
	tristate "QPNP PMIC Power-on support"
	depends on SPMI
	help
	  This option enables device driver support for the power-on
	  functionality of Qualcomm Technologies, Inc. PNP PMICs.  It supports
	  reporting the change in status of the KPDPWR_N line (connected to the
	  power-key) as well as reset features.

config INPUT_QTI_HAPTICS
	tristate "Haptics support for QTI PMIC"
	depends on MFD_SPMI_PMIC
+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_QPNP_POWER_ON)	+= qpnp-power-on.o
obj-$(CONFIG_INPUT_QTI_HAPTICS)		+= qti-haptics.o
obj-$(CONFIG_INPUT_POWERMATE)		+= powermate.o
obj-$(CONFIG_INPUT_PWM_BEEPER)		+= pwm-beeper.o