Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2483998rwd; Fri, 16 Jun 2023 04:28:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6pXrWBg/22DbGE68nzzizL3Ml3FRdAeYAWwIYcNfoggLeDgl6jFvsIvfTQj1GvkiBwh1Ub X-Received: by 2002:a05:6830:4788:b0:6b1:6859:b8fe with SMTP id df8-20020a056830478800b006b16859b8femr2127787otb.0.1686914904073; Fri, 16 Jun 2023 04:28:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686914904; cv=none; d=google.com; s=arc-20160816; b=XpjpNIyEEdqnINYo8ncTx7/bAbbvrSy7i1OOGzYzetA0nRyo4dX1f8QSIhqCiGUmH8 ay6+TNKPmpaCMfIbxEjNugPsIRRJw2VEu5tSbjvS80u4zTb2hQ+UZO/NoH6qFX8mUGcM Kp9AYwNzYIxeoAvtD7BISKxmVNOV/1iciKtBRIc0oKCVV0iPsoutVOknUueCUClx0Nwb SqV/4s/pz814dVlIxqcO+U+M0JmXM4Dfr6CEj3qDAe+5jZ7ZelGpj88m3Q7NVktDXsQZ 0WZuZ1fKyUy+UhvrmLTo/9mSDxtrMFMhegbIFsPKFBn0a88W8uya6ujl9MDQphPi2pu1 Tpvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RLF3gYeI3Zuw4Ph/T53yr4u0DzDGCB6zy7Q4Ks+IxEA=; b=osMbEoxMSIPhw+7Qlz2CTQcKG1NwFWFmZwFQrG3jT5cLI3TT+UhCPGcE8vK3ETfJlt MketZoqMlHZZRJ2HMc8EzCdD3AQqj4DJr/LpCmL2Z2kl8a7FnEb9AplEU8VjrfEAk4Dn UxkKdmxvdBvjuDP9Cb/s3hYW7+c2eE+sLHV9gkBhdp+Yui6UwcaFQDmFu2nD/mEIqG9t Ie4/04+YiGMtn+5nBk10Gy6yyB375q6fZ6ffl/qU6p/1LB0GQ02Iu+a+Fny2JtCM9Ndf teiu9mmPgSI+tdCGnaIrx1yd2Yn82WjRuNtTzr6yj3tfSNHvH0QBLOQBP0+M0zxHGbRD AXIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Bxkwu7oY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j71-20020a63804a000000b00553854417e2si126937pgd.244.2023.06.16.04.28.10; Fri, 16 Jun 2023 04:28:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Bxkwu7oY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344638AbjFPKq6 (ORCPT + 99 others); Fri, 16 Jun 2023 06:46:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233168AbjFPKqo (ORCPT ); Fri, 16 Jun 2023 06:46:44 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D57C8137D9; Fri, 16 Jun 2023 03:39:10 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35G959KD007657; Fri, 16 Jun 2023 10:38:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=RLF3gYeI3Zuw4Ph/T53yr4u0DzDGCB6zy7Q4Ks+IxEA=; b=Bxkwu7oYzU5qTpmNE+uLS1A7uyCH2HRbgNvBCM3MmYJ2LF/mbRkp4r0zMo9SVVZPvUTE +gC7rlZA5P0UmVXkI6FNp6UwVCSJ4ERmKpP1YatyASdUMOIFQU0TLJaPGX5C+Kek71Fx LUYdkoW5keU2NRGf9E5vrsIErto2PZGtVdE1wU2h7pUdZhIXW206CjU+k7nrFC5lsbmX lM+NiQ9BebMQgqQmTHYMlrliCNcHewtS8BaUZgwfqb28C+R1EnVVaGEjJICbMa/8oq9u 2xqLtF3c3wwiGPtWp1Xi1QH8h+860SZmbkMqtRGb8uyrQoSdmcoeXv6oyxcPAjBUJWd6 Lg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r8mt0r642-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Jun 2023 10:38:09 +0000 Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35GAc8NZ021937 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Jun 2023 10:38:08 GMT Received: from hu-mohs-hyd.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Fri, 16 Jun 2023 03:38:02 -0700 From: Mohammad Rafi Shaik To: , , , , CC: , , , , , , , , , , Srinivasa Rao Mandadapu , Mohammad Rafi Shaik Subject: [RESEND v6 4/8] arm64: dts: qcom: sc7280: Add sound node for crd-rev3 board Date: Fri, 16 Jun 2023 16:05:30 +0530 Message-ID: <20230616103534.4031331-5-quic_mohs@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230616103534.4031331-1-quic_mohs@quicinc.com> References: <20230616103534.4031331-1-quic_mohs@quicinc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 24ylvSkYu1B5Zky2IR3Zx2101H83ERTf X-Proofpoint-GUID: 24ylvSkYu1B5Zky2IR3Zx2101H83ERTf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-16_06,2023-06-15_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 phishscore=0 adultscore=0 clxscore=1015 mlxlogscore=854 malwarescore=0 spamscore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306160095 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivasa Rao Mandadapu Add sound node for sc7280 ADSP based audioreach platforms such as crd-rev3 board. Signed-off-by: Srinivasa Rao Mandadapu Signed-off-by: Mohammad Rafi Shaik --- .../sc7280-herobrine-audioreach-wcd9385.dtsi | 108 ++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi new file mode 100644 index 000000000000..95d3aa08ebde --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi @@ -0,0 +1,108 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * sc7280 device tree source for boards using Max98360 and wcd9385 codec + * along with ADSP + * + * Copyright (c) 2022, The Linux Foundation. All rights reserved. + */ + +#include + +/{ + /* BOARD-SPECIFIC TOP LEVEL NODES */ + sound: sound { + compatible = "google,sc7280-herobrine"; + model = "AR-wcd938x-max98360a-1mic"; + audio-routing = + "IN1_HPHL", "HPHL_OUT", + "IN2_HPHR", "HPHR_OUT", + "AMIC1", "MIC BIAS1", + "AMIC2", "MIC BIAS2", + "VA DMIC0", "MIC BIAS1", + "VA DMIC1", "MIC BIAS1", + "VA DMIC2", "MIC BIAS3", + "VA DMIC3", "MIC BIAS3", + "TX SWR_ADC0", "ADC1_OUTPUT", + "TX SWR_ADC1", "ADC2_OUTPUT", + "TX SWR_ADC2", "ADC3_OUTPUT", + "TX SWR_DMIC0", "DMIC1_OUTPUT", + "TX SWR_DMIC1", "DMIC2_OUTPUT", + "TX SWR_DMIC2", "DMIC3_OUTPUT", + "TX SWR_DMIC3", "DMIC4_OUTPUT", + "TX SWR_DMIC4", "DMIC5_OUTPUT", + "TX SWR_DMIC5", "DMIC6_OUTPUT", + "TX SWR_DMIC6", "DMIC7_OUTPUT", + "TX SWR_DMIC7", "DMIC8_OUTPUT"; + + #address-cells = <1>; + #size-cells = <0>; + + dai-link@0 { + link-name = "WCD9385 Playback"; + reg = <0>; + + cpu { + sound-dai = <&q6apmbedai RX_CODEC_DMA_RX_0>; + }; + + codec { + sound-dai = <&wcd9385 0>, <&swr0 0>, <&lpass_rx_macro 0>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + + dai-link@1 { + link-name = "WCD9385 Capture"; + reg = <1>; + + cpu { + sound-dai = <&q6apmbedai TX_CODEC_DMA_TX_3>; + }; + + codec { + sound-dai = <&wcd9385 1>, <&swr1 0>, <&lpass_tx_macro 0>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + + dai-link@2 { + link-name = "Amplifier Playback"; + reg = <2>; + + cpu { + sound-dai = <&q6apmbedai SECONDARY_MI2S_RX>; + }; + + codec { + sound-dai = <&max98360a>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + + dai-link@3 { + link-name = "DMIC"; + reg = <3>; + + cpu { + sound-dai = <&q6apmbedai VA_CODEC_DMA_TX_0>; + }; + + codec { + sound-dai = <&lpass_va_macro 0>; + }; + + platform { + sound-dai = <&q6apm>; + }; + }; + }; +}; -- 2.25.1