ARM: dts: msm: Add support for Sun SoC + Hamilton with 3.5mm support

Add 3.5mm support for Hamilton V8 power grid for MTP platform on Sun.

Change-Id: Ieac5d60a7da391906844da1a5b254a10a72f4a8d
Signed-off-by: Ravulapati Vishnu Vardhan Rao <quic_visr@quicinc.com>
This commit is contained in:
Ravulapati Vishnu Vardhan Rao
2024-06-26 09:28:16 +05:30
committed by Vishnuvardhan Rao Ravulapati
parent 35d468b8c9
commit 3843c38173
3 changed files with 40 additions and 1 deletions

3
Kbuild
View File

@@ -30,7 +30,8 @@ dtbo-y += sun-audio.dtbo \
sun-audio-hamilton-rcm.dtbo \ sun-audio-hamilton-rcm.dtbo \
sun-audio-hamilton-cdp.dtbo \ sun-audio-hamilton-cdp.dtbo \
sun-audio-hamilton-mtp-v2.dtbo \ sun-audio-hamilton-mtp-v2.dtbo \
sun-audio-hamilton-mtp.dtbo sun-audio-hamilton-mtp.dtbo \
sun-audio-hamilton-mtp-3.5mm.dtbo
endif endif
always-y := $(dtb-y) $(dtbo-y) always-y := $(dtb-y) $(dtbo-y)

View File

@@ -0,0 +1,22 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
/*This is MTP with Hamilton + V8 + 3.5mm support*/
#include "sun-audio-hamilton-mtp-3.5mm.dtsi"
/ {
model = "Qualcomm Technologies, Inc. Sun MTP Hamilton 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>,
<0x100026a 0x10000>, <0x100026a 0x20000>,
<0x100027f 0x10000>, <0x100027f 0x20000>;
qcom,board-id = <0x60108 0>;
};

View File

@@ -0,0 +1,16 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
/dts-v1/;
/plugin/;
/*This is MTP with Hamilton + V8 +3.5mm*/
#include "sun-audio-hamilton-mtp.dtsi"
&sun_snd {
qcom,msm-mbhc-usbc-audio-supported = <0>;
qcom,msm-mbhc-hphl-swh = <1>;
qcom,msm-mbhc-gnd-swh = <1>;
};