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

Commit 0909fb42 authored by Padmanabhan Komanduru's avatar Padmanabhan Komanduru Committed by Radhika Ranjan Soni
Browse files

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



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 8939
target.

Change-Id: I197ea9cb3bbc196f39a88d8a54165a6c7065dc53
Signed-off-by: default avatarPadmanabhan Komanduru <pkomandu@codeaurora.org>
parent bbc748d0
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@1a98300 {
		compatible = "qcom,mdss_dsi_pll_8939";
		label = "MDSS DSI 0 PLL";
		cell-index = <0>;
		#clock-cells = <1>;

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

		gdsc-supply = <&gdsc_mdss>;
		vddio-supply = <&pm8916_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>;
			};
		};
	};
};