devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Prabhakar <prabhakar.csengg@gmail.com>
Cc: Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>,  Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	 Magnus Damm <magnus.damm@gmail.com>,
	linux-renesas-soc@vger.kernel.org,  linux-clk@vger.kernel.org,
	linux-kernel@vger.kernel.org,  devicetree@vger.kernel.org,
	Biju Das <biju.das.jz@bp.renesas.com>,
	 Fabrizio Castro <fabrizio.castro.jz@renesas.com>,
	 Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Subject: Re: [PATCH v2 2/9] clk: renesas: rzv2h-cpg: Add macro for defining static dividers
Date: Tue, 15 Apr 2025 16:34:22 +0200	[thread overview]
Message-ID: <CAMuHMdVT9Pc3if0CRYWcqnUDFPt-+wwkGK8heRgxKeMGocQkkw@mail.gmail.com> (raw)
In-Reply-To: <20250407165202.197570-3-prabhakar.mahadev-lad.rj@bp.renesas.com>

On Mon, 7 Apr 2025 at 18:52, Prabhakar <prabhakar.csengg@gmail.com> wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
>
> Unlike dynamic dividers, static dividers do not have a monitor bit.
> Introduce the `DEF_CSDIV()` macro for defining static dividers, ensuring
> consistency with existing dynamic divider macros.
>
> Additionally, introduce the `CSDIV_NO_MON` macro to indicate the absence
> of a monitor bit, allowing the monitoring step to be skipped when
> `mon` is set to `CSDIV_NO_MON`.
>
> Note, `rzv2h_cpg_ddiv_clk_register()` will be re-used instead of generic
> `clk_hw_register_divider_table()` for registering satic dividers
> as some of the static dividers require RMW operations.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-clk for v6.16.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

  reply	other threads:[~2025-04-15 14:34 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-07 16:51 [PATCH v2 0/9] clk: renesas: rzv2h: Add clock and reset entries for USB2 and GBETH Prabhakar
2025-04-07 16:51 ` [PATCH v2 1/9] clk: renesas: rzv2h-cpg: Add support for static mux clocks Prabhakar
2025-04-15 14:34   ` Geert Uytterhoeven
2025-04-07 16:51 ` [PATCH v2 2/9] clk: renesas: rzv2h-cpg: Add macro for defining static dividers Prabhakar
2025-04-15 14:34   ` Geert Uytterhoeven [this message]
2025-04-07 16:51 ` [PATCH v2 3/9] clk: renesas: rzv2h-cpg: Support static dividers without RMW Prabhakar
2025-04-15 14:34   ` Geert Uytterhoeven
2025-04-07 16:51 ` [PATCH v2 4/9] clk: renesas: rzv2h-cpg: Use str_on_off() helper in rzv2h_mod_clock_endisable() Prabhakar
2025-04-15 13:12   ` Geert Uytterhoeven
2025-04-07 16:51 ` [PATCH v2 5/9] clk: renesas: rzv2h-cpg: Use both CLK_ON and CLK_MON bits for clock state validation Prabhakar
2025-04-15 14:35   ` Geert Uytterhoeven
2025-04-07 16:51 ` [PATCH v2 6/9] clk: renesas: rzv2h-cpg: Ignore monitoring CLK_MON bits for external clocks Prabhakar
2025-04-15 14:36   ` Geert Uytterhoeven
2025-04-15 19:10     ` Lad, Prabhakar
2025-04-15 14:58   ` Geert Uytterhoeven
2025-04-15 19:12     ` Lad, Prabhakar
2025-04-07 16:52 ` [PATCH v2 7/9] dt-bindings: clock: renesas,r9a09g057-cpg: Add USB2 PHY and GBETH PTP core clocks Prabhakar
2025-04-15 14:36   ` Geert Uytterhoeven
2025-04-07 16:52 ` [PATCH v2 8/9] clk: renesas: r9a09g057: Add clock and reset entries for USB2 Prabhakar
2025-04-15 14:36   ` Geert Uytterhoeven
2025-04-07 16:52 ` [PATCH v2 9/9] clk: renesas: r9a09g057: Add clock and reset entries for GBETH0/1 Prabhakar
2025-04-15 14:36   ` Geert Uytterhoeven
2025-04-15 19:24     ` Lad, Prabhakar
2025-04-16  7:37       ` Geert Uytterhoeven
2025-04-17 13:58         ` Lad, Prabhakar
2025-04-15 14:54   ` Geert Uytterhoeven
2025-04-28 13:22     ` Lad, Prabhakar
2025-04-28 13:36       ` Geert Uytterhoeven
2025-04-28 15:54         ` Lad, Prabhakar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMuHMdVT9Pc3if0CRYWcqnUDFPt-+wwkGK8heRgxKeMGocQkkw@mail.gmail.com \
    --to=geert@linux-m68k.org \
    --cc=biju.das.jz@bp.renesas.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrizio.castro.jz@renesas.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mturquette@baylibre.com \
    --cc=prabhakar.csengg@gmail.com \
    --cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).