summaryrefstree
path: root/kernel/include/dt-bindings/input/qcom,qpnp-power-on.h
blob: d74cf0d58411a15b3281f10e1787faf17a9b44d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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