diff options
author | Michael Walle <michael@walle.cc> | 2022-03-18 21:13:24 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-21 22:33:02 -0700 |
commit | 74529db3e01d6120f4a6212acac62d29a7faecc2 (patch) | |
tree | 320e722128651ad2b3744acc810f21fab2233cfc /drivers/siox | |
parent | 58ebdba3d851d03b40f181515c761810f3514303 (diff) |
net: mdio: mscc-miim: add lan966x internal phy reset support
The LAN966x has two internal PHYs which are in reset by default. The
driver already supported the internal PHYs of the SparX-5. Now add
support for the LAN966x, too. Add a new compatible to distinguish them.
The LAN966x has additional control bits in this register, thus convert
the regmap_write() to regmap_update_bits() to leave the remaining bits
untouched. This doesn't change anything for the SparX-5 SoC, because
there, the register consists only of reset bits.
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/siox')
0 files changed, 0 insertions, 0 deletions