Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp857598pxb; Fri, 22 Apr 2022 12:46:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWWz0TAIuGtZ3qLRCys9BtYuUOVvqFYwoNrjjKE7rY7eg/ZjOZ3r99T5KidgSZHv3GgxrV X-Received: by 2002:aa7:92c8:0:b0:4fd:c1aa:3e11 with SMTP id k8-20020aa792c8000000b004fdc1aa3e11mr6654314pfa.29.1650656813177; Fri, 22 Apr 2022 12:46:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650656813; cv=none; d=google.com; s=arc-20160816; b=Ng/3u5Wsc+/uAakdj87K46eeyJz17I3GV35N+e7+fxqVzgvWs4jHj58nDPjz28glRJ ViIneF5l7jJ1SbgNtcOv27SaCuKqK0zjj8J1+6qfqhTd+VSGNoUPTO/8IvfJwZrkDRIt Mois1nczaJK9kc4MjR3cpK4UpjQ1w+b/Xzr1UnA6fMfKW0fq+meko1W7R3fKMNqiiiyA Dpl7on02aFTERE8wSCRNYnAdzQf/RiGI8btvgmMDKa322gwYGJIZRPf3mg5zRvavREP8 NvxYVDD2SY6M31rk51vQHGWTTLdftu7S+IR7hfcwCq+2V1DCzGjJ82kUv+Fjm67ANLqr iiQg== 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=sdgeW6KDH2C3DXQMNpInqmw+0DxF0wea0RjauutwJSE=; b=qZwnlk14t/wSck5gjC6Z+gqj7OmJIlI6WL5cO2NfnJmkm+PXpfSrxlShMqylTyvi7h GxxRLgxFpasUkeQLzFD1D+YZIFfiWdsS2Rc4rxFx/XCJFxIRgLSYoo0d6sj8aAJ1+l/m 8bDTCGPY4wva6SVQc14jB8mLOlxupacMPG11UnUVIGJSjQKfNOxV59NALY9QdNs+OoG1 Ww5mfHqfKobSWZjuD1Pp4DWuzgKIexf1c3zoEtSHtcTDIxnl/ID4afJs0azgU8jtxzID mFSogdBg8zR+Vl7KBORUtIjay8usPX3W9fsaUWNWFOx/o5AbEtYzkO1JybM/G7X7Y41o IasA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="nZHe/1b+"; 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 p67-20020a622946000000b0050cfca6a183si766865pfp.114.2022.04.22.12.46.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 12:46:53 -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="nZHe/1b+"; 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 19D18D3440; Fri, 22 Apr 2022 11:49:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1389731AbiDUOv4 (ORCPT + 99 others); Thu, 21 Apr 2022 10:51:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1389510AbiDUOvg (ORCPT ); Thu, 21 Apr 2022 10:51:36 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B67D434A5; Thu, 21 Apr 2022 07:48: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=1650552526; x=1682088526; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=sdgeW6KDH2C3DXQMNpInqmw+0DxF0wea0RjauutwJSE=; b=nZHe/1b+XWA8ypT1vIeC7rSz2rKETujV1k/GCye9FclOyNq9rknShyHi v8fydP21vThG4PtNG88dI+s0hX40LMnonDlDRRhTnw/RUkXuh6+aLYEHQ dPu+kR6qrIktMkul3iQxzunOoJ/MVUxdpOD2ir89RUEbLBGG6uN1EV5hH w=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 21 Apr 2022 07:48:46 -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; 21 Apr 2022 07:48: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; Thu, 21 Apr 2022 07:48:05 -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, 21 Apr 2022 07:48:01 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v9 02/12] arm64: dts: qcom: sc7280: Enable digital codecs and soundwire for CRD 1.0 and CRD 2.0 Date: Thu, 21 Apr 2022 20:17:29 +0530 Message-ID: <1650552459-21077-3-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1650552459-21077-1-git-send-email-quic_srivasam@quicinc.com> References: <1650552459-21077-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 and 4 (aka CRD 1.0 and 2.0) 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