generic: ar8216: add support for reset control
authorChuanhong Guo <[email protected]>
Sun, 19 Jul 2020 14:07:51 +0000 (22:07 +0800)
committerChuanhong Guo <[email protected]>
Sat, 19 Sep 2020 13:55:20 +0000 (21:55 +0800)
commitbec3e24a2ae4752e31c0feef34b5ae8b77ab9d81
tree9f6fe0ed43cb61a47a1dea9363995205a4a58e88
parent7190fb2da46bca02c233432db2cad57655208b68
generic: ar8216: add support for reset control

This allows a full hardware reset of builtin switch found in ar724x
and later SoCs.
It's only added for mdio-device probing because this can only be used
by builtin switches, and all builtin switches are probed using
mdio-device method.

Signed-off-by: Chuanhong Guo <[email protected]>
target/linux/generic/files/drivers/net/phy/ar8216.c