Re: [PATCH 2/3] dt-bindings: mtd: mchp48l640 add mb85rs128ty compatible
From: Rob Herring
Date: Mon Dec 02 2024 - 15:59:10 EST
On Mon, Dec 02, 2024 at 05:53:18PM +0100, Marc Kleine-Budde wrote:
> On 02.12.2024 17:35:21, Jonas Rebmann wrote:
> > Add a compatible string to support Fujitsu MB85RS128TY.
> >
> > Signed-off-by: Jonas Rebmann <jre@xxxxxxxxxxxxxx>
> > ---
> > Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml b/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml
> > index 0ff32bd00bf6aee279fa78c624d8d47c6162f7f1..973f06b665dbbcb9ea1090418eb18fbe2285acef 100644
> > --- a/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml
> > +++ b/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml
> > @@ -18,6 +18,7 @@ properties:
> > compatible:
> > items:
> ^^^^^
> I think you need to change to "oneOf"
"enum" rather than oneOf plus const entries.
>
> > - const: microchip,48l640
> > + - const: fujitsu,mb85rs128ty
> >
> > reg:
> > maxItems: 1
>
> regards,
> Marc
>
> --
> Pengutronix e.K. | Marc Kleine-Budde |
> Embedded Linux | https://www.pengutronix.de |
> Vertretung Nürnberg | Phone: +49-5121-206917-129 |
> Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |