[PATCH v3 2/3] net: mdio: add reset control for Aspeed MDIO

Russell King (Oracle) linux at armlinux.org.uk
Thu Mar 31 18:12:25 AEDT 2022


On Fri, Mar 25, 2022 at 12:14:50PM +0800, Dylan Hung wrote:
> Add reset assertion/deassertion for Aspeed MDIO.  There are 4 MDIO
> controllers embedded in Aspeed AST2600 SOC and share one reset control
> register SCU50[3].  To work with old DT blobs which don't have the reset
> property, devm_reset_control_get_optional_shared is used in this change.
> Signed-off-by: Dylan Hung <dylan_hung at aspeedtech.com>
> Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>

Should this really be specific to one driver rather than being handled
in the core mdio code?

RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

More information about the Linux-aspeed mailing list