Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1453257iob; Thu, 5 May 2022 01:19:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrQNiHN1q19YaVnp7Uipbb0PyOMqydUv9i1+RDLuYC+58UrcxgcggDFTWZ3Ig/osQEis+t X-Received: by 2002:a05:6402:486:b0:413:bd00:4f3f with SMTP id k6-20020a056402048600b00413bd004f3fmr28776717edv.103.1651738772804; Thu, 05 May 2022 01:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651738772; cv=none; d=google.com; s=arc-20160816; b=U0PVBHmQ26bewyiPYEnKGOP/1jbJj1nreuT7hbgmzHXpUEkFXOiTOLHbyO+ZycqNsD B5B9tw3CJSjC3eLiE2ghiRCxKH9QTHwYatk+ISG/dPP4Ow2df1bzvp6kYbRsCvL2/p/p ptrYKCsD9PYHVEuxerUq0y4LxED+OmSDEKNcqA2LQvloWTymgv7t+kbiJNqBlGJN5C/z J9aFJu21s0fD/Jll8DPM6J62wQrcPZ1G+jjqYfJw7erYABSSpzKnc5PMP+V7MnbaLZdQ E+u+Bcl7AsvM6wYjkMo7IWkYg+p+5g2VvZKEm4NwH/Y1ZIXUr3MpAShtmRCWctpagaXL GxtA== 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=lfejE58umFZ/aZTpOiXYr52+/z0xakQAvWcASAY8QNY=; b=Vpvu9u1ZYJS0+VRxHlKcS8Uk4dMSBsulxrulpQ2KljFvrNVq1fWI/LGAD2u25kkBY+ 0A0JLf12HfRpiuv9Stf7hL64wLKwI6kczZ6ZQST0El9saA06ZAGKhMUDINa7+SmjwPJR IDT9dIBQBGF7S1vCQI6JNHICJ87YQcGt9t4/kdyxaIqJBhDxTPxaSdEgbIc6Ojspodew xrNW5cCi2k1C3P3uzge2nGztEZR/0PNOvRYM2LfZtkWEzdc1lqh1dOZ7a7jOu5zUZmk4 RE4tUSzuUmZWdeEL8On53JBYW4Jip/D+/Gp+M1M2zUTOeJicKUeDBrCm63qgq/VsMkkr XUgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=OtJvcgyX; 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 k6-20020a170906128600b006f4fc3e2c3esi470557ejb.878.2022.05.05.01.19.09; Thu, 05 May 2022 01:19:32 -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=OtJvcgyX; 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 S1348980AbiEDLsT (ORCPT + 99 others); Wed, 4 May 2022 07:48:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348982AbiEDLsS (ORCPT ); Wed, 4 May 2022 07:48:18 -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 295922C104; Wed, 4 May 2022 04:44:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651664681; x=1683200681; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=lfejE58umFZ/aZTpOiXYr52+/z0xakQAvWcASAY8QNY=; b=OtJvcgyXyDkeWtlXSeBmC7DN97im3TvNIr26YK+zoFzNpo+3/vZQbGW8 zu55ZmBCAKgo7tN4Gnu2i6v+eUNOG2CiSnJvAa5RCo7jSXgMKzKta9lsB BavwIJqGsDwMkKhBL4a85N+BVYyg4uSnl8ODvnx/skQao6YubptJkQlMR Y=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-01.qualcomm.com with ESMTP; 04 May 2022 04:44:41 -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; 04 May 2022 04:44:40 -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:39 -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:35 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v11 02/12] arm64: dts: qcom: sc7280: Enable digital codecs and soundwire for CRD 1.0/2.0 and IDP boards Date: Wed, 4 May 2022 17:13:59 +0530 Message-ID: <1651664649-25290-3-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 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 --- 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 fb0e313..f68eeb8 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