dt-bindings: Drop redundant maxItems/items

'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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: dri-devel@lists.freedesktop.org
Cc: dmaengine@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Cc: linux-usb@vger.kernel.org
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20201222040645.1323611-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
Rob Herring 2020-12-21 21:06:45 -07:00
Родитель 246eedd70d
Коммит 2b8f061a4f
6 изменённых файлов: 0 добавлений и 9 удалений

Просмотреть файл

@ -98,7 +98,6 @@ properties:
maxItems: 1
dmas:
maxItems: 4
items:
- description: Video layer, plane 0 (RGB or luma)
- description: Video layer, plane 1 (U/V or U)

Просмотреть файл

@ -73,7 +73,6 @@ properties:
maxItems: 1
clock-names:
maxItems: 1
items:
- const: fck

Просмотреть файл

@ -61,7 +61,6 @@ properties:
- description: low-priority non-secure
- description: high-priority non-secure
- description: Secure
maxItems: 3
clocks:
maxItems: 1

Просмотреть файл

@ -44,7 +44,6 @@ properties:
maxItems: 3
clock-names:
maxItems: 3
items:
- const: hda
- const: hda2hdmi
@ -54,7 +53,6 @@ properties:
maxItems: 3
reset-names:
maxItems: 3
items:
- const: hda
- const: hda2hdmi

Просмотреть файл

@ -51,7 +51,6 @@ properties:
maxItems: 1
phy-names:
maxItems: 1
items:
- const: usb

Просмотреть файл

@ -74,11 +74,8 @@ properties:
phys:
maxItems: 1
items:
- description: phandle + phy specifier pair.
phy-names:
maxItems: 1
items:
- const: usb