[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqJYSNBHqdZbWTn76tTna+u=1rjiebTPDQjZFQQdTEkp4w@mail.gmail.com>
Date: Tue, 23 Mar 2021 08:00:21 -0600
From: Rob Herring <robh@...nel.org>
To: Hermes Zhang <Hermes.Zhang@...s.com>
Cc: Pavel Machek <pavel@....cz>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
kernel <kernel@...s.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Dan Murphy <dmurphy@...com>,
"linux-leds@...r.kernel.org" <linux-leds@...r.kernel.org>
Subject: Re: [PATCH v2] dt-binding: leds: Document leds-multi-gpio bindings
On Mon, Mar 22, 2021 at 10:28 PM Hermes Zhang <Hermes.Zhang@...s.com> wrote:
>
> > -----Original Message-----
> > From: Rob Herring <robh@...nel.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
Powered by blists - more mailing lists