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

Commit dffa30de authored by Naveen Yadav's avatar Naveen Yadav
Browse files

ARM: dts: msm: Support for GDSC for sdxprairie



Add supported GDSC device nodes required by clients for sdxprairie.

Change-Id: I30db2051d23b9de4f4238b75de853daeadf5d68f
Signed-off-by: default avatarNaveen Yadav <naveenky@codeaurora.org>
parent 4164fb8e
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018, 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 {
	/* GDSCs in Global CC */
	gdsc_usb30: qcom,gdsc@10b004 {
		compatible = "qcom,gdsc";
		regulator-name = "gdsc_usb30";
		reg = <0x10b004 0x4>;
		status = "disabled";
	};

	gdsc_emac: qcom,gdsc@147004 {
		compatible = "qcom,gdsc";
		regulator-name = "gdsc_emac";
		reg = <0x147004 0x4>;
		status = "disabled";
	};

	gdsc_pcie: qcom,qgdsc@137004 {
		compatible = "qcom,gdsc";
		regulator-name = "gdsc_pcie";
		reg = <0x137004 0x4>;
		status = "disabled";
	};
};
+14 −0
Original line number Diff line number Diff line
@@ -257,3 +257,17 @@
#include "sdxprairie-pinctrl.dtsi"
#include "sdxprairie-ion.dtsi"
#include "msm-arm-smmu-sdxprairie.dtsi"
#include "sdxprairie-gdsc.dtsi"

&gdsc_usb30 {
	status = "ok";
};

&gdsc_emac {
	status = "ok";
};

&gdsc_pcie {
	status = "ok";
};