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

Commit 4fa4b210 authored by Shivaraj Shetty's avatar Shivaraj Shetty
Browse files

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



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

Change-Id: I271a69eee72cb75229e4f37fe90e86994d46680e
Signed-off-by: default avatarShivaraj Shetty <shivaraj@codeaurora.org>
parent 79e3c2f1
Loading
Loading
Loading
Loading
+53 −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@1ac8300 {
		compatible = "qcom,mdss_dsi_pll_8909";
		label = "MDSS DSI 0 PLL";
		cell-index = <0>;
		#clock-cells = <1>;

		reg = <0x1ac8300 0xd4>;
		reg-names = "pll_base";

		gdsc-supply = <&gdsc_mdss>;
		vddio-supply = <&pm8909_l6>;

		clocks = <&clock_gcc clk_gcc_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>;
			};
		};
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -121,6 +121,7 @@
#include "msm8909-gpu.dtsi"
#include "msm8909-coresight.dtsi"
#include "msm8909-bus.dtsi"
#include "msm8909-mdss-pll.dtsi"

&soc {
	#address-cells = <1>;