Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp3299327lfo; Mon, 23 May 2022 01:04:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmHx9W8Xtk3k3gRqbKfuJisxfSsxGyuFsxNXvOfKziTB1uPIs/8QTtQI9Ks0/1GOBtBEZG X-Received: by 2002:a17:90b:4b48:b0:1de:af4f:7e13 with SMTP id mi8-20020a17090b4b4800b001deaf4f7e13mr24604813pjb.146.1653293057333; Mon, 23 May 2022 01:04:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653293057; cv=none; d=google.com; s=arc-20160816; b=VyvH/jKGkFz1eRjKSHyspH1Sbwd4eE+CSSiEQY5l664TCiutg/zR4ClZmlTL10cdsl hVrHmMDkTckvaN5asUNMsfmPTVF0pFNQxOhmzh8LXjftOALApMR6ZCVzpBlb1dCZ8TOW WQ5VPJjXknVUSoLAfqTydI17zfBXjAobMlh9APTzvz48SDKjBq4etiIw+1VDgps3arbu A3D+qCQEMJaLB6rBfwdq4GwhJLIIjWH9/9RimZwJNzaL2PAzeLDZfWXCBNwGwNaB4Jn/ P6+jOLh0QewAZoXT7ERGlJIktKZY/PRrjZ2j1Yf/do+sVp+wEOGlxaf77soGcncSVPqO ON8A== 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=QJXAh8gO1LYjFHULmOCJl8bA3sLNHUSkTF1fC2igJWM=; b=gJotBs34K2zlWt0pkTUFpD33EF/ktN9zWWJV3/YgGdZRA/dRPIV223YdKyRk7GPYdg ShYYOcO9hMEXIKIgjZ0JYVAmGc98UoehH9fUYN6NE7ZkjvFzevNmJz/Dgt0J0EtVLYXL PFrl6z48cSf2iG7EAQkv25BZPVLYbUV8ImXLLU83xCtvyv3JDsEIirRjwAsFAuC1elmr 8ybXYeE1NA7eikC7ZDfctY9WeQMcxpy2DjOWgGZMcJMdUiPpc+S0DYjKx3mrZM1WLUPy ch7LuMTt2et7TlI3fNuifS0BNgI60uelY+O40f4xmGQyQBVmyuNxB/lDzcZ8W+pVmQD8 AqgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=uwa88DHE; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id mw12-20020a17090b4d0c00b001cabc409081si14053033pjb.67.2022.05.23.01.04.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 01:04:17 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=uwa88DHE; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 95EF0544C2; Mon, 23 May 2022 00:07:13 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349137AbiETMT1 (ORCPT + 99 others); Fri, 20 May 2022 08:19:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349133AbiETMTV (ORCPT ); Fri, 20 May 2022 08:19:21 -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 57D68163F47; Fri, 20 May 2022 05:19:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1653049159; x=1684585159; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=QJXAh8gO1LYjFHULmOCJl8bA3sLNHUSkTF1fC2igJWM=; b=uwa88DHEdqu46Evir2Jl4f/g3jOB7rR1a1mHW69HUduH/u29VE9kfcNy GA+J4oP4lu36hv1zWQK6EOLx9/WgQJW3ETuwUOs+bgCBZ9FJhROu1krZH 5inNyoAAKaqAc1iDkzr0PVlGaMl/Jw5UlCeOI5/bBeQ7I6GDsQlPyju/v U=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-01.qualcomm.com with ESMTP; 20 May 2022 05:19:19 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 May 2022 05:19:18 -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:18 -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:14 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v12 03/12] arm64: dts: qcom: sc7280: Enable digital codecs and soundwire for CRD 3.0/3.1 Date: Fri, 20 May 2022 17:48:35 +0530 Message-ID: <1653049124-24713-4-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=-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,T_SCC_BODY_TEXT_LINE 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 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 0ed8e7d..51b9e17 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts @@ -102,6 +102,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"; }; @@ -134,6 +146,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