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: 705354 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 63812C04A6A for ; Fri, 21 Jul 2023 15:36:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232077AbjGUPg0 (ORCPT ); Fri, 21 Jul 2023 11:36:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232062AbjGUPgX (ORCPT ); Fri, 21 Jul 2023 11:36:23 -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 9A3173580 for ; Fri, 21 Jul 2023 08:36:13 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4fbc0314a7bso3272373e87.2 for ; Fri, 21 Jul 2023 08:36:13 -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=MK+rK6lFFw/dGwRGh4VjBdQ/J6uKRYT9wwO8p2WSjc06uJxQixVj2xtuBBQrojKfPK 0bfcgm1WCMOOjrGrQZuKMBs8bJflfXx1PSbcYtV63j7X1F5YXtRgrGnrx+S6ADQtWCts D2se00T6Pm7QKM46W48ngrS/UzD9XJ8S4Mej3p/ilTqBer4+gXEYzvCMhB8qkBXHWhqP sIFDmdzMIIiwH+TNFnTImde4mQbnENU4bk0VXbCoCYxof0CpI1pXoZDi1yKkrQtPaZa+ pai5jvM1x7r0eIhxm1WbxHZtu0efF2WY+eTXcXP6XnOn6nKTRGGfcI76qNPW8PDtyLEi o5DQ== X-Gm-Message-State: ABy/qLaKZ/GykGk4yYGXFgf3LPqYf0DQXBiSMUfxZ9+law60yPstLBef IAkc5Wi9pQFDp8LNOrBJ8E2nzg== 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-arm-msm@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: 705022 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 50B24EB64DC for ; Fri, 21 Jul 2023 15:36:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231995AbjGUPg1 (ORCPT ); Fri, 21 Jul 2023 11:36:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232067AbjGUPgY (ORCPT ); Fri, 21 Jul 2023 11:36:24 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4484430ED for ; Fri, 21 Jul 2023 08:36:15 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4fb863edcb6so3348221e87.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=jhRjjZ5vWv85ChTGnbvv2IczOii0QEUxsCm5AOM4cIe/sZDyTr8GiT19s45rr6TMKb VPi+DUF4M2XC2cnXRVG+KKc6+K2aLaaeCYUzo8lrcFMddFerVQfBX5XYzHJ+oa3vTYqw y7mlLtDLnUqe3xi2wM5J+g6vjWw4Eb7oW1O/jIncCw98bSisaRMWiVfoaTDWCC050uOz 5bKlzLUevT6M42B3rmh2IT4kypI1znV31AhvWjm4ZDzXvMTl9+A5Z+26SACrllKmvNYN dDRHA6GakWAZoSiYCndxjSudocXVDZJomz272UsfmX82N6c1C20GPraM25FKYZ1M5/Am wcXA== X-Gm-Message-State: ABy/qLZr3Ml5jACuUy/TEbkFQhNshBCcALr3twghCIC6BUdZp5TzZWXn W+NDXgzIlKIICWPRaBrrbTmz8w== 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-arm-msm@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: 705353 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 CBE92C0015E for ; Fri, 21 Jul 2023 15:36:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232067AbjGUPg2 (ORCPT ); Fri, 21 Jul 2023 11:36:28 -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 S232073AbjGUPgZ (ORCPT ); Fri, 21 Jul 2023 11:36:25 -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 89F143A87 for ; Fri, 21 Jul 2023 08:36:16 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4fba86f069bso3265407e87.3 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=Rn1SqYHblE6xuDFV+nYXXuj8I0nM3PD5u19C2dtil2/Ogn2ChdG+x8YKzfjgEL6scR nXy/Kkl3983E3ZYmb3Ipr6i4UljhSse4A7xq/6/hE2P5zhn2v74gpo3wefUjP2BUUUHC 40qKw1NbrD3/K2+PZZfNqiba830/tV2PtfLB+TOV07UvLmPATTpTEUDJJvl8dFg2vaSx KVv0dK6nCJKM6op9BFePx7q6VGbkdsG6zP4E8Ezs2OGgbz9ZdTXG66TUApb6MotqGyJj W9eEkzsRTvfJzoFDwV9zYS5JidPus4xLJsCMKZ+UUXzFhabinBwkwtne7FK88eLC38pb JlEA== X-Gm-Message-State: ABy/qLaLHc3iM5WWfG2nlaxoDENwVYRGiHxdgPyh9ZEzAgnz1sAzWlFt Hb+IRHNUpra1Thtd8kRxNFQ6lw== 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-arm-msm@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: 705021 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 2E20DC001DF for ; Fri, 21 Jul 2023 15:36:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232095AbjGUPge (ORCPT ); Fri, 21 Jul 2023 11:36:34 -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 S232064AbjGUPgb (ORCPT ); Fri, 21 Jul 2023 11:36:31 -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 3656D3A92 for ; Fri, 21 Jul 2023 08:36:18 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4fb5bcb9a28so3429482e87.3 for ; Fri, 21 Jul 2023 08:36:17 -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=Qz+ToNMlKmDIflHX1CfGaBjAk4In85Y7GxQLCHXGcCSokJsZ5BQdtjD8YWbWiIfjkC GDzarPM4iHHS3jTNfQcA156izQnU3xmBk2j2bShVwtoD/arR1YfSO1IlYKmIHNWxlmtS YSYDHv/M1V0dpeY7PDW9J1NFarYuPrSAlzstfgFsvyB9U/rGm50qtHxJQIoADW2l0m0Z MV/Q1eROVlT2iUOCYIAgxGHZQdcW//QrrlV/1cSrjaDG+P+OttDVY16ZTwR0HG1Ji+jV VKVHa4i1/ybChQtoqavnpN203s6VFIQLETZOd0oLGZv8YO0q2BYWgpBOgc1bGrWuR7Yd /NSw== X-Gm-Message-State: ABy/qLaIrZ3kPPDK+JqVR6zQY7sJiaoQx1bMVIqllXmlmIs3Oa/XEQiW 8tEYTE8+YiLk32kbdgvDF80iWA== 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-arm-msm@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: 705352 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 1066AEB64DD for ; Fri, 21 Jul 2023 15:36:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232011AbjGUPgn (ORCPT ); Fri, 21 Jul 2023 11:36:43 -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 S232097AbjGUPge (ORCPT ); Fri, 21 Jul 2023 11:36:34 -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 23231359D for ; Fri, 21 Jul 2023 08:36:20 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4fbf09a9139so3422163e87.2 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=jxe1lVMGQw5c3juuECxqAkNl1B1NCTg0LRnJGmIzsgnLuYTxyHOdsmpSZErygs8bxp sgzJTSwuhoq+KwaZrOyKOwKkBnIlbCC+L9h7hpHMu7wqt3FEfMdxxxvyl45NT0emuwEF 9lI+M+dXi964NJ+XK9duLF2GBy+z/YDRZktX8mOXJSP3D+X7PyZqrERSQ8Mk4GRolCy3 L75LQ3ocjgs7PPZfFTdaBpg9Ad/djSE6ql/LlRS4DkYOv0N1Lon6gInSX9QeHBm26uXY 0RrQoZX/yvGSQiKjLob45womLMk44DmH23cRvB9PoR4kcpmJxzLRDH8diZH7U//cfht6 ob1A== X-Gm-Message-State: ABy/qLasE4DhVjddJxxDJB+LOuRV19hMT7xJenb6lgQs5X/qRYtEZI1B iPOHR1zSPUPTVjqgu2K0daV7ZA== 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-arm-msm@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: 705020 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 45BA9C04E69 for ; Fri, 21 Jul 2023 15:36:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232136AbjGUPgo (ORCPT ); Fri, 21 Jul 2023 11:36:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232094AbjGUPgl (ORCPT ); Fri, 21 Jul 2023 11:36:41 -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 EEAC43AA0 for ; Fri, 21 Jul 2023 08:36:21 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4fdd7d09576so3367998e87.0 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=I9jrQfzb+A8JqcFQkNZawBJJfynUBWzdcA1X/UsUkzQILBgTmaSKTcPdgcGbOPkVfU mw9v/s37bB1NfPwevMO5R71hnPd5ZF3cS9U40mD8T68D6HgavM2qAHFPHYZ1n7qmPRsZ HTvvq+LHUomtkyt0DM5LutA2P8BUf7l2zPMneVXqbYnr3AvxNY/f0ab1h0uqRIvmAs3a CgZH8cIgpFzW+hRDytcAjoGo4rHf4TYKBBh05Y0SM5KUrPcBJzB3uA8BmezPMg4eG6iR z8EkwKYYa8/2GqkA2n+vUShCPl6CLww4Anl5uqmV421ZxGJCqGeWLNuWiEoGpinvMiVo omfw== X-Gm-Message-State: ABy/qLYPjDEIoO1io1TbbpvTsVpumJDlvIFMIThoRtYHlo9nzhIYgcE9 zFlqvZR59+wsZBi76pj9Acl5GQ== 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-arm-msm@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: 705019 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 A214AC04FDF for ; Fri, 21 Jul 2023 15:36:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232116AbjGUPgq (ORCPT ); Fri, 21 Jul 2023 11:36:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232120AbjGUPgm (ORCPT ); Fri, 21 Jul 2023 11:36:42 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C93C83AB0 for ; Fri, 21 Jul 2023 08:36:23 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-4fa16c6a85cso3333719e87.3 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=NXdTg2Uy6SCv/GOTr0vkspnt1195l8QkiG9CkEL06pyawkxbrRVhx6E3IJkUUaTQoR 0FXba+qSumAjGOtKzdORPo31Cc0d/GqTiVPskmJAn1w0CPNnRfSIFIcIlW4VgwfCjKQm sqfAgj7dfi19kCbDYgYd8Xfkxs9et+nwvaliKG8hlV/e+zSDBZbOzpqVqFXpx8BRe7b4 bPCOycmo0LZzyP9/1h6fIaaLqrUA8lu0ZhS1cmUYJV8fI84PeBXmmo6B6VtqqJa5X81J rKbNQk4BgMEu/NZ7EUFjj5Rkm6RilQ0507I+SBeA97a0+wBrRxGEFdOay4iyH3R5sfP+ V7GQ== X-Gm-Message-State: ABy/qLZdx3NTFCxwe7bYDYNT5YJUL5ljPYzxGiz4QJtUYJDeonLru8p8 urFwL0/wZAZYClTAl4TARPypxw== 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-arm-msm@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: 705351 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 5EC17C001E0 for ; Fri, 21 Jul 2023 15:36:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232144AbjGUPgr (ORCPT ); Fri, 21 Jul 2023 11:36:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232126AbjGUPgn (ORCPT ); Fri, 21 Jul 2023 11:36:43 -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 69AC83AB6 for ; Fri, 21 Jul 2023 08:36:25 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4fdd515cebcso3292013e87.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=B6k4DkPGc5x/ta1BNt2oBMCz3CzqBAIAg7F+PkcFoEL8wQhPC35x9ZJujQyXPaEteo tm+vvnOQamP9sTYcWiLtoCU026OQrPEJSxiif7RpXFTWFwLEPUF+jgGvWeVG2Dc4Ac8G MIc7qU/VXFEUlFqg+CpQEXrrRSSDHVe25wkVDLFi0/aLME7kPpS7zYF7BD5U0zZbSSwA 6m6NUgPq1e85a85AeRvoyDYogNySqV76wkIq7FIsrA0fsDZXikCKMkyyJFijowrlkK4s 82ox6bmZiWC9eDHAPMf4DlxVZ8BsxyNE9pLWHPnaVEWK7Kf7cJqNFU73YqpH7S3vBm6R qjVw== X-Gm-Message-State: ABy/qLbTIatYM3g36ctmpG8vrx4qzxwfeO+dLJlxZ2Xfy1/aULjbI+Gg eRWIzYD8/QZ33Ra36R4WH1DJkQ== 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-arm-msm@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: 705350 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 E935CEB64DC for ; Fri, 21 Jul 2023 15:37:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232191AbjGUPhA (ORCPT ); Fri, 21 Jul 2023 11:37:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232072AbjGUPgq (ORCPT ); Fri, 21 Jul 2023 11:36:46 -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 E284D30FD for ; Fri, 21 Jul 2023 08:36:27 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4fbf09a9139so3422365e87.2 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=CP13Mb9CJ1lgPHxAU5vhJfFdid8x71xUiuCPy4ptsiQ8WZIzQYNcG4WH7JBxBYuhRE 6tdb1/gzkriY6BP3qf45ucSyacMTh88eLIQYt7KmAXe7B0/CT7LiECe8fs+4N5tckrLa J/gcNI8p9pBtFeFjqQu33BtgYpdQd8q2JbHaWs3MmncAq2BllIftlDDrt/yxaIRr4PMi 07nhSV9bPmgkmYguh/9hKM7gKR0Vn6V3axF3U/0URz/eTUQD3ScvXKXBNeY095ALLqn/ I9CNeKb6ZxJlPn8BXCaS/GZpzLQXgBXAwRg9VJv6IsMEvE3XLggzUOEd7NmYRMtmZUwr RGWA== X-Gm-Message-State: ABy/qLYQfUu4h79m3RU54fw8FkhI9Me9J/801zeOcezThDCcN3FA8yFT sr1RLWolK0Kh1rRN/qiID0bURQ== 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-arm-msm@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: 705018 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 2FA8EC04A6A for ; Fri, 21 Jul 2023 15:37:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232126AbjGUPhD (ORCPT ); Fri, 21 Jul 2023 11:37:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232151AbjGUPgt (ORCPT ); Fri, 21 Jul 2023 11:36:49 -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 BE9D73ABF for ; Fri, 21 Jul 2023 08:36:29 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4fb761efa7aso3463256e87.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=eDP9FmWggZPLOZ337jX0Zrc0AzuzwepqgSH7EyJ0h4Uydm8uIR60IVUiETzTY835iU dg+/ylnR+ky5wWzTUEtin3X2JuZZH05ZHUx17svoZHjOwAaVbB3fDrytgCjDq6TsU2pg K9BeDj099x8nLF5iiLSbVxjufuU8Irqmekci04lw65ufPeYm/BSEg95r4tApipllQN5x Y4jpc02CjBSQRLMdQwX1cPMqHZt1NnnPhKw3rjC3R4iB8bqCEdctdJMD3f/Nm34QbrwD V7rxVIuak+DZCIx2w/t6LtgYGAPTfQvs7QOwwNKVWYUbQr9OH+sOqlN8qXhk5mZvL3cp +Cww== X-Gm-Message-State: ABy/qLZ+2bH4I/L2CORR5WFNsk4CQT+g02RZnxnSpf8nki4Pid28i667 6Ch67XFJFvtcYYAZGiBZ1osmCA== 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-arm-msm@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: 705349 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 52959C0015E for ; Fri, 21 Jul 2023 15:37:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232094AbjGUPhO (ORCPT ); Fri, 21 Jul 2023 11:37:14 -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 S232178AbjGUPg7 (ORCPT ); Fri, 21 Jul 2023 11:36:59 -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 DFD0C3C15 for ; Fri, 21 Jul 2023 08:36:35 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4f122ff663eso3271465e87.2 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=JchcrXJdlkU0SgVdnN+FG3xmyf9Gaaef1zrE/IAOdEW1RkD6V62W0ZiAIyTBiko4Qi alohwqbCwTafFg5zuAuoYhFUrrl52Mip66uev2ZAhqjGrvEy6sxlEgv1ZqMJrGvBfiIe 1B7MmaHwv0MIcC5eFZgTJlr0s4uj30glQK2gUVAsll/yUsmejQK5ClqDnoH1QVoargEM o5RcPEjWy8dwm6KRObMVtQg2JtaIwXjxK2USaQwE9wtg1qIWSqZvbr8itIlAn325kK/P tYD2S5dQqiOqyrKkeS4olMK45A/UPCVZ1Wh5KsKfUPu33qtXKbD5lzWWc/J1P5xas99z shnw== X-Gm-Message-State: ABy/qLbXYc2/9RxTs3aFeDmOlgEegp5x3LIPB6sUs5o/tE9O2eTkKLjk DmB0mMFeNCMwwKifBkwmbj/qMQ== 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-arm-msm@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";