Re: [PATCH net-next v4 2/2] net:dsa:microchip: add property to select

From: Ante Knezic
Date: Mon Oct 23 2023 - 08:46:56 EST


On Mon, 23 Oct 2023 15:19:24 +0300, Vladimir Oltean wrote:

> I have no doubt that RMII settings are port settings. Scaling up the implementation
> to multiple ports on other switches doesn't mean that the DT binding shouldn't be
> per port.
>
> Anyway, the per-port access to a global switch setting is indeed a common theme
> with the old Micrel switches. I once tried to introduce the concept of "wacky"
> regmap regfields for that:
> https://patchwork.kernel.org/project/netdevbpf/patch/20230316161250.3286055-3-vladimir.oltean@xxxxxxx/
>
> but I don't have hardware to test and nobody who does picked up upon the regfield
> idea, it seems.

Ok so I see about moving this to port property.