realtek: phy: rtl930x: drop SerDes code

Drop the now unused SerDes code for RTL930X from rtl83xx-phy driver as
the SerDes is completely managed by the PCS driver.

This marks a breaking point because RTL930X SerDes is no longer treated
as a regular PHY device.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20577
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Jonas Jelonek 2025-10-25 14:36:03 +00:00 committed by Robert Marko
parent 623180a422
commit f578ed0dc9
2 changed files with 0 additions and 1879 deletions

File diff suppressed because it is too large Load diff

View file

@ -51,21 +51,3 @@ struct __attribute__ ((__packed__)) fw_header {
/* Registers of the internal SerDes of the RTL8390 */
#define RTL839X_SDS12_13_XSG0 (0xB800)
/* Registers of the internal Serdes of the 9300 */
#define RTL930X_MAC_FORCE_MODE_CTRL (0xCA1C)
int rtl9300_serdes_setup(int port, int sds_num, phy_interface_t phy_mode);
/*
* TODO: The following functions are currently not in use. So compiler will complain if
* they are static and not made available externally. Collect them in this section to
* preserve for future use.
*/
void rtl9300_do_rx_calibration_3(int sds_num, phy_interface_t phy_mode);
int rtl9300_sds_clock_wait(int timeout);
int rtl9300_sds_cmu_band_get(int sds);
void rtl9300_sds_rxcal_dcvs_get(u32 sds_num, u32 dcvs_id, u32 dcvs_list[]);
void rtl9300_sds_rxcal_dcvs_manual(u32 sds_num, u32 dcvs_id, bool manual, u32 dvcs_list[]);
void rtl9300_sds_set(int sds_num, u32 mode);