From patchwork Tue Aug 8 09:44: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: 711653 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 440D6C001B0 for ; Tue, 8 Aug 2023 17:50:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232859AbjHHRuI (ORCPT ); Tue, 8 Aug 2023 13:50:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231256AbjHHRti (ORCPT ); Tue, 8 Aug 2023 13:49: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 259BD26E5B for ; Tue, 8 Aug 2023 09:22:02 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-522382c4840so8306827a12.2 for ; Tue, 08 Aug 2023 09:22:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691511691; x=1692116491; 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=TJ7PRA2PDtaxpnBSUjyoSCUDN1beWb8gdNDBqjpRHQy761VztiaUhWbUhtuaJCSVBM IHot0Ud9xW5qclNcs43gjlqagjkzoGaRRWfMgcEBs+PhnCXhm9FhVY3NEcArh5EhSD4L G77ReTVfnOtIu7lyx+cpYdhc95uxXKFg8h2RHof0t4P1srJr29OTOmW/xtKokR4DnyTc W0G59ti1vSOFWFP/0WC0Dhbb6vGOiq0y3REJ+7CheVerfZp1M4b8aXObPuSxvecLmAeg i+Fhj4Qa2nmkwkxFQ3HMmrLk4tbnHh9naXZV5rC+9uJiJBynTdr/HdtxVE5YeWMjkRa6 b84Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691511691; x=1692116491; 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=CbuKcI/BUQznAgydm+c6owr9Eq8iucDfIjfHT2VIfjxrabgxFS5Hxtl4u2MNXw4WUK fruxCwKrM6jYFnkbtXSEu+0ypYStnPoLgqaayChmemZJhLDDHK5sds3/PPeVDnGWSn8l qZfCwgT3Bb28u8PrykQ396Ma8wibR84Hgpr5XLCoImd/7/yvrnv9vf8zopQ1XJ5Edco4 laZNL6aH3wZP9C8LoqWfK5XDrkVQBr5SHcnuc1LA/Qbza9MoTCEzccjK0+AIODQD2FQg FIa64AdhnpZDMkintEJ9H6fs4Yv3BDK0jwJdcHJR7APa0ZQmowY25W0ONiFg8PP8P1yY 7V2A== X-Gm-Message-State: AOJu0YwDA3sgfa4Mxjiq+JfVf/w34cQtI/1Fx/wVlcSi4nBP4TZ37EY8 V6dSM5CNj7iQit2FX8yZD5lgS5/2dJMFdmh5CF0= X-Google-Smtp-Source: AGHT+IFVMdcEkHvqjIMX5oEgG2oBE7nbsEMOVRk5VcpuTnRc1mcmt8mNUyLq7GYjCrQ3jyb2zmb5Gw== 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 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= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 Reviewed-by: Jeffrey Hugo --- 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 {