aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev_api.c
diff options
context:
space:
mode:
authorMaxime Chevallier <[email protected]>2025-03-22 07:57:45 +0000
committerJakub Kicinski <[email protected]>2025-03-25 16:10:55 +0000
commitd4bd3aca33c2c0d07f76e1482dd5d90525199cec (patch)
treee2b1267edef9bbb4ea52adf02ec6c26b416c2162 /net/core/dev_api.c
parentnet: phy: sfp: Add support for SMBus module access (diff)
downloadkernel-d4bd3aca33c2c0d07f76e1482dd5d90525199cec.tar.gz
kernel-d4bd3aca33c2c0d07f76e1482dd5d90525199cec.zip
net: mdio: mdio-i2c: Add support for single-byte SMBus operations
PHYs that are within copper SFP modules have their MDIO bus accessible through address 0x56 (usually) on the i2c bus. The MDIO-I2C bridge is desgned for 16 bits accesses, but we can also perform 8bits accesses by reading/writing the high and low bytes sequentially. This commit adds support for this type of accesses, thus supporting smbus controllers such as the one in the VSC8552. This was only tested on Copper SFP modules that embed a Marvell 88e1111 PHY. Tested-by: Sean Anderson <[email protected]> Signed-off-by: Maxime Chevallier <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions