Re: [RFT PATCH 2/2] drm/panel: sitronix-st7789v: Convert to mipi_dbi
From: Chen-Yu Tsai
Date: Tue Feb 17 2026 - 02:47:06 EST
Please ignore this version. This had a change that was half squashed in.
On Tue, Feb 17, 2026 at 2:37 PM Chen-Yu Tsai <wens@xxxxxxxxxx> wrote:
>
> The wire protocol of the ST7789V is basically MIPI DBI. Switch to the
> mipi_dbi helpers to reduce some code. This also ends up adding support
> for 8-bit D/C mode. The reset logic in the mipi_dbi helpers is also
> used.
>
> While at it, also clean up st7789v_check_id() to use ST7789V_IDS_SIZE
> to declare the ids array size and sizeof(ids) where the size is
> needed.
>
> Signed-off-by: Chen-Yu Tsai <wens@xxxxxxxxxx>