Re: [PATCH 1/1] net: fec: ptp: avoid register access when ipg clock is disabled

From: Heiko Thiery
Date: Thu Feb 25 2021 - 09:07:30 EST


Hi Richard,

Am Do., 25. Feb. 2021 um 14:49 Uhr schrieb Heiko Thiery
<heiko.thiery@xxxxxxxxx>:
>
> Hi Richard,
>
> Am Di., 23. Feb. 2021 um 17:11 Uhr schrieb Richard Cochran
> <richardcochran@xxxxxxxxx>:
> >
> > On Tue, Feb 23, 2021 at 04:04:16PM +0100, Heiko Thiery wrote:
> > > It is not only the PHC clock that stops. Rather, it is the entire
> > > ethernet building block in the SOC that is disabled, including the
> > > PHC.
> >
> > Sure, but why does the driver do that?
>
> That is a good question. I tried to understand the clock
> infrastructure of the imx8 but it looks quite complicated. I cannot
> find the point where all the stuff is disabled.

But the explanation why it is currently disabled that way can be found
in the commit 91c0d987a9788dcc5fe26baafd73bf9242b68900.

--
Heiko