From patchwork Wed Aug 9 19:20:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 712044 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 03316C0015E for ; Wed, 9 Aug 2023 19:21:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233603AbjHITVF (ORCPT ); Wed, 9 Aug 2023 15:21:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233600AbjHITVF (ORCPT ); Wed, 9 Aug 2023 15:21:05 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D63AE3C2B for ; Wed, 9 Aug 2023 12:20:47 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-2b9c66e2e36so1505001fa.1 for ; Wed, 09 Aug 2023 12:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691608827; x=1692213627; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=sVxJJpzcYYfK3TLE6tHWcTq1QcT1ENtNn8bY1sBquA0=; b=MiLKH6m5rUcLO0KU+eQGJ8iVBj+ZdABFkFF9JN0DDrPyRkchV6dUcT0Re4p8bZVcBR H3UqZpJlEmyNRf8LQDATEmFttzf3uvaQFyrrswvMv57pec88Rm1I0TzBUZ6GlX7DqRl0 BiCEJ3tzJIcr7JMpp7g24c8jdIJFom6e1vE+hGzwq145Ao8ccJPwutTqDv42dNElKfxe zScewUD1VLn98GboSmRdX6PO6SsiiFiQ4q74GaejrWGVaScrtL2kMqPEtJ+YpgH9pEHs N2IRLthpwH3gmFvmUkQpcMHT7bVbIvwfUUpJm+Va78XDnGR70x4h4Xxr300qlnND6OoI NM0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691608827; x=1692213627; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sVxJJpzcYYfK3TLE6tHWcTq1QcT1ENtNn8bY1sBquA0=; b=dJcq9Wh23Ozz9MYaRt+dh92ybIasV50ejgrj7ZTx9rxD5NhzUz9N51fnOIbXStSRup 33eY3cBbIM35HagyBYJLGaW1ti9CQgG4bQEQ+q1is/Kb7rDJ3tHWN92pLv6+Jiv8mDRg ssjnE9q5yvqxoHFSJlQZHbTURWOXDCn8J6ZqGiVex7LB9A2QrmvP3piceNDgsEhqUq4E 49HszQ6vehuYC7q2PL1ClwZIxU8/oCDod8GcT0P6vaki6RLVQGXcetazn5eTI9OBBn6p xJyhbK/4CEOjA9klm85B4/THFE+ZvXq+kzo4sWSmzBWluXEOHO+AIZmukQNI7inuJHIB fm9A== X-Gm-Message-State: AOJu0YxixYzGchEDKAEtPkQV02OLe/RMU/a6VswC68EyqpN23ZB3N68E 1x1DeFgsbMuMdCfsj/VOtMWDEg== X-Google-Smtp-Source: AGHT+IE43WLrxARXDliqvvtib67PqUUwSMJq1m3RW4BtVCVyaQuyxqqa8JROBmHmorHk9IfL9klW+A== X-Received: by 2002:a2e:8841:0:b0:2b9:344c:181e with SMTP id z1-20020a2e8841000000b002b9344c181emr101477ljj.19.1691608826816; Wed, 09 Aug 2023 12:20:26 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 12:20:26 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH v3 0/6] MMCC MSM8998 fixes Date: Wed, 09 Aug 2023 21:20:23 +0200 Message-Id: <20230531-topic-8998_mmssclk-v3-0-ba1b1fd9ee75@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAPfm02QC/4WNSw7CIAAFr9KwFsOnpODKexhjgEJLRGigEk3Tu 0u7c6PLecmbWUA2yZkMTs0Ckikuuxgq0EMD9CjDYKDrKwOCCEWMYjjHyWnIheC3xyNn7e/Q9q0 iVnWWawzqUclsoEoy6LFew9P7Ok7JWPfaS5dr5dHlOab3Hi54W382CoYIEsUkt1ogIfDZuyBTP MY0gM1XyH8HqQ7ako4a0jHNvh3run4AO4d7nQ4BAAA= 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 , Krzysztof Kozlowski X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1691608824; l=1754; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=egThBZwSTxM3F3X+KJcsxzhYTfwA9D4NBQYRWl4CZm0=; b=29IaLLRfDw8KxdgD/8yLej6UnjeOxoOFQg2Fy0arvCcHBorncfoDdlbi9vHct9vX5d3QDFxeC STYvzYHj0b6C/3d2cqJyf1ulMPfLt4fUF2gyKMF3n9jLHzsV583BMGp 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 8998 has a couple of issues related to its clock controllers. This series attemps to fix some of them. The DT patch should go in first for bisectability, otherwise clk/pd_ignore_unused will need to be used, as the SMMU GDSC is no longer considered always-on. This series results in less "clk stuck at 'on/off'" messages and should marginally reduce power consumption. Signed-off-by: Konrad Dybcio Reviewed-by: Jeffrey Hugo --- Changes in v3: - Make the commit message more meaningful in patch 6 (krzk) - Pick up tags - Link to v2: https://lore.kernel.org/r/20230531-topic-8998_mmssclk-v2-0-34273e275c51@linaro.org Changes in v2: - Update bindings - Separate out the dt patch into two - Pick up tags - Link to v1: https://lore.kernel.org/r/20230531-topic-8998_mmssclk-v1-0-2b5a8fc90991@linaro.org --- Konrad Dybcio (6): arm64: dts: qcom: msm8998: Drop bus clock reference from MMSS SMMU arm64: dts: qcom: msm8998: Add missing power domain to MMSS SMMU clk: qcom: gcc-msm8998: Don't check halt bit on some branch clks clk: qcom: mmcc-msm8998: Don't check halt bit on some branch clks clk: qcom: mmcc-msm8998: Fix the SMMU GDSC dt-bindings: arm-smmu: Fix MSM8998 clocks description .../devicetree/bindings/iommu/arm,smmu.yaml | 41 ++++++++++++++++++++++ arch/arm64/boot/dts/qcom/msm8998.dtsi | 8 +++-- drivers/clk/qcom/gcc-msm8998.c | 6 ++-- drivers/clk/qcom/mmcc-msm8998.c | 7 +++- 4 files changed, 55 insertions(+), 7 deletions(-) --- base-commit: 21ef7b1e17d039053edaeaf41142423810572741 change-id: 20230531-topic-8998_mmssclk-fd4b2fb7f8c1 Best regards,