]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm: renesas: rz-du: Implement MIPI DSI host transfers
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Wed, 4 Jun 2025 14:53:06 +0000 (10:53 -0400)
committerBiju Das <biju.das.jz@bp.renesas.com>
Mon, 9 Jun 2025 06:01:59 +0000 (07:01 +0100)
commit6f392f37165008cfb3f89d723aa019e372ee79b9
treeb591b579355029b8b079ba6ea555cc186417db93
parent93614c2ab39a9d6641b3e0fba73feea1f6120817
drm: renesas: rz-du: Implement MIPI DSI host transfers

Add support for sending MIPI DSI command packets from the host to a
peripheral. This is required for panels that need configuration before
they accept video data.

Also for long reads to work properly, set DCS maximum return packet size
to the value of the DMA buffer size.

Based on Renesas Linux kernel v5.10 repos [1].
Link: https://github.com/renesas-rz/rz_linux-cip.git
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Tested-by: Chris Brandt <Chris.Brandt@renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20250604145306.1170676-2-hugo@hugovil.com
drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi.c
drivers/gpu/drm/renesas/rz-du/rzg2l_mipi_dsi_regs.h