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

Commit 3e91323f authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "defconfig: lahaina-gki: enable qpnp-power-on driver"

parents 4f3ef457 9d223aa4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ CONFIG_PINCTRL_QCOM_SPMI_PMIC=m
CONFIG_NVMEM_SPMI_SDAM=m
CONFIG_RTC_DRV_PM8XXX=m
CONFIG_QCOM_SPMI_TEMP_ALARM=m
CONFIG_INPUT_QPNP_POWER_ON=m
CONFIG_NOP_USB_XCEIV=m
CONFIG_USB_QCOM_EMU_PHY=m
CONFIG_USB_XHCI_HCD=m
+9 −0
Original line number Diff line number Diff line
@@ -175,6 +175,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_SPARCSPKR
	tristate "SPARC Speaker support"
	depends on PCI && SPARC64
+1 −0
Original line number Diff line number Diff line
@@ -59,6 +59,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_POWERMATE)		+= powermate.o
obj-$(CONFIG_INPUT_PWM_BEEPER)		+= pwm-beeper.o
obj-$(CONFIG_INPUT_PWM_VIBRA)		+= pwm-vibra.o
+2446 −0

File added.

Preview size limit exceeded, changes collapsed.

+22 −0
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 */

#ifndef _DT_BINDINGS_INPUT_QCOM_POWER_ON_H
#define _DT_BINDINGS_INPUT_QCOM_POWER_ON_H

/* PMIC PON peripheral logical power on types: */
#define PON_POWER_ON_TYPE_KPDPWR		0
#define PON_POWER_ON_TYPE_RESIN			1
#define PON_POWER_ON_TYPE_CBLPWR		2
#define PON_POWER_ON_TYPE_KPDPWR_RESIN		3

/* PMIC PON peripheral physical power off types: */
#define PON_POWER_OFF_TYPE_WARM_RESET		0x01
#define PON_POWER_OFF_TYPE_SHUTDOWN		0x04
#define PON_POWER_OFF_TYPE_DVDD_SHUTDOWN	0x05
#define PON_POWER_OFF_TYPE_HARD_RESET		0x07
#define PON_POWER_OFF_TYPE_DVDD_HARD_RESET	0x08

#endif
Loading