Messages in this thread | | | Date | Mon, 13 Jan 2020 14:28:51 +0100 | From | Andrew Lunn <> | Subject | Re: [PATCH] mdio_bus: Simplify reset handling and extend to non-DT systems |
| |
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@glider.be> > --- > 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@lunn.ch>
Andrew
| |