Re: [PATCH] drm/bridge: fix anx6345 power up sequence

From: Torsten Duwe
Date: Thu May 19 2022 - 09:40:36 EST


On Wed, 18 May 2022 09:53:58 -0700
Vasily Khoruzhick <anarsoul@xxxxxxxxx> wrote:

> On Thu, Apr 28, 2022 at 8:58 AM Torsten Duwe <duwe@xxxxxx> wrote:

> > power on the eDP bridge? Could there be any leftovers from that
> > mechanism? I use a hacked-up U-Boot with a procedure similar to the
> > kernel driver as fixed by this change.

I was asking because I recall an ugly hack in some ATF code to power up
the chip correctly. Did you patch ATF, and maybe call functions of it
at runtime?

> >
> > But the main question is: does this patch in any way worsen the
> > situation on the pinebook?
>
> I don't think it worsens anything, but according to the datasheet the
> change makes no sense. Could you try increasing T2 instead of changing
> the power sequence?

According to the datasheet, there is also T3, I realise now. The
diagram talks about "System Clock", but both Teres and Pinebook have a
passive resonator circuit there. Correct me if I'm wrong, but without
chip power, there is little to resonate. What if that driving clock
circuit is powered by Vdd25? Maybe the earlier provision of 2V5 is
enough for Teres' Q4, but Pinebook X4 takes even longer? The start-up
times can be in the range of milliseconds.

Torsten