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

Commit e68e3afc authored by Sandeep Panda's avatar Sandeep Panda Committed by Shivaraj Shetty
Browse files

ARM: dts: msm: pin control changes for msm8909



Add pin control changes needed to configure display
related gpios for msm8909 platform.

Change-Id: I9b689fa55f123c567ccd6d14c4a8866b0c5d6674
Signed-off-by: default avatarSandeep Panda <spanda@codeaurora.org>
parent 4428d31e
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -401,6 +401,36 @@
                                bias-disable = <0>;
                        };
                };
		pmx_mdss: pmx_mdss {
			label = "mdss-pins";
			qcom,pin-func = <0>;

			mdss_dsi_active: active {
				drive-strength = <8>; /* 8 mA */
				bias-disable = <0>; /* no pull */
				output-high;
			};
			mdss_dsi_suspend: suspend {
				drive-strength = <2>; /* 2 mA */
				bias-pull-down; /* pull down */
				output-low;
			};
		};

		pmx_mdss_te: pmx_mdss_te {
			label = "mdss-te-pin";
			qcom,pin-func = <1>;
			mdss_te_active: active {
				drive-strength = <2>; /* 2 mA */
				bias-pull-down; /* pull down */
				input-debounce = <0>;
			};
			mdss_te_suspend: suspend {
				drive-strength = <2>; /* 2 mA */
				bias-pull-down; /* pull down */
				input-debounce = <0>;
			};
		};

		pmx_i2c_5 {
                        /* CLK, DATA */
+17 −0
Original line number Diff line number Diff line
@@ -110,6 +110,23 @@
	qcom,mdss-pref-prim-intf = "dsi";
};

&pmx_mdss {
	qcom,num-grp-pins = <4>;
	qcom,pins = <&gp 97>, <&gp 25>, <&gp 37>;
};

&pmx_mdss_te {
	qcom,num-grp-pins = <1>;
	qcom,pins = <&gp 24>;
};

&mdss_dsi0 {
	qcom,dsi-pref-prim-pan = <&dsi_sim_vid>;
	pinctrl-names = "mdss_default", "mdss_sleep";
	pinctrl-0 = <&mdss_dsi_active &mdss_te_active>;
	pinctrl-1 = <&mdss_dsi_suspend &mdss_te_suspend>;

	qcom,platform-enable-gpio = <&msm_gpio 97 0>;
	qcom,platform-reset-gpio = <&msm_gpio 25 0>;
	qcom,platform-bklight-en-gpio = <&msm_gpio 37 0>;
};