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

Commit 5579c68c authored by Chandan Uddaraju's avatar Chandan Uddaraju
Browse files

ARM: dts: msm: add mdss pll driver resources for MSM8994



MDSS PLL driver handles the resources for output interface DSI
through dts configuration. These resource management includes
the power supply entries, clocks, IO register range and other
PLL specific entires. This change specifies resource for 8994
target.

Change-Id: Ide0c8db7287817c604cbefc8be7e30037d82656d
Signed-off-by: default avatarChandan Uddaraju <chandanu@codeaurora.org>
parent 384237e5
Loading
Loading
Loading
Loading
+63 −0
Original line number Diff line number Diff line
/* Copyright (c) 2014, 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 {
	mdss_dsi0_pll: qcom,mdss_dsi_pll@fd998300 {
		compatible = "qcom,mdss_dsi_pll_8994";
		label = "MDSS DSI 0 PLL";
		cell-index = <0>;
		#clock-cells = <1>;

		reg = <0xfd998300 0x500>;
		reg-names = "pll_base";

		gdsc-supply = <&gdsc_mdss>;
		vddio-supply = <&pm8994_l12>;
		vcca-supply = <&pm8994_l28>;

		clocks = <&clock_mmss clk_mdss_ahb_clk>;
		clock-names = "iface_clk";
		clock-rate = <0>;

		qcom,platform-supply-entries {
			#address-cells = <1>;
			#size-cells = <0>;

			qcom,platform-supply-entry@0 {
				reg = <0>;
				qcom,supply-name = "gdsc";
				qcom,supply-min-voltage = <0>;
				qcom,supply-max-voltage = <0>;
				qcom,supply-enable-load = <0>;
				qcom,supply-disable-load = <0>;
			};

			qcom,platform-supply-entry@1 {
				reg = <1>;
				qcom,supply-name = "vddio";
				qcom,supply-min-voltage = <1800000>;
				qcom,supply-max-voltage = <1800000>;
				qcom,supply-enable-load = <100000>;
				qcom,supply-disable-load = <100>;
			};

			qcom,platform-supply-entry@2 {
				reg = <2>;
				qcom,supply-name = "vcca";
				qcom,supply-min-voltage = <1000000>;
				qcom,supply-max-voltage = <1000000>;
				qcom,supply-enable-load = <10000>;
				qcom,supply-disable-load = <100>;
			};
		};
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -201,6 +201,7 @@
#include "msm8994-ipcrouter.dtsi"
#include "msm8994-coresight.dtsi"
#include "msm8994-mdss.dtsi"
#include "msm8994-mdss-pll.dtsi"
#include "msm8994-bus.dtsi"

&soc {