Meng Wang | 02f1b3f | 2017-10-12 15:25:39 +0800 | [diff] [blame] | 1 | /* |
| 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-tavil-hdk-snd-card"; |
| 18 | |
| 19 | qcom,audio-routing = |
| 20 | "AIF4 VI", "MCLK", |
| 21 | "RX_BIAS", "MCLK", |
| 22 | "MADINPUT", "MCLK", |
| 23 | "AMIC2", "MIC BIAS2", |
| 24 | "MIC BIAS2", "Headset Mic", |
| 25 | "DMIC0", "MIC BIAS1", |
| 26 | "MIC BIAS1", "Digital Mic0", |
| 27 | "DMIC1", "MIC BIAS1", |
| 28 | "MIC BIAS1", "Digital Mic1", |
| 29 | "DMIC2", "MIC BIAS3", |
| 30 | "MIC BIAS3", "Digital Mic2", |
| 31 | "DMIC5", "MIC BIAS4", |
| 32 | "MIC BIAS4", "Digital Mic5", |
| 33 | "SpkrLeft IN", "SPK1 OUT"; |
| 34 | |
| 35 | qcom,wsa-max-devs = <1>; |
| 36 | qcom,wsa-devs = <&wsa881x_0211>, <&wsa881x_0213>; |
| 37 | qcom,wsa-aux-dev-prefix = "SpkrLeft", "SpkrLeft"; |
| 38 | }; |