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>; +};