summaryrefslogtreecommitdiff
path: root/drivers/net/dsa/ocelot/felix_vsc9959.c
diff options
context:
space:
mode:
authorColin Foster <colin.foster@in-advantage.com>2021-12-07 09:00:29 -0800
committerJakub Kicinski <kuba@kernel.org>2021-12-07 21:44:49 -0800
commit242bd0c10bbdcea4c8bfd1f40973d145dd4ae120 (patch)
tree2383e01a1bc5c3520104afd5c4a15c89c4966453 /drivers/net/dsa/ocelot/felix_vsc9959.c
parent49af6a7620c53b779572abfbfd7778e113154330 (diff)
downloadlwn-242bd0c10bbdcea4c8bfd1f40973d145dd4ae120.tar.gz
lwn-242bd0c10bbdcea4c8bfd1f40973d145dd4ae120.zip
net: dsa: ocelot: felix: add interface for custom regmaps
Add an interface so that non-mmio regmaps can be used Signed-off-by: Colin Foster <colin.foster@in-advantage.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/ocelot/felix_vsc9959.c')
-rw-r--r--drivers/net/dsa/ocelot/felix_vsc9959.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/ocelot/felix_vsc9959.c b/drivers/net/dsa/ocelot/felix_vsc9959.c
index 0676e204c804..74c5c8cd664a 100644
--- a/drivers/net/dsa/ocelot/felix_vsc9959.c
+++ b/drivers/net/dsa/ocelot/felix_vsc9959.c
@@ -2240,6 +2240,7 @@ static const struct felix_info felix_info_vsc9959 = {
.prevalidate_phy_mode = vsc9959_prevalidate_phy_mode,
.port_setup_tc = vsc9959_port_setup_tc,
.port_sched_speed_set = vsc9959_sched_speed_set,
+ .init_regmap = ocelot_regmap_init,
};
static irqreturn_t felix_irq_handler(int irq, void *data)