Re: [PATCH v3 1/2] dt-bindings: gpio: 74x164: Introduce the 'registers-default' property

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

 



Hi Andrew,

On Thu, Jan 7, 2021 at 11:25 AM Andrew Lunn <andrew@xxxxxxx> wrote:

> There are two different GPIO supported. There is the bus GPIO you have
> found, which is intended to reset all devices on the MDIO bus.
>
> And there is a per device GPIO reset and reset controller. However, in
> order to use these, you need to be able to 'discover' the PHY,
> potentially when the device is held in reset. Some devices will
> respond to MDIO while held in reset, some don't. If you PHYs don't you
> need to add a compatible of the form
> ethernet-phy-id[a-f0-9]{4}\\.[a-f0-9]{4}$ with the PHY ID. The PHY
> will then be probed, independent of if it can be found on the bus or
> not, and that probing will enable the GPIO.

It works after following your suggestion :-)

I will submit the dts patches shortly.

Thanks a lot for your help, really appreciate it!



[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