mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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 <colin.foster@in-advantage.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
dfca93ed51
commit
3821fd0107
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue