[PATCH V3] phy: nop-phy: Enable reset-gpios support

Tom Rini trini at konsulko.com
Sat Jan 29 13:50:47 CET 2022


On Sat, Jan 22, 2022 at 12:02:02PM -0600, Adam Ford wrote:

> Some usb-nop-xceiv devices use a gpio to put them in and
> out of reset.  Add a reset function to put them into that
> state.  This is similar to how Linux handles the
> usb-nop-xceiv driver.
> 
> Signed-off-by: Adam Ford <aford173 at gmail.com>
> ---
> V3:  Encapsulate the nop_phy_ops reference to nop_phy_reset
>      in an if-def so it doesn't appear when DM_GPIO is not
>      enabled.
> 
> V2:  Only use the GPIO functions when DM_GPIO is enabled
>      Add error handling so if the GPIO fails, it will shutdown
>      the clocks and return with the error code.
>      Call nop_phy_reset() instead of repeating the same code.

At the risk of sounding a bit too cranky, please build test v4 for
k2e_evm as it's still failing to build due to these changes.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220129/34482464/attachment.sig>


More information about the U-Boot mailing list