[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190129182135.GB19424@t480s.localdomain>
Date: Tue, 29 Jan 2019 18:21:35 -0500
From: Vivien Didelot <vivien.didelot@...il.com>
To: Pavel Machek <pavel@....cz>
Cc: Andrew Lunn <andrew@...n.ch>, netdev@...r.kernel.org,
f.fainelli@...il.com, buytenh@...vell.com, buytenh@...tstofly.org,
nico@...vell.com
Subject: Re: mv88e6xxx -- DSA support for Marvell 88e6065 switch (and maybe
88e6060?)
Hi Pavel,
On Tue, 29 Jan 2019 23:57:32 +0100, Pavel Machek <pavel@....cz> wrote:
> Ok, so I took a long look at mv88e6xxx... and got it to work.
>
> Good news is that modifications needed are not too heavy. Most are
> inlined below. (tag_daddr is still needed. I can send that too).
>
> Bad news is that only about half of all the registers are present on
> 6065 (6060 is similar), and I'm not sure how to do that
> cleanly. Anything marked "W" is not present or reserved or different
> in 6065. What would be good markup of registers that are common to all
> and that are newer-generations-only be? Mark everything not present on
> 6065 as MV88E6085_*?
>
> Is someone is interested in getting 6060 to work with mv88e6xxx?
I am currently trying to request boards with an 88E6060 so that we can
finally get rid of the legacy code used by the mv88e6060 driver.
I think the 6065 has similar registers layout than the 6060. If so, it would
be simpler for you to add the 6065 support into the mv88e6060 driver.
Merging mv88e6060 into mv88e6xxx is the next step I have on my plate after
removing legacy.
Are you using the legacy binding with mv88e6xxx or the new ones? If you're
using the new ones, Andrew may have a patch to convert the mv88e6060 driver
to use the new bindings, that you could apply and test first. Then you can
add support for 88E6065 in the mv88e6060 driver more easily.
Thanks,
Vivien
Powered by blists - more mailing lists