Re: [PATCH 2/4] dt-bindings: net: dsa: Add SoC-e switch IP and DSA bindings
From: Andrew Lunn
Date: Mon Aug 03 2026 - 12:40:13 EST
> 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