Aw: Re: [PATCH v1 03/14] dt-bindings: net: dsa: mediatek,mt7530: add internal mdio bus
Frank Wunderlich
frank-w at public-files.de
Wed May 14 22:40:49 PDT 2025
Hi Rob,
thanks for review
> Gesendet: Mittwoch, 14. Mai 2025 um 23:18
> Von: "Rob Herring" <robh at kernel.org>
> Betreff: Re: [PATCH v1 03/14] dt-bindings: net: dsa: mediatek,mt7530: add internal mdio bus
>
> On Sun, May 11, 2025 at 04:19:19PM +0200, Frank Wunderlich wrote:
> > From: Frank Wunderlich <frank-w at public-files.de>
> >
> > Mt7988 buildin switch has own mdio bus where ge-phys are connected.
> > Add related property for this.
> >
> > Signed-off-by: Frank Wunderlich <frank-w at public-files.de>
> > ---
> > Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
> > index bb22c36749fc..5f1363278f43 100644
> > --- a/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
> > +++ b/Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
> > @@ -156,6 +156,9 @@ properties:
> > maxItems: 1
> >
> > patternProperties:
> > + "^mdio(-bus)?$":
>
> Really need 2 names?
no, i only tried to stay close to definition in mdio.yaml ;) there are some mt7988 boards floating around
where i do not know the dts. But i can make only "mdio" to be changed later if needed.
> > + $ref: /schemas/net/mdio.yaml#
>
> unevaluatedProperties: false
ok, then i need to add 'mediatek,pio' subproperty in next round...would be ok in this way?
"^mdio(-bus)?$":
$ref: /schemas/net/mdio.yaml#
unevaluatedProperties: false
properties:
mediatek,pio:
$ref: /schemas/types.yaml#/definitions/phandle
description:
Phandle pointing to the mediatek pinctrl node.
regards Frank
More information about the Linux-mediatek
mailing list