From patchwork Mon Feb 6 16:16:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivasa Rao Mandadapu X-Patchwork-Id: 53413 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2332321wrn; Mon, 6 Feb 2023 08:36:10 -0800 (PST) X-Google-Smtp-Source: AK7set8fmoMRSohvLrby2ZOSgCpv7MFk+9QUvu2NFeK0djPrOKcmd1Q7x/obaNz1dhFR5N6R8skQ X-Received: by 2002:a50:d4cc:0:b0:4aa:a8e7:c04c with SMTP id e12-20020a50d4cc000000b004aaa8e7c04cmr136455edj.21.1675701370819; Mon, 06 Feb 2023 08:36:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675701370; cv=none; d=google.com; s=arc-20160816; b=K263x2MbjG3j7Q8otoOvu4gt1SrPfCDlyuGjI+0zp8BuFi9y6Y6N1YI+gLgd1MA4i0 bzc/h9gii4baZX74rTmOOHzQizBofgIXW12V5dLXH2rAeGqHpQNvNRt1+LqWfCZO4QIy UmOiLiCK9TugkKNK+31C0hr0EkhC4lLsTUQG4bmyBXhaXjqBpYKdTu3leJrDVYCqviVz 8iFh9cEN7JxgyjzReFNwwpTndGsZuK+0mCl1r0xO9PKwFjyC+yRtJg8Ot1MHMiNn6OgY zJf3KZk4KLb4qKtk4v1etQOyL257Ik4xffTX5/wAc32FdGHIxxrcBJc12SiY/vKDwuPx bccA== 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=46RM/lD7X0V0yIbmc7PIRWt55mBU1xeb7ChOkFmBHNs=; b=B6lNdPMiS7JsnvkWYbLFUiJ4bXDpJFU7Lq7OPH04g3aBq0A8aqEJ8SP/dU5YuVLy3L plNACh/ZjYFZUIXTV3S17PskVzmgp2+AcpBkgsKbpCLlSeHn750nUDeCr8VsFJhyp+Sc RyHxtTxLWUGe2Etpjnso2kQpA038tXWzNb6OZ+QKqtgnZ/NK0v46giJIhiA1l5w8Z06W 14uJSPzqx+z4lHYh1WC0HB72vLnGcnPn76x/6g0TcnAHcTvQFF8+MJyF9G3/xMV0GeU1 ygekpiFsCxJ+WRYN4STq2Jp2PCri+2pspcS5gGXucimeJgf28nEgtFBsvd2AuwScXgEW fB6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=AqWB0JHO; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p2-20020a056402074200b004aaa4e453afsi7958151edy.554.2023.02.06.08.35.47; Mon, 06 Feb 2023 08:36:10 -0800 (PST) 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=qcppdkim1 header.b=AqWB0JHO; 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 S231799AbjBFQRv (ORCPT + 99 others); Mon, 6 Feb 2023 11:17:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231815AbjBFQRr (ORCPT ); Mon, 6 Feb 2023 11:17:47 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5A9D2BF27; Mon, 6 Feb 2023 08:17:40 -0800 (PST) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 316EPL8m011313; Mon, 6 Feb 2023 16:17:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=46RM/lD7X0V0yIbmc7PIRWt55mBU1xeb7ChOkFmBHNs=; b=AqWB0JHO5oa316UtRKwQ+pcQ4fdUx/3Es31gsW6dXaDSgTq3hRcDnRq64WL+iob5AQ6I owQGJ8KPmH8JX+PynooczC3LdbjbbkA1cylaXXhS6tkxJjnjjTxdbFM03Utxcj1P1kAv YkCSirl7d0pNSWHsNLfDYLDVqr62DjJhruhxn2ythlA455aQCYCn/d/os0GPKRT7cEo+ CIaSjpRboemA6Z9YkQX3TUJnnsvm3kz81f+JkzGmJbwtq1T+gjTbID8Y7RI0sBwfQCG+ oZ1xtAomR9Y47CvzbVa2sTpK8z3jLatV10m9sgb4L2GGAJ3T5l9MTaRusWLP7VcmhHH5 pg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nhey745dx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Feb 2023 16:17:32 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 316GHVSD002866 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 6 Feb 2023 16:17:31 GMT 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.36; Mon, 6 Feb 2023 08:17:24 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v5 4/8] arm64: dts: qcom: sc7280: Update VA/RX/TX macro clock nodes Date: Mon, 6 Feb 2023 21:46:37 +0530 Message-ID: <1675700201-12890-5-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1675700201-12890-1-git-send-email-quic_srivasam@quicinc.com> References: <1675700201-12890-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 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-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: Jz7JavyPQW3a003IpMvkVleIJHqtMttN X-Proofpoint-GUID: Jz7JavyPQW3a003IpMvkVleIJHqtMttN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-02-06_07,2023-02-06_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 phishscore=0 mlxlogscore=999 priorityscore=1501 adultscore=0 suspectscore=0 mlxscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 impostorscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302060141 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757100240267261025?= X-GMAIL-MSGID: =?utf-8?q?1757100240267261025?= Update VA, RX and TX macro and lpass_tlmm clock properties and enable them. Signed-off-by: Srinivasa Rao Mandadapu Tested-by: Mohammad Rafi Shaik --- .../qcom/sc7280-herobrine-audioreach-wcd9385.dtsi | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi index 5e99f49..9b04491 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi @@ -108,6 +108,43 @@ }; }; +&lpass_rx_macro { + /delete-property/ power-domains; + /delete-property/ power-domain-names; + clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_CLK_ID_TX_CORE_NPL_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&lpass_va_macro>; + + clock-names = "mclk", "npl", "macro", "dcodec", "fsgen"; + status = "okay"; +}; + +&lpass_tx_macro { + /delete-property/ power-domains; + /delete-property/ power-domain-names; + clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_CLK_ID_TX_CORE_NPL_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&lpass_va_macro>; + + clock-names = "mclk", "npl", "macro", "dcodec", "fsgen"; + status = "okay"; +}; + +&lpass_va_macro { + /delete-property/ power-domains; + /delete-property/ power-domain-names; + clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + + clock-names = "mclk", "macro", "dcodec"; + status = "okay"; +}; + &remoteproc_adsp { status = "okay"; };