]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: renesas: rzg2l: Remove DSI clock rate restrictions
authorChris Brandt <chris.brandt@renesas.com>
Mon, 24 Nov 2025 13:10:02 +0000 (08:10 -0500)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 16 Jan 2026 09:42:33 +0000 (10:42 +0100)
commit5a4326f2e3b1edfb3329c1bee59035dc9f048b59
treebfc6b3847d4121c9d551c94d7c115bdf89bbafad
parent879e9fc8f689cbd890f2f79b9da098697746316d
clk: renesas: rzg2l: Remove DSI clock rate restrictions

Convert the limited MIPI clock calculations to a full range of settings
based on math including H/W limitation validation.
Since the required DSI division setting must be specified from external
sources before calculations, expose a new API to set it.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Tested-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Tested-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20251124131003.992554-2-chris.brandt@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/rzg2l-cpg.c
include/linux/clk/renesas.h