Re: [PATCH 2/4] dt-bindings: net: dsa: Add SoC-e switch IP and DSA bindings
Andrew Lunn <[email protected]> Mon, 3 Aug 2026 18:35:40 +0200
| Newsgroups | org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
> There are synthesis options for various management interfaces. MDIO and > MMIO are two of them. I only have one variant for the memory-mapped > version. For v2, I'll discard everything else and update the > documentation accordingly. Please take a look at the DSA drivers which support multiple interfaces. You probably want a MMIO driver which creates a regmap, and passes it to the core driver. A future MDIO driver can create a regmap and pass it to the core driver. The DT binding should be similarly structured, a .yaml file for the core, and a .yaml for the MMIO wrapper. Andrew