Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp905014pxb; Fri, 22 Apr 2022 13:58:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOyFvwebVhdRjPRgNUWZwOwGJ+dxWOofm40WwA6hFevsdRCA+P/MmwsYxPbwJ6UKwYFlox X-Received: by 2002:a17:907:3f86:b0:6db:b745:f761 with SMTP id hr6-20020a1709073f8600b006dbb745f761mr5657199ejc.610.1650661095499; Fri, 22 Apr 2022 13:58:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650661095; cv=none; d=google.com; s=arc-20160816; b=Q+kzmCns6G67cxhOAbV7gMnOdXRQu7znuEQX0/MII/19ff6JdcC0Pcm7y2pzUWzju9 VvyAq4Wn085+CV+l7fE6YUCSOlEt8w3s1HI4FVFYaVc3DwzZlpmMOD46iigPYpcX7Emb K1ZWwOU4w2WFJGTKJ+3xT2zB4yCleoPJk6xwCndn0GFtM2KrblBhRZXy6xRs++mNFge2 1txWdC15l6EbiIrwzbVso5gQBmt/c5wm7ltipM/P/cgtWwc+QFWZJLZ5G/pJTdiHYBBJ aHrn7lkh/+yP2XZ/8WyUch5daz4F53jm4ljWPFPr5sXAZ/mM7kzbhS1JkoHFVp0mCbHx zOFw== 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=GPEYjELdAxO77RV9exmACpASb39myl270r4ERihocQg=; b=S018r5WdLjjFCZLs1m6qj0dEo9SCSdTb9VUgX3dE8KiEtF6/dSUbXsVyqk47Z14adZ PkDLjBkqzAuhwX0TLrnDZ5+ddyYGGQ+Gck3l23IIdOAUCuYF/iaWlreaWYgeYjaUgNK4 CR/pkWAtSURWQKZNipTqotn+QvA3wMgAG359mXthQxDNSJB96DaWzIvZP8m7nvUVwX/0 qqFKyMTw7ZbG7jxucxZvry6ClkqEDftp2oS9joVbB330nCBl3crGL2QqiAUJMFiS1qul bboDvNwOzo7pBtxZr2lPR3rCdeG2i/iC8R9aeP/Dd3e2hxjVbAlZMMYLeIf+GbYcQ/iO p3yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=b50Sq1Bk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id lt6-20020a170906fa8600b006e88ed4358csi7139807ejb.91.2022.04.22.13.58.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 13:58:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=b50Sq1Bk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B6AAD180ED0; Fri, 22 Apr 2022 12:53:15 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1448370AbiDVOMK (ORCPT + 99 others); Fri, 22 Apr 2022 10:12:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1448361AbiDVOMI (ORCPT ); Fri, 22 Apr 2022 10:12:08 -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 762765A58B; Fri, 22 Apr 2022 07:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1650636555; x=1682172555; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=GPEYjELdAxO77RV9exmACpASb39myl270r4ERihocQg=; b=b50Sq1Bk5cFGntq99Z6AHSWEi8+Z2Ad7p34pNLuvQJLGzdSLITPIjs9U bRtCLpbLkKEWIB72TpFz9StpCf9PJtYMtjJTLg7WYMRCavJ6XZWg6/Dz1 YgfvCoiyg4pGLzDSFWJLKP1OPZw9YjklEYQ2YMJNnjlGLpvTYtEorsLcQ U=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-01.qualcomm.com with ESMTP; 22 Apr 2022 07:09:15 -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; 22 Apr 2022 07:09: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, 22 Apr 2022 07:09: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, 22 Apr 2022 07:09:09 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v10 03/12] arm64: dts: qcom: sc7280: Enable digital codecs and soundwire for CRD 3.0/3.1 Date: Fri, 22 Apr 2022 19:38:32 +0530 Message-ID: <1650636521-18442-4-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1650636521-18442-1-git-send-email-quic_srivasam@quicinc.com> References: <1650636521-18442-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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no 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 b06f61e..9348728 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