mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 10:07:52 +00:00
DT properties which can have multiple entries need to specify what the entries are and define how many entries there can be. In the case of only a single entry, just 'maxItems: 1' is sufficient. Add the missing entry constraints. These were found with a modified meta-schema. Unfortunately, there are a few cases where the size constraints are not defined such as common bindings, so the meta-schema can't be part of the normal checks. Cc: Jens Axboe <[email protected]> Cc: Stephen Boyd <[email protected]> Cc: Thierry Reding <[email protected]> Cc: MyungJoo Ham <[email protected]> Cc: Chanwoo Choi <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Bartosz Golaszewski <[email protected]> Cc: Jonathan Cameron <[email protected]> Cc: Dmitry Torokhov <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Cc: Ulf Hansson <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Sebastian Reichel <[email protected]> Cc: Ohad Ben-Cohen <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Acked-by: Sebastian Reichel <[email protected]> Acked-by: Jonathan Cameron <[email protected]> #for-iio Acked-by: Chanwoo Choi <[email protected]> Reviewed-by: Suman Anna <[email protected]> Acked-by: Paul Cercueil <[email protected]> Acked-by: Dmitry Torokhov <[email protected]> Acked-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
27 lines
583 B
YAML
27 lines
583 B
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
# Copyright 2020 NXP
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/misc/fsl,dpaa2-console.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: DPAA2 console support
|
|
|
|
maintainers:
|
|
- Laurentiu Tudor <[email protected]>
|
|
|
|
properties:
|
|
compatible:
|
|
const: "fsl,dpaa2-console"
|
|
|
|
reg:
|
|
maxItems: 1
|
|
description: A standard property. Specifies the region where the MCFBA
|
|
(MC firmware base address) register can be found.
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
additionalProperties: false
|