Re: [RFC 2/3] net: Provide switchdev driver for NXP's More Than IP L2 switch
From: Lukasz Majewski
Date: Mon Jun 28 2021 - 10:14:35 EST
Hi Andrew,
> > The best I could get would be:
> >
> > ð_switch {
> > compatible = "imx,mtip-l2switch";
> > reg = <0x800f8000 0x400>, <0x800fC000 0x4000>;
> >
> > interrupts = <100>;
> > status = "okay";
> >
> > ethernet-ports {
> > port1@1 {
> > reg = <1>;
> > label = "eth0";
> > phys = <&mac0 0>;
> > };
> >
> > port2@2 {
> > reg = <2>;
> > label = "eth1";
> > phys = <&mac1 1>;
> > };
> > };
> > };
> >
> > Which would abuse the "phys" properties usages - as 'mac[01]' are
> > referring to ethernet controllers.
>
> This is not how a dedicated driver would have its binding. We should
> not establish this as ABI.
>
> So, sorry, but no.
Thanks for the clear statement about upstream requirements.
>
> Andrew
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@xxxxxxx
Attachment:
pgp89eMX9Ol3k.pgp
Description: OpenPGP digital signature