[PATCH v4 6/7] dt-bindings: net: dsa: mediatek,mt7530: add EcoNet EN751221 switches
Krzysztof Kozlowski
krzk at kernel.org
Tue Nov 3 23:20:11 PST 2026
On 03/11/2026 14:15, Caleb James DeLisle wrote:
>>> + const: econet,en751221-gswitch
>> That's almost the same compatible, which makes me wonder if you describe
>> the same device twice. Same device, same compatible.
>
>
> Well, these are both MT7530 based, but one of them is on-die with the
> SoC and the other one is an MCM so for the driver they are very
> different - they're even loaded by different kmods. I think since one is
> MMIO and the other is MDIO, using the same compatible won't cause a
> driver problem - but I don't know if it's best practice to smooth over
> such a difference or not. Your advice here would be most appreciated.
>
The drivers do not matter - we have one compatible for I2C/SPI/Serial
devices as well. The only question is about the hardware, what are these
devices and what are you here exactly describing. Compatible is en751221
but you call it MT7530, so even more confusion.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list