]> exis.tech > repos - linux.git/commit
clk: renesas: r9a09g047: Add support for SMUX2_DSI{0,1}_CLK
authorTommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Wed, 8 Apr 2026 10:36:51 +0000 (12:36 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 4 May 2026 12:03:08 +0000 (14:03 +0200)
commit8a6ccb522858e196e0e89a602f4dd4624b7f6e7a
treea19af9e8722bc1f2d764933e9e8d7407dc7600b0
parent7a9e1c485ce8040a6fe1ac8712e57860fe486cb3
clk: renesas: r9a09g047: Add support for SMUX2_DSI{0,1}_CLK

Add support for the SMUX2_DSI0_CLK and SMUX2_DSI1_CLK clock muxes
present on the r9a09g047 SoC.

These muxes select between CDIV7_DSI{0,1}_CLK and CSDIV_2to16_PLLDSI{0,1}
using the CPG_SSEL3 register (SELCTL0 and SELCTL1 bits).

According to the hardware manual, when LVDS0 or LVDS1 outputs are used,
SELCTL0 or SELCTL1 must be set accordingly.

Signed-off-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/9595f56ce8ab120477bfc11eaafb0f2b655d049a.1775636898.git.tommaso.merciai.xr@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/r9a09g047-cpg.c
drivers/clk/renesas/rzv2h-cpg.h