Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp563720rwd; Wed, 31 May 2023 02:11:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6GbP6NHB+Ur+JDs3QElwE3koibR4hZRkVV/xPfsOM+AzEmXizPszW87xjM5POQJtRfM/iT X-Received: by 2002:a05:6808:1287:b0:395:f0a7:da55 with SMTP id a7-20020a056808128700b00395f0a7da55mr4662735oiw.34.1685524277221; Wed, 31 May 2023 02:11:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685524277; cv=none; d=google.com; s=arc-20160816; b=TmTBpAnpNJDKJWF8sxRJGEtkYVis/7UwaURdcUvn4RQ+shOLxwKH7fBEyc2EvsTmiv Jj0EFZO+IYCybainv2FIjcSCgtlqTsomtUVnEHZM71owxJ87g4tL+PWszpMHNZdAAAB5 X4OP8RJt7/jJKJEFP/Fmh9jI3YYiQtUTzPL6ZnRcTf0ogm90mSrMPc1lFhnrgT1HP/T+ IIiOn841gIYqDp7xyjHMSVMKbZJX7yXgWqDCoLlY6g+2U35ZoXXR2MySlXbLbVQzYoRV knP/XHh3fq6CNciRE+gKwreEz9hSalePoIOpyJ9AqTWlL52Lu/IhB9OroIh7LfHLMx0k MKvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=YwKzCoB/TILHKyYpnl4R4TBT0ZP2W8fCrxJWyMABiAg=; b=fOWLYAlj0i9V7zRC5rPWAtOUwEJnII2ENBsQ11IcllYCy7Zjx2p2aNHecHVQjc13+x 1iv/3oj1m7hGe6i9TmEoMATLDCPhMCLXUIQ46zCfgUl5TBQGnkulZt31KmQKsZP8lKLc ImFyuMjNtcpa19/dm9crInBNxHRtVFvUuUazmig7LFOVywowzHShBwWYg35DlAtPlL6U JcBQ/EIRhqGtyBEULyV58lUggLSjZGBLrUELE9FNgOO7V7Ey/u8mHaKimOEza2C93NfA 020t+0QlqVCLDtT2QZ0bVH9OSk1fm3zdZxqpZSRwD+Q9F1Y9zAJXHYm9OM6BeLj8+3ew onNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VEGUj0x9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d5-20020a170902cec500b001ac78ac2c9csi537771plg.573.2023.05.31.02.11.05; Wed, 31 May 2023 02:11:17 -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=@linaro.org header.s=google header.b=VEGUj0x9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235274AbjEaJBk (ORCPT + 99 others); Wed, 31 May 2023 05:01:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235062AbjEaJBd (ORCPT ); Wed, 31 May 2023 05:01:33 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18A2211C for ; Wed, 31 May 2023 02:01:31 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4f3edc05aa5so6247245e87.3 for ; Wed, 31 May 2023 02:01:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685523689; x=1688115689; 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=YwKzCoB/TILHKyYpnl4R4TBT0ZP2W8fCrxJWyMABiAg=; b=VEGUj0x9Uzf8Pr5fl4WpLLIvhZBGhzK4Q4mHOJp7suaXLvfHMv8N5fPWEGjp9CdlWs Lksbh9LvBEdK8N21eKo0gl0ZiZB5wJoy/G6swWYe29TmlNq7uONg1xQFwtyxs4ctoZJl CpoaYoFdIbgVJHhku72BprC4KSqX+dQ0Z5sogbU4KEqFUtRViwGIDF8QaE3SQk2hql/5 e9Kbd90BAVc+ncYxnSRYQu0ZGTeOv7gsb6uvxPwdRPS/vtAFyCSwYrzPOP79bxmb+Pcv 9Xk53QUfhvnWZOdOGmJwZD5yRELyIq35B1DlpCoyaM4RUcR74uSQrw0Lce9hFDgDht54 upOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685523689; x=1688115689; 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=YwKzCoB/TILHKyYpnl4R4TBT0ZP2W8fCrxJWyMABiAg=; b=ciSkgk6zaFx/UnbJSH2jCQWoUt/WmuRlgttHKqI03zQrXL03J6TA7MLMTunpOWeQON 3do1GOC9/IDaokPYuxWekNlBwFL7h1twgVcs+Ncz1xXAiQKcKRxGEO4nfvaA68qhPkea Y3rhPXDg06RMILKoKrNCv6jLJ9fIDH/VmLzdMNIHcDWuTtGydIRQN1z8PIf1JuymyM7o EKOOgv+TkBOSp6bMGgBOqTE9UPjM+7UYDI2FUiIgqSxAQ696HK1t+Tj/4P2Jv4yZMt/r kYGs7sCXb4vM2QK011WqMLCDMIjJOTSQ5aYry0oBNkTI29zQkhhKMLz1aRgM/dYYjdKP f3iw== X-Gm-Message-State: AC+VfDzJXi3HkSIiU7CHCl8VGpppLHiJC8DVNPLMrpA8gyARBofBNzlG gA8q8iHZ+LNXBat2WXfuNtRCyA== X-Received: by 2002:a2e:2c06:0:b0:2af:18c3:8bd5 with SMTP id s6-20020a2e2c06000000b002af18c38bd5mr2308261ljs.14.1685523689448; Wed, 31 May 2023 02:01:29 -0700 (PDT) Received: from [192.168.1.101] (abyj77.neoplus.adsl.tpnet.pl. [83.9.29.77]) by smtp.gmail.com with ESMTPSA id f4-20020a2e9184000000b002adbe01cd69sm3217446ljg.9.2023.05.31.02.01.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 02:01:29 -0700 (PDT) From: Konrad Dybcio Date: Wed, 31 May 2023 11:01:20 +0200 Subject: [PATCH 1/4] arm64: dts: qcom: msm8998: Properly describe MMSS SMMU MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230531-topic-8998_mmssclk-v1-1-2b5a8fc90991@linaro.org> References: <20230531-topic-8998_mmssclk-v1-0-2b5a8fc90991@linaro.org> In-Reply-To: <20230531-topic-8998_mmssclk-v1-0-2b5a8fc90991@linaro.org> To: 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 Cc: 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, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1685523686; l=1326; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=i0NwJMAAnRECp+k7KcPhWAOJXSM4/4ftIM+77PjbY6U=; b=BGyufNvhaW0pxT12xw1LjSk1u+kvz6rfQ1SRXNhMYH3mgey6Icz+rTWlHdTqfAz2wnjT6t3Md MZ5/Y3eyck+A2AoAIcZW/PS3Wr7F3rDncrHYuSykoAPO3FHLjrNNxYF X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 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 = <&mmcc MNOC_AHB_CLK>, <&mmcc BIMC_SMMU_AHB_CLK>, - <&rpmcc RPM_SMD_MMAXI_CLK>, <&mmcc BIMC_SMMU_AXI_CLK>; - clock-names = "iface-mm", "iface-smmu", - "bus-mm", "bus-smmu"; + clock-names = "iface-mm", + "iface-smmu", + "bus-smmu"; #global-interrupts = <0>; interrupts = @@ -2764,6 +2764,8 @@ mmss_smmu: iommu@cd00000 { , , ; + + power-domains = <&mmcc BIMC_SMMU_GDSC>; }; remoteproc_adsp: remoteproc@17300000 { -- 2.40.1