未验证 提交 d149dd2a 编写于 作者: R Rob Herring 提交者: Mark Brown

spi: dt-bindings: mediatek: Set min size for 'mediatek,pad-select'

The minimum array length defaults to the same size as the maximum. For
'mediatek,pad-select', the example has a length of 2 and in-tree .dts
files have a length of 1, but the schema says the length must be 4.

There's currently no warning in the example because the schema fixups
are not handling this case correctly.
Signed-off-by: NRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220301212358.1887668-1-robh@kernel.orgSigned-off-by: NMark Brown <broonie@kernel.org>
上级 ee8ad944
......@@ -62,6 +62,7 @@ properties:
mediatek,pad-select:
$ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 1
maxItems: 4
items:
enum: [0, 1, 2, 3]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册