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

Commit 6da5199e authored by Siba Prasad's avatar Siba Prasad
Browse files

ARM: dts: msm: Move PMIC GPIO4 configuration on mdm9607



On MDM9X07 platforms where SD card is not present, the PMIC GPIO4 is
causing power leakage. PMIC GPIO4 is connected to external regulator which
is used by SD card. This GPIO configurations needs to be enabled only
for platform which has SD card.
So move this GPIO configuration from generic mtp/cdp DT files to SD card
specific DT file.

Change-Id: I6365353532130d5503764ac37637444efca020d7
Signed-off-by: default avatarSiba Prasad <sibap@codeaurora.org>
parent 16806c73
Loading
Loading
Loading
Loading
+1 −13
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2017, 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
@@ -104,18 +104,6 @@
	};
};

&pm8019_gpios {
	gpio@c300 { /* GPIO 4 */
		qcom,mode = <1>;		/* Digital output */
		qcom,output-type = <0>;		/* CMOS logic */
		qcom,invert = <0>;		/* Output high */
		qcom,vin-sel = <0>;		/* VPH_PWR */
		qcom,src-sel = <0>;		/* GPIO */
		qcom,out-strength = <1>;	/* Low drive strength */
		qcom,master-en = <1>;		/* Enable GPIO */
	};
};

/* MPP pin 4 configs for SGMII */
&pm8019_mpps {
	mpp@a300 { /* MPP 4 */
+12 −0
Original line number Diff line number Diff line
@@ -43,3 +43,15 @@
	status = "ok";
};

&pm8019_gpios {
	gpio@c300 { /* GPIO 4 */
		qcom,mode = <1>;		/* Digital Output */
		qcom,output-type = <0>;		/* CMOS Logic */
		qcom,invert = <0>;		/* Output High */
		qcom,vin-sel = <0>;		/* VPH_PWR */
		qcom,src-sel = <0>;		/* GPIO */
		qcom,out-strength = <1>;	/* Low Drive Strength */
		qcom,master-en = <1>;		/* Enable GPIO */
	};
};
+0 −12
Original line number Diff line number Diff line
@@ -141,18 +141,6 @@
	status = "ok";
};

&pm8019_gpios {
	gpio@c300 { /* GPIO 4 */
		qcom,mode = <1>;		/* Digital output */
		qcom,output-type = <0>;		/* CMOS logic */
		qcom,invert = <0>;		/* Output high */
		qcom,vin-sel = <0>;		/* VPH_PWR */
		qcom,src-sel = <0>;		/* GPIO */
		qcom,out-strength = <1>;	/* Low drive strength */
		qcom,master-en = <1>;		/* Enable GPIO */
	};
};

/* MPP pin 4 configs for SGMII */
&pm8019_mpps {
	mpp@a300 { /* MPP 4 */