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: 13348369 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 39942C04FE1 for ; Wed, 9 Aug 2023 19:21:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=JR4WPcLG/5PLkB42oMZOrOBDL6XNe5NgLKadm5pPVO4=; b=gyHhFxKegrvi+i 96eTIebc07TMDfCNYBpz4rW31r3jzlQFlp5y3A31pucAawWPTRbHe6LnuCIYfCsMCQtQTpR9YQGpo wkCyPTxqYjnhnpeCZoEyV0CDWeQwwbAE+rFBM+wQjZnS97R/hnc5RrVnm28/0qnyfWgRIWJ1dpUcp 4nT7XtAaofEl+iOxcaN8xk5wsV4VNi2uh3+zTVk12/mx4jsaWuLqCrOlKZo85+iKnzW+Tk4VEsfT8 OeSXhF4KsuR3H0i71/Y+DnmkItzZ605Jkf6E6f1C+RKQJuCcI6vfedtYb7lqABy3y5S1u5bEaMEKM f4Eg/ZMIZkTCdCU30X5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qTojU-005imi-1C; Wed, 09 Aug 2023 19:20:36 +0000 Received: from mail-lj1-x22d.google.com ([2a00:1450:4864:20::22d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qTojQ-005ijq-0h for linux-arm-kernel@lists.infradead.org; Wed, 09 Aug 2023 19:20:34 +0000 Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2b9c66e2e36so1505011fa.1 for ; Wed, 09 Aug 2023 12:20:28 -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=Whymobcpw3hC2Xzarn+VsmYKiGo6t44LoYNz3yrQzd8aW0CJ/U4IQgNAmPRiMh8Yh5 R4uI6IX+e1o536hzPZ78+3I4aULRQVFf055EYSqTQN5NPAAUBYpYOPZenR4O67m0us2M INdANgLzq09zv8Jn0o/bjCDJpqO82gPlca3/p5jysZV4cD8ob3WIQ4+25fwHddn0X+HC HN/VKnv9LClw11ejrhykfgH1508rgDizU1274p6HsqCz0Rt/qNgTAk4u14bMJF3Erbhc tWSbRLjIZ1AponODrNrvy2rQBo5eI45F1qL4Sz/KqohtsvVxW/2dwH/Gk3GOBX34+5Iq i99A== X-Gm-Message-State: AOJu0YxZpzsACmSEwK38g3wsatsdXVH8apuUaEBNA03clBoFDZznxO97 W91RsL2JBmukHUTDLrhJXHSI6dIkt7CiXMqZ5eg= 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= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230809_122032_266101_82662F95 X-CRM114-Status: GOOD ( 11.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 --- 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,