diff --git a/qcom/Makefile b/qcom/Makefile index 07641566..f0fae0ad 100644 --- a/qcom/Makefile +++ b/qcom/Makefile @@ -19,6 +19,7 @@ SUN_BASE_DTB += sun.dtb sun-v2.dtb SUN_APQ_BASE_DTB += sunp.dtb sunp-v2.dtb SUN_BOARDS += \ + sun-mtp-3.5mm-overlay.dtbo \ sun-mtp-kiwi-overlay.dtbo \ sun-mtp-kiwi-v8-overlay.dtbo \ sun-mtp-nfc-overlay.dtbo \ diff --git a/qcom/platform_map.bzl b/qcom/platform_map.bzl index 797576cf..d31ac319 100644 --- a/qcom/platform_map.bzl +++ b/qcom/platform_map.bzl @@ -22,6 +22,7 @@ _platform_map = { {"name": "sun-cdp-no-display-overlay.dtbo"}, {"name": "sun-cdp-overlay.dtbo"}, {"name": "sun-cdp-v8-overlay.dtbo"}, + {"name": "sun-mtp-3.5mm-overlay.dtbo"}, {"name": "sun-mtp-kiwi-overlay.dtbo"}, {"name": "sun-mtp-kiwi-v8-overlay.dtbo"}, {"name": "sun-mtp-nfc-overlay.dtbo"}, diff --git a/qcom/sun-mtp-3.5mm-overlay.dts b/qcom/sun-mtp-3.5mm-overlay.dts new file mode 100644 index 00000000..cff76da7 --- /dev/null +++ b/qcom/sun-mtp-3.5mm-overlay.dts @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; +/plugin/; + +#include "sun-mtp.dtsi" + +/ { + 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>; +}; diff --git a/qcom/sun-mtp-3.5mm.dtsi b/qcom/sun-mtp-3.5mm.dtsi new file mode 100644 index 00000000..06b28771 --- /dev/null +++ b/qcom/sun-mtp-3.5mm.dtsi @@ -0,0 +1,6 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include "sun-mtp.dtsi"