On Fri, Sep 18, 2026 at 04:40:05PM +0200, Luca Weiss wrote:
> Add support for the 2484x1116 AMOLED panel from BOE (BJ631JHM-T71-D900)
> bundled with a NT37705 driver IC, as found on the Fairphone (Gen. 6)
> smartphone.
> 
> The panel can also be configured in 10-bit (RGB101010) mode, however
> currently it's configured in 8-bit (RGB888) since there's some issues in
> the Qualcomm DPU driver when driving this panel in 10-bit.
> 
> Signed-off-by: Luca Weiss <[email protected]>
> ---
>  drivers/gpu/drm/panel/Kconfig                 |  12 +
>  drivers/gpu/drm/panel/Makefile                |   1 +
>  drivers/gpu/drm/panel/panel-novatek-nt37705.c | 413 
> ++++++++++++++++++++++++++
>  3 files changed, 426 insertions(+)
> 
> +     mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x2f, 0x02);
> +     mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x5a, 0x01);
> +     mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x2f, 0x30);
> +     mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x6d, 0x00);
> +     mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x11, 0x00);

MIPI_DCS_EXIT_SLEEP_MODE

> +     mipi_dsi_msleep(&dsi_ctx, 120);
> +     mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x29, 0x00);

MIPI_DCS_SET_DISPLAY_ON

> +     mipi_dsi_msleep(&dsi_ctx, 22);
> +
> +     return dsi_ctx.accum_err;
> +}
> +
> +static int nt37705_off(struct nt37705_panel *ctx)
> +{
> +     struct mipi_dsi_multi_context dsi_ctx = { .dsi = ctx->dsi };
> +
> +     ctx->dsi->mode_flags &= ~MIPI_DSI_MODE_LPM;
> +
> +     mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x28, 0x00);

MIPI_DCS_SET_DISPLAY_OFF

> +     mipi_dsi_msleep(&dsi_ctx, 20);
> +     mipi_dsi_dcs_write_seq_multi(&dsi_ctx, 0x10, 0x00);

MIPI_DCS_ENTER_SLEEP_MODE

> +     mipi_dsi_msleep(&dsi_ctx, 120);
> +
> +     return dsi_ctx.accum_err;
> +}
> +

-- 
With best wishes
Dmitry

Reply via email to