[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3818d7c2-187f-409f-8479-bcdd6c0e9be3@linaro.org>
Date: Thu, 24 Apr 2025 16:39:29 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>
Cc: Jessica Zhang <jesszhan@...cinc.com>, Abhinav Kumar
<abhinavk@...cinc.com>, Abel Vesa <abel.vesa@...aro.org>,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH RFC/WIP 3/4] arm64: dts: qcom: sm8750-mtp: Enable USB
headset and Type-C altmode
On 24/04/2025 15:04, Krzysztof Kozlowski wrote:
> MTP8750 does not have audio jack connected and relies on USB mux
> (WCD9395). Add necessary nodes for proper audio headset support along
> with USB Type-C altmode and orientation.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
> ---
> arch/arm64/boot/dts/qcom/sm8750-mtp.dts | 58 +++++++++++++++++++++++++++++++++
> 1 file changed, 58 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8750-mtp.dts b/arch/arm64/boot/dts/qcom/sm8750-mtp.dts
> index bd0918e8a7a7e03530eea577c7609454fecfdaf7..c3470e1daa6b7f31196645759be23fb168ce8eb7 100644
> --- a/arch/arm64/boot/dts/qcom/sm8750-mtp.dts
> +++ b/arch/arm64/boot/dts/qcom/sm8750-mtp.dts
> @@ -53,6 +53,15 @@ wcd939x: audio-codec {
> vdd-mic-bias-supply = <&vreg_bob1>;
>
> #sound-dai-cells = <1>;
> +
> + mode-switch;
> + orientation-switch;
> +
> + port {
> + wcd_codec_headset_in: endpoint {
> + remote-endpoint = <&wcd_usbss_headset_out>;
> + };
> + };
> };
>
> chosen {
> @@ -220,6 +229,14 @@ port@1 {
> pmic_glink_ss_in: endpoint {
port@0 and port@1 need updates for endpoints as well. I will do that in v2.
Best regards,
Krzysztof
Powered by blists - more mailing lists