mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
dt-bindings: input: add qpnp-power-on bindings
Add device tree bindings for Qualcomm Technologies, Inc. QPNP
Power-on devices. These are PMIC peripherals which manage PMIC
power on, power off, key presses, and other related activities.
This snapshot is taken as of msm-4.19
commit 47598dd0e809 ("input: misc: qpnp-power-on: add support
to power off a modem chip").
Change-Id: If5e727c812a3c8cdcc263a40c72de50bb3ffbc78
Signed-off-by: David Collins <[email protected]>
This commit is contained in:
parent
726328684e
commit
ec0c13cc56
1 changed files with 22 additions and 0 deletions
22
include/dt-bindings/input/qcom,qpnp-power-on.h
Normal file
22
include/dt-bindings/input/qcom,qpnp-power-on.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/* 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…
Reference in a new issue