Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91a4f94a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Enable USB type-C analog audio on SDM660"

parents 20d1182e ee2cf687
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -440,7 +440,8 @@ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y)
		sdm660-rcm-internal-codec-overlay.dtbo \
		sda660-mtp-external-codec-overlay.dtbo \
		sda660-cdp-external-codec-overlay.dtbo \
		sda660-rcm-external-codec-overlay.dtbo
		sda660-rcm-external-codec-overlay.dtbo \
		sdm660-usbc-audio-mtp-overlay.dtbo

sdm660-mtp-external-codec-overlay.dtbo-base := sdm660-pm660l.dtb

@@ -456,6 +457,8 @@ sdm660-rcm-external-codec-overlay.dtbo-base := sdm660-pm660l.dtb

sdm660-rcm-internal-codec-overlay.dtbo-base := sdm660-pm660l.dtb

sdm660-usbc-audio-mtp-overlay.dtbo-base := sdm660-pm660l.dtb

sda660-mtp-external-codec-overlay.dtbo-base := sda660-pm660l.dtb

sda660-cdp-external-codec-overlay.dtbo-base := sda660-pm660l.dtb
+29 −0
Original line number Diff line number Diff line
/* Copyright (c) 2020, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 */

/dts-v1/;
/plugin/;
#include <dt-bindings/clock/qcom,mmcc-sdm660.h>

#include "sdm660-mtp.dtsi"
#include "sdm660-external-codec.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. SDM 660 Ext. USBC Audio Codec MTP";
	compatible = "qcom,sdm660-mtp", "qcom,sdm660", "qcom,mtp";
	qcom,board-id = <8 2>;
};

&tavil_snd {
	qcom,msm-mbhc-usbc-audio-supported = <1>;
	qcom,msm-mbhc-moist-cfg = <0>, <0>, <3>;
};