Re: [PATCH 10/33] drm/panel-simple: Fix dotclock for AUO G104SN02 V2

Stefan Riedmüller
2020-03-05T08:14:51Z

Hi Ville, hi Christoph,

On 03.03.20 14:13, Christoph Fritz wrote:
> On Mon, 2020-03-02 at 22:34 +0200, Ville Syrjala wrote:
>> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>>
>> The currently listed dotclock disagrees with the currently
>> listed vrefresh rate. Change the dotclock to match the vrefresh.
>>
>> Someone tell me which (if either) of the dotclock or vreresh is
>> correct?

The 40 MHz clock comes from the datasheet which states this as the typical
clock frequency. But the valid range reaches from 30 MHz to 50 MHz. The
datasheet also states a 60 Hz frame rate so setting the clock to the
corresponding frequency makes sense to me.

I gave it a little test here and both values work for me.

Regards,
Stefan

>
> This display (a controller is included) has a wide tolerance range.
>
> Adapting clock should be fine while keeping vrefresh rate at 60 Hz.
>
> I guess an even better alternative would be to change this config to a
> pixelclock describing one like the other auo panels.
>
> But at the moment I'm not having a display here.