diff options
author | 2022-04-27 11:55:00 +0800 | |
---|---|---|
committer | 2022-04-28 09:39:31 +0200 | |
commit | 1585362250fed6b0c166e176b628b335611d8f19 (patch) | |
tree | 8c2d418ededb9d3422868a11e2f18e28054b4d21 /net/atm/common.c | |
parent | dt-bindings: net: add reset property for aspeed, ast2600-mdio binding (diff) | |
download | wireguard-linux-1585362250fed6b0c166e176b628b335611d8f19.tar.xz wireguard-linux-1585362250fed6b0c166e176b628b335611d8f19.zip |
net: mdio: add reset control for Aspeed MDIO
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@aspeedtech.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/atm/common.c')
0 files changed, 0 insertions, 0 deletions