From patchwork Fri Jul 21 15:36:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13322166 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E89FEB64DC for ; Fri, 21 Jul 2023 15:36:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232069AbjGUPgZ (ORCPT ); Fri, 21 Jul 2023 11:36:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232059AbjGUPgV (ORCPT ); Fri, 21 Jul 2023 11:36:21 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9174335BB for ; Fri, 21 Jul 2023 08:36:12 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4fddd4e942eso3000961e87.3 for ; Fri, 21 Jul 2023 08:36:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953771; x=1690558571; 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=UTjKmbTUoKZtW5LXWjKkpdkle/49HkSEc09M87FklNo=; b=hlq0hxQUQmlpWkpjMS/jk9PyaX0Ik7KQwX8oy2OZUdcTwuiYNRECG7UkKxH2ABPysj vWvwhSGhDYvs++GCrr9t2E5H9F3+sWBA9+uuo3CYDngcdX6mjO6G6Slpo27mRQQyzVuD KFr1XBqUegbnX9ykut5XuXuHKvsAhghfh8kqbNIBfnEAesF0fp+KErDtylCtVKVw6Plv 47VGq4iaeGLaeIfIxGoq+HMOG9sLopDMnWJndJ3EpqxJ4t85wWa4fAwJ+IqkqhIhLFwt XOnnjz+G1W9GTAqTParvahWzMjoVzRH82Yn3TzcQsgY0pC7/aWeGBflqhfTR00wBt+GR G/NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953771; x=1690558571; 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=UTjKmbTUoKZtW5LXWjKkpdkle/49HkSEc09M87FklNo=; b=MYMvax/7X9daJMkvHQJIsqIAYSTYNUOkV4//k23IxV4ePueJMfwx7dDg/setLoR8FL efqaKgmQZqoE30Sj+z8vmjR18FjvDwhOXZ+uEl8RJ95RKCZofKi97wqiOysaqCg0CPkV /Jr/a2Mq+HAlExzbImpwVPxYUkwnxOf3xIi94Jx3i776igA8hSw7ZnkXuI+14wosK0dT Z4NO7RueceKE0oSDdfFx+JWMdFlLJneYtntcH98ThoVldvztFhB7dtF+hUbXb09sn1Vq HyzDgFAuJhG0SdK0AfXNI/SbXbr32TPzcnRjq+dE5mm5GeCiji+vMQJPCn3lBS+m0bQs lRNA== X-Gm-Message-State: ABy/qLb+u67h0GXr3qcM5kxsq/IwdRDnUvNG7XU9Ad0MY8ejLFc3f3Ov Ja8gvm4PFUp57eyr48PVJrU8dg== X-Google-Smtp-Source: APBJJlHUicZ6/ambRORd9BD9VLQhmImUJLHUmsPmbWq/5qT6U1CKYe1Y0KCUzOSiVYtMelndfNlhSQ== X-Received: by 2002:ac2:58db:0:b0:4f8:586a:8af6 with SMTP id u27-20020ac258db000000b004f8586a8af6mr1539094lfo.4.1689953770865; Fri, 21 Jul 2023 08:36:10 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:10 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:04 +0200 Subject: [PATCH 01/11] arm64: dts: qcom: msm8916: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-1-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=1386; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=+PfDB+JO1ckaONFZ5XbEDUUOVQudNaE7JPqu+DdyCuA=; b=oRqZ6bfcsvDVVyCCaM2/xP8d81Wrkj9U8zvNE+TTofWT7DIaecb3U97xNpFWLS4Ht4TR8YEB5 qU9L/iOANl0Aq5TMOw2WHPffz22Kdqf5jcoeuQy+kLQk9nwNf1vwePO X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org 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/msm8916.dtsi | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index c4d673904698..ffdb620f6a70 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -519,9 +519,6 @@ bimc: interconnect@400000 { compatible = "qcom,msm8916-bimc"; reg = <0x00400000 0x62000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; }; tsens: thermal-sensor@4a9000 { @@ -554,18 +551,12 @@ pcnoc: interconnect@500000 { compatible = "qcom,msm8916-pcnoc"; reg = <0x00500000 0x11000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_PCNOC_CLK>, - <&rpmcc RPM_SMD_PCNOC_A_CLK>; }; snoc: interconnect@580000 { compatible = "qcom,msm8916-snoc"; reg = <0x00580000 0x14000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; }; stm: stm@802000 { From patchwork Fri Jul 21 15:36:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13322167 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD88FEB64DD for ; Fri, 21 Jul 2023 15:36:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232081AbjGUPg1 (ORCPT ); Fri, 21 Jul 2023 11:36:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232068AbjGUPgZ (ORCPT ); Fri, 21 Jul 2023 11:36:25 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF960358E for ; Fri, 21 Jul 2023 08:36:15 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-4fb863edcb6so3348222e87.0 for ; Fri, 21 Jul 2023 08:36:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953773; x=1690558573; 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=G3NPnuiSNZUn11LWRbZ2MODGSya3GaAu8O7pEYeyDVM=; b=DE/ZPdRase7WTfWSEA9TOdQZa3d38SY0IUuQ+PtXCunHKthoPsnE5NACVmx5gVyR4y ga8k6/EXKLnQPtfmffSXaQ9ZlvcA0rRW6ld99S41Ua29vvqNwEOEcqPM4PU/m8zBG/mk qWwMrWVggOhmWe5Ae4sezHC2bb81SQ3LBkb7N7WQTjj9SODdH7HGR3hznVdoSlNYBNFz z73MF+myvNYlaRdgveXAyU97ofvtOpsNOXldKY9cRQQMk3AnkQzQjVXk3loM1SX6mGI8 Urng17AibZyc2HgwW1+JF4JwlHbHclRLje24JQtTtWQuoErwoDbm13eu2ziY4E8Xbxp5 j6+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953773; x=1690558573; 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=G3NPnuiSNZUn11LWRbZ2MODGSya3GaAu8O7pEYeyDVM=; b=V1XvL8aryeBg6wRU3T6ogMNEST0iU+89iUOgRn/Xf9jfk+IsepYqQfehSrRl8ts63F uAiKLVunelmB8WVM6x43P+ItSLpY0mS9XsR08w4VpJP/SyYTSFdzEDpzmXrwhYIEHPE4 Mx4jiIl3ytWHaK6JIEICVLgF2D8rWCAGsuGcEomuiYOIEAUJT9ZUtN8WVzvqeF0s6J2t ZaVNxuOWy9wFsf2RnZdLFXZ6sDQgKBckIS32MZQHdv2DO8u+UfjzhWqz59gRrsxp4AxJ yZ9gQlxX1RqlXUgzYFg5yyKjlqGkgmEcOVxs0qLmKQGNPe1ziSaSPbWl27qrMUQqXMSE IFdg== X-Gm-Message-State: ABy/qLaoYPSytGqYgl9HMjiJSX8O9cmcRHQmP3/JHlwU9j6FQyO49DPt tu+6jLmupc4jQSG0QiMd07EV7w== X-Google-Smtp-Source: APBJJlGO3EGsyLQ9CvV4g1OEE1jzrhCMzMfFuyk9Jk42JYsj0c1+IiV1WiuOFP8bRH755EcAnIKkyA== X-Received: by 2002:a05:6512:b97:b0:4fb:97e8:bc1c with SMTP id b23-20020a0565120b9700b004fb97e8bc1cmr2051339lfv.54.1689953772699; Fri, 21 Jul 2023 08:36:12 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:12 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:05 +0200 Subject: [PATCH 02/11] arm64: dts: qcom: msm8996: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-2-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=2848; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=jEC2qszgf6wzq6do5/+vqhfRa/a+2pz+WPIQyhPAgwA=; b=ZEFbgKrCPxnNy+DNrWd/Cxs9ehtwTfhte9Rt3QZRVcfa8eIiUIO8Vy6IKS7MmwtY3rGFqSWZu UmMd6EO2I0yD/mp+TkCVgMYGO8pAayTPawhiV9pfW6HhAzZBxUXCVg8 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org 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/msm8996.dtsi | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 440557c8eca4..0e1cdb5335eb 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -798,9 +798,6 @@ bimc: interconnect@408000 { compatible = "qcom,msm8996-bimc"; reg = <0x00408000 0x5a000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; }; tsens0: thermal-sensor@4a9000 { @@ -851,18 +848,12 @@ cnoc: interconnect@500000 { compatible = "qcom,msm8996-cnoc"; reg = <0x00500000 0x1000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_CNOC_CLK>, - <&rpmcc RPM_SMD_CNOC_A_CLK>; }; snoc: interconnect@524000 { compatible = "qcom,msm8996-snoc"; reg = <0x00524000 0x1c000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; }; a0noc: interconnect@543000 { @@ -882,19 +873,14 @@ a1noc: interconnect@562000 { compatible = "qcom,msm8996-a1noc"; reg = <0x00562000 0x5000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_AGGR1_NOC_CLK>, - <&rpmcc RPM_SMD_AGGR1_NOC_A_CLK>; }; a2noc: interconnect@583000 { compatible = "qcom,msm8996-a2noc"; reg = <0x00583000 0x7000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a", "aggre2_ufs_axi", "ufs_axi"; - clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>, - <&rpmcc RPM_SMD_AGGR2_NOC_A_CLK>, - <&gcc GCC_AGGRE2_UFS_AXI_CLK>, + clock-names = "aggre2_ufs_axi", "ufs_axi"; + clocks = <&gcc GCC_AGGRE2_UFS_AXI_CLK>, <&gcc GCC_UFS_AXI_CLK>; }; @@ -902,19 +888,14 @@ mnoc: interconnect@5a4000 { compatible = "qcom,msm8996-mnoc"; reg = <0x005a4000 0x1c000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a", "iface"; - clocks = <&rpmcc RPM_SMD_MMAXI_CLK>, - <&rpmcc RPM_SMD_MMAXI_A_CLK>, - <&mmcc AHB_CLK_SRC>; + clock-names = "iface"; + clocks = <&mmcc AHB_CLK_SRC>; }; pnoc: interconnect@5c0000 { compatible = "qcom,msm8996-pnoc"; reg = <0x005c0000 0x3000>; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_PCNOC_CLK>, - <&rpmcc RPM_SMD_PCNOC_A_CLK>; }; tcsr_mutex: hwlock@740000 { From patchwork Fri Jul 21 15:36:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13322168 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 28E4EC04A94 for ; Fri, 21 Jul 2023 15:36:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232073AbjGUPg3 (ORCPT ); Fri, 21 Jul 2023 11:36:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232064AbjGUPg0 (ORCPT ); Fri, 21 Jul 2023 11:36:26 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4D0A3A8C for ; Fri, 21 Jul 2023 08:36:16 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-4fb7589b187so3288472e87.1 for ; Fri, 21 Jul 2023 08:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953774; x=1690558574; 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=b23eYzPRJKfj2P2RQ046hOn1VBXib0tuiz6T1ABTWjw=; b=m/ZLkxH48+U9U5MMEJdxzIG2BI5fvCGMs4be8OrtxsS3A6KfNx7MfsTxM8vTccfZg0 BK9EfqH7EnU9UO0o62YN1dfCd9SOC4lVA1zlE/BY8g2JfMPtmfyr9OJz/BFtTyMp9JGF yTUYSL5EU95d0LAImaT9nt/IgMGmxcyWyE3cQkC/yu6FiHn1bN/lyw7q6XIsDqjW9nMb obOqRoFyUlWRB6GOdcZj65qMkjAQkW6EE0wNxfKjjpdnt6/Xnlz8KNeUHwDDVirSd2iY qS1wiXNMKP+mRklwjfEK/Z0vm5wTIqG+iSdWb+Qfn8nqhW723YaO8it2UB/4g/UiIe8K GNnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953774; x=1690558574; 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=b23eYzPRJKfj2P2RQ046hOn1VBXib0tuiz6T1ABTWjw=; b=X7f8Yzl18qk2WPR8EpICZ+IyE3Kj8Ak2t0ysfUgN0FcF2gdP6sCam6acYJPKktDPOD Nq9LsKsJdsSGdsTTXFH4lsvh9VdO6l59I6XqPcuyfARsr6PiWiBrHBl+WvDvP8EceMvi q+TK28q8fivHB4qVslz2eAFQVMsw7MwWz9x7Kt1jgt3holpcRgTrj9pLKgsoGy31vye7 Si6Fur3lyQVwXhJ/yFL5GRpZdXKwSylptXO9a9F7LTQ1saH6xbPE+x2pbqNOUVvI5u6B pC2CnWDPpJk95DJLgQ2ye8i0JMpqhC+HPUoRJNpKOagofAzYMkFTbXqPVYvHAZ1toHV7 DIcQ== X-Gm-Message-State: ABy/qLbEe2HIikn+6XYXvdt41O2SPzoz677IBeBCKNUqOTDTwbb1pdWb m2pk+5LtLKR3GSZ4G2JCKeEZVg== X-Google-Smtp-Source: APBJJlF9N4lgPuc/4ZoYANm5Fp2hPFTEh41Rqlap64Fs/qgLacZ1wW5/laxW8bOcxDMkXQAVEekXvA== X-Received: by 2002:a05:6512:3132:b0:4f8:666b:9de4 with SMTP id p18-20020a056512313200b004f8666b9de4mr1484270lfd.20.1689953774519; Fri, 21 Jul 2023 08:36:14 -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.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:14 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:06 +0200 Subject: [PATCH 03/11] arm64: dts: qcom: qcs404: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-3-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=1392; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=elZw7s7ezQcQPS08Afo835usJgWljovasVimyqG1X8E=; b=E0x/lqoRdgU6x9IiGi7wJmdN9MbG1T7aO90Yhahxt2aQ8J98bbw6d68Gi8wzE2p2u6YBOGyjK SH9hSUtq64gAdhLtrdGiAedsdebBYvjGb21swEvXT6fF2gcWQN3S8HI X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org 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/qcs404.dtsi | 9 --------- 1 file changed, 9 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 2721f32dfb71..317a0df30b83 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -558,9 +558,6 @@ bimc: interconnect@400000 { reg = <0x00400000 0x80000>; compatible = "qcom,qcs404-bimc"; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; }; tsens: thermal-sensor@4a9000 { @@ -601,18 +598,12 @@ pcnoc: interconnect@500000 { reg = <0x00500000 0x15080>; compatible = "qcom,qcs404-pcnoc"; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_PNOC_CLK>, - <&rpmcc RPM_SMD_PNOC_A_CLK>; }; snoc: interconnect@580000 { reg = <0x00580000 0x23080>; compatible = "qcom,qcs404-snoc"; #interconnect-cells = <1>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; }; remoteproc_cdsp: remoteproc@b00000 { 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: 13322169 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4F07EB64DC for ; Fri, 21 Jul 2023 15:36:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232090AbjGUPgm (ORCPT ); Fri, 21 Jul 2023 11:36:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232075AbjGUPgc (ORCPT ); Fri, 21 Jul 2023 11:36:32 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BA1B3A98 for ; Fri, 21 Jul 2023 08:36:18 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-4fb5bcb9a28so3429490e87.3 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=E9WyGsdoLd0pceGcFqpOVCEF51t6SsNnO3YASwwpa7eL1z/iRZXsEY/DOgBKBrDSt3 seqkz4Z/2Mo2aBHa04hPxliMG9d5Sl7CG8uDw6aJR7zQCMmKLul8LaGwHz8av6O1r9zb /CMXA24COcMYyegGmUFqYFMh7USQSgALlEW3zDSrEHAB6lkxgnZuU/8wf70iNF9wxKEy 5807dRHRF+U4uwssjJq+OA2bjrVnpxkr69rnz3g6XsYjFj6Oj3PzaT4ScW5eP4mgSm4v dIlBMQBxqyHEQo/zgFOmrSQCILuwrFHcQd+NlNHC4qnzaDLHCMVv/MjPtvdVwsFDW3nn DIaQ== X-Gm-Message-State: ABy/qLYFyn7BkSuRcEzrPkeP55fAyI6/W/6oyUbKcsW8DDWX+KBGaYZL r0UCtgMrMizf1CWuzWmO9xA9GQ== X-Google-Smtp-Source: APBJJlG8xBryGK8/dGCwSMOVdi4y4DI4csUl0P+xY1wCqYPrAZHxrxgxRinev+6MibVUv7J4PLPy9w== 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= Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org 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 { From patchwork Fri Jul 21 15:36:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13322170 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2548C04A6A for ; Fri, 21 Jul 2023 15:36:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232100AbjGUPgn (ORCPT ); Fri, 21 Jul 2023 11:36:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232082AbjGUPge (ORCPT ); Fri, 21 Jul 2023 11:36:34 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2DCB33A9C for ; Fri, 21 Jul 2023 08:36:20 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4fbb281eec6so3435614e87.1 for ; Fri, 21 Jul 2023 08:36:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953778; x=1690558578; 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=MB9Hz9FYPbHP1/W1q13iV8rm76UZfJcQNXKd/dkkVV4=; b=PBwgqH5UsJ2Tir9LjymDjGIGJh7NpbtFg1oe6fWQPBpo4ZJvupNFBFkcblcl/aHcFM ixQyEd6V+58qPVE5KGsykpCF5VZt8y+3xqWmgMHjkmPs2s82pDvAv5zqhPbQRaanH/Mb ariCTuIiP+TxpBUXnblBxC7e1KsvlMZDhrMx8Eu9P0ZABovbk/xdj+sSFtWX3YNrSITP 1WApMUG61hJUq4mw/uyBjRt9/eguw0gnI9FR02sb0Xw/L0C2virGAWHt6Z3PSf8sBYiR m8y12WO7g71kY0WGgVnPphyo6svrUgabEwdu8tQgHucW80P+LO2F5QUA3w4KI4f7fEKO h5Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953778; x=1690558578; 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=MB9Hz9FYPbHP1/W1q13iV8rm76UZfJcQNXKd/dkkVV4=; b=Hb1rJXc2lAmxX/AG+iVRA4huI/EPEfDL4SUmKih17c9IzeYPcai73FcWPivdL5isXq v2jT18PfGCZ6S5drv1XEqvp8KZV4J+AujUKcJwZF6wTIuNc0CAoZWY3PXBOyN4lPD5x8 zpst8mM8XEekbrCKZn5lsFxddTIn+VwbIQKfLFD6uKL24zkNbLsklT2MoyvtKL4FTflc uRlacN9M29BgMY+ueKNpq7j2CbopQauYTGfuQE1rbewn4kyzhjUOjIjf3dQk30WFK7H1 5mQf/JQDo17Gt7cQYRMVz2ek1X4KQmfiVGeXRwAanoJYlr62Zw8UnKJdL3ukTYL9JyKr rrNg== X-Gm-Message-State: ABy/qLZ3n2gfukJAkjEquUP8GVkvy0Z3SSiYbNVEFENz/Ox/P/b6GDLO qoBkbPPD0qIXaGpH2zHoEdzPBQ== X-Google-Smtp-Source: APBJJlGKbxuPWdpk5M+a/pS8k19St1fgwVbyB6Xhgje82zzWPijAskOnKT0wuq37AcMCusb4fnhcEA== X-Received: by 2002:a05:6512:318f:b0:4f8:64f5:f591 with SMTP id i15-20020a056512318f00b004f864f5f591mr1857858lfe.12.1689953778114; Fri, 21 Jul 2023 08:36:18 -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.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:17 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:08 +0200 Subject: [PATCH 05/11] arm64: dts: qcom: msm8939: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-5-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=1626; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Qeg4jsP0LQ/xvq/rRMXQUJjcZLqeOYzSjY7Gfujapnc=; b=02lxiOlL+/xa6zGsUINMMoPp+4N7qV1gFmQPH61era91armyXFuLHVVIQGitrFPRQLNrQ/dy5 UzE7nxTsWSQAJhLa8OpmKh5dgD4M5DNQtWgNTqIi7hbpdBjzO/YPWGL X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org 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/msm8939.dtsi | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qcom/msm8939.dtsi index af6d644a5d38..a1fda6db0854 100644 --- a/arch/arm64/boot/dts/qcom/msm8939.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi @@ -581,9 +581,6 @@ rpm_msg_ram: sram@60000 { bimc: interconnect@400000 { compatible = "qcom,msm8939-bimc"; reg = <0x00400000 0x62000>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_BIMC_CLK>, - <&rpmcc RPM_SMD_BIMC_A_CLK>; #interconnect-cells = <1>; }; @@ -627,25 +624,16 @@ restart@4ab000 { pcnoc: interconnect@500000 { compatible = "qcom,msm8939-pcnoc"; reg = <0x00500000 0x11000>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_PCNOC_CLK>, - <&rpmcc RPM_SMD_PCNOC_A_CLK>; #interconnect-cells = <1>; }; snoc: interconnect@580000 { compatible = "qcom,msm8939-snoc"; reg = <0x00580000 0x14080>; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SNOC_CLK>, - <&rpmcc RPM_SMD_SNOC_A_CLK>; #interconnect-cells = <1>; snoc_mm: interconnect-snoc { compatible = "qcom,msm8939-snoc-mm"; - clock-names = "bus", "bus_a"; - clocks = <&rpmcc RPM_SMD_SYSMMNOC_CLK>, - <&rpmcc RPM_SMD_SYSMMNOC_A_CLK>; #interconnect-cells = <1>; }; }; From patchwork Fri Jul 21 15:36:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13322171 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 141DAC001DF for ; Fri, 21 Jul 2023 15:36:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232137AbjGUPgp (ORCPT ); Fri, 21 Jul 2023 11:36:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232085AbjGUPgl (ORCPT ); Fri, 21 Jul 2023 11:36:41 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F10FA3AA2 for ; Fri, 21 Jul 2023 08:36:21 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4fb41682472so3354417e87.2 for ; Fri, 21 Jul 2023 08:36:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953780; x=1690558580; 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=p2sN1njN3aeHCAhuuWcfUvrdjTvaL2oixQsZ2bpyQ1g=; b=nwWa2FU+6xGFTb3c0+5Rw12YB2Orvv6qTfFZI+1rqyCYs0UHMtNYhrd1kVNvf20sQL +aTOI9oVRWdgnLBM+PgX31KzW8GwdzgcEgdINEvgc7zVjLfck8nQlnmbHSROPhTXz96S BcMgpaPvOuyBeTdfmRtPvsDARzSPNSeTnQ0PSQS64nB9fJGyrFdX5OVM5/53n/ylX7fO hwKnFylzoklJu5Ge0CTpmbSmsVqRotjye4r5mXDdq4CJWwGuntiZouKbzFrqclu3mh+d G8yPSxe/FPLyfGRkWgRDdRGlSBLBu6A8KuOlCHHWKDFbkiv1P6yVvDmVOCdbufE3CXzx e/OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953780; x=1690558580; 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=p2sN1njN3aeHCAhuuWcfUvrdjTvaL2oixQsZ2bpyQ1g=; b=W0mmAK8XuwPFDTw1JMKS/4Gwo9vIfiHlB2jjQ2Q/T3i9/0yd+OqPZeYjddn7Z7OvJI N9mXhl6ESX8HQG0yauGJKdo0NP4x67RQxs4HhyBz4GVn8MiNVBkklTo1sCB4T+rvoecf Q/yOIVXmZMPhkGFaB8MiTSJRb4So7SNXaHLHBh4uKPeb3xiL2g4MwPlFa5JnkFfhwb6P xJE5xN4tkQvsdxTpcctE2LLGnLNHC+jaipWG4yRi/NfyuxFvl8XCM3zvytNWIPfVDU7Z 53Hvl22Sijl5phNrMPh5P4vD/eLk5B6P2L8HGul+T6XywKdLdlUuz9s9ItlDXwb+Jls8 E/uw== X-Gm-Message-State: ABy/qLZPdKjrtq1LS6DBB0ILGt+zGL6miOIoLG/e+2zRwjqXgwfeF0Vi 7NOk53D/L3hCQr45Laj04jNYGQ== X-Google-Smtp-Source: APBJJlG3j+ZtgxMplO7elJH3Ooo3khnM26eg1JS5adtIIzCxNqnkQ8D3XCNduTmHk6RRLjoJta5Oow== X-Received: by 2002:a05:6512:542:b0:4fb:a0f5:d88d with SMTP id h2-20020a056512054200b004fba0f5d88dmr1448884lfl.42.1689953779916; Fri, 21 Jul 2023 08:36:19 -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.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:19 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:09 +0200 Subject: [PATCH 06/11] dt-bindings: remoteproc: qcom,adsp: Remove AGGRE2 clock MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-6-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=926; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=L25Raewd+bgyg8nTW2NMSC0ps463tC/549ws6HCFPTc=; b=0HK9G06u6teuw92h8C3XGl3h5n6kyB7MQf/OmcF0h/Z/U9wvqekT9QS+HVI6yorSL5dKuRvsO trc0ucmNv7gCj4PY4L+1ekZFitQD63iNCSEqxRxirHFJ7y3NONVTzor X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org The AGGRE2 clock is a clock for the entire AGGRE2 bus, managed from within the interconnect driver. Attaching it to SLPI was a total hack. Get rid of it. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index a2b0079de039..af78f76734db 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -91,11 +91,9 @@ allOf: clocks: items: - description: XO clock - - description: AGGRE2 clock clock-names: items: - const: xo - - const: aggre2 - if: properties: From patchwork Fri Jul 21 15:36:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13322172 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4E9DEB64DC for ; Fri, 21 Jul 2023 15:36:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232140AbjGUPgp (ORCPT ); Fri, 21 Jul 2023 11:36:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232117AbjGUPgm (ORCPT ); Fri, 21 Jul 2023 11:36:42 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78C4E35B3 for ; Fri, 21 Jul 2023 08:36:23 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4fbaef9871cso3376089e87.0 for ; Fri, 21 Jul 2023 08:36:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953781; x=1690558581; 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=MNUICTxnlbcuu6TsxJcDmPsv2jDduZwKIbr4jq2nPiE=; b=FxO8nHJ9tGXbB7IfuT1CmevZoQZXsNk5VstzgldyuWmH8QjicpW5JXPIu9xtfvLm9a suUn7BufbjSbCYuTfPRR74yso2UY7LrNZ8H7zo5UOFdmZFf/wZSyDsDTO3bIVfHmFEG7 Tb+i1Fimkhh0Sk/GKrfyC7a4HW4tgbbpcVcyMn3LqPwK6wP9sCj8T2ThLR+EjQrn7tr+ XTxDxLLt5Pg5UGTNWS93n/+BShi7kU9qD0Z3MCr2q+oTljrjTnGPtJU4UMPBtArmtLlM ByYdk10cMuPejfwfrmh3Ezo7UzhNye/KNP9uy6sQnPE0m2GVsHv4xbcD6flxKDxxxoEk cjVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953781; x=1690558581; 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=MNUICTxnlbcuu6TsxJcDmPsv2jDduZwKIbr4jq2nPiE=; b=KOffeB7rZQmRi30ByEKfEl4mdjeCGB+irLXRzrZJeMFnTBSPw9PwZw6YnmArineC85 L6aWXkaIANB3/MSMBC1fHnGklS/seEJP+MGpp31yu4an1FwQnDnk+vNxUHZOdXEunNTn hMxb1bRVqw7DaJXf9w8qC7yVRCL1UbuzlcCAxiLXgHKn2uB9J5bN/sM/7KC/44cnCD4y hx6VZufBRybTMabELWSPNtqFimNF7V85sFVcIw3yopNTUtttWlfBd+GsOsof33ABvPsj C6EmzIhZ2HktI84odcncOdUlRXkl+mZRIS5HInZ4zH2PerqdK/ywkFiOCyCaBAJ5tuS5 Owlg== X-Gm-Message-State: ABy/qLaTvcKSWC8jShtuLkZXslUS96ZYdKZ7O/lNqjA0uAbggIh6kVSC WFMqQVUnLNCqu5a7TUpULTHpxg== X-Google-Smtp-Source: APBJJlExmYhLxeeaOdBaiERFqCcHbHWYrFzCi9iuKfhw8e44eeFGcg1b8vJ25CzMerA7teNU2vK0Sg== X-Received: by 2002:a19:ca1b:0:b0:4fa:d522:a38e with SMTP id a27-20020a19ca1b000000b004fad522a38emr1558937lfg.35.1689953781726; Fri, 21 Jul 2023 08:36:21 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:21 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:10 +0200 Subject: [PATCH 07/11] dt-bindings: remoteproc: qcom,msm8996-mss-pil: Remove PNoC clock MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-7-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=1239; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=jKrBSqmQqDi2ZJyNjrxGcg/2wJRcACv9okZf11mQ+SQ=; b=7CV1L2V2H/dnJ6ctd3ChhF6D1IGCFWOas9FFBVWupM2vsh9QTQQm+vwKIQ/MRsBI8VBtz9Rn/ EN3vk9syzBUDZMsg+F92NGAADpPy4u0EmxltXCQYU2tWBS4jCrnp+Mv X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org The PNoC clock is a clock for the entire PNoC bus, managed from within the interconnect driver. Attaching it to MSS was a total hack. Get rid of it. Signed-off-by: Konrad Dybcio Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml index 0643faae2c39..971734085d51 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,msm8996-mss-pil.yaml @@ -220,7 +220,6 @@ allOf: - description: GCC MSS GPLL0 clock - description: GCC MSS SNOC_AXI clock - description: GCC MSS MNOC_AXI clock - - description: RPM PNOC clock - description: RPM QDSS clock clock-names: items: @@ -231,7 +230,6 @@ allOf: - const: gpll0_mss - const: snoc_axi - const: mnoc_axi - - const: pnoc - const: qdss glink-edge: false required: From patchwork Fri Jul 21 15:36:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13322173 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EAFD0C001E0 for ; Fri, 21 Jul 2023 15:36:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232167AbjGUPgw (ORCPT ); Fri, 21 Jul 2023 11:36:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232063AbjGUPgo (ORCPT ); Fri, 21 Jul 2023 11:36:44 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE58F3595 for ; Fri, 21 Jul 2023 08:36:25 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-4fdd515cebcso3292011e87.0 for ; Fri, 21 Jul 2023 08:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953783; x=1690558583; 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=6rR9bzwL/2EkjM64V2HNSB/hpDB3lc0to9f2fDn9XL0=; b=LzF+FGPmInmULJlW7yDmvDB++/MvRzyeazoEDUmCXBJyaJRnf7rvrXEpLPHM7s5gog XWdqhIZwheqmaD14OfyzBqFJoAktX75WHALLYU5SzrqnXS/qYz/xmrZG4DP+Rs9lAAud dCh+6eIga/xcW7LVO4Z0suVU1xck/FAbGIyQ+mPE/isw7ME1tWV8b4fCq0+SUuICcK6p YbmmmyskhBK11jBZpUqqph7kZ6mB/4sV9+ay4lq64zuGCuNuTiOVE8eKCrT1bOpcAYdF TfHrAZh5Au71pBCnnBq1AxCUXpcd+PyNq5tLHOR8T4mhMSym2J0ouzN9XQbToF30CqlQ 1/9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953783; x=1690558583; 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=6rR9bzwL/2EkjM64V2HNSB/hpDB3lc0to9f2fDn9XL0=; b=TeMSVQMCI8SfqEtIOcxRpg+KPDTks1dz3xTJph8t/UWt7rUdSPEvkiDI27JbsZ8Bq8 uPDMfqsTq8/oXmVxFK2COHgF2dFt2S3t4PyGvCnEwz663MZW6KDFA/BoaZ5oLyleW1Vs GN3+1SF65j+HnmXBqV19aNE/sH5LxpwUyDWbo/Z3f51y7vIXCTVrduuIX4G5QYRd71vh PM7ebKVqRFX4/meUGqqPentLa+vOHyySvUA+M+vaGdSyWv7SEpG6rhueEgySZs7q0W8Z RB65stR0ggD36FNxLl6wFqcMWe4FcsiWzpUo3V13X91UEiXkFLhapcvyl7ersh9N7KQ8 lMgA== X-Gm-Message-State: ABy/qLadYs0B7Aamo9Ial2iXMJgUhepGL7l266+jE/jR4EykWb8Isb7l r5nphHZXCmdipLZ/8xmDawj/dQ== X-Google-Smtp-Source: APBJJlGGpUFVAT50ZUpSNGeOzHAlhQmE59L1qr/By3RprhWo4YzVMiVtgECA3+HlhiHHnd3Wq5Ixnw== X-Received: by 2002:a05:6512:702:b0:4f9:556b:93c5 with SMTP id b2-20020a056512070200b004f9556b93c5mr1625685lfs.40.1689953783658; Fri, 21 Jul 2023 08:36:23 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:23 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:11 +0200 Subject: [PATCH 08/11] remoteproc: qcom: q6v5-mss: Remove PNoC clock from 8996 MSS MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-8-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=688; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=ByX0ALLp37/DmAcaRsF7N8pVxnlU+a9qrdni9EQxdYM=; b=7p9bN2xgsTSOoe6mRmgkKaeIuKX3I7onaaEaaEH3tcMwnDer0NB7Tf5/plVjt2RYiyYxCUXjv oVegS/72310Cy0Hjat0h50d2oPqaAYLvdpqEB5KIcC2M0QMa5DjzgGI X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org The PNoC clock is a clock for the entire PNoC bus, managed from within the interconnect driver. Attaching it to MSS was a total hack. Get rid of it. Signed-off-by: Konrad Dybcio --- drivers/remoteproc/qcom_q6v5_mss.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/remoteproc/qcom_q6v5_mss.c b/drivers/remoteproc/qcom_q6v5_mss.c index 22fe7b5f5236..394b2c1cb5e2 100644 --- a/drivers/remoteproc/qcom_q6v5_mss.c +++ b/drivers/remoteproc/qcom_q6v5_mss.c @@ -2322,7 +2322,6 @@ static const struct rproc_hexagon_res msm8996_mss = { }, .proxy_clk_names = (char*[]){ "xo", - "pnoc", "qdss", NULL }, From patchwork Fri Jul 21 15:36:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13322174 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 124A6EB64DD for ; Fri, 21 Jul 2023 15:37:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232113AbjGUPhB (ORCPT ); Fri, 21 Jul 2023 11:37:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232102AbjGUPgq (ORCPT ); Fri, 21 Jul 2023 11:36:46 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0ABB30ED for ; Fri, 21 Jul 2023 08:36:27 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-4fbb281eec6so3435856e87.1 for ; Fri, 21 Jul 2023 08:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953786; x=1690558586; 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=Ytx6skollgD4Zg1m5VdiBVnUPGosx4aLRWdCtyILU8I=; b=bJ2VhiB4MPs4/cBw/DhYOWkp86OW+Jklj4kSu6REZPu6cyuBahnV4yU9CzAB8j9Won 0QJd6/d/wU7/UvV9ezY55CuerAmFwKpFte62LGBUI6xnySv8ixAikibWOrYOxVil2Z+M 7Qn0Oi6XDJfHip4fDt3qxo2RvLbP1q78pmjjAvKpiwOmrAGWVT77EV3cUgeMaoWd3eah kk4QX9L7H3hMySjcnPW7br+sfPXxjq3b1NmTjqs6PsDD5Hguev+Ugf78S74l+wWCz9jX 3PFRGwrAtNzRMeb17W1ULOECySQbJ4qEq8biDFjQK9Vo8Bzu13U6/aKWmwcVd+SKiS46 t/fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953786; x=1690558586; 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=Ytx6skollgD4Zg1m5VdiBVnUPGosx4aLRWdCtyILU8I=; b=XkIEs1Rrc6C0qITZIfM6Z9MInZRFYTeEgOkUXLl43hseujo5a+GOXRJFqyYMpxGSFg PPxamLgNjFhWTpjdYTw6CnQkv3ouExHsuHyWh5KYQg5gM8rQVEpHWvO/fesC0xVHjJHU o0odv4f0vuOupjbVJ/pmebOAijiJY0NH+1gGDDrBEUmJ0mKusQV77ZqBaKO/xKcQrUCc 5fRheMcT4dpaUUb6iPP0ryTWo5KBuqhruhqXjUAjbBZEzofjolObqlbqxNbor6xbVald eRIdMIiqpaz8XV6voI7u66KEIxjdeOza1Or8LzJI9oSRBqCuhJwjWuNrDfwBKwgje7kX coKw== X-Gm-Message-State: ABy/qLbcGlT/+HvPyz/dK67IWDULwDRhluPtyuTvJOOxITHnlUNxHUe2 Whb9codm/L/OMnvmzlIqyDYRIg== X-Google-Smtp-Source: APBJJlGBsdMAo8vkO9FRjMoins0r2QRHghORQuVx+7R45F8dOTdw1ULKkbpPfR+FlaVpXMMG3um2SQ== X-Received: by 2002:ac2:44c5:0:b0:4fb:85ad:b6e2 with SMTP id d5-20020ac244c5000000b004fb85adb6e2mr1570162lfm.50.1689953785787; Fri, 21 Jul 2023 08:36:25 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:25 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:12 +0200 Subject: [PATCH 09/11] arm64: dts: qcom: msm8998: Remove AGGRE2 clock from SLPI MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-9-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=889; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=yoWJ6GJyGYGui/AX8S84WLQnnG8TcTYdKofjI0ZYPxM=; b=sOTxyrH/SrdxXhWJ/GGTUPkJKWi2aeEF4LleEEjzYHyZQp8h2j+VrdYpbCzqLlQIzfaFHn7YB q0/mOioPakXDdWdhGitCOCXbjVgOF4uz32zBf81FjD/dNXKo5Gzn9ci X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org The AGGRE2 clock is a clock for the entire AGGRE2 bus, managed from within the interconnect driver. Attaching it to SLPI was a total hack. Get rid of it. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 360fe3edcc08..547c3f9654a6 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -1599,9 +1599,8 @@ remoteproc_slpi: remoteproc@5800000 { px-supply = <&vreg_lvs2a_1p8>; - clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, - <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; - clock-names = "xo", "aggre2"; + clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>; + clock-names = "xo"; memory-region = <&slpi_mem>; From patchwork Fri Jul 21 15:36:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13322175 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB94EEB64DC for ; Fri, 21 Jul 2023 15:37:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232143AbjGUPhD (ORCPT ); Fri, 21 Jul 2023 11:37:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232159AbjGUPgu (ORCPT ); Fri, 21 Jul 2023 11:36:50 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5B083A91 for ; Fri, 21 Jul 2023 08:36:29 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4fb761efa7aso3463255e87.0 for ; Fri, 21 Jul 2023 08:36:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953787; x=1690558587; 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=13Rk7PvVFVgZK5/Lw6qbyP9+OCjNsRZI/rlhzen0zEs=; b=bFqce4tOxRhS79xNa8XdfoI8bfrfZj7bVLuLQJ997jH83CCHETDazhJLM1T5cdgxmM mn6WfH2AEocg42ZQUfZsqGTRl/vTr/VBHpMsrFaEp8BkW2BpJ6nX1HxlNTnd+Qh6C7ZB 8VclWolHj2b1BLXJh+0dk6YS/yRvnwQdZHWNQASWlBjTKBtgfARQJP8IGLqo5UXkePU3 ITm65ItIj2eYO3X7bBmteeZ1aZ7Ket/3ghR4Me7jv1+wS5sTvsufRNJP376S48Jp0o2C Ldkjjqd47kwjpfQgTfJaDIltr98Wj16ENfqPxTmKEmMTfP5m1nRKQQLbEWvK7P/4g437 g+Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953787; x=1690558587; 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=13Rk7PvVFVgZK5/Lw6qbyP9+OCjNsRZI/rlhzen0zEs=; b=joCThYIXoa4O1wcR2qliQvqpq72jO5ZSut7LfolX+3jdrjwiwZULwL+Ty7bcC+EZ6b Le51ScoXbCOMarY9o3B101a+W7TTnYF+k2LSJFRE90RX9psvmPP3FEChbVa2dg/5nu7n Hz4YzxrKWc/ICi6iJWzJuoV77RttCxS7RopC5Jbw4Gd0DD+DmJunzf2LjNn/opVy4Wmv rCAKs0h51SOs4TCfFvrB948KM8x3vuE0mDhXGJBefgg+jQ8+SAO5FBRTbDiuliRP+4T1 sizyB8f/trb6tXdh0+g1NMyBrNqd6UdJCbfYAL/MEZKfEn6GVswXevhaaBkK0NsgUcZA Ve0g== X-Gm-Message-State: ABy/qLasDOzfdERYFRMfJXz5sMWNwarPoDXvrKxioOPcfWjnP452NVD2 EB3CYH0MqKExhfF1IWNfY0yjyQ== X-Google-Smtp-Source: APBJJlENs02T2o88jYqblKOTzLm3XOslc8hnQvsNXrUU2w8srbiPqe5hxM++s3Z2yuyXb/TqAUSs7g== X-Received: by 2002:a05:6512:1095:b0:4f8:cd67:88e6 with SMTP id j21-20020a056512109500b004f8cd6788e6mr1581174lfg.44.1689953787678; Fri, 21 Jul 2023 08:36:27 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:27 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:13 +0200 Subject: [PATCH 10/11] arm64: dts: qcom: msm8996: Remove AGGRE2 clock from SLPI MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-10-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=853; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=UyucyOzYTTTxD70LJmIkWWdISyHLh4eJOt7zI+SIcSc=; b=SGaVWPNOwmDWM5smDku4+YSzJd6XCRol8QjB7HGBG4KbxEUG8XuLd31PXbP1vd5GvmUWy5bJ6 05VGfY5ItaxCHgSeRCPhqSn2qdl0YCnUhPDoeVgqC6r6XlCP0W3gulg X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org The AGGRE2 clock is a clock for the entire AGGRE2 bus, managed from within the interconnect driver. Attaching it to SLPI was a total hack. Get rid of it. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 0e1cdb5335eb..ea383cf178e5 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2433,9 +2433,8 @@ slpi_pil: remoteproc@1c00000 { "handover", "stop-ack"; - clocks = <&xo_board>, - <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; - clock-names = "xo", "aggre2"; + clocks = <&xo_board>; + clock-names = "xo"; memory-region = <&slpi_mem>; From patchwork Fri Jul 21 15:36:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13322176 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13253EB64DD for ; Fri, 21 Jul 2023 15:37:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232115AbjGUPhO (ORCPT ); Fri, 21 Jul 2023 11:37:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232177AbjGUPg7 (ORCPT ); Fri, 21 Jul 2023 11:36:59 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA2953C14 for ; Fri, 21 Jul 2023 08:36:35 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4fdd515cebcso3292159e87.0 for ; Fri, 21 Jul 2023 08:36:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689953789; x=1690558589; 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=THWAX3w743THTEhVYC5N88ez3dLwO2Lk8YrPTbQ2uWQ=; b=Zc2pDHMnn+104eUpBLq+IK/vl5PgS4HF7L9+eNw2EtkAJcuH8mb9D7G/BuWx0gcFvu 06uV3Id7PyGHg/C/ZDo7AnVSBj+w2NMPvzZRSCh49MShJQ17hgRrRpV9FHGZd6kAZoOW 4dsrtaeQupndBerbg8lRZ+NmIEUgN5/1HJGLHD337h9neNPms1bRaZrUW9HNKxxPuG1n msWDEuhsrAPu67IyYMdsYgCLANkqzLZS+o7iXhgXamtXqrySAbaYa7KlFgcPG5+JuGkJ QLi9jy4o9EMOXL65mRewfPQW56Z+WbE93NUTmQ+Uc1dfDE0XA1p9JxmEXNziaUSqBgC3 igXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689953789; x=1690558589; 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=THWAX3w743THTEhVYC5N88ez3dLwO2Lk8YrPTbQ2uWQ=; b=CuLnmYbFGCZ05Lo817DjhWk/I1QISNAY160k0jye4V/c1jT6Yh+p1kJgYQ7tuqALw7 k9Ojdaouq1mfXMHRdmvFV9+UygYk2XCFSGIXa/MYw77L8XUdC/ba2Dohyi9HcUp5Bqur ckxXb0l+8XYKL0C+bRALDH64J1fSEgo9MrEm2ytIotINbXdBJMqx2eR5WjgrZGN/xZtr T1WTRL8FOl7JhzMT8u+sVPVVm8VBsXoNzQmErXA0bZG1frqH1Q+gg1MZqoVb7savcZ8K tEI5/qrstoQYgN9T1ULD3w/KN9TuhbG92NgsONumH6dd/E6uJJ6fBBc2Vbinwey5UCiV UVPQ== X-Gm-Message-State: ABy/qLa+2oA53DTVXbhof4uLd4PaefaNX8f0RltVyo+ZuTn1yfM4p9Gd 9yW/nXvnaR1dzlQWpD2rIymzSQ== X-Google-Smtp-Source: APBJJlE8tpqE68Oa+XHHjtZnlNpYARNe7ZorUHlBo3TbY1Bh9Wv1LCKQTVObw/kEzFp/FWmN5Cq0aw== X-Received: by 2002:a05:6512:702:b0:4f9:556b:93c5 with SMTP id b2-20020a056512070200b004f9556b93c5mr1625835lfs.40.1689953789515; Fri, 21 Jul 2023 08:36:29 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 08:36:29 -0700 (PDT) From: Konrad Dybcio Date: Fri, 21 Jul 2023 17:36:14 +0200 Subject: [PATCH 11/11] arm64: dts: qcom: msm8996: Remove PNoC clock from MSS MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v1-11-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=1234; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=xqAfmjv9xDFyldEQr9RhjbH5IIr8X8QxVfvrmazKooA=; b=3lyZ2+1Q8TRZMiUiZuvJKYOES//5KM1Ad8U/fm+UjV9QIYWZex0N+CGh9q2FjP3VxOyVP4X9x SNYkK+emC8NCHZ7e5boM8NG4dOLFGKHU+EMOdAT7h56v4f3Yy/xClW+ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org The PNoC clock is a clock for the entire PNoC bus, managed from within the interconnect driver. Attaching it to MSS was a total hack. Get rid of it and take the liberty to make the clock-names entries more readable. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index ea383cf178e5..3526a88bfa5f 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2479,10 +2479,15 @@ mss_pil: remoteproc@2080000 { <&gcc GCC_MSS_GPLL0_DIV_CLK>, <&gcc GCC_MSS_SNOC_AXI_CLK>, <&gcc GCC_MSS_MNOC_BIMC_AXI_CLK>, - <&rpmcc RPM_SMD_PCNOC_CLK>, <&rpmcc RPM_SMD_QDSS_CLK>; - clock-names = "iface", "bus", "mem", "xo", "gpll0_mss", - "snoc_axi", "mnoc_axi", "pnoc", "qdss"; + clock-names = "iface", + "bus", + "mem", + "xo", + "gpll0_mss", + "snoc_axi", + "mnoc_axi", + "qdss"; resets = <&gcc GCC_MSS_RESTART>; reset-names = "mss_restart";