mfd: ocelot: add external ocelot switch control
authorColin Foster <colin.foster@in-advantage.com>
Fri, 27 Jan 2023 19:35:59 +0000 (11:35 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 31 Jan 2023 05:07:21 +0000 (21:07 -0800)
commit8dccdd277e0b0df14957ad0704e0f7b8bad3d248
tree4213ca327cbaeeceebe130593bb90b1bb9c74ca6
parent3d7316ac81ac329efce221b5584138e8c637a7b1
mfd: ocelot: add external ocelot switch control

Utilize the existing ocelot MFD interface to add switch functionality to
the Microsemi VSC7512 chip.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Acked-for-MFD-by: Lee Jones <lee@kernel.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com> # regression
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/mfd/ocelot-core.c