Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp428334rwd; Thu, 1 Jun 2023 02:08:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6230qhoBHwozzWUN4DOJS0KG/IB6LVatZKsHzw9ttzHwPh4GF98YMiHb7gpI570jk2kBuK X-Received: by 2002:a17:902:d4cc:b0:1b1:1168:6571 with SMTP id o12-20020a170902d4cc00b001b111686571mr6131209plg.36.1685610511827; Thu, 01 Jun 2023 02:08:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685610511; cv=none; d=google.com; s=arc-20160816; b=dVZBSo1f6ynSBN22XBwLc4Sn7RGJ08n/mgVaZLYMzFrpHIrq5pgOuhtlkeN0VapF/v TBeU4Z1W7oOm8YVasNKuiYjGLqDmfK1Sq8gzQmtS6wmKMht7dEQp/P2rgq8i7Bw0sYas niyvIGYQoCf8K4xUhWLshH8UIfh+zSZHQ7GQ8wfr7rdlcbMYWDMXPoykCS3IwZGqIa+L paVZj3w7z5cn5HMpRE3+oOYf2+OEYdr8vOphbDVJiwa5GAaK1XSRMtwIeRQ1QAOH1OQp VR47tX7Xg2gJqkGElQFDKiTEg28O8ZymW41Cckh3wmoBLbdkJhNFqjNL0pcYmX7M/dRt 6I0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=mOHClv3EmZ5BC3wC17xcl4hTpc6sk/oBTzMD5jV9A1U=; b=yCBNNEpmC2+qkzldX/o1uX67MEzFSYUwZcCLLEhCVlF8pkyi9L0S/JlnGWcyjqCUqj vCcAcslWHoFhiPBWvpz1RTd+DGkopHQk6GKNOY9JiSlIBslMzpm6nMLK00vxkxi2wWri xsBfKwfUaFwSthqvaxm70TcHdc5OQEir3TS3//ZTrv94ja/9hXF5WjDlN7c7EPVGwUyo 5zQLAZMIwBC0xYciQG1O3k2MBPh3EBGB/o/Y1rxrl+6bphp//YbAZtQqU+SlhrVuWy/2 0buE1FxCCYIv6i1Ggs2IpXmwr6XkTWTHAUIO+s/wLVhG5q0uLZ+jLhaRvkuvpijPwvhr C1yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexus-software-ie.20221208.gappssmtp.com header.s=20221208 header.b=T+fEJ8Ml; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jb7-20020a170903258700b001ac404445c9si2274957plb.139.2023.06.01.02.08.17; Thu, 01 Jun 2023 02:08:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nexus-software-ie.20221208.gappssmtp.com header.s=20221208 header.b=T+fEJ8Ml; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231995AbjFAImw (ORCPT + 99 others); Thu, 1 Jun 2023 04:42:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231824AbjFAImu (ORCPT ); Thu, 1 Jun 2023 04:42:50 -0400 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E30F119 for ; Thu, 1 Jun 2023 01:42:46 -0700 (PDT) Received: by mail-qt1-x82a.google.com with SMTP id d75a77b69052e-3f7fd59bb13so4824271cf.3 for ; Thu, 01 Jun 2023 01:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexus-software-ie.20221208.gappssmtp.com; s=20221208; t=1685608965; x=1688200965; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mOHClv3EmZ5BC3wC17xcl4hTpc6sk/oBTzMD5jV9A1U=; b=T+fEJ8MlR4KHrrWHZaVkuXopdtCLepCVfBAECMwZjmqdNEwNC6Bgag4lvkdnJttjqG kvPSAHJclDqCmk2FjFHQ8uyCRrJL2PaHeluGbzlQRi2NqgfZZVRdL0GQ0LwzKQ3jHmnZ v/AFlGwYnGklHBhYx7Fn/2CeFAkzTYucPr/j3zZXXc3msN9KyfKR3n1sZN09ALFhkdW8 dVL8TVf7xu9Nohbt/DNVjnHEaW1Ys4IYv5QQBOnhZZBb/KSkKorVUDMf6CjnuKulVZvP cF7QiDngi14DRKbYW9qE4Ls9dcr33RkZHy8U8iT+bt0YF+2buWVR7Vqv3UeL86eGGN3M B2KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685608965; x=1688200965; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mOHClv3EmZ5BC3wC17xcl4hTpc6sk/oBTzMD5jV9A1U=; b=IThcn1SfW261eeoct8ms/39pZzM/n7E5O6a41Oxtc28ppzezrsaAQNj6AEQjHWUt74 PQjc8qXyNojMZq6tkyjljySzpDRanPDFJ/Xucg1Nxh/G/QZ8pdkDn5I+qGVtAx0RRs4V IkIUMLZ94HZ6K6Ey0Yek32gdgeELPFmDaf0uzUrS9Tz7Bv1Y0KBxFn/hLM/S+5eTJtJs fpU+EbCX0bQn6wS+S4xq5N8mLPpYepHf85ISu5EAOj7sze4n4Li39ufY4UCbTzsqjN+c G5HEnkysk5GrfijaD8sLTtGhqGz3PV941iFWOUlz0+G+6xltQk1FyI8yGJ8VZYWz/v8c n7rQ== X-Gm-Message-State: AC+VfDxyIrTr1lpp1HQyrezt6n8bZKUWXNleJGtlqlM7IoLep7NKczPt KNsK3WjZsikBAPrctB6z1UGFeTe0cSZiISJXs7bmrw== X-Received: by 2002:a05:622a:58a:b0:3f6:b151:7db1 with SMTP id c10-20020a05622a058a00b003f6b1517db1mr9299207qtb.62.1685608965598; Thu, 01 Jun 2023 01:42:45 -0700 (PDT) MIME-Version: 1.0 References: <20230531-topic-8998_mmssclk-v1-0-2b5a8fc90991@linaro.org> <20230531-topic-8998_mmssclk-v1-1-2b5a8fc90991@linaro.org> In-Reply-To: <20230531-topic-8998_mmssclk-v1-1-2b5a8fc90991@linaro.org> From: "Bryan O'Donoghue" Date: Thu, 1 Jun 2023 10:42:33 +0200 Message-ID: Subject: Re: [PATCH 1/4] arm64: dts: qcom: msm8998: Properly describe MMSS SMMU To: Konrad Dybcio Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , AngeloGioacchino Del Regno , Michael Turquette , Stephen Boyd , Jeffrey Hugo , Imran Khan , Rajendra Nayak , Joonwoo Park , Jeffrey Hugo , Marijn Suijten , Dmitry Baryshkov , Jami Kettunen , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 31, 2023 at 11:01=E2=80=AFAM Konrad Dybcio wrote: > > The MMSS SMMU has been abusingly consuming the exposed RPM interconnect > clock and not describing the power domain it needs. Put an end to that. > > Fixes: 05ce21b54423 ("arm64: dts: qcom: msm8998: Configure the multimedia= subsystem iommu") > Signed-off-by: Konrad Dybcio > --- > arch/arm64/boot/dts/qcom/msm8998.dtsi | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/= qcom/msm8998.dtsi > index f0e943ff0046..a4016085b750 100644 > --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi > +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi > @@ -2737,10 +2737,10 @@ mmss_smmu: iommu@cd00000 { > > clocks =3D <&mmcc MNOC_AHB_CLK>, > <&mmcc BIMC_SMMU_AHB_CLK>, > - <&rpmcc RPM_SMD_MMAXI_CLK>, > <&mmcc BIMC_SMMU_AXI_CLK>; > - clock-names =3D "iface-mm", "iface-smmu", > - "bus-mm", "bus-smmu"; > + clock-names =3D "iface-mm", > + "iface-smmu", > + "bus-smmu"; > > #global-interrupts =3D <0>; > interrupts =3D > @@ -2764,6 +2764,8 @@ mmss_smmu: iommu@cd00000 { > , > , > ; > + > + power-domains =3D <&mmcc BIMC_SMMU_GDSC>; > }; > > remoteproc_adsp: remoteproc@17300000 { > > -- > 2.40.1 > I think you should split this up. This should be two patches. One to describe the power-domain and another for the removal of interconnect clocks. I guess none of the multi-media connected stuff on 8998 works ... no venus, mdp, camera - which would surely fail without the multi-media AXI clock being on.. Anyway please split this patch up !