Thread (9 messages) flat view 9 messages, 4 authors, 2021-07-24

Re: [PATCH net-next] ARM: dts: imx6qdl: Remove unnecessary mdio #address-cells/#size-cells

From: Fabio Estevam <festevam@gmail.com>
Date: 2021-07-23 13:16:07
Also in: linux-arm-kernel, linux-devicetree

Hi Vladimr,

On Fri, Jul 23, 2021 at 10:08 AM Vladimir Oltean [off-list ref] wrote:
Are you actually sure this is the correct fix? If I look at mdio.yaml, I
think it is pretty clear that the "ethernet-phy" subnode of the MDIO
controller must have an "@[0-9a-f]+$" pattern, and a "reg" property. If
it did, then it wouldn't warn about #address-cells.
Thanks for reviewing it.

After double-checking I realize that the correct fix would be to pass
the phy address, like:

phy: ethernet-phy@1 {
reg = <1>;

Since the Ethernet PHY address is design dependant, I can not make the
fix myself.

I will try to ping the board maintainers for passing the correct phy address.

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