Thread (9 messages) flat view 9 messages, 2 authors, 2021-09-16

Re: [PATCH 3/5] ARM: dts: NSP: Fix MDIO mux node names

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-08-28 22:14:26
Also in: linux-arm-kernel, lkml

On Sat, Aug 28, 2021 at 10:52:30PM +0100, Matthew Hagan wrote:
On 28/08/2021 18:07, Andrew Lunn wrote:
quoted
On Sat, Aug 28, 2021 at 11:27:01AM +0000, Matthew Hagan wrote:
quoted
This patch fixes the following message by adding "mdio-mux" compatible:
compatible: ['mdio-mux-mmioreg'] is too short
 
Err, what? This sounds like a workaround for a tool problem, not a
real fix. 

What is actually wrong with:

compatible = "mdio-mux-mmioreg";
Yes this does work fine either with or without "mdio-mux". The changes
have been made to correspond with those submitted by Rafal Milecki for
the BCM5301X platform[1] and to conform with
Documentation/devicetree/bindings/net/mdio-mux-mmioreg.yaml
which does state both as required items (and hence not a tool problem).
Hi Matthew

It would be good to expand the commit message a bit, since the error
'is too short' is particularly uninformative, and leads to questions
like this if not explained.

It would also good to get the tool improved, but that is out of scope
for this patch.

     Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help