blob: 77a89f078d3159310b57f4e1d3550a8a52d19f6d [file] [log] [blame]
Meng Wangb3dbaf32017-08-21 17:42:16 +08001/*
2 * Copyright (c) 2017, The Linux Foundation. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 and
6 * only version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 */
13
14#include "sdm845-audio-overlay.dtsi"
15
16&snd_934x {
17 qcom,model = "sdm845-qvr-tavil-snd-card";
18
19 qcom,audio-routing =
20 "AIF4 VI", "MCLK",
21 "RX_BIAS", "MCLK",
22 "MADINPUT", "MCLK",
23 "AMIC1", "Handset Mic",
24 "AMIC2", "MIC BIAS2",
25 "MIC BIAS2", "Headset Mic",
26 "DMIC0", "MIC BIAS1",
27 "MIC BIAS1", "Digital Mic0",
28 "DMIC1", "MIC BIAS1",
29 "MIC BIAS1", "Digital Mic1",
30 "DMIC2", "MIC BIAS3",
31 "MIC BIAS3", "Digital Mic2",
32 "DMIC3", "MIC BIAS3",
33 "MIC BIAS3", "Digital Mic3",
34 "DMIC4", "MIC BIAS4",
35 "MIC BIAS4", "Digital Mic4",
36 "DMIC5", "MIC BIAS4",
37 "MIC BIAS4", "Digital Mic5",
38 "SpkrLeft IN", "SPK1 OUT";
39
40 qcom,msm-mbhc-hphl-swh = <0>;
41 /delete-property/ qcom,hph-en0-gpio;
42 /delete-property/ qcom,hph-en1-gpio;
43 /delete-property/ qcom,usbc-analog-en1-gpio;
44 /delete-property/ qcom,usbc-analog-en2-gpio;
45 /delete-property/ pinctrl-names;
46 /delete-property/ pinctrl-0;
47 /delete-property/ pinctrl-1;
48
49 qcom,wsa-max-devs = <1>;
50 qcom,wsa-devs = <&wsa881x_0211>, <&wsa881x_0213>;
51 qcom,wsa-aux-dev-prefix = "SpkrLeft", "SpkrLeft";
52};