]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
regmap: mdio: Add clause-45 support
authorSander Vanheule <sander@svanheule.net>
Thu, 3 Jun 2021 18:25:10 +0000 (20:25 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 8 Jun 2021 12:37:43 +0000 (13:37 +0100)
commitf083be9db060fbac09123d80bdffb2c001ac0e2b
tree36e937080dc66cf3657c4dacb10d916a54a339e0
parentdff404deb8493e6154ad75a62ce7c4e37ff8fccd
regmap: mdio: Add clause-45 support

Modern ethernet phys support the so-called clause-45 register access
mode, which allows for register address widths of 16 bit.

Also allow for 16-bit register address widths, and return a regmap for
clause-45 access in that case.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
Link: https://lore.kernel.org/r/9cc263e3e7d5865edd90453b4183f1cf363cb636.1622743333.git.sander@svanheule.net
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-mdio.c