diff options
author | Colin Foster <colin.foster@in-advantage.com> | 2023-03-17 19:54:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-03-20 10:08:48 +0100 |
commit | 3821fd0107b09966a0b8ef0b2de3e999ba534266 (patch) | |
tree | 916212d1021acd9d3d957406e09a4e4bc1e8c4c5 /drivers/net/dsa/ocelot | |
parent | net: mscc: ocelot: expose serdes configuration function (diff) | |
download | linux-3821fd0107b09966a0b8ef0b2de3e999ba534266.tar.xz linux-3821fd0107b09966a0b8ef0b2de3e999ba534266.zip |
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>
Diffstat (limited to 'drivers/net/dsa/ocelot')
-rw-r--r-- | drivers/net/dsa/ocelot/felix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/dsa/ocelot/felix.c b/drivers/net/dsa/ocelot/felix.c index d4cc9e60f369..21dcb9cadc12 100644 --- a/drivers/net/dsa/ocelot/felix.c +++ b/drivers/net/dsa/ocelot/felix.c @@ -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; |