Skip to content

Commit 3821fd0

Browse files
colin-foster-in-advantagedavem330
authored andcommitted
net: dsa: felix: attempt to initialize internal hsio plls
The VSC7512 and VSC7514 have internal PLLs that can be used to control different peripherals. Initialize these high speed I/O (HSIO) PLLs when they exist, so that dependent peripherals like QSGMII can function. Signed-off-by: Colin Foster <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent dfca93e commit 3821fd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/net/dsa/ocelot/felix.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1555,6 +1555,9 @@ static int felix_setup(struct dsa_switch *ds)
15551555
if (err)
15561556
return err;
15571557

1558+
if (ocelot->targets[HSIO])
1559+
ocelot_pll5_init(ocelot);
1560+
15581561
err = ocelot_init(ocelot);
15591562
if (err)
15601563
goto out_mdiobus_free;

0 commit comments

Comments
 (0)