Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp437340iog; Mon, 13 Jun 2022 06:01:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfq2BN4ZVLBo2dvyNlUun2NSarw3keCmARPM5YAdHKRjCE+yVKaJAfQSAtm5YhfEQ8Aq2y X-Received: by 2002:a17:902:b402:b0:168:ab37:3282 with SMTP id x2-20020a170902b40200b00168ab373282mr21184326plr.164.1655125305354; Mon, 13 Jun 2022 06:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655125305; cv=none; d=google.com; s=arc-20160816; b=jur/DGFJ5Ak+PQgx3ZfhKVnl7oAVxl1wLqRVkUMfCaLCVxzXBKiTXbvAJGs+Y52rpD uq94jv3A0lZYR2nl+Z7BA8Cs1oSFsEwZHaZNMxjicd2eRcynBYQrrCg9L97WxLZTniV2 vB9BZh/L0mQIufa8zmzbtiW4mcmruoxwCU6Kwy8zpU/HWX8nUqdAdtNFOKJiRqN15EHc DRyTe8YeBP917YgLduC1BYvMJ+HPVXqd619KY4vFHyhFOe8/IPiJuKHK4Pf5Ch07kBdq U8FaH0Ch3lwkVGNpmaCJ6XwjnYMpXWc4ANQO4cFlJTxrwe3A4YrS+KBRZSmbLmR80qWi IXHg== 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=aYwxWhkR54p21X8xH7TcTR0H53//wdwLb0i2oW6DOzI=; b=LbydBN4pJ3RTnJ1Vt83AaRbKYooOzpMfhzOy5V/YX9+pJzBpfWswBFdcpHZlxBqn3Z QL7Bkmo6PaGZAf9IP2KaDot7B82nW06N/hgNh9Sx1d0cfHCaRP+RaLm0vTzqqs5hvCN+ 51g+OScE/pR5PJy0PAVB5EYQybFakZuLv68xTYUy3XYU+TSAr8sfpO+UJzY6/eq5LCkY ADHtyKqE86REqFk0B6WuMPGpiRk2TZsgn9TYXT84bDgZ3WgNmAu7BZkDGvR/pQVs6CqD d7aP3o4lChcLi+KsehZzOPHjEW0Tq85ituDFqVhZvezMSIheRWuKSyOAbC2wfWmMRdzA bCtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="Mf1/0hl0"; 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 q13-20020a170902dacd00b001622a77631esi10686815plx.594.2022.06.13.06.01.30; Mon, 13 Jun 2022 06:01:45 -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="Mf1/0hl0"; 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 S1346546AbiFMKhs (ORCPT + 99 others); Mon, 13 Jun 2022 06:37:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344691AbiFMKhC (ORCPT ); Mon, 13 Jun 2022 06:37:02 -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 8DD9B120BD; Mon, 13 Jun 2022 03:22:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1655115766; x=1686651766; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=aYwxWhkR54p21X8xH7TcTR0H53//wdwLb0i2oW6DOzI=; b=Mf1/0hl0J3DBox0nFPlmakbexHDh38r/d0yeQAJfQnokhl+WS3vye/iA 7YzrmPyUGbeIqqU05YkA26o/3oQahp49wP0TkF1I8ZzhnbWTg+OCv0iDr cY7vibHs54R/ZLt3Kr8PYcHH9tXAN7wpUyhzdpHUBL+1zr2NgHMhyAkQb 4=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-02.qualcomm.com with ESMTP; 13 Jun 2022 03:22:46 -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; 13 Jun 2022 03:22:46 -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; Mon, 13 Jun 2022 03:22:45 -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; Mon, 13 Jun 2022 03:22:41 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v13 03/12] arm64: dts: qcom: sc7280: Enable digital codecs and soundwire for CRD 3.0/3.1 Date: Mon, 13 Jun 2022 15:52:04 +0530 Message-ID: <1655115733-16309-4-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1655115733-16309-1-git-send-email-quic_srivasam@quicinc.com> References: <1655115733-16309-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: nasanex01a.na.qualcomm.com (10.52.223.231) 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 Reviewed-by: Matthias Kaehlcke --- 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 d92575e..32927db 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts @@ -103,6 +103,18 @@ ap_ts_pen_1v8: &i2c13 { }; }; +&lpass_rx_macro { + status = "okay"; +}; + +&lpass_tx_macro { + status = "okay"; +}; + +&lpass_va_macro { + status = "okay"; +}; + &mdss_edp { status = "okay"; }; @@ -135,6 +147,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 d59002d..e933ebf 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-qcard.dtsi @@ -303,6 +303,10 @@ modem-init; }; +&lpass_va_macro { + vdd-micb-supply = <&vreg_bob>; +}; + /* NOTE: Not all Qcards have eDP connector stuffed */ &mdss_edp { vdda-0p9-supply = <&vdd_a_edp_0_0p9>; @@ -375,6 +379,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