Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp911421iob; Wed, 4 May 2022 10:27:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztJwPsVkXRyOczrlJN2SSIaiJaOSNafhY4KtnWsLFZ8oIq6VZh7YNX0EHJQV9NVjvqNOkE X-Received: by 2002:a05:6402:4414:b0:419:28bc:55dc with SMTP id y20-20020a056402441400b0041928bc55dcmr24894005eda.130.1651685274053; Wed, 04 May 2022 10:27:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651685274; cv=none; d=google.com; s=arc-20160816; b=duqxfq5e9vUIXdqWs7ZbGu4zIlQ9TiKhW3nzRmV6jLhe5ItH2paTh+PHgkhhP7eoTR QdvVxDLh7EkDsqJZteSIwouodbGOVa3isBd1wQbAyVaxmAr3sFrqceDNfjwbDkYuHvSV y4duwhn1kMEVfgNYahytY6/4uuDhcI7nyqnjHrF2LsLBmZf4c4vn4/rB0rgp2UsJ8KqH b6o9lGoCX8DpQLmw9hiVXSg9ioMaX48f/ph5AWsLZHxYBdOpRrLyAOB31/2MB2Su8ORO ZkATewWR7qgv6Ct/ytIc6EwadzSRMFSisingj/bZVGQW0rCYkw1jeXV20KUZ/2lEKLqf 80ZQ== 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=vIyQqpA0yx8OAjlt5c/KqcZV8wfFwxsagPB8ZOZExZo=; b=ggWNlyA/inO6AUiXRFwigc4k1hqqQDETTKO8itQeTVYRV4HuigCYidP0di4uSam/2X Kfh+k4G0M2dB5a08n3M28vzbbkxTDGR4YgF6HpVeFWh9ePC6FbzzgJEkeoLkCDrP4459 J6xEmlvKd55NmYTEj01KOvvw5FszSKw967NbAbQuPQ21qbsDQseQoONiN5/6f7SCwpFG 8bwlQfFHETnbgTFevsDkW0Ei5syHqpe7MLoFhe6yhUSRz9az2GuB7fOCU80oQX0Ls2w3 lluQJT1cclRjEPt3Eoo8T4vfp3mG7D3XnAVKwrLdGxqG2ZgQC2mw9zqEiERmiRNf7gB8 W2RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=qZJlRosG; 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 fp38-20020a1709069e2600b006e7afc3aeebsi15719363ejc.521.2022.05.04.10.27.30; Wed, 04 May 2022 10:27:54 -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=qZJlRosG; 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 S1349045AbiEDLs2 (ORCPT + 99 others); Wed, 4 May 2022 07:48:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349001AbiEDLsU (ORCPT ); Wed, 4 May 2022 07:48:20 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAE372C120; Wed, 4 May 2022 04:44:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651664684; x=1683200684; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=vIyQqpA0yx8OAjlt5c/KqcZV8wfFwxsagPB8ZOZExZo=; b=qZJlRosGZa6qbsC2/4WDQChSyGtNNYfrpvc7jieljkyBEJyjP3xh2zIV t0N7rR1QYpaT9VDS7itrfwF5mKs8icxSSJZ2cxR24oOM1s1kVndC43DBy RItbpoqlC2nVKap2OxhAMzv7HYXHz8ToTlJ6kWFFM1VKe74I35a11Ze4W 0=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-01.qualcomm.com with ESMTP; 04 May 2022 04:44:44 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2022 04:44:44 -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; Wed, 4 May 2022 04:44:44 -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; Wed, 4 May 2022 04:44:39 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v11 03/12] arm64: dts: qcom: sc7280: Enable digital codecs and soundwire for CRD 3.0/3.1 Date: Wed, 4 May 2022 17:14:00 +0530 Message-ID: <1651664649-25290-4-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1651664649-25290-1-git-send-email-quic_srivasam@quicinc.com> References: <1651664649-25290-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 for CRD rev5+ (aka CRD 3.0/3.1) boards. Signed-off-by: Srinivasa Rao Mandadapu Co-developed-by: Venkata Prasad Potturu Signed-off-by: Venkata Prasad Potturu --- arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts | 20 ++++++++++++++++++++ arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi | 22 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts b/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts index dc61bad..81a24e4 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts @@ -81,6 +81,18 @@ ap_ts_pen_1v8: &i2c13 { }; }; +&lpass_rx_macro { + status = "okay"; +}; + +&lpass_tx_macro { + status = "okay"; +}; + +&lpass_va_macro { + status = "okay"; +}; + /* For nvme */ &pcie1 { status = "okay"; @@ -101,6 +113,14 @@ ap_ts_pen_1v8: &i2c13 { status = "okay"; }; +&swr0 { + status = "okay"; +}; + +&swr1 { + status = "okay"; +}; + /* PINCTRL - BOARD-SPECIFIC */ /* diff --git a/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi b/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi index b833ba1..11d37cb 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi @@ -293,6 +293,10 @@ modem-init; }; +&lpass_va_macro { + vdd-micb-supply = <&vreg_bob>; +}; + &pcie1_phy { vdda-phy-supply = <&vreg_l10c_0p88>; vdda-pll-supply = <&vreg_l6b_1p2>; @@ -326,6 +330,24 @@ no-sdio; }; +&swr0 { + wcd_rx: codec@0,4 { + compatible = "sdw20217010d00"; + reg = <0 4>; + #sound-dai-cells = <1>; + qcom,rx-port-mapping = <1 2 3 4 5>; + }; +}; + +&swr1 { + wcd_tx: codec@0,3 { + compatible = "sdw20217010d00"; + reg = <0 3>; + #sound-dai-cells = <1>; + qcom,tx-port-mapping = <1 2 3 4>; + }; +}; + uart_dbg: &uart5 { compatible = "qcom,geni-debug-uart"; status = "okay"; -- 2.7.4