[PATCH] dt-bindings: Drop redundant maxItems/items

Jassi Brar jassisinghbrar at gmail.com
Tue Dec 22 17:39:55 CET 2020


On Mon, Dec 21, 2020 at 10:10 PM Rob Herring <robh at kernel.org> wrote:
>
> 'maxItems' equal to the 'items' list length is redundant. 'maxItems' is
> preferred for a single entry while greater than 1 should have an 'items'
> list.
>
> A meta-schema check for this is pending once these existing cases are
> fixed.
>
> Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> Cc: Vinod Koul <vkoul at kernel.org>
> Cc: Mark Brown <broonie at kernel.org>
> Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> Cc: Jassi Brar <jaswinder.singh at linaro.org>
> Cc: dri-devel at lists.freedesktop.org
> Cc: dmaengine at vger.kernel.org
> Cc: alsa-devel at alsa-project.org
> Cc: linux-usb at vger.kernel.org
> Signed-off-by: Rob Herring <robh at kernel.org>
> ---
>  .../devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml    | 1 -
>  Documentation/devicetree/bindings/dma/renesas,rcar-dmac.yaml   | 1 -
>  Documentation/devicetree/bindings/mailbox/arm,mhu.yaml         | 1 -
>  .../devicetree/bindings/sound/nvidia,tegra30-hda.yaml          | 2 --
>  Documentation/devicetree/bindings/usb/renesas,usb-xhci.yaml    | 1 -
>  Documentation/devicetree/bindings/usb/renesas,usbhs.yaml       | 3 ---
>  6 files changed, 9 deletions(-)

Acked-by: Jassi Brar <jassisinghbrar at gmail.com>


More information about the Alsa-devel mailing list