Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp863353pxb; Fri, 22 Apr 2022 12:55:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOR95v12w6uVxGzNS0u7Mf8d5YdHf5RArvx/LrUH0SANeckJbwW/bCRoLyyQQUfX3BtJSR X-Received: by 2002:a17:90b:4c0f:b0:1d2:da:874d with SMTP id na15-20020a17090b4c0f00b001d200da874dmr18279052pjb.3.1650657354673; Fri, 22 Apr 2022 12:55:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650657354; cv=none; d=google.com; s=arc-20160816; b=ajPLXo1RxFkybf4vUSgcYK2a2DXuWW0feR2ppd67IJ7Tjgk6/GVnfYjpG4HnnnpQjg jt4oDalts3mUMBTsd4OUYrPObk8twDrWVWeW4tI1w/dJHQUrxv3crwArb/Uhq6DQ9phN j21GSb/hYtDiaph1E6UmYr8X+wMaZ5u1xpDRn6iIm4MJxR8Sjc6wspjdyOd+2LYKpBGv cP33ejuasoFzmjr0TaQaYCC3Qa3svcCq3pIEmqI9gEKIaU5Q+iCBlu3au5pDVX8Zkt7p YQhTO8eIhva9pAQmRZg3GkEvf8PG/WwlKy0ZCkLTD0tejOMZ4o4GsYlId5338UFZqskd a5Fw== 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=QFyDTDst7+a/n1dU1A6VeSgWV6N1o+DgeJ8ltvS2ff8=; b=sjiJ+fL70n4MBx/Vcv1qXacJ9tn4wgLcqrxvA52A7QnsP6TKSroCX05n9wtprsVO6R 3paapGezrhLe+rfMTWWVHXqzctFB2+AkYv5RfmNcX85bnKh8L/5CPiHYeKEjUmHTvXpc 5YzzrcKXLIbTsJQwnhYdHZtjjtWZWfKDYKnqvbA6RPdqpwD4PGSWDFFoqfcttBS8I1rc sMwgozC7jgBWkQzP6O2Z3g/sFl0JoDylZ5Zh/eMcMH6qAparRYtn1zCMW9OTFN6sNO7u 4nOjLNXb4vdWDxqvxqWp8Z83bCKz13TdhYEbfImwAcWez7iMGTr+4BiG6s2j2ZzyNmj3 /2gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=UVi6E682; 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 t6-20020a63b706000000b003816043ef6asi9217616pgf.351.2022.04.22.12.55.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 12:55:54 -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=UVi6E682; 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 57ECB240643; Fri, 22 Apr 2022 12:02:00 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1448362AbiDVOMI (ORCPT + 99 others); Fri, 22 Apr 2022 10:12:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1448358AbiDVOME (ORCPT ); Fri, 22 Apr 2022 10:12:04 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B34651FA48; Fri, 22 Apr 2022 07:09:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1650636551; x=1682172551; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=QFyDTDst7+a/n1dU1A6VeSgWV6N1o+DgeJ8ltvS2ff8=; b=UVi6E682vSMDvbSNKQuxOZCxq707haU75sTWJvtlr+o+7+hBbsyMe6qM abNRGBrjAWSV+k2GVfzKPjNFx+avzasWHONlxMN3j6hZj9D8nfko6EDa6 dFBAjy+dE0LavjMfoHXpQNzc6M1GY18mhaSdVL5Nt54MCyEa4igfYTNM5 Q=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 22 Apr 2022 07:09:10 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2022 07:09:10 -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:09 -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:05 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v10 02/12] arm64: dts: qcom: sc7280: Enable digital codecs and soundwire for CRD 1.0/2.0 and IDP boards Date: Fri, 22 Apr 2022 19:38:31 +0530 Message-ID: <1650636521-18442-3-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 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 2f863c0..6cb5fc4 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dtsi @@ -238,6 +238,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>; @@ -298,6 +311,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