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

Commit ea79bc1e authored by Vatsal Bucha's avatar Vatsal Bucha
Browse files

ARM: dts: msm: Add euro usbc support for sdm670 internal codec



For sdm670 internal codec gnd-mic-swap-gpio is present but
is not enabled in overlay. Add this support for euro headset
for usbc so that switch is flipped in this case.

CRs-Fixed: 2149826
Change-Id: If1d7593dffc0de3811567f3590eb0de2064576f3
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent 0620a466
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -117,6 +117,13 @@
		pinctrl-1 = <&wcd_usbc_analog_en1_idle>;
	};

	wcd_gnd_mic_swap_gpio: msm_cdc_pinctrl_gnd_mic_swap {
		compatible = "qcom,msm-cdc-pinctrl";
		pinctrl-names = "aud_active", "aud_sleep";
		pinctrl-0 = <&wcd_gnd_mic_swap_active>;
		pinctrl-1 = <&wcd_gnd_mic_swap_idle>;
	};

	cdc_pdm_gpios: cdc_pdm_pinctrl {
		compatible = "qcom,msm-cdc-pinctrl";
		pinctrl-names = "aud_active", "aud_sleep";
+1 −0
Original line number Diff line number Diff line
@@ -14,4 +14,5 @@
&int_codec {
	qcom,msm-mbhc-usbc-audio-supported = <1>;
	qcom,usbc-analog-en1-gpio = <&wcd_usbc_analog_en1_gpio>;
	qcom,us-euro-gpios = <&wcd_gnd_mic_swap_gpio>;
};