Commit 3821fd01 authored by Colin Foster's avatar Colin Foster Committed by David S. Miller
Browse files

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: default avatarColin Foster <colin.foster@in-advantage.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dfca93ed
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1555,6 +1555,9 @@ static int felix_setup(struct dsa_switch *ds)
	if (err)
		return err;

	if (ocelot->targets[HSIO])
		ocelot_pll5_init(ocelot);

	err = ocelot_init(ocelot);
	if (err)
		goto out_mdiobus_free;