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

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

Merge "pinctrl: qcom: Add sdm660 pinctrl DT drivers"

parents 4ba47fa8 b9990161
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -201,4 +201,12 @@ config PINCTRL_SCUBA
	  Qualcomm Technologies Inc TLMM block found on the Qualcomm
	  Technologies Inc SCUBA platform.

config PINCTRL_SDM660
	tristate "Qualcomm Technologies, Inc SDM660 pin controller driver"
	depends on GPIOLIB && OF
	select PINCTRL_MSM
	help
	 This is the pinctrl, pinmux, pinconf and gpiolib driver for
	 the Qualcomm Technologies Inc TLMM block found in the
	 Qualcomm Technologies, Inc. SDM660 platform.
endif
+1 −0
Original line number Diff line number Diff line
@@ -25,3 +25,4 @@ obj-$(CONFIG_PINCTRL_LITO) += pinctrl-lito.o
obj-$(CONFIG_PINCTRL_BENGAL) += pinctrl-bengal.o
obj-$(CONFIG_PINCTRL_LAGOON) += pinctrl-lagoon.o
obj-$(CONFIG_PINCTRL_SCUBA) += pinctrl-scuba.o
obj-$(CONFIG_PINCTRL_SDM660)   += pinctrl-sdm660.o
+1750 −0

File added.

Preview size limit exceeded, changes collapsed.

+25 −0
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2015, 2017, 2019-2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef __MSM_POWER_ON_H__
#define __MSM_POWER_ON_H__

#define PON_POWER_OFF_RESERVED		0x00
#define PON_POWER_OFF_WARM_RESET	0x01
#define PON_POWER_OFF_SHUTDOWN		0x04
#define PON_POWER_OFF_DVDD_SHUTDOWN	0x05
#define PON_POWER_OFF_HARD_RESET	0x07
#define PON_POWER_OFF_DVDD_HARD_RESET	0x08
#define PON_POWER_OFF_MAX_TYPE		0x10

#endif