
28 Oct
2024
28 Oct
'24
12:11 a.m.
On Tue, 08 Oct 2024 09:54:23 +0200, Romain Naour wrote:
We are using a custom board where an ethernet switch device KSZ9896 is available. This family of devices can use several types of serial bus as management interface: mdio, i2c or SPI. Due to board design constraints and because we initially planned to use this device only from Linux, the SPI bus was used.
Luckily we are using a recent enough u-boot release where KSZ9477 driver is available... but only for the i2c interface. Indeed, unlike the kernel driver, the KSZ9477 driver doesn't use the regmap API to access the underlying bus since the regmap API is limited to direct memory access [1].
[...]
Applied to u-boot/master, thanks!
--
Tom