On Mon, Mar 22, 2021 at 10:28 PM Hermes Zhang <hermes.zh...@axis.com> wrote:
>
> > -----Original Message-----
> > From: Rob Herring <r...@kernel.org>
> > Sent: 2021年3月23日 1:38
> > My bot found errors running 'make dt_binding_check' on your patch:
> >
> > yamllint warnings/errors:
> >
> > dtschema/dtc warnings/errors:
> > /builds/robherring/linux-dt-
> > review/Documentation/devicetree/bindings/leds/leds-multi-
> > gpio.example.dt.yaml: gpios-led: led-states: 'oneOf' conditional failed, one
> > must be fixed:
> >       [[0, 1, 2, 3]] is too short
> >       [0, 1, 2, 3] is too long
> >       From schema: /builds/robherring/linux-dt-
> > review/Documentation/devicetree/bindings/leds/leds-multi-gpio.yaml
> >
>
> Hi Rob,
>
> Thanks. Yes, now I can see the warning, but I could not understand what was 
> wrong? Could you give some hint?

I think you need 'maxItems' in addition to minItems.

Rob

Reply via email to