Re: [PATCH 01/10] dt-bindings: clock: renesas,r8a78000-cpg: Add CPG_SGD4_VIO_DP_{TX,OTHER}

From: Laurent Pinchart

Date: Thu Sep 17 2026 - 21:04:05 EST


Hi Paul,

Thank you for the patch.

On Thu, Sep 17, 2026 at 09:04:40PM +0900, Paul Elder wrote:
> Add preliminary clocks for testing:
> - CPG_SGD4_VIO_DP_TX is used by FCP
> - CPG_SGD4_VIO_DP_OTHER is used by VSP
>
> Signed-off-by: Paul Elder <paul.elder+renesas@xxxxxxxxxxxxxxxx>
> ---
> include/dt-bindings/clock/renesas,r8a78000-cpg.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/dt-bindings/clock/renesas,r8a78000-cpg.h b/include/dt-bindings/clock/renesas,r8a78000-cpg.h
> index 5851a29847f961b9b4ec270f263eb3aa19e45308..8c1a01e28ddbb26c583d7c9b387400ef6626c06c 100644
> --- a/include/dt-bindings/clock/renesas,r8a78000-cpg.h
> +++ b/include/dt-bindings/clock/renesas,r8a78000-cpg.h
> @@ -12,5 +12,7 @@
> #define R8A78000_CPG_SGASYNCD16_PERW_BUS 2
> #define R8A78000_CPG_S0D4_PERE_MAIN 3 // FIXME Preliminary
> #define R8A78000_CPG_MSOCK_PERW_BUS 4 // FIXME Preliminary
> +#define R8A78000_CPG_SGD4_VIO_DP_TX 5 // FIXME Preliminary
> +#define R8A78000_CPG_SGD4_VIO_DP_OTHER 6 // FIXME Preliminary

While those two clocks are not directly controllable, we need to ensure
that the parents are enabled. That will require taking a closer look at
the SCP firmware. As the X5H CPG driver in upstream is alone a barebone
version at the moment, that doesn't have to be fixed now. This patch is
not an immediate candidate for upstream.

>
> #endif /* __DT_BINDINGS_CLOCK_RENESAS_R8A78000_CPG_H__ */
>

--
Regards,

Laurent Pinchart