[PATCH 01/33] drm/panel-novatek-nt35510: Fix dotclock

Linus Walleij linus.walleij at linaro.org
Sat Mar 7 14:29:20 UTC 2020


Hi Ville,

On Mon, Mar 2, 2020 at 9:34 PM Ville Syrjala
<ville.syrjala at linux.intel.com> wrote:

>         .mode = {
>                 /* The internal pixel clock of the NT35510 is 20 MHz */
> -               .clock = 20000000,
> +               .clock = 23581,

I double checked this with the datasheet NT35510 Application Note V0.07 HYDIS
and all documentation is in line with the comment: the internal clock
frequency of
the dotclock is 20 MHz so this should be set to 20000 (kHz) sorry for putting
the three orders of magnitude too big number there :P

This clock isn't used by any drivers because this is a command mode DSI
panel with a DSI link clocked from the host. (hs_rate or lp_rate).

The internal formula shows how the actual vrefresh can be calculated for
the display in respone to setting of the internal registers, see page 34:
https://dflund.se/~triad/NT35510-appnote.pdf

Yours,
Linus Walleij


More information about the dri-devel mailing list