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

Commit f4b62716 authored by Rohit Kumar's avatar Rohit Kumar Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add audio over usbc support for sdm670 external codec



Enable Analog audio over usb type C for sdm670 external
codec variant. Also update default soundcard name for
internal codec.

Change-Id: I3349751545bee4163084e8235f3cf5915d9275ca
Signed-off-by: default avatarRohit Kumar <rohitkr@codeaurora.org>
parent ab6b25b2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -50,7 +50,6 @@
	qcom,hph-en0-gpio = <&tavil_hph_en0>;
	qcom,hph-en1-gpio = <&tavil_hph_en1>;
	qcom,msm-mclk-freq = <9600000>;
	qcom,usbc-analog-en1_gpio = <&wcd_usbc_analog_en1_gpio>;
	asoc-codec = <&stub_codec>;
	asoc-codec-names = "msm-stub-codec.1";
	qcom,wsa-max-devs = <2>;
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@
	int_codec: sound {
		status = "okay";
		compatible = "qcom,sdm670-asoc-snd";
		qcom,model = "sdm670-snd-card";
		qcom,model = "sdm670-snd-card-mtp";
		qcom,wcn-btfm;
		qcom,mi2s-audio-intf;
		qcom,auxpcm-audio-intf;
+17 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017, 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.
 */

&tavil_snd {
	qcom,msm-mbhc-usbc-audio-supported = <1>;
	qcom,usbc-analog-en1-gpio = <&wcd_usbc_analog_en1_gpio>;
};
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
#include "sdm670.dtsi"
#include "sdm670-cdp.dtsi"
#include "sdm670-external-codec.dtsi"
#include "sdm670-ext-cdc-usbc-audio.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. SDM 670 PM660+PM660L, USB-C Audio, Ext. Audio Codec CDP";
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
#include "sdm670.dtsi"
#include "sdm670-mtp.dtsi"
#include "sdm670-external-codec.dtsi"
#include "sdm670-ext-cdc-usbc-audio.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. SDM 670 PM660+PM660L, USB-C Audio, Ext. Audio Codec MTP";
Loading