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

Commit 0b382d9b authored by Santosh Mardi's avatar Santosh Mardi
Browse files

ARM: dts: msm: Add codec reset gpio device node for all targets



Add codec reset gpio device tree node for all target
specifying active and sleep pinctrl states.

CRs-Fixed: 968161
Change-Id: Ic583e65abb42010561fd02d1f8b46465cc4d2458
Signed-off-by: default avatarSantosh Mardi <gsantosh@codeaurora.org>
parent 424ba5c3
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -617,6 +617,13 @@
		pinctrl-0 = <&wcd_intr_default>;
	};

	wcd_rst_gpio: wcd_gpio_ctrl {
		compatible = "qcom,wcd-gpio-ctrl";
		pinctrl-names = "aud_active", "aud_sleep";
		pinctrl-0 = <&cdc_reset_active>;
		pinctrl-1 = <&cdc_reset_sleep>;
	};

	clock_audio: audio_ext_clk {
		status = "disabled";
		compatible = "qcom,audio-ref-clk";
@@ -649,11 +656,7 @@
			17 18 19 20 21 22 23 24 25 26 27 28 29
			30>;

		qcom,cdc-reset-gpio = <&tlmm 68 0>;

		pinctrl-names = "default", "idle";
		pinctrl-0 = <&cdc_reset_active>;
		pinctrl-1 = <&cdc_reset_sleep>;
		qcom,wcd-rst-gpio-node = <&wcd_rst_gpio>;

		clock-names = "wcd_clk";
		clocks = <&clock_audio clk_audio_pmi_clk>;
+4 −2
Original line number Diff line number Diff line
@@ -196,9 +196,11 @@
	};
};

&wcd9335 {
	qcom,cdc-reset-gpio = <&tlmm 68 0>;
&wcd_rst_gpio {
	qcom,cdc-rst-n-gpio = <&tlmm 68 0>;
};

&wcd9335 {
	cdc-vdd-buck-supply = <&eldo2_pm8937>;
	qcom,cdc-vdd-buck-voltage = <1800000 1800000>;
	qcom,cdc-vdd-buck-current = <650000>;
+4 −2
Original line number Diff line number Diff line
@@ -120,9 +120,11 @@
	};
};

&wcd9335 {
	qcom,cdc-reset-gpio = <&tlmm 68 0>;
&wcd_rst_gpio {
	qcom,cdc-rst-n-gpio = <&tlmm 68 0>;
};

&wcd9335 {
	cdc-vdd-buck-supply = <&eldo2_pmgold>;
	qcom,cdc-vdd-buck-voltage = <1800000 1800000>;
	qcom,cdc-vdd-buck-current = <650000>;
+4 −2
Original line number Diff line number Diff line
@@ -142,13 +142,15 @@
	};
};

&wcd_rst_gpio {
	qcom,cdc-rst-n-gpio = <&tlmm 67 0>;
};

&wcd9335 {
	clock-names = "wcd_clk", "wcd_native_clk";
	clocks = <&clock_audio clk_audio_pmi_clk>,
		<&clock_audio clk_audio_ap_clk2>;

	qcom,cdc-reset-gpio = <&tlmm 67 0>;

	cdc-vdd-buck-supply = <&eldo2_titanium>;
	qcom,cdc-vdd-buck-voltage = <1800000 1800000>;
	qcom,cdc-vdd-buck-current = <650000>;