* Comment about unstable DSA devicetree binding in marvell.txt
@ 2022-03-21 17:03 Andreas Svensson
2022-03-21 17:17 ` Andrew Lunn
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Svensson @ 2022-03-21 17:03 UTC (permalink / raw)
To: netdev; +Cc: andrew, vivien.didelot
Hi,
I'm looking at using mv88e6xxx-mdio-external for the external MDIO
bus to communicate with a PHY.
I couldn't help but notice the comment about the devicetree binding
being unstable in Documentation/devicetree/bindings/net/dsa/marvell.txt:
"WARNING: This binding is currently unstable. Do not program it into a
FLASH never to be changed again. Once this binding is stable, this
warning will be removed."
Any update on this, is marvell.txt still considered unstable?
Best Regards,
Andreas Svensson
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Comment about unstable DSA devicetree binding in marvell.txt
2022-03-21 17:03 Comment about unstable DSA devicetree binding in marvell.txt Andreas Svensson
@ 2022-03-21 17:17 ` Andrew Lunn
2022-03-22 21:07 ` Andreas Svensson
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Lunn @ 2022-03-21 17:17 UTC (permalink / raw)
To: Andreas Svensson; +Cc: netdev, vivien.didelot
On Mon, Mar 21, 2022 at 06:03:59PM +0100, Andreas Svensson wrote:
> Hi,
>
> I'm looking at using mv88e6xxx-mdio-external for the external MDIO
> bus to communicate with a PHY.
>
> I couldn't help but notice the comment about the devicetree binding
> being unstable in Documentation/devicetree/bindings/net/dsa/marvell.txt:
>
> "WARNING: This binding is currently unstable. Do not program it into a
> FLASH never to be changed again. Once this binding is stable, this
> warning will be removed."
>
> Any update on this, is marvell.txt still considered unstable?
I personally would never write it to FLASH never to be changed
again. I would always load the DT blob from disk, a version which
matches the kernel. DT blobs do contain bugs and they need to be
fixed.
The marvell binding has not changed for a long time, so in practice
you can consider it stable. But just because it is stable does not
mean DT blobs are bug free.
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Comment about unstable DSA devicetree binding in marvell.txt
2022-03-21 17:17 ` Andrew Lunn
@ 2022-03-22 21:07 ` Andreas Svensson
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Svensson @ 2022-03-22 21:07 UTC (permalink / raw)
To: Andrew Lunn; +Cc: netdev, vivien.didelot
On Mon, Mar 21, 2022 at 6:17 PM Andrew Lunn <andrew@lunn.ch> wrote:
>
> On Mon, Mar 21, 2022 at 06:03:59PM +0100, Andreas Svensson wrote:
> > Hi,
> >
> > I'm looking at using mv88e6xxx-mdio-external for the external MDIO
> > bus to communicate with a PHY.
> >
> > I couldn't help but notice the comment about the devicetree binding
> > being unstable in Documentation/devicetree/bindings/net/dsa/marvell.txt:
> >
> > "WARNING: This binding is currently unstable. Do not program it into a
> > FLASH never to be changed again. Once this binding is stable, this
> > warning will be removed."
> >
> > Any update on this, is marvell.txt still considered unstable?
Thanks for the fast reply Andrew.
> I personally would never write it to FLASH never to be changed
> again. I would always load the DT blob from disk, a version which
> matches the kernel. DT blobs do contain bugs and they need to be
> fixed.
Totally agree.
> The marvell binding has not changed for a long time, so in practice
> you can consider it stable. But just because it is stable does not
> mean DT blobs are bug free.
This is my understanding as well. I have not found any issues so far
using mv88e6xxx-mdio-external which is marvell binding specific.
Thanks for the clarification about the comment!
Best Regards,
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-03-22 21:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-21 17:03 Comment about unstable DSA devicetree binding in marvell.txt Andreas Svensson
2022-03-21 17:17 ` Andrew Lunn
2022-03-22 21:07 ` Andreas Svensson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).