]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: phy: air_phy_lib: Factorize BuckPBus register accessors
authorLouis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Tue, 26 May 2026 14:58:08 +0000 (16:58 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 May 2026 01:39:24 +0000 (18:39 -0700)
commit5226bb6634cdfc8dc1460321b4440d0e6565e9a6
tree871599ac13b4897fbae9dd4448637b12039b1cb6
parentdddfadd75197e018c4ef30ebb2488aefc75e02d0
net: phy: air_phy_lib: Factorize BuckPBus register accessors

In preparation of Airoha AN8801R PHY support, move the BuckPBus
register accessors and definitions, present in air_en8811h driver,
into the Airoha PHY shared code (air_phy_lib), so they will be usable
by the new driver without duplicating them.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Link: https://patch.msgid.link/20260526-add-airoha-an8801-support-v5-3-01aea8dee69b@collabora.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/air_en8811h.c
drivers/net/phy/air_phy_lib.c
drivers/net/phy/air_phy_lib.h