Message ID | 20221026014227.162121-1-prabhakar.mahadev-lad.rj@bp.renesas.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:ee07:0:0:0:0:0 with SMTP id y7csp30904wrn; Tue, 25 Oct 2022 18:45:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7tm/r3y1QWHC2lmxUCrpN0dc+COnK+bAxqLqJy4SEEX0HC96lvUfJVPZSNzDk+TyqwczsU X-Received: by 2002:a17:907:d90:b0:78d:48b1:496d with SMTP id go16-20020a1709070d9000b0078d48b1496dmr36395243ejc.665.1666748734228; Tue, 25 Oct 2022 18:45:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666748734; cv=none; d=google.com; s=arc-20160816; b=t9yQwzSu4H+craY9pSAcBdz8PbzBTQPeLNxuI0O1C77dE5+bNgG0lB6yTtDPWtS2Xm 2dJ7M2iLMli4yTUvh85cK4AIiCMlxPMPO8RUeCTCudRUrPhWsviZoOb0IJytSkZ8k4Sy RLwtjAMpKK/ZyYalsxsb/L1+zep6B/nqsCPpoBpCFRckgMkLxKDAT8pHGJXUCJAhQAjl 8ZSLVZ6224vrq9+dBLGgJjBsmGPD6ghaTRNApsjvgXD223/NzbQWiqz93TrDza2yCRjg zEXIiYCpGRvonHURvdeZeS0UK0vEtGxNGONN4ZxS29xsdoJWJlS8/IyGFUO+4KqGKd7j dI7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Lh32i4f+ofJMoVw2+1sIHFoGr4ymoW3HnTFs2g7No1E=; b=H6J8EVTN9A7jKtkXhw1AnL62EJQ0vNvyALFla+AiRJB5WmBdYEgrrH8YRQlo05NKpZ D+PKsfJCc51JeeJxeYCxJZv1n/DLGJ4iZq82GmM6pO3iF9TWRU8jNuPErc1ni1JT5smK eFPVyacAYFaxPK1p5AP9co90ZuCNtt8jBrQ7i4PSSoJtNVkaducMIdp2Nsjc1pIf+sxP YUd5EiObEru0xhiYQdojoVM7mrovP1bObX9lZKRSoQW3PF0YwcPqxBm0SYWvehpQ1Rh+ w30H6Eh1a1fIQMiNF8GhP11YCK0Hdy+OHfeqJh+vRZ/vkjILNEFh2SycoxQZVrRTMZPj Na7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XqsmMjmp; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y15-20020a056402270f00b00456d901922bsi4504353edd.510.2022.10.25.18.44.59; Tue, 25 Oct 2022 18:45:34 -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=@gmail.com header.s=20210112 header.b=XqsmMjmp; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232509AbiJZBmn (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Tue, 25 Oct 2022 21:42:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231645AbiJZBml (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 25 Oct 2022 21:42:41 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A7BEDDA31; Tue, 25 Oct 2022 18:42:39 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id bh7-20020a05600c3d0700b003c6fb3b2052so501692wmb.2; Tue, 25 Oct 2022 18:42:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Lh32i4f+ofJMoVw2+1sIHFoGr4ymoW3HnTFs2g7No1E=; b=XqsmMjmp+c0uQ/LhAyWTG7VY37rVLi3fOocIyx/VcPesJZJ1slnOJarCrv5RWDJFn1 fY6Bd10om5csatGDS6bwMPDi6GBXltE5pB3dw/dsriiT5yebIQAj3X5b0dzLCVdN0z2l Pb9TM0xKk6JcWBD8dnFbVIc5J0g0OVD6+008Wm2JoLLQoKTzzo9WFGbhehm6abAgxksF wfe+ZlaHbTLG9nZpK0D2oy1jOAcOdRTxlGwygY0Rtu/nxqzn8BZJMkaiZ2Ko23jo6cHQ bs1TKe6Rlg78U5is5mP7UcryMDPaEHyjpSEWr6I0xn3Sg0dLB95dYOQRm7BbSUVB9AW2 4Djw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Lh32i4f+ofJMoVw2+1sIHFoGr4ymoW3HnTFs2g7No1E=; b=CyZFWe/EOt1E2CkaheObtyIeWwqD4Kdoe2Oqg5Af25xNnyyP7jprDTmTTv8aGHZr+4 qcj2XJWAqOm0kWXYsdGxjnHPV8XNytCnPN0Rxr8CXmGgTbhvTIJy52UL+Bjomll0OjV7 PmLfXnLwSIf5s6aYWspV2gnjbqei04ItBdKRyqwgnYw7U528TYrqnEXb7RmYbTf1SR/0 MOCl4VJA0rHxol3nojcy2nE3QgjtR7d0HcCiZmkRujPIc+pms1z8+skBBXYCnclIO5VG OS9uoI/+H9UCy2ZesTiJ8ig6RX66/rSBXILABQvWqgWiQnNxPbEi2tBSoY5KEKkAXPYs CwDw== X-Gm-Message-State: ACrzQf2R+a+gwLZoxcRoWsL5T/JyRPSNxFmFVx7oO/EJHluPRAglNUBN xRnkefqfIW6onBmfT/JV7Q4qrCvkIAT55Eug X-Received: by 2002:a05:600c:6889:b0:3cd:d83b:7993 with SMTP id fn9-20020a05600c688900b003cdd83b7993mr614695wmb.143.1666748558098; Tue, 25 Oct 2022 18:42:38 -0700 (PDT) Received: from prasmi.home ([2a00:23c8:2501:c701:1d2a:d2a2:361e:a475]) by smtp.gmail.com with ESMTPSA id x12-20020adff0cc000000b00236733f0f98sm3688956wro.107.2022.10.25.18.42.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Oct 2022 18:42:37 -0700 (PDT) From: Prabhakar <prabhakar.csengg@gmail.com> X-Google-Original-From: Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> To: Geert Uytterhoeven <geert+renesas@glider.be>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org> Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Prabhakar <prabhakar.csengg@gmail.com>, Biju Das <biju.das.jz@bp.renesas.com>, Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Subject: [PATCH v2 0/2] clk: renesas: RZ/G2L: Add support for no PM clocks Date: Wed, 26 Oct 2022 02:42:25 +0100 Message-Id: <20221026014227.162121-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747712720815419241?= X-GMAIL-MSGID: =?utf-8?q?1747712720815419241?= |
Series |
clk: renesas: RZ/G2L: Add support for no PM clocks
|
|
Message
Lad, Prabhakar
Oct. 26, 2022, 1:42 a.m. UTC
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Hi All,
This patch series adds support for indicating MOD clocks as no PM
(if any). SoCs indicate no PM clocks by adding to no_pm_mod_clks[]
array.
Note this patch applies on top of [0] (rebased on renesas-clk-for-v6.2
branch).
[0] https://patchwork.kernel.org/project/linux-renesas-soc/patch/20221026012123.159790-1-prabhakar.mahadev-lad.rj@bp.renesas.com/
v1 -> v2
* Dropped DEF_NO_PM() macro
* Added genpd member to struct rzg2l_cpg_priv
* Added no_pm_mod_clks and num_no_pm_mod_clks members
to struct rzg2l_cpg_info
* Updated commit messages
RFC->v1
* Added no_pm_mod_clks and num_no_pm_mod_clks members as part of
struct rzg2l_cpg_priv so that we dont loop the entire mod clocks
array for each device probe.
* Patch#2 unchanged
RFC: https://patchwork.kernel.org/project/linux-renesas-soc/cover/20220927203044.751611-1-prabhakar.mahadev-lad.rj@bp.renesas.com/
Cheers,
Prabhakar
Lad Prabhakar (2):
clk: renesas: rzg2l: Don't assume all CPG_MOD clocks support PM
clk: renesas: r9a07g044: Add CRU_SYSCLK and CRU_VCLK to no PM list
drivers/clk/renesas/r9a07g044-cpg.c | 13 ++++++++++
drivers/clk/renesas/rzg2l-cpg.c | 37 ++++++++++++++++++-----------
drivers/clk/renesas/rzg2l-cpg.h | 4 ++++
3 files changed, 40 insertions(+), 14 deletions(-)