Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4684276rwb; Tue, 8 Aug 2023 12:04:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFNIoQi9LI3yT/dGj2uYef7trMVdAYy+B5I8YJ6J5H48nIGzR3+1BQzmHN+C/rbEZd1lMqt X-Received: by 2002:a5d:6802:0:b0:317:2574:c2b1 with SMTP id w2-20020a5d6802000000b003172574c2b1mr243569wru.30.1691521483739; Tue, 08 Aug 2023 12:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691521483; cv=none; d=google.com; s=arc-20160816; b=vJo1iINg20o7SfCO27GS9RXtI6OAQmOz7VgADNmzx7Sx0YkzdZQiAUrrHaJRX3fkW5 1LqJMyiYrVvJfJRRCTiimaGTN6xkA8mxZrDpal2sX7jQV8mJZl50OLG96XAnWkjOPI9a yJCx0gbUhbuO0lPXPUNw/2TOh4seG5x9EV5LuujNCLG6yV4b4Se6/59o+j3M4+2/O5Z6 kZYnuCI40laXaw5viRxh75Vku2GBrTAXecBaNueyHcjwVD6l0WGPMshFkfMWescB3s/g qx84fftmALdzF+6e2ahzwstGl8byptZyti7ji/zQECjW0XtOA2h6yjJ4zallSx7RhHOD DdHg== 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=X+614xtHjgD1nkm8xRBKqqyV2uZni5hqr1Y2F11sHVk=; fh=VohwHOOqzSlyJV69dvs7BsalUDFtNFz6jeRDBhhLiNI=; b=i5nqZuLgERrldzpgvdQ7RF6KLokpvzfMMpMwpiUhqRQPOlK2ht4/undDlLuZ05qcgh qpdjUxVrcrTNvNOaK/O9KpIlgjgLKtFyIvQdQ5lA3dPM7VQVabmyEGye2uSGdkgkypii u080pH2zVd1hW/5n9UXKMQDEBNVZlxIayFbiX5GdMS72NVHHftfoad6lKEC/P5hupXpE X44bYkPg9F9S/ZTsBBcDxsF6Xp3Ld/bFFLvbb667KU4V/qEfUAxwTLnSzAed/UUbmfIn knLYc0qtYZ1zLDLd8a9QAEyz5i0mf+G5LwmxGC1XUNWZBJV2VvY33O6OPRYSRbop1Eke byUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ve2TIQdK; 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 w3-20020a056402070300b0052322c96a40si6402726edx.472.2023.08.08.12.04.15; Tue, 08 Aug 2023 12:04:43 -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=Ve2TIQdK; 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 S235280AbjHHSLL (ORCPT + 99 others); Tue, 8 Aug 2023 14:11:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235263AbjHHSKl (ORCPT ); Tue, 8 Aug 2023 14:10:41 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A57B71BAE3 for ; Tue, 8 Aug 2023 10:13:04 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-99bed101b70so846086766b.3 for ; Tue, 08 Aug 2023 10:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691514783; x=1692119583; 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=X+614xtHjgD1nkm8xRBKqqyV2uZni5hqr1Y2F11sHVk=; b=Ve2TIQdKK/NdzaYfIuspk1xhzrl8T2ojwRfERXse1GT2fJPGHqKXI3eqJUyVKQ8zDa Z7PIuil4QlVAKiaW9vZ4dxv+CqqDKUKwErIemaLF8iaPH5RlgJsHx5G5g520IrgUY7Na p2i4cBf9PzfnpISRFk/gIMezsinWnoSWToIbh0cTo0yw7EwxAMNBIaDw70E1UkaD3cJi Z1EnwfyOiHdzD7tyM2Pr0G94TmhwHXtol7PczcTre5KtSKNxJj9H63GXSL0L/FdudXHf kSXNWvS506f6D29z/ElS5a+RWrsAfJZqFYtfV8e92xjJZ2wcSyoyZ3vjZUIxMOMH0Q8y 3Vwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691514783; x=1692119583; 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=X+614xtHjgD1nkm8xRBKqqyV2uZni5hqr1Y2F11sHVk=; b=eBkurp4o59twQrHRBYvfseKZ/G7i3WCwOhqG6y/d0Rc3KS/f2KkVh0ti8K1zPYo1BM Lg5sjg1voCvTXqESLW2zZqyUJ+SazAdeqdbDmwx8FvgykXFNFngj8nBGw7dgEwgVtd2X qXJG5HX5hFXkS8lCAxi1Cdy1gkQKEfeo/Mb8Xx+wI3ih5fei8sik2z8aeWuVO9fs1mIT egsesQAS6Z+2KhD2PHsxTD6Cv8rBU+TZRwpwipmdZhnwwdeF4HI5Gr9ehF/ocGVYiKyc SHFjt6eoazGfbqrx32Ru7dx9D+AUtmlYhSc2Tj0HHzMZWTC22Vuq+TR+o/JAQB6FWSkr 2Mqg== X-Gm-Message-State: AOJu0YzM6GKx3X8wget0btJwqwVsAtP/0v1xAgrcKR5Gn5KCIdiqZW18 LwJivuinzPHMrtR85Cpfo4iypYf17uD33FrRuP0= X-Received: by 2002:a05:6512:e9b:b0:4fe:5680:db1f with SMTP id bi27-20020a0565120e9b00b004fe5680db1fmr7912704lfb.53.1691487891249; Tue, 08 Aug 2023 02:44:51 -0700 (PDT) Received: from [192.168.1.101] (abxi185.neoplus.adsl.tpnet.pl. [83.9.2.185]) by smtp.gmail.com with ESMTPSA id i6-20020a056512006600b004fdba93b92asm1818884lfo.252.2023.08.08.02.44.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 02:44:50 -0700 (PDT) From: Konrad Dybcio Date: Tue, 08 Aug 2023 11:44:42 +0200 Subject: [PATCH v2 2/6] arm64: dts: qcom: msm8998: Add missing power domain to MMSS SMMU MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230531-topic-8998_mmssclk-v2-2-34273e275c51@linaro.org> References: <20230531-topic-8998_mmssclk-v2-0-34273e275c51@linaro.org> In-Reply-To: <20230531-topic-8998_mmssclk-v2-0-34273e275c51@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 , Will Deacon , Robin Murphy , Joerg Roedel , 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, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691487885; l=854; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=/yznmFUOFfvt3H81R22ABUv0eOeLe9LUwSr+QNKzGV0=; b=6ok/LWtlPH6zSyy5UMAq/t5bgWP3Ud7Ij9vBySuwjh3vMiS1gJVjxUKw6nLHyS95ARxX+LJAd Ibm+ib3FKxpBIIhASbXVDOfZYxEwn1cNsRmJHG+sQTEmtuUOfL5elUO 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_BLOCKED, SPF_HELO_NONE,SPF_PASS,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 its own power domain. Attach it so that we can drop the "keep it always-on" hack. Fixes: 05ce21b54423 ("arm64: dts: qcom: msm8998: Configure the multimedia subsystem iommu") Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index e40f6461f4fd..39db67211fae 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -2770,6 +2770,8 @@ mmss_smmu: iommu@cd00000 { , , ; + + power-domains = <&mmcc BIMC_SMMU_GDSC>; }; remoteproc_adsp: remoteproc@17300000 { -- 2.41.0