diff mbox series

dt-bindings: clock: r9a07g043-cpg: Annotate RZ/G2UL-only core clocks

Message ID ffcdcd479c76b92f67481836a33ec86e97f85634.1708944903.git.geert+renesas@glider.be (mailing list archive)
State Accepted
Delegated to: Geert Uytterhoeven
Headers show
Series dt-bindings: clock: r9a07g043-cpg: Annotate RZ/G2UL-only core clocks | expand

Commit Message

Geert Uytterhoeven Feb. 26, 2024, 10:59 a.m. UTC
The M2 (CRU main clock), M3 (LCDC Video Clock), and AT (Cortex-A55 Debug
clock) core clocks are only present on RZ/G2UL, not on RZ/Five.

Annotate this in the comments, like is already done for module clocks
and resets.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
To be queued in renesas-clk for v6.10.

 include/dt-bindings/clock/r9a07g043-cpg.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Lad, Prabhakar Feb. 28, 2024, 6:45 p.m. UTC | #1
On Mon, Feb 26, 2024 at 11:08 AM Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
>
> The M2 (CRU main clock), M3 (LCDC Video Clock), and AT (Cortex-A55 Debug
> clock) core clocks are only present on RZ/G2UL, not on RZ/Five.
>
> Annotate this in the comments, like is already done for module clocks
> and resets.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> To be queued in renesas-clk for v6.10.
>
>  include/dt-bindings/clock/r9a07g043-cpg.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Cheers,
Prabhakar

> diff --git a/include/dt-bindings/clock/r9a07g043-cpg.h b/include/dt-bindings/clock/r9a07g043-cpg.h
> index 77cde8effdc73c6f..a64139fec81520bf 100644
> --- a/include/dt-bindings/clock/r9a07g043-cpg.h
> +++ b/include/dt-bindings/clock/r9a07g043-cpg.h
> @@ -16,15 +16,15 @@
>  #define R9A07G043_CLK_SD0              5
>  #define R9A07G043_CLK_SD1              6
>  #define R9A07G043_CLK_M0               7
> -#define R9A07G043_CLK_M2               8
> -#define R9A07G043_CLK_M3               9
> +#define R9A07G043_CLK_M2               8       /* RZ/G2UL Only */
> +#define R9A07G043_CLK_M3               9       /* RZ/G2UL Only */
>  #define R9A07G043_CLK_HP               10
>  #define R9A07G043_CLK_TSU              11
>  #define R9A07G043_CLK_ZT               12
>  #define R9A07G043_CLK_P0               13
>  #define R9A07G043_CLK_P1               14
>  #define R9A07G043_CLK_P2               15
> -#define R9A07G043_CLK_AT               16
> +#define R9A07G043_CLK_AT               16      /* RZ/G2UL Only */
>  #define R9A07G043_OSCCLK               17
>  #define R9A07G043_CLK_P0_DIV2          18
>
> --
> 2.34.1
>
>
Rob Herring (Arm) March 1, 2024, 10:41 p.m. UTC | #2
On Mon, 26 Feb 2024 11:59:45 +0100, Geert Uytterhoeven wrote:
> The M2 (CRU main clock), M3 (LCDC Video Clock), and AT (Cortex-A55 Debug
> clock) core clocks are only present on RZ/G2UL, not on RZ/Five.
> 
> Annotate this in the comments, like is already done for module clocks
> and resets.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> To be queued in renesas-clk for v6.10.
> 
>  include/dt-bindings/clock/r9a07g043-cpg.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/include/dt-bindings/clock/r9a07g043-cpg.h b/include/dt-bindings/clock/r9a07g043-cpg.h
index 77cde8effdc73c6f..a64139fec81520bf 100644
--- a/include/dt-bindings/clock/r9a07g043-cpg.h
+++ b/include/dt-bindings/clock/r9a07g043-cpg.h
@@ -16,15 +16,15 @@ 
 #define R9A07G043_CLK_SD0		5
 #define R9A07G043_CLK_SD1		6
 #define R9A07G043_CLK_M0		7
-#define R9A07G043_CLK_M2		8
-#define R9A07G043_CLK_M3		9
+#define R9A07G043_CLK_M2		8	/* RZ/G2UL Only */
+#define R9A07G043_CLK_M3		9	/* RZ/G2UL Only */
 #define R9A07G043_CLK_HP		10
 #define R9A07G043_CLK_TSU		11
 #define R9A07G043_CLK_ZT		12
 #define R9A07G043_CLK_P0		13
 #define R9A07G043_CLK_P1		14
 #define R9A07G043_CLK_P2		15
-#define R9A07G043_CLK_AT		16
+#define R9A07G043_CLK_AT		16	/* RZ/G2UL Only */
 #define R9A07G043_OSCCLK		17
 #define R9A07G043_CLK_P0_DIV2		18