nvethernet: add support for MGBE/XPCS clocks

Bug 3288030

Change-Id: I78c88d86ff99010b3656c62f1074df30c068db66
Signed-off-by: Bhadram Varka <vbhadram@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2529193
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
This commit is contained in:
Bhadram Varka
2021-04-29 20:36:47 +05:30
committed by Revanth Kumar Uppala
parent ae45ba80a8
commit 719d5641dd
2 changed files with 488 additions and 35 deletions

View File

@@ -329,6 +329,24 @@ struct ether_priv_data {
struct clk *ptp_ref_clk;
/** Transmit clock */
struct clk *tx_clk;
/** Receive Monitoring clock */
struct clk *rx_m_clk;
/** RX PCS monitoring clock */
struct clk *rx_pcs_m_clk;
/** RX PCS input clock */
struct clk *rx_pcs_input_clk;
/** RX PCS clock */
struct clk *rx_pcs_clk;
/** TX PCS clock */
struct clk *tx_pcs_clk;
/** MAC DIV clock */
struct clk *mac_div_clk;
/** MAC clock */
struct clk *mac_clk;
/** EEE PCS clock */
struct clk *eee_pcs_clk;
/** APP clock */
struct clk *app_clk;
/** Pointer to PHY device tree node */
struct device_node *phy_node;
/** Pointer to MDIO device tree node */