Message ID | 20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp573084vqx; Tue, 12 Sep 2023 10:40:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHyUPp4Vzx+wLmbPuPgvxaIkq79msfHnRpbHwCv6LPzEwvt79rdUbf7u1eed7j8Fjy5Uy+9 X-Received: by 2002:aca:240f:0:b0:3a7:4878:235a with SMTP id n15-20020aca240f000000b003a74878235amr467796oic.29.1694540444790; Tue, 12 Sep 2023 10:40:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694540444; cv=none; d=google.com; s=arc-20160816; b=wDYPeflsAp+aJwFBK1XFP4DDlrS7O5H7Fp7h3iOnZJOwywrvSswXh1QQTVh9hT0tVd wZftiNDpnwQug1pfFlrIbGFkW/73DdYXtL+x/xouiiYVYyN0EEsgy7R16i9TBotrleGx KGjQjkkxeR4ujGaimc+usqz/OLyigwsaM3mqIkPRJPiYDq/vh7llp7OicVWByeDqPmLe pbaL2JgoBy2JXHNw385izZq8AzdTePqRpcsOt0ZJLGEJA7k6MbeKR+Fwnru9ygGH3PtU cqsYXqwrjKMTDPzgR39uubJdyosaCFgBZERDI1GGjKXmcqdXh/kQPY/LZnXIp1wrgmMc 6R3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=pf7Q0JvYFIlne7PDYjwGZfU3lmXNj3gLNrHRp1Eh2cc=; fh=lOaqgNFEUd5RF4gDbeg8IgeZIn9pEXvt1//x/58tkRU=; b=An3wEucb6tp/O9QO+SVM+fZIOvf+y9OughZofvadN9mFvcUr7IB0+e8vgdo2Qai6tL lEIsKWZGQBNsKtUilI4ZXgY1bWXl5RXMaa9aH//NR3s0kkHwVd+1C8Sx90bZ9PVLH09O P7DRIvhTmFYFbhA0T6fTQGQMC3QX+n/bs6hoIj81Y8Q0YxsbY3CCuVFGsnp8DUk02WFn xINqUARxGe4olPsDhGvasU2F2h7KYDBGncVyz732sr65P6HFBJk7wIXiv0Vyy7iIc2/k yYdizY+GMVLZDyVYpnsKAhRorGHf55ESTHT91FfS23HBdJ8iO2zisCni0/9Bo8uwGUQQ S7iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xio4Opqo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id b26-20020a63931a000000b0056da0ae25a0si65081pge.441.2023.09.12.10.40.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 10:40:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xio4Opqo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id AD1908227415; Tue, 12 Sep 2023 06:32:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235571AbjILNbx (ORCPT <rfc822;pwkd43@gmail.com> + 37 others); Tue, 12 Sep 2023 09:31:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235526AbjILNbu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 12 Sep 2023 09:31:50 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3474E10DD for <linux-kernel@vger.kernel.org>; Tue, 12 Sep 2023 06:31:46 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-52a49a42353so7287739a12.2 for <linux-kernel@vger.kernel.org>; Tue, 12 Sep 2023 06:31:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1694525504; x=1695130304; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=pf7Q0JvYFIlne7PDYjwGZfU3lmXNj3gLNrHRp1Eh2cc=; b=xio4OpqoETQzdxJCXm7wN0Snnu5/5J/4vQykM2uIA52jQtugvlj1ydkG95tgTMwple 5eN0B+ZAVXNLgbfrG1Hn0613Ho36gqCXoLabk0wg5n67DMp8bk18KNxv5tnQCX4gmnNv rrDZDQ2T2a6ENPpKvj9g7BvcLLqQfi6XGF23jLeyluTPgsx6CVJgHOl/0qCQtxsUlfqh 75/6M5ddCahh4K0htcs3RpOm43WPvtqUZN+K8W9vQvLI2sdRJHQ5iRsm6iANEokQd9qI uzdgQRrPQtYvnDjKcrLGLJZh5XNrHtmU0CWwbLo4JplfmyKyjXLNnygipuzjivRcoWr+ +fCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694525504; x=1695130304; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pf7Q0JvYFIlne7PDYjwGZfU3lmXNj3gLNrHRp1Eh2cc=; b=GxeLJP/PSc2Bpx0wNIw3X3OHNeVEz4jQ04b9UAd1qlXto6uAFHK4NL9kVzjSOhq6Jz pOv4hRHPFFyjeotXrgQHy4FtYcVakpZHm7I34uNogRz9lyFVTUA3norb/dCNq3ktzPHA QVPtA+9e6bFy8yHlXiSp12BEMBI5fV7mfcLDhiFYbcjA3qUy1vzfgOwgcTq2/fdhpPjy +eCdrToFrBocJj6BW9D4Nl9njY9Z4PNM4fguKXVO/wvrDC3/K5NNGMzdlxMwgtjupcex Vv5IzjOC3L/V0i6peU3GSbIUfXT2u8+9d/AB4/FH2Fvek+U2VvonS7okTvq16P/ee9JD 5LnA== X-Gm-Message-State: AOJu0Yw7dwhtOqzirTln6VP/OGEVGVMDLj3rBxjf1iUI7KAxgiJgIXBU t/319/+pYo+nph9B5ziKfULzpQ== X-Received: by 2002:aa7:cb52:0:b0:52a:46a7:4597 with SMTP id w18-20020aa7cb52000000b0052a46a74597mr11050775edt.33.1694525504563; Tue, 12 Sep 2023 06:31:44 -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.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 06:31:44 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Subject: [PATCH v2 00/14] Clean up RPM bus clocks remnants Date: Tue, 12 Sep 2023 15:31:38 +0200 Message-Id: <20230721-topic-rpm_clk_cleanup-v2-0-1e506593b1bd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIADpoAGUC/4WNQQrCMBBFr1KyNpJEW8GV95Ai6SRtB2MSJm1RS u/u2Au4+Iv34fFWUTyhL+JarYL8ggVTZDCHSsBo4+AlOmZhlDmpi9FyShlBUn49IDx53sY5S92 Z/my1Bae0YLezxcuObISR7TiHwGcm3+N7j91b5hHLlOiztxf9e/9lFi2VhL4BV0NjtKtvAaOld Ew0iHbbti+Y0PxF0AAAAA== To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Mathieu Poirier <mathieu.poirier@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Manivannan Sadhasivam <mani@kernel.org>, Sibi Sankar <quic_sibis@quicinc.com>, Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Joerg Roedel <joro@8bytes.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Wesley Cheng <quic_wcheng@quicinc.com> Cc: Marijn Suijten <marijn.suijten@somainline.org>, Alexey Minnekhanov <alexeymin@postmarketos.org>, 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 <konrad.dybcio@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694525501; l=2936; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=CvKjOth/TKTTVZAvkrUVTofGQmTgRncGfe147qHke1o=; b=Tci9qXx/tjv8ZOMsqCVXiSQ42Qi3ElBi6aWcjDlQOIk1Sg0zL92juBFDyp074pEuEfUZxjsZE p76V4XQ0yCRAKl1Pb5rneYNsCvWvfQ9Kz0tD4RA1w9DPdhHpBTn6P6q X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 12 Sep 2023 06:32:03 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776854441463825693 X-GMAIL-MSGID: 1776854441463825693 |
Series |
Clean up RPM bus clocks remnants
|
|
Message
Konrad Dybcio
Sept. 12, 2023, 1:31 p.m. UTC
After the recent cleanups ([1], [2]) some in-tree abusers that directly
accessed the RPM bus clocks, effectively circumventing and working
against the efforts of the interconnect framework, were found.
Patches 1-5 drop deprecated references and the rest attempt to stop
direct bus clock abuses.
Depends on [2].
8996 and 8998 remoteproc changes were not tested, they never worked on
my Sony phones.
[1] https://lore.kernel.org/linux-arm-msm/20230526-topic-smd_icc-v7-0-09c78c175546@linaro.org/
[2] https://lore.kernel.org/linux-arm-msm/20230721-topic-icc_bindings-v1-0-93e2bc728fb7@linaro.org/
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Changes in v2:
- Incorporate [3] into the sdm630 patch, add required bindings fixes
- dt-bindings: remoteproc: qcom,adsp: Remove AGGRE2 clock: Merge entries (krzk)
- Pick up a-b (krzk)
- Add "sdm630: Fix USB2 clock-names order"
- Link to v1: https://lore.kernel.org/r/20230721-topic-rpm_clk_cleanup-v1-0-cf6cd5c621d5@linaro.org
[3] https://lore.kernel.org/linux-arm-msm/20230719073520.2644966-1-alexeymin@postmarketos.org/#t
---
Konrad Dybcio (14):
arm64: dts: qcom: msm8916: Drop RPM bus clocks
arm64: dts: qcom: msm8996: Drop RPM bus clocks
arm64: dts: qcom: qcs404: Drop RPM bus clocks
dt-bindings: arm-smmu: Fix SDM630 clocks description
dt-bindings: usb: qcom,dwc3: Fix SDM660 clock description
arm64: dts: qcom: sdm630: Drop RPM bus clocks
arm64: dts: qcom: msm8939: Drop RPM bus clocks
dt-bindings: remoteproc: qcom,adsp: Remove AGGRE2 clock
dt-bindings: remoteproc: qcom,msm8996-mss-pil: Remove PNoC clock
remoteproc: qcom: q6v5-mss: Remove PNoC clock from 8996 MSS
arm64: dts: qcom: msm8998: Remove AGGRE2 clock from SLPI
arm64: dts: qcom: msm8996: Remove AGGRE2 clock from SLPI
arm64: dts: qcom: msm8996: Remove PNoC clock from MSS
arm64: dts: qcom: sdm630: Fix USB2 clock-names order
.../devicetree/bindings/iommu/arm,smmu.yaml | 2 +-
.../devicetree/bindings/remoteproc/qcom,adsp.yaml | 20 +-------
.../bindings/remoteproc/qcom,msm8996-mss-pil.yaml | 2 -
.../devicetree/bindings/usb/qcom,dwc3.yaml | 6 +--
arch/arm64/boot/dts/qcom/msm8916.dtsi | 9 ----
arch/arm64/boot/dts/qcom/msm8939.dtsi | 12 -----
arch/arm64/boot/dts/qcom/msm8996.dtsi | 43 ++++++-----------
arch/arm64/boot/dts/qcom/msm8998.dtsi | 5 +-
arch/arm64/boot/dts/qcom/qcs404.dtsi | 9 ----
arch/arm64/boot/dts/qcom/sdm630.dtsi | 55 +++++-----------------
drivers/remoteproc/qcom_q6v5_mss.c | 1 -
11 files changed, 34 insertions(+), 130 deletions(-)
---
base-commit: 66d9573193967138cd12e232d4b5bc2b57e0d1ac
change-id: 20230721-topic-rpm_clk_cleanup-1b2f4a1acd01
Best regards,
Comments
On 12/09/2023 15:31, Konrad Dybcio wrote: > 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 <konrad.dybcio@linaro.org> > --- > 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>; Bindings expect here two clocks, so you miss some bindings patches. > }; > > 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"; This is also against bindings. After your patch #4, such bus clock (or other combinations) is still required. > #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", And which bindings does this match? Best regards, Krzysztof
On 12/09/2023 15:31, Konrad Dybcio wrote: > 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. This was already fixed: https://lore.kernel.org/all/20230723141849.93078-2-krzysztof.kozlowski@linaro.org/ Best regards, Krzysztof
On 12/09/2023 15:31, Konrad Dybcio wrote: > 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 <konrad.dybcio@linaro.org> > --- > 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"; Plus this is just incorrect... :( Best regards, Krzysztof
On 13.09.2023 09:13, Krzysztof Kozlowski wrote: > On 12/09/2023 15:31, Konrad Dybcio wrote: >> 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 <konrad.dybcio@linaro.org> >> --- [...] >> 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"; > > This is also against bindings. After your patch #4, such bus clock (or > other combinations) is still required. So, we have 4 SMMU instances on this platform: MMSS (described, iface, mem, mem_iface) GPU (described, iface-mm, iface-smmu, bus-smmu) ANOC2 (this one, no clocks after removing rpmcc bus) LPASS (no clocks) Should I then create a new entry in the bindings, replicating what's there for msm8998[1] and dropping the entry with just "bus" from anyOf? Konrad [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/iommu/arm,smmu.yaml?h=next-20230913#n272
On 14.09.2023 08:26, Krzysztof Kozlowski wrote: > On 13/09/2023 14:08, Konrad Dybcio wrote: >> On 13.09.2023 09:13, Krzysztof Kozlowski wrote: >>> On 12/09/2023 15:31, Konrad Dybcio wrote: >>>> 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 <konrad.dybcio@linaro.org> >>>> --- >> [...] >> >>>> 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"; >>> >>> This is also against bindings. After your patch #4, such bus clock (or >>> other combinations) is still required. >> So, we have 4 SMMU instances on this platform: >> >> MMSS (described, iface, mem, mem_iface) >> GPU (described, iface-mm, iface-smmu, bus-smmu) >> >> ANOC2 (this one, no clocks after removing rpmcc bus) >> LPASS (no clocks) > > Ah, I did not notice it. > >> >> Should I then create a new entry in the bindings, replicating >> what's there for msm8998[1] and dropping the entry with just "bus" >> from anyOf? > > So this passes the bindings, right? Yes anyOf: in the binding should allow > also no match, so this should be fine. However indeed we need to drop > the "bus" entry, because it is not valid anymore. Actually, looks like the LPASS smmu may require a single clock. We can reuse that single-"bus"-clock entry for HLOS1_VOTE_LPASS_ADSP_SMMU_CLK. The device didn't crash when trying to access LPASS SMMU with that clock absent, but I guess it may have just been luck, things may change once more hardware is parked.. Konrad
On Tue, 12 Sep 2023 15:31:38 +0200, Konrad Dybcio wrote: > After the recent cleanups ([1], [2]) some in-tree abusers that directly > accessed the RPM bus clocks, effectively circumventing and working > against the efforts of the interconnect framework, were found. > > Patches 1-5 drop deprecated references and the rest attempt to stop > direct bus clock abuses. > > [...] Applied SMMU bindings fix to will (for-joerg/arm-smmu/fixes), thanks! [04/14] dt-bindings: arm-smmu: Fix SDM630 clocks description https://git.kernel.org/will/c/938ba2f252a5 Cheers,
On Tue, 12 Sep 2023 15:31:38 +0200, Konrad Dybcio wrote: > After the recent cleanups ([1], [2]) some in-tree abusers that directly > accessed the RPM bus clocks, effectively circumventing and working > against the efforts of the interconnect framework, were found. > > Patches 1-5 drop deprecated references and the rest attempt to stop > direct bus clock abuses. > > [...] Applied, thanks! [08/14] dt-bindings: remoteproc: qcom,adsp: Remove AGGRE2 clock commit: c4c5b47958529bc1de10260df0c583710853b516 [09/14] dt-bindings: remoteproc: qcom,msm8996-mss-pil: Remove PNoC clock commit: e7781901449cbcff129d80a5d9021e9e96084ec4 [10/14] remoteproc: qcom: q6v5-mss: Remove PNoC clock from 8996 MSS commit: e1592981c51bac38ea2041b642777b3ba30606a8 Best regards,