Skip to content

Commit

Permalink
Fix mediatek filogic
Browse files Browse the repository at this point in the history
  • Loading branch information
vincejv committed Jun 29, 2024
1 parent 8b3d0f6 commit ef4f44d
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Signed-off-by: David Bauer <[email protected]>
#define PHY_PMA_MGBT_POLARITY 0x82
#define PHY_MDI_MDI_X_MASK GENMASK(1, 0)
#define PHY_MDI_MDI_X_NORMAL 0x3
@@ -228,7 +235,8 @@ static int gpy_ack_interrupt(struct phy_
@@ -228,7 +235,8 @@ static int gpy_ack_interrupt(struct phy_device *phydev)

/* Clear all pending interrupts */
ret = phy_read(phydev, PHY_ISTAT);
Expand All @@ -65,7 +65,7 @@ Signed-off-by: David Bauer <[email protected]>
}

static int gpy_mbox_read(struct phy_device *phydev, u32 addr)
@@ -270,6 +278,35 @@ out:
@@ -270,10 +278,41 @@ out:
return ret;
}

Expand Down Expand Up @@ -101,3 +101,9 @@ Signed-off-by: David Bauer <[email protected]>
static int gpy_config_init(struct phy_device *phydev)
{
/* Nothing to configure. Configuration Requirement Placeholder */
return 0;
+
+ return gpy_led_write(phydev);
}

static int gpy_probe(struct phy_device *phydev)

0 comments on commit ef4f44d

Please sign in to comment.