[PATCH] ARM: dts: imx51-babbage: Fix ULPI PHY reset modelling

Fabio Estevam festevam at gmail.com
Tue Jan 6 05:59:22 PST 2015


On Tue, Jan 6, 2015 at 11:54 AM, Lucas Stach <l.stach at pengutronix.de> wrote:

>> Actually the ULPI PHY reset is properly handled now. What is missing
>> is the USB Hub reset to be properly handled.
>>
> No it is not. A regulator isn't the proper abstraction for a reset at
> all. Even if you (ab)use the regulator drivers ability to toggle a reset
> GPIO.
> A ULPI PHY reset needs to be modeled as a GPIO reset attached to USB
> controller node. There is no other way to describe the hardware
> accurately.

The ULPI PHY is modelled as a GPIO reset via reset-gpios property.
This is documented at
Documentation/devicetree/bindings/usb/usb-nop-xceiv.txt:

- reset-gpios: Should specify the GPIO for reset.

This is the property we use right now for resetting the ULPI PHY.



More information about the linux-arm-kernel mailing list