Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3732108imw; Thu, 7 Jul 2022 06:49:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sO1fVlJ8sBLvLzco6rHQyMdw3XZkaBLNu/Z7ODUomvyuE5vJaDoSSjebT+eq+VXA85CxzO X-Received: by 2002:a05:6402:500b:b0:431:78d0:bf9d with SMTP id p11-20020a056402500b00b0043178d0bf9dmr61601986eda.184.1657201749397; Thu, 07 Jul 2022 06:49:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657201749; cv=none; d=google.com; s=arc-20160816; b=NbZ802/sbbgZ2EyNu6HFz2Dun9rzWGJr1XLZNZxqHue/SsBgIW/Y2sZHkY/S27fPaP ZeLEJ1W+zBPU2lVHPPAAkdXzv+hp/dkl5DV8NxxnQ2tfUcjJU0YoZjTYuzDw0oNtZ6OJ TvK3GzHGYA/vDBFJzo+DRNUt1GIGA937Fss9BL5l/EuDc4nBPttBFo8I5YywzDVZBUe6 Rx6rJfnTbcoNtMTIW97kewpPLdgknzjagH4WkvExMb/pfkJtFeBnjKuj/hO6/r5wgFZo Zi4jgWgSWUvpn/ZxNfwgw622ff6ujNL49INQXmV7ytx8LTz6JedLBLSsqmnxID/c4Hlw KHKw== 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=uKcpQVeyiAbUwxjDlARvYwI2Tt01FdT2PQm/6lmBPmg=; b=ITTgXWFTZ8mfeJLB08Q9ql9EqbuJIV7mr4OZzZxElt8BVKX0JELDs9DEUwerIvRrJS camteFJLbjWn0SmQWISYmWELmjBv2uB6Fb5kPa2+WenvxHXk/tPloJwRaOF1xUUkgbL+ yqnsn5ur8tlkdJ7hkd8aAj8f4/UOSCzGt1C8suHILGz2tqX7KEIj7kqhHWKtZGzFRiVe LwlEKIcCUjHG/4MMSp2MXosdsFstsdU/rsKCMVXGG0t9vQFJqrLWqjMjLoTplr4IgMiq qtsKYyjUB2vKsuaYAXz/PfAp26Tl1sgwEjY9ivQRBdrXDLwgHoV98bh8PNMsHHUXHSb9 f7Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=jGJZCUQK; 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 cr21-20020a170906d55500b00722e6c16c85si18204076ejc.969.2022.07.07.06.48.39; Thu, 07 Jul 2022 06:49:09 -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=jGJZCUQK; 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 S235605AbiGGNXj (ORCPT + 99 others); Thu, 7 Jul 2022 09:23:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235520AbiGGNXf (ORCPT ); Thu, 7 Jul 2022 09:23:35 -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 BB69DE0C6; Thu, 7 Jul 2022 06:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1657200213; x=1688736213; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=uKcpQVeyiAbUwxjDlARvYwI2Tt01FdT2PQm/6lmBPmg=; b=jGJZCUQKHa1kI0HkePhi3yuoxUOcuL8wVW+w/n0tNp+0Yos+YRj6wk0e ygzfzHvRXqKTC8ZGbOptPDtU+pg3P6IYrpFlgNhma/nB9AZtEahLsj8zT WR59Fs5ktGK7Zix/xP+zYTFt8NJcDIV/wjUuqhRObs3iMy1WgBWilV4Zr U=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-02.qualcomm.com with ESMTP; 07 Jul 2022 06:23:33 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2022 06:23:33 -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; Thu, 7 Jul 2022 06:23:32 -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; Thu, 7 Jul 2022 06:23:28 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v14 02/12] arm64: dts: qcom: sc7280: Enable digital codecs and soundwire for CRD 1.0/2.0 and IDP boards Date: Thu, 7 Jul 2022 18:52:54 +0530 Message-ID: <1657200184-29565-3-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1657200184-29565-1-git-send-email-quic_srivasam@quicinc.com> References: <1657200184-29565-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 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 a74e0b7..3e87cd4 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