From patchwork Thu Jun 15 08:48:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devi Priya X-Patchwork-Id: 108355 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp492679vqr; Thu, 15 Jun 2023 02:08:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Q51BWnq5+hGBmmBT2c1zpIGPcp8t9B89+EFyFEkX09JeWkpxN7dkpSwB9G3afoJtP/WPp X-Received: by 2002:a17:907:c12:b0:966:1bf2:2af5 with SMTP id ga18-20020a1709070c1200b009661bf22af5mr4524571ejc.22.1686820105283; Thu, 15 Jun 2023 02:08:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686820105; cv=none; d=google.com; s=arc-20160816; b=wk3UfwakSmdIVB4pyAEvFSJhTZbHEVgWhmBJRstBJBCGD6Nlyufwb+BN7+7pdAk7dr 32liELirX1s5F+gyF5Q4tXbFYanwPUGhOOxpPeYc/GKGqxKFyIk3IBOrdQHHrMrG3wU2 aBBmwJ4oEFRYKoVXdRx/s+1yiHQPfNj53fDl+Tst2IXHjo7wtQSjMHKL4zaJfZH4JYMP 3OkQGU2jJ2+gc5pM2E4leV5DD0LTVqBrxxV+lfWJtc3Mnr4NiSMFNr6vhrHciBL/TfRw 8m9it/nE5pppTL9f8HrTd2vZZaycyjupdxuSyjTkLsL1gblHlZWHUtM5wFAy6LSXOGEL ScTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=y8GbwR3Om8ATjvtpQuV6B+xsxm6V6zShZPUc3AEsx/0=; b=nNPtyFE0ckJFFeiX7g58i8X3wyr0+pA0kLS1E3QMMK9IrnJTdQYwJvrMtwit+eNmTw TuXTRdH8cHFkVqj7qlb9YCFZogXaOSdg5t92oLawUHjCMqWuM302/UkBb7xnLKHQwYhN 8I1RclmCPGJf36hsGi5ahD+I7VjE9ovaTOa3VfWcH/CAAf/8f7F0KoEBEkhQCv1JfEx7 Xzm7Csug536XMFy8Gbmy9SWw9OJl9VdLvpA2zgreNkX2bzWAZzqGIFJTh8HT9lM7kB+z tiaeZkyd95G3ft6fF8WAb1Yt80UrhPQ8oxmsNgMB9pPibjSGt4S9qXgNtI6SeHosCo9C 1b6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ohsugmcv; 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 j9-20020a170906830900b00978644b119fsi8485564ejx.983.2023.06.15.02.08.00; Thu, 15 Jun 2023 02:08:25 -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=qcppdkim1 header.b=ohsugmcv; 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 S240902AbjFOIuR (ORCPT + 99 others); Thu, 15 Jun 2023 04:50:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245455AbjFOIth (ORCPT ); Thu, 15 Jun 2023 04:49:37 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 963912D57; Thu, 15 Jun 2023 01:49:19 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35F8bwdZ004498; Thu, 15 Jun 2023 08:49:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=y8GbwR3Om8ATjvtpQuV6B+xsxm6V6zShZPUc3AEsx/0=; b=ohsugmcvsoKHZLHDuJMdM/VHOxC0364Nn/IInd5h7/Tx2UAMK+OYj9TzLPPG4fvWz4Cr dLScST46kOPSfj0QaPdrRlP9xvuLRU0H6e8V5ds32o8ApOI3vyLYlS7nZs4npQeAonhv 9j4jPZCVTL+UfEB+GgzXe+cVhSX2pW/EqE4ULybRcXdV1VDBDQouCZF3GNHIs8bTKmve X2jXwy/6CIQP6dzKCaJfW3uQYAjgpJmLZAmTb7mKWl/QFVdFaMQ9eu17iNk8FeEEf2yo ml7gCRyHNsJ+8OYKeXIkJncEsiVi82EfwWM9fUHJ6VkldMwcJdr3w2VMrLd5Jec0Znmu Qg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r7va2gej2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Jun 2023 08:49:16 +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 35F8n3F0027583 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Jun 2023 08:49:03 GMT Received: from devipriy-linux.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.42; Thu, 15 Jun 2023 01:48:58 -0700 From: Devi Priya To: , , , , , , , , CC: , , , Subject: [PATCH] arm64: dts: qcom: ipq9574: Use assigned-clock-rates for QUP I2C core clks Date: Thu, 15 Jun 2023 14:18:41 +0530 Message-ID: <20230615084841.12375-1-quic_devipriy@quicinc.com> X-Mailer: git-send-email 2.17.1 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-GUID: XmG6i7Yb4grH_fWgidg7fU2DYSE2N6Xy X-Proofpoint-ORIG-GUID: XmG6i7Yb4grH_fWgidg7fU2DYSE2N6Xy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-15_05,2023-06-14_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=769 priorityscore=1501 mlxscore=0 impostorscore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 clxscore=1011 phishscore=0 malwarescore=0 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306150075 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768759078751136461?= X-GMAIL-MSGID: =?utf-8?q?1768759078751136461?= Use assigned-clock-rates property for configuring the QUP I2C core clocks to operate at nominal frequency. Signed-off-by: Devi Priya --- arch/arm64/boot/dts/qcom/ipq9574.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi index 0baeb10bbdae..78bf7f9c455a 100644 --- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi @@ -361,6 +361,8 @@ clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; clock-names = "core", "iface"; + assigned-clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>; + assigned-clock-rates = <50000000>; dmas = <&blsp_dma 14>, <&blsp_dma 15>; dma-names = "tx", "rx"; status = "disabled"; @@ -389,6 +391,8 @@ clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; clock-names = "core", "iface"; + assigned-clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>; + assigned-clock-rates = <50000000>; dmas = <&blsp_dma 16>, <&blsp_dma 17>; dma-names = "tx", "rx"; status = "disabled"; @@ -417,6 +421,8 @@ clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; clock-names = "core", "iface"; + assigned-clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>; + assigned-clock-rates = <50000000>; dmas = <&blsp_dma 18>, <&blsp_dma 19>; dma-names = "tx", "rx"; status = "disabled"; @@ -446,6 +452,8 @@ clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; clock-names = "core", "iface"; + assigned-clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>; + assigned-clock-rates = <50000000>; dmas = <&blsp_dma 20>, <&blsp_dma 21>; dma-names = "tx", "rx"; status = "disabled";