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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Joakim and Vladimir,

On Sat, Jul 24, 2021 at 2:21 AM Joakim Zhang <qiangqing.zhang@xxxxxxx> 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?



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux