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

Commit c917bb10 authored by Osvaldo Banuelos's avatar Osvaldo Banuelos
Browse files

ARM: dts: msm: Add pinctrl device for TLMM in samarium



Enable pinctrl driver for msmsamarium. Add skeleton dtsi
file for TLMM pin configuration nodes.

Change-Id: I251049657041c46b515510b17404b09de895d640
Signed-off-by: default avatarOsvaldo Banuelos <osvaldob@codeaurora.org>
parent a9544cf6
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
/* Copyright (c) 2013, 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.
 */

&soc {
	tlmm_pinmux: pinctrl@fd510000 {
		compatible = "qcom,msm-tlmm-v3";
		reg = <0xfd510000 0x4000>;

		/*General purpose pins*/
		gp: gp {
			qcom,pin-type-gp;
			qcom,num-pins = <146>;
			#qcom,pin-cells = <1>;
		};

		/* SDC pin type */
		sdc: sdc {
			qcom,pin-type-sdc;
			/* 0-2 for sdc1 3-5 for sdc2 */
			qcom,num-pins = <6>;
			/* Order of pins */
			/* CLK -> 0 */
			/* CMD -> 1 */
			/* DATA -> 2 */
			#qcom,pin-cells = <1>;
		};
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@
/include/ "msmsamarium-smp2p.dtsi"
/include/ "msmsamarium-pm.dtsi"
/include/ "msmsamarium-coresight.dtsi"
/include/ "msmsamarium-pinctrl.dtsi"

&soc {
	#address-cells = <1>;
+2 −0
Original line number Diff line number Diff line
@@ -554,6 +554,8 @@ config ARCH_MSMSAMARIUM
	select MSM_RUN_QUEUE_STATS
	select ARCH_WANT_KMAP_ATOMIC_FLUSH
	select QMI_ENCDEC
	select PINCTRL
	select PINCTRL_MSM_TLMM_V3
endmenu

choice