From patchwork Tue Sep 12 13:31:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381677 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 94D24CA0EC3 for ; Tue, 12 Sep 2023 13:31:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235580AbjILNby (ORCPT ); Tue, 12 Sep 2023 09:31:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235558AbjILNbx (ORCPT ); Tue, 12 Sep 2023 09:31:53 -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 4FAF310D0 for ; Tue, 12 Sep 2023 06:31:49 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-5008d16cc36so9619371e87.2 for ; Tue, 12 Sep 2023 06:31:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525507; x=1695130307; darn=vger.kernel.org; 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=DABEF/G0wTiJLHQeIezECcYyIyidOzxpzwuEiL5oGQ8=; b=ls7Y6eo0R/OJO+QSvzvPGXPSV0pD4bmuETal5WCdxtytsEEN8fIWgdgKLkorLViub/ u6AxyonIbf4wZA9oD33jZuEGOeAhqMxqc5XG2Pv3Z34LtMArNfP9m5eSSmEayhUvoXt4 21mQrj1wNukCimt9Q7i+SqKVIos3ca88nYj9K6bmNSOgbt+lg7RV7GXfBTexJlP1pvsZ 0HVfzctEx2SQdqmSPvZn+2M9ASKbofr0au6bGNvvMXPkCiXc98uW8fQAyfTHT9SzIfaA 63pP4/KycIngObvzwi0+43Va8/KJfG2Fnr5EmMAOJcexLalWNTRMo3r6Tg68uOZwIm3Q D6gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525507; x=1695130307; 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=DABEF/G0wTiJLHQeIezECcYyIyidOzxpzwuEiL5oGQ8=; b=OH8pRyfNQr5xbgo3M8xNx01kttzF1NUlD0x9/Na9hJbiYiENBJp0nxaP0RgIuqtNDH +YTh59vuSw4lbZQsGF6VAwm1p/pfR90lNmLSbLbJDAT9dJDnKrIueyzF/UrJuCINiwfu iRBkgrADtsVjTXCKhr74UQKr7WDxhi0Dfl+AouJOWGIGNJ82TpHznfb8nK3MTmf7M+xW eTTsIba1n8MvDk19TtKHBqVYuBhNsiXpG8vw/dsjvVvIGukbfPOW2xMIWFmU8YW+LKzW yDu5RbHWzEC9VtgIEnvYkVyt14tuZuNLaWfelEuUbdqzozZcbN+87dq9TYlTl8rF97CQ OYvA== X-Gm-Message-State: AOJu0YxKcVcvTWZYEWQjI9o3FmWyxX/JXXjW+732IARapkP1VQa3iBp1 Z5wqNjM8vXIzUak7bS6ZWdxZjg+tRgD59OfXGY4VyA== X-Google-Smtp-Source: AGHT+IHEHh0RuaM89GO2hy33d9QpNiA2N0B89tFWDc2B23V2RZl4ySKvDHhVkP3r7XzN4VntItjF+g== X-Received: by 2002:ac2:446f:0:b0:500:a08e:2fcf with SMTP id y15-20020ac2446f000000b00500a08e2fcfmr9054444lfl.47.1694525507137; Tue, 12 Sep 2023 06:31:47 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:31:46 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:39 +0200 Subject: [PATCH v2 01/14] arm64: dts: qcom: msm8916: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-1-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1386; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=jgPLe87izszPiDVl35EMBCgsp6Vij2I7vaEdqKi1gBU=; b=2fKLEWzJA+nSA/bz6EqA9PkDhmKN7tvdi3UL3T8CJtwuqm+enkROCBJOZJCyfnGnGB+n0FMjD DM7sq1O8eOWDGxuI1JAPanQEN8YsRm7jUt5bJY+TEsyv1w4auLZg6gs 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 33fb65d73104..8c2ec09f57c4 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 Tue Sep 12 13:31:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381679 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 3722BCA0ED3 for ; Tue, 12 Sep 2023 13:31:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235592AbjILNb5 (ORCPT ); Tue, 12 Sep 2023 09:31:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235591AbjILNbz (ORCPT ); Tue, 12 Sep 2023 09:31:55 -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 9319B10D0 for ; Tue, 12 Sep 2023 06:31:51 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50078eba7afso9766102e87.0 for ; Tue, 12 Sep 2023 06:31:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525509; x=1695130309; darn=vger.kernel.org; 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=p/toa9pS9T5AtU2jODTxKlfzL37CYz7xztaxR3Kuerg=; b=YV5yyIKC8hN+BRA44ecdJTgtjnKOGo9U+oHjNu3u/YLzQvfIxG2mXnSP2XDV2DKybw uEeWXKF3tpUGf2RtHWYSEi8BTjG0XZicGZc2gmAQuiD7GsKuSF4elM4Xsi1uBk1lIamY SvPJOQ2NSIpO6oHJHlvKcooDW0MwLzQ8pI0Fxt4vRyrg2raDQ14L3Me6Jd93tZ4glKVd bSKxlr1iOc/jztozEv8irqOTU2lQqbmhHDC/ysZ82b4UZvDRqpnkpu9EPeYAal0h91ND CxcwAgla52RqSPZENDwbWZcGj8OORtm0IUr0G789NYPAB4MdsTMtuXUciXySA2iGOYds R1fQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525509; x=1695130309; 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=p/toa9pS9T5AtU2jODTxKlfzL37CYz7xztaxR3Kuerg=; b=qXsL1QT8GpIIbNcEgvqUjtP6OnprAVxZCUlscP/UtOEaf5Tvcw73woj4uzinlkYdsl pOGXhRpDyElNWz6TT6Fko7fG7rvXQdjOjrWHEIwIo9KjuYEJDb9uUz2avLATO33kAWVD wyEnrcHYTIMq1pV8h4P2elxbL0LLyjmswwjE3BJg6cafyYeUZuornk3pyuzES/MjVxo8 dSoIXUgHsgSZUmWV617O/t3LLhVpYLHmG/KbDnnjc7mNGn+9jLVgmOHlCG35QqSt7VzA sbaiU1ccQxKBT4AZvbYUjyk3CRfcCxhTWcndJOHkXMeFNoFSsBaCIhBzuX+3iunLu0F3 lPyA== X-Gm-Message-State: AOJu0YyJaBj+DuZem1iXo+0hG32W8FzUz+1WbHV9j+uY+cr9DTUj19Ej odh5X0C+3raewzGyERpNeL29U3611/Dw0yIFkj4mRw== X-Google-Smtp-Source: AGHT+IGn8hTha+KLDCRi6ZfKI5RJ1YE47a+fLOj8mHGCxT1o72cv98Iy58UWxa0GJ4fskuE95obAFw== X-Received: by 2002:ac2:4bd1:0:b0:4f8:71cc:2b6e with SMTP id o17-20020ac24bd1000000b004f871cc2b6emr10936412lfq.33.1694525509563; Tue, 12 Sep 2023 06:31:49 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:31:49 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:40 +0200 Subject: [PATCH v2 02/14] arm64: dts: qcom: msm8996: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-2-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=2848; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=KJS+g8imvlGvy+iOWWG+njdWWumPc4ZACNA8m5X6Spw=; b=Vz1i6p0hf9j2AZfyi0h6+asFnDXhLuTcVphpFHzsboKbmh43+Q3f97QVxAybhbiljZYkaVDv7 qiu98Vd34ljDH5BRsx07Tkl03XAfchJAmv5vyIew+Cd4D4i6tdRn3q/ 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 c8e0986425ab..acef67ab0581 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 Tue Sep 12 13:31:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381680 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 63872CA0ECA for ; Tue, 12 Sep 2023 13:32:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235656AbjILNcK (ORCPT ); Tue, 12 Sep 2023 09:32:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235616AbjILNcC (ORCPT ); Tue, 12 Sep 2023 09:32:02 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34FE810DD for ; Tue, 12 Sep 2023 06:31:54 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-401b393df02so65799485e9.1 for ; Tue, 12 Sep 2023 06:31:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525512; x=1695130312; darn=vger.kernel.org; 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=15fMag9VX7XAPE7WmbOLmSr+PWzruauhSVe+u6uS4NU=; b=tyJVniVCLG7XFxxT6w81c+kkAR0T5+VVUrwidJ9KPC5MDwsNQplbwjll9L34vrCbq9 53jsdnX1dL/4W5cyc6lk4Tj6ZsnTBpUdtbdKLQUpFW5l3ZBLepE589kYxfP9eKtuyovA wQqudQ8exEedPRONHxshT/FWV5wtQrEQvjIot5lApVelBUY9DysPMEc5gzTUkoybwMT4 5PhzKN2vNWqw2V2KeouRP/1cNplAT1pI0ry8GFBVas6pig0gmmLA+sbhOmR7LV9+sYRt haTZ8TKDLCZoB6R1nLnHaWMpC2nks1utVCXNGEP9ONbasZSlcw2C9Q8tTYW3oWzU14gZ drXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525512; x=1695130312; 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=15fMag9VX7XAPE7WmbOLmSr+PWzruauhSVe+u6uS4NU=; b=S2gXRRkFSN/S6lU17Mao6GfwNhYYE9hXkMHDJRuX4dcChPfReqvjo/JuOfY6vt8128 55ooQEIlJqCFEL9T6AunNkFR60WtzNW5E1Ss4UgO3K8vRywXzAzMT4TKTkNVX58Y2wwb PYq34NubLlpysRhZ26mSo1xZDZ2R/C7qttUISiKR6ZhPSCpDp3BDPvrLiiwuggZIqc19 35mG6fsoe7+4rV+Jb/ttcy7X8nmsvO6U+/7IVjYi+Lx7k8iTwDiYJ7JiQc/T8XBAOJV1 BSX8tZ6+ZPJXBLs+HaQs/L6y2yPG0MJa+J2Ka+QO46T17JyomI5YxKScmkK1lyMfvBwU 00Jg== X-Gm-Message-State: AOJu0YyQPQERh4V5juXD/IJW6jcGI+hAWM6x1BK47JXr73XcqP9bUBhg bpjcGQzrCs+sC64MbzwXTfVStNs4/n5tJ4ihaTMd7Q== X-Google-Smtp-Source: AGHT+IHd3ESe9Shu68oMdeAkDreczDIAgdPhaKrNx9GOH0Mj5Uh2yWT/aRZ1vr4DmjfizwKtYKk2IQ== X-Received: by 2002:a5d:6ace:0:b0:318:fa5:d84e with SMTP id u14-20020a5d6ace000000b003180fa5d84emr10328320wrw.70.1694525512184; Tue, 12 Sep 2023 06:31:52 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:31:51 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:41 +0200 Subject: [PATCH v2 03/14] arm64: dts: qcom: qcs404: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-3-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1392; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=pDVqi5u1eyS8PF+LLrKBDGtxabkYLIBhlo/it+9/q/s=; b=eEGSlqgAFu1mD7wz/jcb6jk10/d5zKRZp1o3SpDMYtk0OyzPD6rNVhhHK0f3HqD1/bzDhdFIi AqQmWf6aqv4C1tlXP+J+YqtrCmf/Jp3XN73wYwld8apbiDkMHA3h8+o 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 Tue Sep 12 13:31:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381681 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 14D49CA0EC3 for ; Tue, 12 Sep 2023 13:32:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235678AbjILNcM (ORCPT ); Tue, 12 Sep 2023 09:32:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235620AbjILNcC (ORCPT ); Tue, 12 Sep 2023 09:32:02 -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 47DC310EB for ; Tue, 12 Sep 2023 06:31:56 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-50078e52537so9505096e87.1 for ; Tue, 12 Sep 2023 06:31:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525514; x=1695130314; darn=vger.kernel.org; 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=Aby31Dy3sRvYCseJbVFaOLlk+QjTt8y5N0c9zPR8ufo=; b=GFSqj6Jhz8YAMbfbhs95DcdyYLUIo0JBtYfFJT7cuiOnUEMcA/xtu1TAuWznKJxl/1 z+0Hby1MjEkNFUNp9GNEzcabpWizCHvhII2xB9b2ZOxjq7m0lbt9aAp5fGpzvlH0c9iZ kqzJ+GR5Y69IFo2D3irTLsM2VtUIwqaYJhKeA2vHwUVtlS/OXJnUsR2wFQmaSpsEbi/B XHP8V4pYObYWKfCeLo8/PYPNhJCT+CrYNXJaE/6hyc18zTBgJ/gPvODOAgGGkOGEo1B/ zYTCN4b4M7DsKJ9lxzKbXnyaZe3zCH5hEfc+QOVilzGhbumFKoAizUVoYWX3cfbxibfH JePQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525514; x=1695130314; 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=Aby31Dy3sRvYCseJbVFaOLlk+QjTt8y5N0c9zPR8ufo=; b=TqZOs1UjPpUsIfP5Cq6GzIEL5BWgo1HGu3aZiY62E0Ciz5xdrriEM0+Vb7blk71VkX XD6u87p2+M/CSuzgr8Cg3VO9fP7Zxx+Pg+9Ps4CgQ4rfSXpTNaD2f84gUyxSW2HmqXVK CDbSzXpxlt8rbIFvedjzVRH8uYhmaRn0eV90daKauHAKSKV5Y9rb4UJXzIVN57weNRI3 vNIDIfweVq+SvfgmjDWZNzVyaeCE6PFS86FlMSEM40smMQRu41KoFJADCCFPm3RZwGXf vShF5AzkdlEp2Xcu8ZkEMYCxmqoi2v5/ECHlCxLOzakCCcsXXAAf8SMXH01EYHvC7DXy eLCA== X-Gm-Message-State: AOJu0YzXdjukc5cnhA757mWuJAErik3oISKRy6hqSeZYWSm1IS6qCUWA MpNQ2Aup+Xfg4oitDUxIO7rfdIY16LhX8Mj4cWFk9A== X-Google-Smtp-Source: AGHT+IGitYmBkgkDWLSUP/hqdunkKg4+XgDzDLG69n03cDAVQWkDehzLwjYkdh+olbp2hd4+BN7ZaA== X-Received: by 2002:a05:6512:3082:b0:4f7:6453:f3f1 with SMTP id z2-20020a056512308200b004f76453f3f1mr12382111lfd.15.1694525514362; Tue, 12 Sep 2023 06:31:54 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:31:54 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:42 +0200 Subject: [PATCH v2 04/14] dt-bindings: arm-smmu: Fix SDM630 clocks description MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-4-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1204; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=xOXLCwUDc6wbp5lgmZN0L2nK0COMDmBWvidVIRQZaEM=; b=9rLnt5RKSrJMRFdngo5FKCbjpslTV8Cgk2lRTkIJu0MXN2kamhiEW4QKh2iqUto0uklN8jmmB RJYZYYDcHW/DK8tejnqcKw+w+Nc+bm6mUhq241rpD7dt2X/C+0XTq7z 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 SDM630 was abusingly referencing one of the internal bus clocks, that were recently dropped from Linux (because the original implementation did not make much sense), circumventing the interconnect framework. Fix it by dropping the bus-mm clock (which requires separating 630 from similar entries) and keeping the rest as-is. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index cf29ab10501c..b1b2cf81b42f 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -270,6 +270,7 @@ allOf: contains: enum: - qcom,msm8998-smmu-v2 + - qcom,sdm630-smmu-v2 then: anyOf: - properties: @@ -311,7 +312,6 @@ allOf: compatible: contains: enum: - - qcom,sdm630-smmu-v2 - qcom,sm6375-smmu-v2 then: anyOf: From patchwork Tue Sep 12 13:31:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381682 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 5A455CA0ED3 for ; Tue, 12 Sep 2023 13:32:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235628AbjILNcQ (ORCPT ); Tue, 12 Sep 2023 09:32:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235670AbjILNcL (ORCPT ); Tue, 12 Sep 2023 09:32:11 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CF421708 for ; Tue, 12 Sep 2023 06:31:58 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-52c4d3ff424so7303482a12.0 for ; Tue, 12 Sep 2023 06:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525517; x=1695130317; darn=vger.kernel.org; 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=hprXduSERdcXr8fQPDcH/kOBSydAG/66jnnLTNoJnrQ=; b=nl27IWqiKLhE5uIdAcKZuax+8oxpllZxIiHmmEpWy8q4x4MgqsRZczvXDHNveEHWs2 1o1Kbbx46Bd8ZLuGtcF5Ema1uY3hdvytE/CjpmAI0I+S2IGJsl4B1Bj/rnRD01bsx4OM HvvRHrrD+MBzAM2XFg+tj/qExR52hiiTcMvi8+z/Lk/agFM7DfhzIh/enKT9b9oaG5E3 BiqUbMzhmJeW9p2bzy6u5q0/H4MX+2DdiTd2NQqTqw/i8fEJ9hAwMVVx6blqVGjozSkr ZlrrWqqCsop7g7gGxNznZy4gsooey6+kvMxnVRCgih7C8HIttTIIrw5DLHv9zplYiAV4 Rzag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525517; x=1695130317; 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=hprXduSERdcXr8fQPDcH/kOBSydAG/66jnnLTNoJnrQ=; b=Oj3fAoxi/b7QhsYf9ymGQk06g++7g+foCKaLQQsryaHScJsvWa/4QbW5DfVNbYB9xF 4HMnuVXi7KvR1qKJlHTygn2kQDeZH70cuFHa9pJTrqhL/N0oTswzK3Tp0XNromiozOJO sNePYCGh84TXbE58+FgOHAj8yivKE8W6X34ZcaJeqSjRf7PNRhVaitlktjI2gnE1M66q 1CzRCKDEPCjeg+cdcXDF3XQlpl7aRJQ9zVYB9sITJflYjsr6iWp0IO55DDIKYQQ3O55J zMle3FLB/KhMBunwnGIMn2Cf6umxQNXEVKcsRWj6QgENXSPv75rtYKDssd0b+Q/T8UID JDOg== X-Gm-Message-State: AOJu0Yy+3pyNTdzI7wR2BONAIvGhuHQZ4chfUVDIujFacBcH6S1Txzm3 lfCz3K/Jv6jhLPqTu8uGibKcHfxEiZcxug6IXS1pxQ== X-Google-Smtp-Source: AGHT+IHWdhKZNYbyCtwrTut/EnB7j26nTWPkwhyp7Lg2aisMkxMZ5TeczzzhrCocrjZIdTy380fTsQ== X-Received: by 2002:aa7:d58f:0:b0:52b:d169:b374 with SMTP id r15-20020aa7d58f000000b0052bd169b374mr10440089edq.3.1694525516691; Tue, 12 Sep 2023 06:31:56 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:31:56 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:43 +0200 Subject: [PATCH v2 05/14] dt-bindings: usb: qcom,dwc3: Fix SDM660 clock description MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-5-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1330; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=oKjuNkgzsVv0G3/eKjMFGrCERVPsFFgQT84K83ka8+U=; b=MJI6Zkjgyl4e/MBwCcdEzH8lpMhZ2KVzQxUnEtjyLeHGmT6e7heMAaUtUwnoDHT26EvzWZBNP +YNiyOZcIsxBUbOqbN8aA8+DhPq+d1np3mYs4n3yRdSyzMq/mH7fMiD 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 SDM660 was abusingly referencing one of the internal bus clocks, that were recently dropped from Linux (because the original implementation did not make much sense), circumventing the interconnect framework. Drop it. Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/usb/qcom,dwc3.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml index 67591057f234..820878031d47 100644 --- a/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/qcom,dwc3.yaml @@ -283,8 +283,8 @@ allOf: then: properties: clocks: - minItems: 5 - maxItems: 6 + minItems: 4 + maxItems: 5 clock-names: oneOf: - items: @@ -293,13 +293,11 @@ allOf: - const: iface - const: sleep - const: mock_utmi - - const: bus - items: - const: cfg_noc - const: core - const: sleep - const: mock_utmi - - const: bus - if: properties: From patchwork Tue Sep 12 13:31:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381683 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 6DD80CA0ED3 for ; Tue, 12 Sep 2023 13:32:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235672AbjILNcV (ORCPT ); Tue, 12 Sep 2023 09:32:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235712AbjILNcN (ORCPT ); Tue, 12 Sep 2023 09:32:13 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C7CD1728 for ; Tue, 12 Sep 2023 06:32:01 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-52c9be5e6f0so6805863a12.1 for ; Tue, 12 Sep 2023 06:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525519; x=1695130319; darn=vger.kernel.org; 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=9cAUp6iqIfoEYwT2Ywlf4KbJQ18NYneTc7cMa1vlC9U=; b=zxi+hvkSz2Btoi44cltmtH+GgjwmH1u2CqeBGEbFffx/FV2twdWtYC/c1K6qQ05Bi2 8L2wYRTpbJYuDeXRzMGLRHfqQM6lS7vVkAUDPX4ki1iH0+Iuh5uQVjEpR4lqL1tOUNfG snecXhaghQ4MbwZB49T1ACO6LOCxDT+t9xAt8aTfUS0TMQN/UX+NWzFQI84QELa2JAkz 7dOtJ9N/deoyg345Llovtu0Qe0ZB8i6YyI8Dlg5+tsyRIDpCc5+k7Bpjt12E4iScqtXk KVHqoZKY83mCYLldeYAtV5V5Ywryp2cirsFRoFxa7aDdUHfo24/o4CiTddCn1H6vwBH1 lwkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525519; x=1695130319; 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=9cAUp6iqIfoEYwT2Ywlf4KbJQ18NYneTc7cMa1vlC9U=; b=iqmClDLfQDWfypN31O6pmooMQ5UHmvdubVU3e1XqytJPAcbx0FLO4CQu40+Pm1LTA4 JjBPS49nAGMbmmHroTOXwqiuYTaSKEK5nMBfg46NFsp6m6GxotVCqcSmHJUrU+3OHe/V AhQ2SgF/Yu5McZ+idMmEmz+JqZDYJC36y62XWZ+s6YENVlp1PR40IPloOEqj4Op35Imk 04Ado9uqPAiWkjxiQd3+NxpgGvXTgib3HRKOszaQJ7JvaS0z+A/hF1ptfmoofseuX9fB 6gm4DtPF4H59ixqYxjWnBLoD+Nx0KrKFl3CenSNmNlxSQwIz8rrQTS7kqipcDl1juyY1 la9g== X-Gm-Message-State: AOJu0YyLrwvq2rzs77vE1lZ/yVoFRM/zR4AF0bC1vPxTNCHmjq8B4hCg H/KZSAO9IDCV/OoYQxAm6G7IhWVLp+sOHf7B9DiinA== X-Google-Smtp-Source: AGHT+IHrRow731IjuVawm62DqcRXfph0ITp9wsTkE4wa3vLzsJfkUEHjGvnNV1CIX1CT9vRI7TWVMA== X-Received: by 2002:aa7:d3d1:0:b0:523:2847:fb5a with SMTP id o17-20020aa7d3d1000000b005232847fb5amr9100271edr.40.1694525518977; Tue, 12 Sep 2023 06:31:58 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:31:58 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:44 +0200 Subject: [PATCH v2 06/14] arm64: dts: qcom: sdm630: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-6-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=4386; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=sfSwBRR5enYP/jva74He4iYb0xqA+8EzRsqTAivm8lc=; b=alB5BmdWnE9xT/JxFw3plJfN4oBVJBWyH/BVrel7Aq19GlTTN1KjMGBe4rU9ZDoyLdNTjNQGM TP7Ze06lhfbCG3qZI+o+IfoOiGCLS3T9jh2pHa0YjDzQGNiD3dTduQS 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 Reviewed-by: Marijn Suijten --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 49 +++++++----------------------------- 1 file changed, 9 insertions(+), 40 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index ec6003212c4d..f11d2a07508c 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,28 +616,17 @@ 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 { compatible = "qcom,sdm630-smmu-v2", "qcom,smmu-v2"; reg = <0x016c0000 0x40000>; - - assigned-clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; - assigned-clock-rates = <1000>; - clocks = <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; - clock-names = "bus"; #global-interrupts = <2>; #iommu-cells = <1>; @@ -685,16 +671,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 +687,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 { @@ -1228,20 +1208,16 @@ usb3: usb@a8f8800 { <&gcc GCC_USB30_MASTER_CLK>, <&gcc GCC_AGGRE2_USB3_AXI_CLK>, <&gcc GCC_USB30_SLEEP_CLK>, - <&gcc GCC_USB30_MOCK_UTMI_CLK>, - <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; + <&gcc GCC_USB30_MOCK_UTMI_CLK>; clock-names = "cfg_noc", "core", "iface", "sleep", - "mock_utmi", - "bus"; + "mock_utmi"; assigned-clocks = <&gcc GCC_USB30_MOCK_UTMI_CLK>, - <&gcc GCC_USB30_MASTER_CLK>, - <&rpmcc RPM_SMD_AGGR2_NOC_CLK>; - assigned-clock-rates = <19200000>, <120000000>, - <19200000>; + <&gcc GCC_USB30_MASTER_CLK>; + assigned-clock-rates = <19200000>, <120000000>; interrupts = , ; @@ -2144,10 +2120,9 @@ mmss_smmu: iommu@cd00000 { clocks = <&mmcc MNOC_AHB_CLK>, <&mmcc BIMC_SMMU_AHB_CLK>, - <&rpmcc RPM_SMD_MMSSNOC_AXI_CLK>, <&mmcc BIMC_SMMU_AXI_CLK>; clock-names = "iface-mm", "iface-smmu", - "bus-mm", "bus-smmu"; + "bus-smmu"; #global-interrupts = <2>; #iommu-cells = <1>; @@ -2264,12 +2239,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 Tue Sep 12 13:31:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381684 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 9E327CA0EC3 for ; Tue, 12 Sep 2023 13:32:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235860AbjILNcf (ORCPT ); Tue, 12 Sep 2023 09:32:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235694AbjILNcP (ORCPT ); Tue, 12 Sep 2023 09:32:15 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9249B198A for ; Tue, 12 Sep 2023 06:32:02 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-52713d2c606so7333279a12.2 for ; Tue, 12 Sep 2023 06:32:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525521; x=1695130321; darn=vger.kernel.org; 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=Y15C8Fv8QHJExv9aOHGDEKpdbaBfEIqNr0Cf6pow0Ag=; b=nI91iwqJIH1SjoS5i8r+kXQCiccUkhQ7ewjeK6z07T9NvenxGlsVu273mQGCAQp3av 2JW2LiR+yk0KEb4KXGLmQQmVFeVUjSkOA6IsROSSExxspjyeXRc+t22k+W2jHm9qGohI +zJHg4zGlSKsVe2LTHBPJtLcPWRWdJgmZoUT6QLeoyrUTXQ1ZVCyW9qSrrWhLqgPbNBl AmhBfuewRF9H5O+RrexSceiBlvddffaZOBN9Eqvgi/yebc/wNYabeatgkqHFmuKrOt54 Z5c4n37r4k9AdIrTTCMTjvvjnK0sB9cmm8XJefOiL3Kv2P6JXNeXSgRnk0u63Rxpzkyr niPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525521; x=1695130321; 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=Y15C8Fv8QHJExv9aOHGDEKpdbaBfEIqNr0Cf6pow0Ag=; b=OFOirvcrCfFA5d2guYBl48ITdv2aTA/6Dp0cmMC7KRDXMK82BgHCxO4GnMhPQDQRGa VJlJvs5fEYBL4A55JR4G0ibQxlyv8SK2z/+b9LLVzges2IIqzmN3lAql/MSCaCAP+eBp PGujD2Y1KY6BSegi3AhTCsYdqhMNdq754ZcfzNSV/U7Q6hWjzHJuDhAhlnfIhzv+hEQS NHJZCwM68Vc985//hv2CrmyrKUkZxxBMhanL1cWkuofJplhS6WVwmgO+dviNga7Q2Vxg BCeIQwGAlOoJlFIdZRVRezqCsfKLpuBUpkcmuwfFFOODzzEc+1I88oqB8wpVt7VCSv7h 7gJw== X-Gm-Message-State: AOJu0Yxrlw6XJQbRNQapg92AbljbpdOjDPyDqTE9KOdDES5fmIzHluE7 cxobiHqDrul7a9ny6n1YohBAguArGZwnWzZcHYUzMw== X-Google-Smtp-Source: AGHT+IE3doayARluv4buJCGo1gFXhllVuL8rkaKATeR59HGZ3l/xPGTkeTXBDZpVZHKXxV2qHfkVYw== X-Received: by 2002:a05:6402:7c7:b0:523:3f45:5678 with SMTP id u7-20020a05640207c700b005233f455678mr10703279edy.31.1694525521218; Tue, 12 Sep 2023 06:32:01 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.31.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:00 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:45 +0200 Subject: [PATCH v2 07/14] arm64: dts: qcom: msm8939: Drop RPM bus clocks MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-7-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1626; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=hTGKHTrH0J17CafSs4xXiO5hAXDwGff4qsoi0JWwbnA=; b=l+QgN/I9sJ1LySbRwaJMmRSPxHrlPgUlyioN0ie8QDsjFp8u6rYg+lKqT3jjZ7Apm7mhB2dgS PSf1efuodKDA5yu/qkP/pv2fKUCJuDLwADDK3n+SXTx671DVTtqp0Da 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 Reviewed-by: Krzysztof Kozlowski --- 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 6e24f0f2374f..e3d1eb7dd289 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 Tue Sep 12 13:31:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381685 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 CF117CA0EC3 for ; Tue, 12 Sep 2023 13:32:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235781AbjILNcl (ORCPT ); Tue, 12 Sep 2023 09:32:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235787AbjILNcV (ORCPT ); Tue, 12 Sep 2023 09:32:21 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4338B19B3 for ; Tue, 12 Sep 2023 06:32:05 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-31f4a286ae1so5300059f8f.3 for ; Tue, 12 Sep 2023 06:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525523; x=1695130323; darn=vger.kernel.org; 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=7fIbXPUxOgaRdqz8db2Ih/LEJAu25y/8yx2Z1zWWYkc=; b=h+VXIbylKDiTqHIReWFnyM2iADHgbBv+i1XpXVekNobbAPZ2W2XIzZK+Tjz4y6YA2W GS3SM9ZFUdfJgVO5dokLOT706d7X8t4xwU1Yq6Ca/LyQq4rHhXWAncDTjtPoojQuldGP PPuL6tuZQ14m0iLV1uVigooMGCYR0VCTS55glBrUlCG/KKFYydi3u+qMKeOE7OM3dicC 3GQHgoMcWQSPjVqINUdyGG2BdBXsw9WPtM95mCISqTPE8iAszz/btUT4vKKymkrkiwdx PwU2b6no1yivQ/RAV391143ufIg3PkzB6kBoe3s03ZDdifGDcNBqpLgoVXjWWiEUBc3b 4NTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525523; x=1695130323; 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=7fIbXPUxOgaRdqz8db2Ih/LEJAu25y/8yx2Z1zWWYkc=; b=CW3PvFKA2zIoKtHHvGp0+0Y8X5wqv7khpmIXQFsDeihri77969elQcmJiCHrcrIhe/ 0GPRl2JHL+kW1eD9tqcY5fzrQisUlbrFE2KXNeutnf2Ww2Jg6ifRCqfr1Ht2DVVsiJAP wgimSJfp1NkRnqCy7tQSiwFa8xC5LY8g8gMNEKHuVLHY2JhVjWGOIXsOkJermljT243l 4JTCLrpkdn2Ca7V23Kj4bke+K0R/0fh+avceOI1dW9oEqHcub96HuxFifChlLIOmMXCj OS3yxluocZGoKhSHIK1t8dwaSj/T3pOl/BUeyvYIk95t/D1j01mWsv7IX1y7GbyQFJbV MUSw== X-Gm-Message-State: AOJu0YyOTyp/DHBYBGFoDkhafRoEnVyozJ1uPvH0rEhNsXBIsb7q5uOb YaNMCuv85NYRbOWtkR1IK29XYZyontiszeDeHrv18g== X-Google-Smtp-Source: AGHT+IHzJIPQHME1Q7uvTkr6fW7CEioQdhde5+dmoERPBsutUw7GSxKetx2FMzynENM3rKV8xd5oDw== X-Received: by 2002:a5d:448c:0:b0:31c:7ada:5e05 with SMTP id j12-20020a5d448c000000b0031c7ada5e05mr10020874wrq.51.1694525523578; Tue, 12 Sep 2023 06:32:03 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.32.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:03 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:46 +0200 Subject: [PATCH v2 08/14] dt-bindings: remoteproc: qcom,adsp: Remove AGGRE2 clock MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-8-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1615; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=nFM/c4yhEW/1Dlnb7a6ypwnImP1sGtGxirXiBz1eak0=; b=JDyPUD41UqorWQJn/tchpJ3anwshIH4V9EmIuE8LBebXP25/DZMh3KXg4CQrOMQ4VZ/xrZfs3 iIhGTWcO1/6Aymi8D5hrH5z4wKppS/IuNsDm4BZdJkVbXR+2a1OMcBI 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 Reviewed-by: Krzysztof Kozlowski --- .../devicetree/bindings/remoteproc/qcom,adsp.yaml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index a2b0079de039..661c2b425da3 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -66,7 +66,9 @@ allOf: - qcom,msm8953-adsp-pil - qcom,msm8974-adsp-pil - qcom,msm8996-adsp-pil + - qcom,msm8996-slpi-pil - qcom,msm8998-adsp-pas + - qcom,msm8998-slpi-pas - qcom,sdm845-adsp-pas - qcom,sdm845-cdsp-pas - qcom,sdm845-slpi-pas @@ -79,24 +81,6 @@ allOf: items: - const: xo - - if: - properties: - compatible: - contains: - enum: - - qcom,msm8996-slpi-pil - - qcom,msm8998-slpi-pas - then: - properties: - clocks: - items: - - description: XO clock - - description: AGGRE2 clock - clock-names: - items: - - const: xo - - const: aggre2 - - if: properties: compatible: From patchwork Tue Sep 12 13:31:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381686 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 ACF78CA0ECF for ; Tue, 12 Sep 2023 13:32:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235736AbjILNcs (ORCPT ); Tue, 12 Sep 2023 09:32:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235800AbjILNcc (ORCPT ); Tue, 12 Sep 2023 09:32:32 -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 1A5BC1FE3 for ; Tue, 12 Sep 2023 06:32:08 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-502934c88b7so9044902e87.2 for ; Tue, 12 Sep 2023 06:32:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525526; x=1695130326; darn=vger.kernel.org; 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=B5TUXFOv6yn9qpDAW3kO5jAn0DGFePw29Rv/Qa+Dofg=; b=GUwYvW7TYXpM+51IA8ioyZdjor7F0OmR1JTfRAZQ/hSfoppZmd1R6meXI7tXnJMgJZ EwUpoHUrVroJFg8diOJBHvOURrK2u/OUWCGxKPY57XFCPxCkWGdSLvrmsUa0h393VWj+ OjsayCgCOdzloxGL5BTE/Z7CVtmctum0NdPMd8XXwJ2HpllCqx14pOJBjdOjnKUxYCwt fspcGpDByO7y4qdf0Vaz/ikP3H1w8BZzfIs9FamWD452gd5qgtAn78S7nsK/9Am2QA9n OlFk3N/HqEvtbu52L11eABDp7CPoWoQ1z+8GSUnLRkMCjc/qetF7x/jM6BRGq1fX+aq4 am1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525526; x=1695130326; 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=B5TUXFOv6yn9qpDAW3kO5jAn0DGFePw29Rv/Qa+Dofg=; b=mrgnl7W5ThXo09x/I+iZ2+V7F2Wp8D93Lr5doGPutGt5TAPlnZZ7szec7ynEqARbGk N+2qBKD5qijwYlu/RmBfgE+bNP/OV+O9pfPMHmuWkOxChbnDD3E4DT/zuSzNsS4/r9fn BMLYcZuLq3if8vwf/i92LprG5PKYZETY+TrG/QCoEZAykofLAElR7VsVPJgKabRZSj1c j3KjNxyyX5h3q+3LyCbWIeHyVvZeMX3cTVYkQw6C935FC+CXLsTJUAxhJZ7MYEul373Z 8AhOaMb1N4tnp3XQh45l8tbEoceX8m92/93gHLZBA69DtEy0TvZ2d7u4GWvenMihPNzF 7LwQ== X-Gm-Message-State: AOJu0Yx1TtL3YtoTzfV7C9fdGWSgrM5g0kK3zFsrfu2ft6qAUIux6qU0 AuoJC/6fAx2Vlgzz0WUc6ZxlkPWNTLL6RUVzuxssjg== X-Google-Smtp-Source: AGHT+IHJT5ownOgbIaxSDc0bjTSHUboWqifcbF1bbRzUuxxzkufa54Qv6/pZdVwNX0+AypcHeAsw4Q== X-Received: by 2002:a05:6512:36c2:b0:500:a2d0:51ba with SMTP id e2-20020a05651236c200b00500a2d051bamr8884352lfs.44.1694525526211; Tue, 12 Sep 2023 06:32:06 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.32.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:05 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:47 +0200 Subject: [PATCH v2 09/14] dt-bindings: remoteproc: qcom,msm8996-mss-pil: Remove PNoC clock MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-9-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio , Krzysztof Kozlowski X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1303; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=365nLiorSKhklpxOJKGzrpOJcjkDQ3JA1L7vx8xj8ao=; b=ySRL9bhp5qv2LV2atLTYfW8bK0jq1ULmiT06RNxNxp7RXo7yb3yJDGE30x8jvAVd8tI2P5hSh SmOedpd+V+SCvsris2NdjIHKDtQdhxNuBTsCKDJeGhS4i0WUKkpGulP 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. Acked-by: Krzysztof Kozlowski Signed-off-by: Konrad Dybcio --- 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 Tue Sep 12 13:31:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381687 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 67339CA0ED7 for ; Tue, 12 Sep 2023 13:32:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235910AbjILNcv (ORCPT ); Tue, 12 Sep 2023 09:32:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235682AbjILNce (ORCPT ); Tue, 12 Sep 2023 09:32:34 -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 9669E170B for ; Tue, 12 Sep 2023 06:32:10 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-502b0d23f28so4595166e87.2 for ; Tue, 12 Sep 2023 06:32:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525528; x=1695130328; darn=vger.kernel.org; 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=PiGJwPcZWY5VFG9v0qbCB9581xCL0QMtTuQflRx2rlo=; b=rwlspgKbTHeAoR8D5UGzJVuOKstVV9HkEf9GzwtQFU3ksup5wu4ZdwN3B6oDHDcojo lXihjRpbymdTbRHaVPz9+KEQskfGmIpNGRd+L8qzvhWZ8PuuIpXCu+wumDPGL/OZCjVo WwmFsCHbif5j1L3ItbbOf07t4LeBQ0iwnPyc5omlyYGXZ+4VTFjFfFP57eHXSDk0g/yG iRwyqkarTuOMKwYChxOnfwK8ukAmRLweuhamoBLRROZIMvTWz7XnGCQJFQOYvHuI8Jf5 isKkOjwvLGmNE6oab3KJZTXOw2toU4H4Fits7yT30C1ceKK2BDbYQnkeZKKswodKMV0n Cmsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525528; x=1695130328; 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=PiGJwPcZWY5VFG9v0qbCB9581xCL0QMtTuQflRx2rlo=; b=RoeELHQqyxQknj9umhqMEBzUQzay3oz14g+kw6DVGc78D9xMP6QQ0gqZgCiqGQbbOT fwkvFzi1ZaURv/M1VllqIUbyC+cRf5kFrz/5enTLKCu9u1UjIQKtaJNqspHiTRT4cgTa KWUM8tmJOOpOReuT7prJWJ2y+DmT27Wckxs5fKKwlacG2XfDJomWkg/PxKce+tNqH8+F 0TCwMgCFoR25/RB3A6sWW9IQoiN0aSkbNsg7Uw7LdssqjTr6P1WcubeiIE4c3Z/uD3um 1fzXdlKmQlrVCBQSXY4F/C5/0UdvM2E6BvBxHP36Wc9z6FgSCFkdlpy9l8CpaTcTvfxh S1qw== X-Gm-Message-State: AOJu0YzJyRMxp9UwGgZFKXsX+xhMYxWuPya8ayV/ufFYpldpNoN4bZRV G9A/QxBycWC0DbElEUP7G7F7U04TDReEa6D1oOLVcw== X-Google-Smtp-Source: AGHT+IG7MGV+5yfrfIbUAxlq/0SmpPmXJT7+m3AUNMaYZswy9Ud9cLdNvH7ShAE6dHY1LLBW3r7AlQ== X-Received: by 2002:ac2:48b4:0:b0:500:ac0b:8d51 with SMTP id u20-20020ac248b4000000b00500ac0b8d51mr9236642lfg.37.1694525528735; Tue, 12 Sep 2023 06:32:08 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.32.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:08 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:48 +0200 Subject: [PATCH v2 10/14] remoteproc: qcom: q6v5-mss: Remove PNoC clock from 8996 MSS MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-10-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=688; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=aEImegp4VH04wiEIbWvbE829Mpli30o1nbaGMff5Zgc=; b=AVtSFIWouOh61cF+kWzE/4pk4pk1JFUIbhy8p+mvaicS0P3Fv0cisTztSIqBouk5Z2VD03M5t DbdGLDFX0efAVTM0Ehd1vRbWtAp8k8qq+I2pe2bSWW3P6lQurp2F3iQ 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 Tue Sep 12 13:31:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381688 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 2670FCA0ECF for ; Tue, 12 Sep 2023 13:32:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235851AbjILNdA (ORCPT ); Tue, 12 Sep 2023 09:33:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235856AbjILNcf (ORCPT ); Tue, 12 Sep 2023 09:32:35 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE235171D for ; Tue, 12 Sep 2023 06:32:12 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-52c9be5e6f0so6806188a12.1 for ; Tue, 12 Sep 2023 06:32:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525531; x=1695130331; darn=vger.kernel.org; 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=UxtccacpBwGixpSIy230e0q5PgRxGFascOoiViGLP3k=; b=qAJM56IwJ4yiKwdjx6+cf4c3RGogvlLXWHdXGE1PgUUovkc0nCuV4I4aw0eWOzzjtO L5/DKUrsX7YsIr4vbwipNwsuMrSDZUHttczUieo/gRfVmfPMv4ZM2UE/FMDQZ1ysQmI0 me8oQRZGukNzU4F7eDILek9Y0cdqS8IP/f9DGeS3iWPZxJNLd2GIhHh5FqJwgKESJX5j XIN4/KIgMZhSwq5avsrhSKnEYnW9X78oCKCpw5z61EhRxYsZ6nXJJVf0RZkumYvEIAld fvmNYWHiJyNVND+EXM9rujXY8dhtLUDzxD6I1zVksO+a3iYswoKeuK2a4S+83W91ddll q0Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525531; x=1695130331; 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=UxtccacpBwGixpSIy230e0q5PgRxGFascOoiViGLP3k=; b=JPB2eXbc2cJxjzHtEvQuY1Q5+a/B9UPZ0HQYsXUI8ell0zScz5vFx/1nWsG9TTe89N Ge/kbbNVGi71VLwJSVgGdxikprseh4w3GaO/Ec46AxYgAYlU4OsWJ6ULzyM5GnHIHCJ9 lqWYH84Of8lnTvwprjgCpxVuQdAJ6M1HJ6Z3eAuwH07RLL57dtLQ1NTMdEVNykW4m2Y+ i/TVlaerCpdTicv03ffPix/Tyj+z/EaSb1afvshB8SkuUpQLdzOLwFIL1fqxSgnf8vxG Rx6j2HqyxtQ0PDD/1nPu1uzyaf5TJ4UpYtQGJpJ0h1D5PqADFthr44n7d5qNqOWmAsop NW4A== X-Gm-Message-State: AOJu0YzBSaWZLg/0JujP6Ec9D5hFezED1139xwEkYPd8kuPFKBrzi8/A qNk6EDGobRheOnolLosvBH7iAgPipbeW0mWApZqZBA== X-Google-Smtp-Source: AGHT+IGDdLlH6QMNo0LesrvW7tqQ3UhLo5jMkBHR5ISm+pmrwc0Td7mwqYE6zY6eveDY64WIEHBQDg== X-Received: by 2002:aa7:d508:0:b0:51e:ed6:df38 with SMTP id y8-20020aa7d508000000b0051e0ed6df38mr10476262edq.13.1694525531150; Tue, 12 Sep 2023 06:32:11 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.32.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:10 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:49 +0200 Subject: [PATCH v2 11/14] arm64: dts: qcom: msm8998: Remove AGGRE2 clock from SLPI MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-11-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=889; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=APDJWKGv0OM8xkXbz6kn7MnEY9F1MTCZxMvBScddrP8=; b=fm7ExDvbRT0Sd/IS/guUrW0VKUsM5an7PF7RCJbaYOVZf0humdCmaqSivS8PZcBVQ8jHJJVQP gaA9Ee5eVxDCUutCLYzu7eMoDF6RCNm3MutO/ynMxiuRHlPqxZGgrxS 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 f180047cacb0..5667ffa83ce5 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -1618,9 +1618,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 Tue Sep 12 13:31:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381689 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 375CFCA0ECA for ; Tue, 12 Sep 2023 13:33:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235932AbjILNdL (ORCPT ); Tue, 12 Sep 2023 09:33:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235886AbjILNci (ORCPT ); Tue, 12 Sep 2023 09:32:38 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27BCD211D for ; Tue, 12 Sep 2023 06:32:15 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-52e297c7c39so7100024a12.2 for ; Tue, 12 Sep 2023 06:32:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525533; x=1695130333; darn=vger.kernel.org; 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=45YFU5JcmronSMHtWIJchtM2DzmSuCT4y1WBsd7RbnI=; b=g26vSFBEi982CZiaJtFxJug3FsOi1RP+p3SsgR3dX7flpKK3UEB+o8Fa3Ky8xym3rl +XP3tasvcMfoYtL8FakGHwXnttTtVMiK7ChCWmBX3WSTqpV9qqBEaDalAFoKL7bzy/tA Fv6j6TxG51u26x+uWMeAw3aKJk4ImEbCMwvH5pF/Y5V+RJHFUhrPRDctCLQbmY6Cetzp VB57eY6Nx8CSBVcIMavThavCWPyRsoE4UkB4fVVhz307Awto8UQ6k3b/mdL61zAlill7 z7H34vbZd6JNMDljiFZFmwcNHcW2Y+wFu+/f7787BfuS6qTGO90GtYUhfWzpa7U7sNkj LCyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525533; x=1695130333; 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=45YFU5JcmronSMHtWIJchtM2DzmSuCT4y1WBsd7RbnI=; b=ldD+IFktI/NCayxEGpmfL/1J458+q5smDTjts29sscH+XM6WHPg10fPiBVAfSkskYH KAh12RDWJgQepmtM/tMeggwNjJKWRFebfs9zrQGG75zaIjZ5d2bxt3DeEbZ/HQ7Dv7K4 U2+g8QUpgepBpHEP+IgXwLuKLv6DXa3njp0YX4n6lwmfe5t6tuaLBdBiFvAQ9+fi0swA AmillvwmgK/Pukp2+88Y3i1zoA1cqp21Lr6m8UDyuuxOxkWKAPODiaGh8Pk/EZbHZ8kj Id4fclnB24L/NlLdPnkNkLYmyNgj/Y3eTG5VEwnla6Gsy37xXZ2xSAfRXTbv/nHuTp7T b8QA== X-Gm-Message-State: AOJu0Ywik48i8LpJSB6yGzbmfUqwGYuzJuVyftTblSdIaMy9NTLVBO/q vSo2HOSD6PiOZSNFsjvMm8dZRjq5ESI60FRw5DtBPg== X-Google-Smtp-Source: AGHT+IFqpnswu8OnBmINYA+lldI8HWxw2rBKgaEqSn1Lel8BXqQ52DxoMkZOSrQPuXC7VTtdKwRz5Q== X-Received: by 2002:a50:fe8e:0:b0:52c:84c4:a0bf with SMTP id d14-20020a50fe8e000000b0052c84c4a0bfmr10274612edt.30.1694525533476; Tue, 12 Sep 2023 06:32:13 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.32.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:13 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:50 +0200 Subject: [PATCH v2 12/14] arm64: dts: qcom: msm8996: Remove AGGRE2 clock from SLPI MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-12-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=853; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=lSiwdkbvQabczgwyXIMk1Ll81JJNyjV8OASMQGT5ls0=; b=FbB1+RF12wYQcbxElETqL0vcuCj9+AfFrDtI5q+xrU73UuBoobmmh6+VIjF0kpYJwu7InjkhH Q6L3caabD81Be/2QZCyXYTsVkF1cq09ZG/XMoNlJ1Bxc+C2QeyTW8C4 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 acef67ab0581..7061a8e12c81 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 Tue Sep 12 13:31:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381690 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 B7252CA0EC3 for ; Tue, 12 Sep 2023 13:33:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235747AbjILNdU (ORCPT ); Tue, 12 Sep 2023 09:33:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235724AbjILNcr (ORCPT ); Tue, 12 Sep 2023 09:32:47 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A08B213F for ; Tue, 12 Sep 2023 06:32:18 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-52683da3f5cso7258353a12.3 for ; Tue, 12 Sep 2023 06:32:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525536; x=1695130336; darn=vger.kernel.org; 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=MKOk76xGHFUbMYlGoo5EB0SwWts0yrobcw5xDMLmD9M=; b=XVj6QXH92SrvFrwDvpwzI54xw4bGEUXwxs0jz699Fwhmzc8oESrgenGPbpdmnx6xLY dKP04NtASgWt58Qeuhrw18SZA19iU05OjnTbgH9chv6Uk3kIW9z3SYhZVEAgJyt9/67U BaFTaTe0oByyQMIFB9pqbmBUo5SmZGCC+/bp6lsbQUDPaIuubl0awak/BnnchDMtlZ6E BGknaWYRPtp0YbjNG/c3JN4VhXN25ZbeKA+tEpkm0u6ouGsN5fGOCOPO3v8mJPzKn6zF WSPBjlhhsjiGYgO2v/8gkLDCiInq+1/9MgMeAMxeLU4wQyETFPhD3BYsUsrf8e9faJwM qDqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525536; x=1695130336; 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=MKOk76xGHFUbMYlGoo5EB0SwWts0yrobcw5xDMLmD9M=; b=ImLbvn2TdqiG0hUMbPG8GrYTJKeBZM7Zg/77rSe50BUoO8il8oJPLJS2asCer9qcjh M/XK473EMJKLAQkFmWWS323yb8o64HMJvIIeqFcYrtMAhfykmqDgMMSvc2clP/toBNem wymHmwqIFDcx7hPF77EM3vZwwfwSe0EOXyBm/IkQJkL7NznqZfe7bQQsdsh7dqLjiOxK HZWqLgBEXhik6H23wF36d9QgOq5/wSf4H2+m1NxxVvXuqqG0leNMBJMxeNiPx0Yb1+9n wt8sB/EYbH+ukbp9lHuTgqxeUi4HPBUdA7IlkpCyC7PTs9rBiUO8ooC1+q33Yw9jKZim /wzQ== X-Gm-Message-State: AOJu0Yw2h8oiY8rHH2Mo8z7xRR1EBMPVng5bg9VR+u5DeiEep0TlLXlw B8sXAs3oj9lqwUeIQD0p+f622/fYGmCVywkZ5WyB+A== X-Google-Smtp-Source: AGHT+IEXVUF3G/Xcm+nMiybcrFyyq4s8W7w7OhkeqVd3qfU2FWiQP5LwPnw4hZHXbTm8d+d1t5mTYg== X-Received: by 2002:a05:6402:1d99:b0:52f:a162:f4c2 with SMTP id dk25-20020a0564021d9900b0052fa162f4c2mr1789820edb.22.1694525535894; Tue, 12 Sep 2023 06:32:15 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.32.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:15 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:51 +0200 Subject: [PATCH v2 13/14] arm64: dts: qcom: msm8996: Remove PNoC clock from MSS MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-13-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1234; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=+4AEIxoF5np+WSzLavg0MzIg1Zm1W4ES6peXAOsQrzE=; b=a/q3ZM5c50UH+82ZWPiBaAUiYrtUYjAebMJvulsLiD6VOw94VYmKJaM0WeTyoWQN1YRB5vfBw ZsM5Pv0GBp7DTKfRmFqB3PphmdxTuw8TSaDyJgglP3kYtV8O3lbpD9p 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 7061a8e12c81..51db5ddcef88 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"; From patchwork Tue Sep 12 13:31:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13381691 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 79AE1CA0ED3 for ; Tue, 12 Sep 2023 13:33:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235959AbjILNdX (ORCPT ); Tue, 12 Sep 2023 09:33:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235827AbjILNc7 (ORCPT ); Tue, 12 Sep 2023 09:32:59 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89EC22698 for ; Tue, 12 Sep 2023 06:32:20 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-52683b68c2fso7375088a12.0 for ; Tue, 12 Sep 2023 06:32:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525539; x=1695130339; darn=vger.kernel.org; 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=QbXnoaG8UM/xnuGoKiBDSZrOmSb2jf1llCbQVLffVMo=; b=hCQcTHvAJViXwhhNQyHwZ6I4nV/hzy0Cm0pLsGSixn4we5e/BJB8sP5pSd1dO+Pl9B 9VZ2vxGEE9YwutNZPp/ktkOR8800LC0R8V6FtBDSRziHxAjGV5bpgdNXN3ZLDm4i9CDw JqIfowanFIvid3UHF8BBxeVIZs1vpPWtmEitEYVrFhe9t8qUSMOLxG7JsISB0+5qF7m9 WVndscGNLi1q0FS8Gm0EdMJsOR20HDpcxihBAuZpXXmfzepytqZiRnm9V8o41Aj2D9eL moHjuGuTCsS8KOhhEQ/EYMNx22qk5yNk3BWg5JkpuMUKnvRMlfiB5bV0tEvifX/cHssh DCOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525539; x=1695130339; 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=QbXnoaG8UM/xnuGoKiBDSZrOmSb2jf1llCbQVLffVMo=; b=h9R0ncFQXEpTGZ/nTAIlNhmRTNCYNC37B0Aa8HO54eezfCxDc578dDZ1st3GQJ0Upj fU1LI3eth6O/zVDKeVMPNIOfhVdQ3KLMGeVxYFCWhmVQ8ODU3Fj/LwpEuORVSyEcTg7M 5kqQiGQRTdchaGiebuWx+W2RMplIcuTbDKyg2RQ3u/Xj047NXqPlMvJ6ygBrpiSB4/ZY ZmPh5qjVACUA1NigenKM3NhN8EodZzi8U/JH9uKW3+LB/NqaVZ1s91S7ws95NU5n13rg m8ez4wkaNp34l2ADYCZi0Ui3GLFAJlfRdktWhrIBiPPmjkCL5/evvZK9iLAKhod4DBQ2 O6Sw== X-Gm-Message-State: AOJu0YyGf5Vk0KsX4+c6NHnnIXrM7iuKQemxu4bPLCzGMuItAjKdXOto rnnSOq3prNo0QHxyIgAzH2n1WWMnFjsneqpNgyqV6Q== X-Google-Smtp-Source: AGHT+IHjyWCzW0ayXb0LJwcsgfnod96ca3muMqyfMqr31yt9brYBDxzKS84KHnsnwu97DkDO8oho6A== X-Received: by 2002:a05:6402:c07:b0:52f:bb0b:57bd with SMTP id co7-20020a0564020c0700b0052fbb0b57bdmr281117edb.17.1694525538846; Tue, 12 Sep 2023 06:32:18 -0700 (PDT) Received: from [10.167.154.1] (178235177248.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.248]) by smtp.gmail.com with ESMTPSA id j2-20020aa7ca42000000b0052a401d8ef6sm5983830edt.71.2023.09.12.06.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:32:18 -0700 (PDT) From: Konrad Dybcio Date: Tue, 12 Sep 2023 15:31:52 +0200 Subject: [PATCH v2 14/14] arm64: dts: qcom: sdm630: Fix USB2 clock-names order MIME-Version: 1.0 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-14-1e506593b1bd@linaro.org> References: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> In-Reply-To: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> To: Andy Gross , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Sibi Sankar , Will Deacon , Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , Wesley Cheng Cc: Marijn Suijten , Alexey Minnekhanov , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=1150; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=xV/ZqPgMqaXSG0vXi80ddqfx5e4u+5Uywuqjc5SC6yQ=; b=JcTmOePKvRMjpiooocOU71gidr0+FDs8aF2A2fYneNgn3SUS4LV/RsG3oSoeLzyRJR5ZUAxgN oS5s69VDs47Dt+cXpXsmvMD6uFQgNYxxFQObqf8CfQ8l2zMKddqof+k 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 last 2 clock-names entries for the USB2 controller were swapped, resulting in schema warnings: ['cfg_noc', 'core', 'mock_utmi', 'sleep'] is too short 'iface' was expected 'sleep' was expected 'mock_utmi' was expected Fix it and take the liberty to make the clock-names entries more readable. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index f11d2a07508c..316c8fd224e0 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -1394,8 +1394,10 @@ usb2: usb@c2f8800 { <&gcc GCC_USB20_MASTER_CLK>, <&gcc GCC_USB20_MOCK_UTMI_CLK>, <&gcc GCC_USB20_SLEEP_CLK>; - clock-names = "cfg_noc", "core", - "mock_utmi", "sleep"; + clock-names = "cfg_noc", + "core", + "sleep", + "mock_utmi"; assigned-clocks = <&gcc GCC_USB20_MOCK_UTMI_CLK>, <&gcc GCC_USB20_MASTER_CLK>;