mbox series

[0/4] phy: Realtek Otto SerDes: add new driver

Message ID 20241004195712.1891488-1-markus.stockhausen@gmx.de
Headers show
Series phy: Realtek Otto SerDes: add new driver | expand

Message

Markus Stockhausen Oct. 4, 2024, 7:56 p.m. UTC
This patch series adds support for the SerDes in the Realtek Otto platform.
These are 8-52 port switch SoCs of the RTL83xx and RTL93xx series with MIPS
cores. The ports are based on 1-8 port PHYs (e.g. RTL8218D) that are connected
via multiple SerDes.

The driver is based on the GPL source drops from the different switch vendors.
It supports all 4 SoC series and was developed and tested on the following
devices:

RTL838x - codename maple - Linksys LGS310C
RTL839x - codename cypress - Zyxel GS1920-24
RTL930x - codename langon - Zyxel XGS1210-10
RTL931x - codename mango - Linksys LGS352C

Due to very little information and fundamentally different I/O port ranges
of the devices this driver is the best we can achieve to provide a common
consistent interface.

Currently we only provide the most basic operations for mode set and device
reset as well as some debugging information if enabled. The strength lies in
the fact that the driver can run patch sequences for the SerDes registers at
certain events, e.g. phy_power_on(). This allows us to run configuration
operations to get the SerDes up and running. A lot of the sequences are
totally undocumented and can never be implemented in the driver without
further knowledge or vendor support.

For more information see:

https://svanheule.net/switches/gpl_source_drops
https://svanheule.net/realtek/


[PATCH 1/4] phy: Realtek Otto SerDes: add header file
[PATCH 2/4] phy: Realtek Otto SerDes: add driver source
[PATCH 3/4] phy: Realtek Otto SerDes: include driver
[PATCH 4/4] phy: Realtek Otto Serdes: add devicetree documentation