Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp685180ioo; Sat, 21 May 2022 10:45:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3LidEhJcF4IWZPtBqW6a04iDtV4toBXG75MF3VkcAnWMskXSwNqpEHV9JUHKGTJLF84ZP X-Received: by 2002:a63:1e0e:0:b0:3f6:4dce:918b with SMTP id e14-20020a631e0e000000b003f64dce918bmr11059599pge.53.1653155153405; Sat, 21 May 2022 10:45:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653155153; cv=none; d=google.com; s=arc-20160816; b=0cvSuI9qJdtRiuPEnDuKyIv9cPtS7f2twu90m1DvVY3GA4xqSl2iQWGMV98DrAEEJT v0mRsmdGfmE0m1IjgcCqIi1ak1nJSML/a8CKZPuwj/JoIa/fpoXn/yKA81xs+DbeJ077 Jk6w15J0eJSiPKMnwyRI3C8JJggOTXKQfu1rjxjn7GnyYiCCOwI+kI5qbyq2FqwikvOu SbpdNxK0TEED5gBYcN/GXN2U250Lf7n+UPrAYDnuVtpF0K0rVNoU1toNjidA1VTZfwt1 6ZHbtQWpVry4x2ktfQCY95znvJiZnmsJVQJHjeYjEJ/ic7oGEVA8uGGGcNZthxwFc/ri Se9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=kW2JZLfcN2/TBSEbyLIBogBKHPmKsa+h+qA83vhr7FA=; b=EgIU+UTj7MpZEXEH8yhrznWYCv1gxLBAy+AsDDkQzwo0cxnTg6YvyRtWGlYzLQhVFQ agi0gTUl6R1iB08oyG90CKzTn7WFt7Bf4HxhNK4ITyQfSuMpZ14b4kasglnmG57BqE2B 3bR/26rJ2+hKRw65dROkMEojp4vETRELmKFwbe+fJIOdXOO6Ll4a4/xEQxN6pg0/7k16 EDfXwmbZzfD5EjBKyHkBUhYeB1lA6MHhrrLhBq212O96ihKiDNHmOawZx+BsFDJTSvyC WJfDoesZ258OE0BZpKk8AAqJgJKttVhhTJVc1Qhy4rk9fMk69/uJL3MYdJ+wHub7fajE Sg7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=Em8cD5DL; 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 p21-20020a056a000b5500b0050dd5012e1esi8634229pfo.55.2022.05.21.10.45.41; Sat, 21 May 2022 10:45:53 -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=qcdkim header.b=Em8cD5DL; 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 S1349122AbiETMTW (ORCPT + 99 others); Fri, 20 May 2022 08:19:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349113AbiETMTP (ORCPT ); Fri, 20 May 2022 08:19:15 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C752515F6E5; Fri, 20 May 2022 05:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1653049154; x=1684585154; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=kW2JZLfcN2/TBSEbyLIBogBKHPmKsa+h+qA83vhr7FA=; b=Em8cD5DLg4nWO/1c9Ayewsh0gfwoKrP/zYgCHIZS4PaGGYF4GQ2asPOb YOfZ39NaBsj/UVxOHIlflYFJI2utKsyAdOz/HScdeLvFCoOXIX4dZhTtT L9rkuMyVM5fw6o7KebJFddvJMO7DuxWGIiMD6NhQIso/b2POv+75FSlSP Q=; Received: from unknown (HELO ironmsg04-sd.qualcomm.com) ([10.53.140.144]) by alexa-out-sd-02.qualcomm.com with ESMTP; 20 May 2022 05:19:14 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg04-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2022 05:19:14 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Fri, 20 May 2022 05:19:14 -0700 Received: from hu-srivasam-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Fri, 20 May 2022 05:19:09 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v12 02/12] arm64: dts: qcom: sc7280: Enable digital codecs and soundwire for CRD 1.0/2.0 and IDP boards Date: Fri, 20 May 2022 17:48:34 +0530 Message-ID: <1653049124-24713-3-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1653049124-24713-1-git-send-email-quic_srivasam@quicinc.com> References: <1653049124-24713-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Enable rx, tx and va macro codecs and soundwire nodes on revision 3, 4 (aka CRD 1.0 and 2.0) and IDP boards. Signed-off-by: Srinivasa Rao Mandadapu Co-developed-by: Venkata Prasad Potturu Signed-off-by: Venkata Prasad Potturu Reviewed-by: Matthias Kaehlcke --- arch/arm64/boot/dts/qcom/sc7280-idp.dtsi | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi index 4461a07..eb61135 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -246,6 +246,19 @@ modem-init; }; +&lpass_rx_macro { + status = "okay"; +}; + +&lpass_tx_macro { + status = "okay"; +}; + +&lpass_va_macro { + status = "okay"; + vdd-micb-supply = <&vreg_bob>; +}; + &pcie1 { status = "okay"; perst-gpio = <&tlmm 2 GPIO_ACTIVE_LOW>; @@ -306,6 +319,28 @@ cd-gpios = <&tlmm 91 GPIO_ACTIVE_LOW>; }; +&swr0 { + status = "okay"; + + wcd_rx: codec@0,4 { + compatible = "sdw20217010d00"; + reg = <0 4>; + #sound-dai-cells = <1>; + qcom,rx-port-mapping = <1 2 3 4 5>; + }; +}; + +&swr1 { + status = "okay"; + + wcd_tx: codec@0,3 { + compatible = "sdw20217010d00"; + reg = <0 3>; + #sound-dai-cells = <1>; + qcom,tx-port-mapping = <1 2 3 4>; + }; +}; + &uart5 { compatible = "qcom,geni-debug-uart"; status = "okay"; -- 2.7.4