| /* |
| * Copyright (c) 2018, 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 "sm8150-audio-overlay.dtsi" |
| |
| &snd_9360 { |
| qcom,model = "sm8150-pahu-qrd-snd-card"; |
| qcom,audio-routing = |
| "AIF4 VI", "MCLK", |
| "MADINPUT", "MCLK", |
| "DMIC0", "MIC BIAS1", |
| "MIC BIAS1", "Digital Mic0", |
| "DMIC2", "MIC BIAS3", |
| "MIC BIAS3", "Digital Mic2", |
| "DMIC5", "MIC BIAS4", |
| "MIC BIAS4", "Digital Mic5", |
| "SpkrRight IN", "SPK2 OUT"; |
| |
| qcom,wsa-max-devs = <1>; |
| qcom,wsa-devs = <&wsa881x_0212>, <&wsa881x_0214>; |
| qcom,wsa-aux-dev-prefix = "SpkrRight", "SpkrRight"; |
| }; |
| |
| &snd_934x { |
| qcom,model = "sm8150-tavil-qrd-snd-card"; |
| qcom,audio-routing = |
| "AIF4 VI", "MCLK", |
| "RX_BIAS", "MCLK", |
| "MADINPUT", "MCLK", |
| "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", |
| "DMIC5", "MIC BIAS4", |
| "MIC BIAS4", "Digital Mic5", |
| "SpkrRight IN", "SPK2 OUT"; |
| |
| qcom,wsa-max-devs = <1>; |
| qcom,wsa-devs = <&wsa881x_70212>, <&wsa881x_70214>; |
| qcom,wsa-aux-dev-prefix = "SpkrRight", "SpkrRight"; |
| }; |