]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: ocelot: Add support for the vsc7512 chip via spi
authorColin Foster <colin.foster@in-advantage.com>
Mon, 5 Sep 2022 16:21:32 +0000 (09:21 -0700)
committerLee Jones <lee@kernel.org>
Fri, 9 Sep 2022 06:54:47 +0000 (07:54 +0100)
commit2d2ba09c457bf1a35667331dc1ef7eedf38e237c
treeca68429497fa85b1a475abc13cd13c0d0966b3b6
parent553559ee9a64cf2b3869aba1c759e1f60fbd21ab
mfd: ocelot: Add support for the vsc7512 chip via spi

The VSC7512 is a networking chip that contains several peripherals. Many of
these peripherals are currently supported by the VSC7513 and VSC7514 chips,
but those run on an internal CPU. The VSC7512 lacks this CPU, and must be
controlled externally.

Utilize the existing drivers by referencing the chip as an MFD. Add support
for the two MDIO buses, the internal phys, pinctrl, and serial GPIO.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220905162132.2943088-9-colin.foster@in-advantage.com
MAINTAINERS
drivers/mfd/Kconfig
drivers/mfd/Makefile
drivers/mfd/ocelot-core.c [new file with mode: 0644]
drivers/mfd/ocelot-spi.c [new file with mode: 0644]
drivers/mfd/ocelot.h [new file with mode: 0644]