Thread (49 messages) 49 messages, 3 authors, 2023-01-18
STALE1230d
Revisions (2)
  1. v2 [diff vs current]
  2. v3 current

[PATCH v3 net-next 14/14] mfd: ocelot: add external ocelot switch control

From: Colin Foster <colin.foster@in-advantage.com>
Date: 2022-09-26 00:33:29
Also in: linux-devicetree, linux-gpio, lkml
Subsystem: multifunction devices (mfd), ocelot external switch control, the rest · Maintainers: Lee Jones, Colin Foster, Linus Torvalds

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>
---

v3
    * No change

v2
    * New patch, broken out from a previous one

---
 drivers/mfd/ocelot-core.c | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/drivers/mfd/ocelot-core.c b/drivers/mfd/ocelot-core.c
index 702555fbdcc5..8b4d813d3139 100644
--- a/drivers/mfd/ocelot-core.c
+++ b/drivers/mfd/ocelot-core.c
@@ -190,6 +190,9 @@ static const struct mfd_cell vsc7512_devs[] = {
 		.use_of_reg = true,
 		.num_resources = ARRAY_SIZE(vsc7512_miim1_resources),
 		.resources = vsc7512_miim1_resources,
+	}, {
+		.name = "ocelot-switch",
+		.of_compatible = "mscc,vsc7512-switch",
 	},
 };
 
-- 
2.25.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help