From patchwork Fri Jul 21 15:36:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 123930 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp291532vqg; Fri, 21 Jul 2023 08:40:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlFN70Sc7mBFbSdL/VKx6nsKqgrv06QCw1rOhm65HeLKmEzs/EqD2yYUfaTCxPpnNXvZQ8oA X-Received: by 2002:a17:907:a056:b0:965:ff38:2fbb with SMTP id gz22-20020a170907a05600b00965ff382fbbmr1896082ejc.1.1689954051296; Fri, 21 Jul 2023 08:40:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689954051; cv=none; d=google.com; s=arc-20160816; b=psuGU4Z1oAkHHnUWxUUVR2U+kfYEHOglRRHZGfJQk8+qPmGneGULxcNTiMCMAcpo4l v2VWQNqRvtSlt9K7y276kLyfdNJVMrvNCvgpyXmKGwndSccIdVeK0KaJhDNPxhL5ILwM io1D1K+RNFAqWcNlMvl8BkzmBlmp9PGobl0R9dsQRu+mC90jPhjQ9ReCq9+WvDvLZjps riRfZNfyr5oMuWR7iP9ir4YTv+22IYGtwSDDTlL3tSCn+W+fkgzRMfpwHiu4YfwN2B+r 1s2yKyVo7zV04ix7/otninrtFS3W/U7TY9v02YTbTuq1qJEYSJ2CtOtNKE9+EO2QlS0C Bd7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=pIlHw2ogZ0XgpyT5a2fQLp9T4Ff6liHxHgKRmU9UO68=; fh=0py2NGOwSZ5UlEvQjF4yJGcfdM2AIN5hdEREIAG+uNo=; b=POw8DdBTQwiRy4ZrO/7/ZK5Kc0mrQ4hCNKd1uZfWKkwqXlRgmiE2Z+9RDkNrKWB9BB j7UtNIFCpr+UVnQO28Rqz87TP6lr0HxVawm12UBjPQmFIgwdhvZji3EsqJZVbxfvyESh UvH0tWmeiM8Qp50GfUpjL07lLfQG807LFEUjQ3jo5LbnoHW+ahF1YxloL81pp+8QszXS +IFms8cliBg+v67P6zsYVMfBvlMchLThlgpk2WmJanwzKbMY/ELyFURKAUwFb1JjJ9jp SAaCBltF5dl3sF2tnopcCDoQ7CKNbkTrSvFsijg//pu1HqwigRNBVcTPxofVRB9g93ah m0gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zy50hu4y; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x20-20020a1709065ad400b0096f6faaaa93si2337194ejs.223.2023.07.21.08.40.26; Fri, 21 Jul 2023 08:40:51 -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=@linaro.org header.s=google header.b=zy50hu4y; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232101AbjGUPgf (ORCPT + 99 others); Fri, 21 Jul 2023 11:36:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232063AbjGUPgb (ORCPT ); Fri, 21 Jul 2023 11:36:31 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 464693A97 for ; Fri, 21 Jul 2023 08:36:18 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4fbb281eec6so3435566e87.1 for ; Fri, 21 Jul 2023 08:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953776; x=1690558576; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=pIlHw2ogZ0XgpyT5a2fQLp9T4Ff6liHxHgKRmU9UO68=; b=zy50hu4y+HXxueSAWqaioPZ/HFVq9tak5ikmr/0sSrA+Rq7AVZIzMyzn9qscOMoQqw zAFvVgiee9jeBgQoXpm5O0HPCLJzAFUcSOZo0z9dWjrze0gJbVdxGsUdzRmeKEK0nxZ5 dG0POU+Ua2mBA1fCF5m9wmAJBnUfh7zURSmBoyn2A0HHCU2kfFZIAQyFl7yZ4x0EYHNk B8eRaHV1r7t+4Ztl9FxQzJNENo/UNoTycthj+JOKLyynaK8ocardD9swvkVahbyAcKCh pfkID7HYWMtOkcpyFrFd6/WYHfviDNRbfIRKMa+3EKs6DmNE7t+6oyBKPMPUfeJeleQb Sdbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953776; x=1690558576; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pIlHw2ogZ0XgpyT5a2fQLp9T4Ff6liHxHgKRmU9UO68=; b=H5YLEr2gN2p3q1DBA+hjYHs+3iRCqVrNrMsGPoQg3j9RqSWhCo50h/btm47eEN31LF HulWoN3ZXcARNCPl8vqqFZwc4ilk0NEvfLwgQA9vXqF2flFF4lqrlVuQ3tOWJEKXSJPx ZrJy/OzQzhU0of/pT/FqWCXqF2cwhoMk5P5eZeIuaq6hFHUaxxXma18RZnyBEic3sFIC y8i2CBqZxz2SNXR/scTvCYPnO0nKQxfYMjkQCToTR6kTIqOT5z1gchdayJR0C2NhQ2qN RT6GE+X/p2Aq4VaWhdRdIc93TZhUQuvGsBx0vkq3pYkj1mOrGwPFGoeWaJjWLx1buuQE +U6g== X-Gm-Message-State: ABy/qLZnUxEOk01b63sqshgG4sTPZ88proBc4ey0lNRznCjkvmR+crM5 E3SszbnnC6bHIjWN0X2cCxtiBQ== X-Received: by 2002:a05:6512:3603:b0:4fb:8574:a9c6 with SMTP id f3-20020a056512360300b004fb8574a9c6mr1443838lfs.10.1689953776279; Fri, 21 Jul 2023 08:36:16 -0700 (PDT) Received: from [192.168.1.101] (abyj181.neoplus.adsl.tpnet.pl. [83.9.29.181]) by smtp.gmail.com with ESMTPSA id t9-20020a19ad09000000b004fba1278e6dsm782535lfc.107.2023.07.21.08.36.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:16 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:07 +0200 Subject: [PATCH 04/11] arm64: dts: qcom: sdm630: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-4-cf6cd5c621d5@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1689953767; l=2861; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=x5jUKaqsfGb3BGvxA5arDndONjNA8AMW5HZIIU236+s=; b=i1jiSPly79RK6N25LvtFawjoXWgSozuAiQ8RdGoVUcl54Qspj5vQRhhzy/1arkek4JIHsfQuj c7iiqgymNtuCg7nHYgC4qlsgQT8RKPTJC+c4fktay7gFsWJNMFSactu X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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: INBOX X-GMAIL-THRID: 1772045259523739520 X-GMAIL-MSGID: 1772045259523739520 These clocks are now handled from within the icc framework and are no longer registered from within the CCF. Remove them. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 83afce56a7b0..5403e34c6cdd 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -605,9 +605,6 @@ bimc: interconnect@1008000 { compatible = "qcom,sdm660-bimc"; reg = <0x01008000 0x78000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; }; restart@10ac000 { @@ -619,18 +616,12 @@ cnoc: interconnect@1500000 { compatible = "qcom,sdm660-cnoc"; reg = <0x01500000 0x10000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_CNOC_CLK>, - <&rpmcc RPM_SMD_CNOC_A_CLK>; }; snoc: interconnect@1626000 { compatible = "qcom,sdm660-snoc"; reg = <0x01626000 0x7090>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; }; anoc2_smmu: iommu@16c0000 { @@ -685,16 +676,12 @@ a2noc: interconnect@1704000 { compatible = "qcom,sdm660-a2noc"; reg = <0x01704000 0xc100>; #interconnect-cells = <1>; - clock-names = "bus", - "bus_a", - "ipa", + clock-names = "ipa", "ufs_axi", "aggre2_ufs_axi", "aggre2_usb3_axi", "cfg_noc_usb2_axi"; - clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>, - <&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>, - <&rpmcc RPM_SMD_IPA_CLK>, + clocks = <&rpmcc RPM_SMD_IPA_CLK>, <&gcc GCC_UFS_AXI_CLK>, <&gcc GCC_AGGRE2_UFS_AXI_CLK>, <&gcc GCC_AGGRE2_USB3_AXI_CLK>, @@ -705,10 +692,8 @@ mnoc: interconnect@1745000 { compatible = "qcom,sdm660-mnoc"; reg = <0x01745000 0xa010>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a", "iface"; - clocks = <&rpmcc RPM_SMD_MMSSNOC_AXI_CLK>, - <&rpmcc RPM_SMD_MMSSNOC_AXI_CLK_A>, - <&mmcc AHB_CLK_SRC>; + clock-names = "iface"; + clocks = <&mmcc AHB_CLK_SRC>; }; tsens: thermal-sensor@10ae000 { @@ -2264,12 +2249,6 @@ gnoc: interconnect@17900000 { compatible = "qcom,sdm660-gnoc"; reg = <0x17900000 0xe000>; #interconnect-cells = <1>; - /* - * This one apparently features no clocks, - * so let's not mess with the driver needlessly - */ - clock-names = "bus", "bus_a"; - clocks = <&xo_board>, <&xo_board>; }; apcs_glb: mailbox@17911000 {