Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp928571pxb; Fri, 22 Apr 2022 14:34:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvY1/iSjf9SGSiHR4Hw1pFsn5aGAPqvvsYzho8Hdv6ngJaHsTDkTXUQTdqv810DoJX0jT9 X-Received: by 2002:a17:90b:4b10:b0:1d2:c235:6c8e with SMTP id lx16-20020a17090b4b1000b001d2c2356c8emr18279111pjb.21.1650663249318; Fri, 22 Apr 2022 14:34:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650663249; cv=none; d=google.com; s=arc-20160816; b=RmK5eMMTk2Lf2UuIrp4UvkxcbZ0ZXmM7xG7F25hdJZ59e9c7Uwc3zBCszxMAQ8a9i8 vRICEyZkMtVZaO5TBR8gxpWtmN535sR+ezmXilw5YaDx1UBIkx9MO76kwhyul3Vdn601 EVHA95WoD9kgg74DQ5DRJYUOoyimZTlyVXqcU8VePs6vQ5ap+Mt4+qHQTZ2NaVASqJMH BliuAJPL16FRR4EvECNu1pos1bI7l3nta3Ebi5x70BJo0Jwttqpdi72gxGWliAOq+vJl VeMsxijHNluIXn0bq8yZrFJqlNmi9Zvj2OIcV7peFNuYjY0S+9nBhivhnSYk8iEhZ5d9 /84g== 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=XcQArSgvdcsR9fwT/jF8qgCFcN5sH3AFMXJOGRNYX0Y=; b=FiwrP9XdI06Eo03XRxsaykPUWo7vcLBSu0pUDwDElf1B3/xOxT/krkDH9KS1LYI9rl VQE+1zvKauP4Sl0/7QKiByJiLX93wjiRn4Ij07U3Qva0jV+EqhI/QkgDo+eyQiRS9rF1 GPQe20D/FIbSoPHz9P01uQn4fo69LyZRSwWo6DVeK2BYUqw+/FPjZn2hyEui8o3DfugR 6WINXOxBOEeS77CjJS5TWrLbUuMqCiPaKEGcI18AdbJqRzncpvEPx0ggOtYTuCF07w+v IYAlnjoL9P7i2cJ4u+uOjKqW8KGsvc0aQwAP9uKE+r85tZjNzhq703+TH1mYovVDjWGg YwBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=rloFzqfM; 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 f21-20020a056a00239500b004fa744877dasi9095163pfc.39.2022.04.22.14.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 14:34:09 -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=rloFzqfM; 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 82A932F70F4; Fri, 22 Apr 2022 12:42:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1389730AbiDUOwL (ORCPT + 99 others); Thu, 21 Apr 2022 10:52:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232307AbiDUOvg (ORCPT ); Thu, 21 Apr 2022 10:51:36 -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 139C443AC0; Thu, 21 Apr 2022 07:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1650552524; x=1682088524; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=XcQArSgvdcsR9fwT/jF8qgCFcN5sH3AFMXJOGRNYX0Y=; b=rloFzqfM6pcNifCdo+Zuc/bY7RtpElqaSDUsww5vE4Fx1sZMbwNCHD0x glmdqYqXv0OKcMl5u36fDx9z2Ay5JiDPEfo7qKNRUNiBfK5IZSxWsA/wM khdhYaBdupUozwpCfeKdrtdQQi87U1uw/SBuIV7YdRX6+wVnHUIAEqI7I w=; Received: from unknown (HELO ironmsg-SD-alpha.qualcomm.com) ([10.53.140.30]) by alexa-out-sd-02.qualcomm.com with ESMTP; 21 Apr 2022 07:48:43 -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; 21 Apr 2022 07:48:43 -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: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; Thu, 21 Apr 2022 07:48:05 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v9 03/12] arm64: dts: qcom: sc7280: Enable digital codecs and soundwire for CRD 3.0/3.1 Date: Thu, 21 Apr 2022 20:17:30 +0530 Message-ID: <1650552459-21077-4-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 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 --- arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts | 35 +++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts b/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts index fd6eadc..d0794f2 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd.dts @@ -69,6 +69,19 @@ ap_ts_pen_1v8: &i2c13 { }; }; +&lpass_rx_macro { + status = "okay"; +}; + +&lpass_tx_macro { + status = "okay"; +}; + +&lpass_va_macro { + status = "okay"; + vdd-micb-supply = <&vreg_bob>; +}; + /* For nvme */ &pcie1 { status = "okay"; @@ -89,6 +102,28 @@ ap_ts_pen_1v8: &i2c13 { status = "okay"; }; +&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>; + }; +}; + /* PINCTRL - BOARD-SPECIFIC */ /* -- 2.7.4