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

Commit b3dbaf34 authored by Meng Wang's avatar Meng Wang Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add audio device tree overlays for QVR845



As QVR845 has different audio hardware design, add new audio device
tree overlay for QVR845.

Change-Id: I47fb46cc0e252c3a1b5fa05dfc111c80951f147f
Signed-off-by: default avatarMeng Wang <mwang@codeaurora.org>
parent 9c9a0530
Loading
Loading
Loading
Loading
+52 −0
Original line number Original line 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.
 */

#include "sdm845-audio-overlay.dtsi"

&snd_934x {
	qcom,model = "sdm845-qvr-tavil-snd-card";

	qcom,audio-routing =
		"AIF4 VI", "MCLK",
		"RX_BIAS", "MCLK",
		"MADINPUT", "MCLK",
		"AMIC1", "Handset Mic",
		"AMIC2", "MIC BIAS2",
		"MIC BIAS2", "Headset Mic",
		"DMIC0", "MIC BIAS1",
		"MIC BIAS1", "Digital Mic0",
		"DMIC1", "MIC BIAS1",
		"MIC BIAS1", "Digital Mic1",
		"DMIC2", "MIC BIAS3",
		"MIC BIAS3", "Digital Mic2",
		"DMIC3", "MIC BIAS3",
		"MIC BIAS3", "Digital Mic3",
		"DMIC4", "MIC BIAS4",
		"MIC BIAS4", "Digital Mic4",
		"DMIC5", "MIC BIAS4",
		"MIC BIAS4", "Digital Mic5",
		"SpkrLeft IN", "SPK1 OUT";

	qcom,msm-mbhc-hphl-swh = <0>;
	/delete-property/ qcom,hph-en0-gpio;
	/delete-property/ qcom,hph-en1-gpio;
	/delete-property/ qcom,usbc-analog-en1-gpio;
	/delete-property/ qcom,usbc-analog-en2-gpio;
	/delete-property/ pinctrl-names;
	/delete-property/ pinctrl-0;
	/delete-property/ pinctrl-1;

	qcom,wsa-max-devs = <1>;
	qcom,wsa-devs = <&wsa881x_0211>, <&wsa881x_0213>;
	qcom,wsa-aux-dev-prefix = "SpkrLeft", "SpkrLeft";
};
+1 −0
Original line number Original line Diff line number Diff line
@@ -21,6 +21,7 @@


#include "sdm845-sde-display.dtsi"
#include "sdm845-sde-display.dtsi"
#include "sdm845-qvr.dtsi"
#include "sdm845-qvr.dtsi"
#include "sdm845-qvr-audio-overlay.dtsi"


/ {
/ {
	model = "Qualcomm Technologies, Inc. SDM845 v2 QVR";
	model = "Qualcomm Technologies, Inc. SDM845 v2 QVR";