From patchwork Wed Aug 9 19:20:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 133448 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp3030484vqr; Wed, 9 Aug 2023 12:39:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH/zoC6H0Asg35hCBC0bcwibHzy7OJiITdzcjB7D0ZrN1vIB/jLPyjq+saOVWhMGGattNZG X-Received: by 2002:a05:6512:224c:b0:4fe:167e:9f04 with SMTP id i12-20020a056512224c00b004fe167e9f04mr34493lfu.61.1691609956972; Wed, 09 Aug 2023 12:39:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691609956; cv=none; d=google.com; s=arc-20160816; b=snmSuob/9hqo8hzbCqGarFkmcXVEYBkElOVH4hO60EEfeLnUq+CnOQeVqShJ9pDOR0 J6hU235QQq+8iy/JB0tzrrvPqg2TP6FRczSuGGsmEnQMgYqsWteml0COhmjjjRhgQ5WS UFA6rP3Z1Kct4ViGhCM7BTjUwFmFFGEHHhmK17QgONDrn7dCIn/lyFSLITAQZNmQPC5C iJYKswduvf709b/mvxuIJhtSDnTvmMXfeM+ZuivauoNZz9+ZfAzZ9xsqnbzCOwM2WEtU fGG+fSwE/gOFIZUl3Hur0RGszPHzWwQLmrGLDWRle858XXQv1Dzzdu3oXh1iHqtxy8yK Sztw== 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=DE94Q6lf2K2gSTbQ4obZ5qNHgQeup5/EEo7g9MBB54w=; fh=VohwHOOqzSlyJV69dvs7BsalUDFtNFz6jeRDBhhLiNI=; b=ucJ+MVwbemPO9IJvQQm7tUOwOhdFEcVftMYL+xn0fNPad5UINZT9M45kUi74dB8nJK AABTMc0CMGelxis21KM6aTR3XPTH9DmQslLA2bJIOifDnHdmqffXDam+DD9gquP/t1XB nGbwOT+7IsvF8tMr8tRjtJWmSeWFsmNp/8Tm6GsGqw9xGj9SCfb5oOGfTDmPY8jhZeFm s8u2VNEW+WX15yUEvCb2UlGegU/lsHN1+LarFMb6Fln0zmdmmAUXW2S8WlMhE/qz5sr9 dj5d72AmzR0hq3jajaeXlSyDK8Uo5ZFxBv2ZXAOGkivmjz7VDWEofk4NWPPGfbOc2C1g 6VwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hVZmOV05; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f20-20020aa7d854000000b00523346514dasi6270827eds.240.2023.08.09.12.38.53; Wed, 09 Aug 2023 12:39:16 -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=hVZmOV05; 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 S233637AbjHITVN (ORCPT + 99 others); Wed, 9 Aug 2023 15:21:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233617AbjHITVM (ORCPT ); Wed, 9 Aug 2023 15:21:12 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD8763C15 for ; Wed, 9 Aug 2023 12:20:55 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2b9c0391749so3009411fa.0 for ; Wed, 09 Aug 2023 12:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691608834; x=1692213634; 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=DE94Q6lf2K2gSTbQ4obZ5qNHgQeup5/EEo7g9MBB54w=; b=hVZmOV05FAUjR8G8bAhpPHpxnHhQ6DhH1iewP44ue5XrvSdFh1IvsOVHkaiJ8DJSlG OzOwcDv+13bnppTHDKixF9LK3nkTDiV+dt1xhzEyEn/hXtWbFalKXwbjBGPTqK7Ue3S8 VhYQt8NK97pnxqSmf/IX2GvUWhC0cKQylUtb4hwZV6v8kC75kW3GRNvdZMrY65f6fawZ 7C3wht1lSE7lEXy0viadI5LBdxGnHoIQCCj4TOjAruUiluS/U7PGpHbDEAzTBE2EGxXU cjejMJpG/6Fpud7Gbupf9gt48u1dP6b6fYzfGYNA6pQ7TfjjTFSA/AKGBIr86y1dWgRQ RZTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691608834; x=1692213634; 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=DE94Q6lf2K2gSTbQ4obZ5qNHgQeup5/EEo7g9MBB54w=; b=YBYMMIamd/TYAodF3qdZ0TXsaqsE9uhJg8H7kXXHyS12wcdZk2m2GB0weuHaCf8Cvu rfFt1SL4YAkGKLCInkroz2o6aeVtRQXmyycVOvYj7swvQfEkWt9LTTW3Lfj/BE2C0nCq HSUohnLQDdmGiiYWHPZNY+o48TAE9aO654dfQx0MkD0aRrJvwiedsvbv7e6+sbHyYD7x JO22kJiQdlYQuk9YoC2xPx+MZzHParA7IIVssLzeWu5GvgJRtz0izQK1jzLw6LiECZ+I JkGpBASDHT6TE5H6OkVj4YJ881ysLgk7xHpmA5mNs9ruEpQQrC7JvXIHx9VnhMo3LOI+ i3aw== X-Gm-Message-State: AOJu0YxVsHnF4q9db9Ug+DKiy6v73Y7jawHHq91T5BU0q71JfdU/YJng EC5VViyai6l+zT/mlYvSvATwTFI4KZ+R18iCrRw= X-Received: by 2002:a2e:8550:0:b0:2b9:b9c8:99 with SMTP id u16-20020a2e8550000000b002b9b9c80099mr104092ljj.22.1691608834133; Wed, 09 Aug 2023 12:20:34 -0700 (PDT) Received: from [192.168.1.101] (abxi185.neoplus.adsl.tpnet.pl. [83.9.2.185]) by smtp.gmail.com with ESMTPSA id o3-20020a2e9b43000000b002b9ed203af1sm2863218ljj.132.2023.08.09.12.20.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 12:20:33 -0700 (PDT) From: Konrad Dybcio Date: Wed, 09 Aug 2023 21:20:25 +0200 Subject: [PATCH v3 2/6] arm64: dts: qcom: msm8998: Add missing power domain to MMSS SMMU MIME-Version: 1.0 Message-Id: <20230531-topic-8998_mmssclk-v3-2-ba1b1fd9ee75@linaro.org> References: <20230531-topic-8998_mmssclk-v3-0-ba1b1fd9ee75@linaro.org> In-Reply-To: <20230531-topic-8998_mmssclk-v3-0-ba1b1fd9ee75@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=1691608824; l=906; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=EM5tWZgcQ/PtQiCuUMktQpuJVbPaCBzE0y/oEdPpoBk=; b=DgG5WM7aCnxlKKTKRxJyT1NXqA7+tx0CEHA0dPTjvPgAtp5Ajxf5aVQKXXHPrMj6JtpuzIu7l Adop0zBmFK0CA+8JhrdwrZpDm3sn/DQGCO1GR9TImxjwOVAXckjOEC3 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,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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773781602609790354 X-GMAIL-MSGID: 1773781602609790354 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") Reviewed-by: Jeffrey Hugo 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 {