Re: [PATCH v2 0/2] Add macb support for SiFive FU540-C000

From: Paul Walmsley
Date: Mon Jun 17 2019 - 07:39:26 EST


On Mon, 17 Jun 2019, Andreas Schwab wrote:

> On Jun 17 2019, Paul Walmsley <paul.walmsley@xxxxxxxxxx> wrote:
>
> > On Mon, 17 Jun 2019, Andreas Schwab wrote:
> >
> >> On Jun 17 2019, Paul Walmsley <paul.walmsley@xxxxxxxxxx> wrote:
> >>
> >> > Looks to me that it shouldn't have an impact unless the DT string is
> >> > present, and even then, the impact might simply be that the MACB driver
> >> > may not work?
> >>
> >> If the macb driver doesn't work you have an unusable system, of course.
> >
> > Why?
>
> Because a system is useless without network.

>From an upstream Linux point of view, Yash's patches should be an
improvement over the current mainline kernel situation, since there's
currently no upstream support for the (SiFive-specific) TX clock switch
register. With the right DT data, and a bootloader that handles the PHY
reset, I think networking should work after his patches are upstream --
although I myself haven't tried this yet.


- Paul