Re: [PATCH] mdio_bus: Simplify reset handling and extend to non-DT systems
From: Andrew Lunn
Date: Mon Jan 13 2020 - 08:29:01 EST
On Mon, Jan 13, 2020 at 02:05:29PM +0100, Geert Uytterhoeven wrote:
> Convert mdiobus_register_reset() from open-coded DT-only optional reset
> handling to reset_control_get_optional_exclusive(). This not only
> simplifies the code, but also adds support for lookup-based resets on
> non-DT systems.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> ---
> Only tested on systems without PHY resets, with and without
> CONFIG_RESET_CONTROLLER=y.
David, please could you test this.
But it Looks O.K. to me.
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew