RE: [PATCH v2] dt-binding: leds: Document leds-multi-gpio bindings

From: Hermes Zhang
Date: Tue Mar 23 2021 - 00:29:04 EST


> -----Original Message-----
> From: Rob Herring <robh@xxxxxxxxxx>
> 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?

Best Regards,
Hermes