Aw: Re: [PATCH v2 1/2] dt-bindings: mmc: mtk-sd: Add mt7988 SoC

From: Frank Wunderlich
Date: Mon Oct 07 2024 - 03:00:21 EST


> Gesendet: Montag, 07. Oktober 2024 um 07:55 Uhr
> Von: "Krzysztof Kozlowski" <krzk@xxxxxxxxxx>
> An: "Frank Wunderlich" <linux@xxxxxxxxx>
> Betreff: Re: [PATCH v2 1/2] dt-bindings: mmc: mtk-sd: Add mt7988 SoC
>
> On Sun, Oct 06, 2024 at 05:34:45PM +0200, Frank Wunderlich wrote:
> > From: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>
> >
> > Add binding definitions for mmc on MT7988 SoC.
> >
> > Signed-off-by: Frank Wunderlich <frank-w@xxxxxxxxxxxxxxx>
> > ---
> > v2:
> > - fixed minItems to 4
> > ---
> > .../devicetree/bindings/mmc/mtk-sd.yaml | 24 +++++++++++++++++++
> > 1 file changed, 24 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
> > index c532ec92d2d9..7380f72ea189 100644
> > --- a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
> > +++ b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
> > @@ -21,6 +21,7 @@ properties:
> > - mediatek,mt7620-mmc
> > - mediatek,mt7622-mmc
> > - mediatek,mt7986-mmc
> > + - mediatek,mt7988-mmc
> > - mediatek,mt8135-mmc
> > - mediatek,mt8173-mmc
> > - mediatek,mt8183-mmc
> > @@ -263,6 +264,29 @@ allOf:
> > - const: bus_clk
> > - const: sys_cg
> >
> > + - if:
> > + properties:
> > + compatible:
> > + contains:
> > + enum:
> > + - mediatek,mt7988-mmc
> > + then:
> > + properties:
> > + clocks:
> > + minItems: 4
>
> Drop
>
> > + items:
> > + - description: source clock
> > + - description: HCLK which used for host
> > + - description: Advanced eXtensible Interface
> > + - description: Advanced High-performance Bus clock
> > + clock-names:
> > + minItems: 3
>
> This is still wrong... anyway, drop.

arg, sorry again...i should triple-check all before resending.

but dropping means the global 2 is used (making axi+ahb optional), or am i wrong? afaik "minItems: 4" is right here

> Best regards,
> Krzysztof
>

regards Frank