[PATCH net-next] ARM: dts: imx6qdl: Remove unnecessary mdio #address-cells/#size-cells
Fabio Estevam
festevam at gmail.com
Sat Jul 24 05:48:05 PDT 2021
Hi Joakim and Vladimir,
On Sat, Jul 24, 2021 at 2:21 AM Joakim Zhang <qiangqing.zhang at nxp.com> wrote:
> I prepare this patch to fix dtbs_check when convert fec binding into schema.
> I realized that we need a "reg" under phy device node, but I also don't know how to add it since
> the phy is obviously not on board. And I check the phy code, it supports auto scan for PHYs with empty
> "reg" property.
I looked in the U-Boot code for the nitrogenx6x board:
https://source.denx.de/u-boot/u-boot/-/blob/master/board/boundary/nitrogen6x/nitrogen6x.c#L343-356
and it scans for a range of Ethernet PHY addresses.
As we can't pass a reg property in the dts in this case, the patch I
sent that removes the
#address-cells/#size-cells properties looks good, right?
What do you think?
More information about the linux-arm-kernel
mailing list