mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-14 23:09:45 +01:00
realtek: pcs: add CMU management SerDes ops
Add new SerDes ops for CMU management to be able to share common behavior of CMU configuration for RTL930x and RTL931x while still covering variant specifics. Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> Link: https://github.com/openwrt/openwrt/pull/22198 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
c4a3a0723b
commit
8e29b78726
1 changed files with 8 additions and 0 deletions
|
|
@ -179,6 +179,14 @@ struct rtpcs_serdes_ops {
|
|||
int (*set_autoneg)(struct rtpcs_serdes *sds, unsigned int neg_mode,
|
||||
const unsigned long *advertising);
|
||||
void (*restart_autoneg)(struct rtpcs_serdes *sds);
|
||||
|
||||
/* CMU management */
|
||||
int (*get_pll_select)(struct rtpcs_serdes *sds, enum rtpcs_sds_pll_type *pll);
|
||||
int (*set_pll_select)(struct rtpcs_serdes *sds, enum rtpcs_sds_mode hw_mode,
|
||||
enum rtpcs_sds_pll_type pll);
|
||||
int (*reset_cmu)(struct rtpcs_serdes *sds, enum rtpcs_sds_pll_type pll);
|
||||
/* online reconfiguration of a running SerDes to another PLL */
|
||||
int (*reconfigure_to_pll)(struct rtpcs_serdes *sds, enum rtpcs_sds_pll_type pll);
|
||||
};
|
||||
|
||||
struct rtpcs_sds_reg_field {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue