From 19fa34f7d268428eb5b9c3530bd79da01df1c7db Mon Sep 17 00:00:00 2001 From: "Vangala, Amarnath" Date: Fri, 23 Feb 2024 22:22:35 +0530 Subject: [PATCH] ARM: dts: qcom: sun: new board ID for 3.5mm headset Add new board ID for 3.5mm Headset for Sun. Change-Id: I9c14efa77c8a616947b0c96b7eb9870d0e0b22a1 Signed-off-by: Vangala, Amarnath --- Kbuild | 1 + sun-audio-mtp-3.5mm.dts | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 sun-audio-mtp-3.5mm.dts diff --git a/Kbuild b/Kbuild index d8962c76..ec9f9945 100644 --- a/Kbuild +++ b/Kbuild @@ -19,6 +19,7 @@ dtbo-y += sun-audio.dtbo \ sun-audio-cdp-nfc.dtbo \ sun-audio-rumi.dtbo \ sun-audio-mtp.dtbo \ + sun-audio-mtp-3.5mm.dtbo \ sun-audio-mtp-nfc.dtbo \ sun-audio-qrd.dtbo \ sun-audio-qrd-sku2.dtbo \ diff --git a/sun-audio-mtp-3.5mm.dts b/sun-audio-mtp-3.5mm.dts new file mode 100644 index 00000000..8148cf7a --- /dev/null +++ b/sun-audio-mtp-3.5mm.dts @@ -0,0 +1,24 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +/*This is MTP with 3.5mm HS. */ + +#include "sun-audio-mtp.dtsi" + +&sun_snd { + qcom,msm-mbhc-usbc-audio-supported = <0>; + qcom,msm-mbhc-hphl-swh = <1>; + qcom,msm-mbhc-gnd-swh = <1>; +}; + +/ { + model = "Qualcomm Technologies, Inc. Sun MTP with 3.5mm"; + compatible = "qcom,sun-mtp", "qcom,sun", "qcom,sunp-mtp", "qcom,sunp", "qcom,mtp"; + qcom,msm-id = <618 0x10000>, <618 0x20000>, <639 0x10000>, <639 0x20000>; + qcom,board-id = <0x60008 0>; +};