]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: phy: Add Airoha phy library for shared code
authorLouis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Tue, 26 May 2026 14:58:07 +0000 (16:58 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 28 May 2026 01:39:24 +0000 (18:39 -0700)
commitdddfadd75197e018c4ef30ebb2488aefc75e02d0
tree357db3b1c92fe1cca575ddfb75f944686d2e437f
parented28bd094db3e9e257355285c8e415e6160f7197
net: phy: Add Airoha phy library for shared code

In preparation of Airoha AN8801R PHY support, split out the interface
functions that will be common between the already present air_en8811h
driver and the new one, and put them into a new library named
air_phy_lib.

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-2-01aea8dee69b@collabora.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/Kconfig
drivers/net/phy/Makefile
drivers/net/phy/air_en8811h.c
drivers/net/phy/air_phy_lib.c [new file with mode: 0644]
drivers/net/phy/air_phy_lib.h [new file with mode: 0644]