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

Commit a95a8d22 authored by Aditya Bavanari's avatar Aditya Bavanari Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add audio support for qcs405 platform



Add device tree files related to all variants of
qcs405 platform to support audio.

Change-Id: I5f925f628bd0ee8b6517cd769c8eac38791c4c62
Signed-off-by: default avatarAditya Bavanari <abavanar@codeaurora.org>
parent 38cdaef4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -676,7 +676,7 @@ Example:
                q6core {
                        compatible = "qcom,q6core-audio";
                        bolero: bolero-cdc {
                                compatible = "qcom,bolero-cdc";
                                compatible = "qcom,bolero-codec";
                        };
                };
	};
+38 −0
Original line number Diff line number Diff line
@@ -129,6 +129,44 @@
		};
	};

	msm_dai_cdc_dma: qcom,msm-dai-cdc-dma {
		compatible = "qcom,msm-dai-cdc-dma";
		wsa_cdc_dma_0_rx: qcom,msm-dai-wsa-cdc-dma-0-rx {
			compatible = "qcom,msm-dai-cdc-dma-dev";
			qcom,msm-dai-cdc-dma-dev-id = <45056>;
		};

		wsa_cdc_dma_0_tx: qcom,msm-dai-wsa-cdc-dma-0-tx {
			compatible = "qcom,msm-dai-cdc-dma-dev";
			qcom,msm-dai-cdc-dma-dev-id = <45057>;
		};

		wsa_cdc_dma_1_rx: qcom,msm-dai-wsa-cdc-dma-1-rx {
			compatible = "qcom,msm-dai-cdc-dma-dev";
			qcom,msm-dai-cdc-dma-dev-id = <45058>;
		};

		wsa_cdc_dma_1_tx: qcom,msm-dai-wsa-cdc-dma-1-tx {
			compatible = "qcom,msm-dai-cdc-dma-dev";
			qcom,msm-dai-cdc-dma-dev-id = <45059>;
		};

		wsa_cdc_dma_2_tx: qcom,msm-dai-wsa-cdc-dma-2-tx {
			compatible = "qcom,msm-dai-cdc-dma-dev";
			qcom,msm-dai-cdc-dma-dev-id = <45061>;
		};

		va_cdc_dma_0_tx: qcom,msm-dai-va-cdc-dma-0-tx {
			compatible = "qcom,msm-dai-cdc-dma-dev";
			qcom,msm-dai-cdc-dma-dev-id = <45089>;
		};

		va_cdc_dma_1_tx: qcom,msm-dai-va-cdc-dma-1-tx {
			compatible = "qcom,msm-dai-cdc-dma-dev";
			qcom,msm-dai-cdc-dma-dev-id = <45091>;
		};
	};

	lsm: qcom,msm-lsm-client {
		compatible = "qcom,msm-lsm-client";
	};
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
/dts-v1/;

#include "qcs403.dtsi"
#include "qcs405-wsa-audio-overlay.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. QCS403 EVB2 1000 IOT";
+1 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
/dts-v1/;

#include "qcs403.dtsi"
#include "qcs405-nowcd-audio-overlay.dtsi"

/ {
	model = "Qualcomm Technologies, Inc. QCS403 RCM IOT";
+26 −0
Original line number Diff line number Diff line
/*
 * 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 "qcs405-tasha.dtsi"

&qcs405_snd {
	qcom,model = "qcs405-amic-snd-card";
	qcom,tasha-codec = <1>;
	asoc-codec = <&stub_codec>, <&bolero>;
	asoc-codec-names = "msm-stub-codec.1", "bolero_codec";
	qcom,audio-routing =
		"AMIC3", "MIC BIAS3",
		"AMIC4", "MIC BIAS4",
		"MIC BIAS3", "Analog Mic3",
		"MIC BIAS4", "Analog Mic4";
};
Loading