mirror of
https://github.com/torvalds/linux.git
synced 2026-04-28 19:42:31 -04:00
In order to add meta-schema checks for additional/unevaluatedProperties being present, all schema need to make this explicit. As common/shared schema are included by other schemas, they should always allow for additionalProperties. Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Sebastian Reichel <sre@kernel.org> Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Acked-By: Vinod Koul <vkoul@kernel.org> Acked-by: Lee Jones <lee.jones@linaro.org> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Acked-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20201005183830.486085-5-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/nvmem/nvmem-consumer.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: NVMEM (Non Volatile Memory) Consumer Device Tree Bindings
|
|
|
|
maintainers:
|
|
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
|
|
|
|
select: true
|
|
|
|
properties:
|
|
nvmem:
|
|
$ref: /schemas/types.yaml#/definitions/phandle-array
|
|
description:
|
|
List of phandle to the nvmem providers.
|
|
|
|
nvmem-cells:
|
|
$ref: /schemas/types.yaml#/definitions/phandle-array
|
|
description:
|
|
List of phandle to the nvmem data cells.
|
|
|
|
nvmem-names:
|
|
$ref: /schemas/types.yaml#/definitions/string-array
|
|
description:
|
|
Names for the each nvmem provider.
|
|
|
|
nvmem-cell-names:
|
|
$ref: /schemas/types.yaml#/definitions/string-array
|
|
description:
|
|
Names for each nvmem-cells specified.
|
|
|
|
dependencies:
|
|
nvmem-names: [ nvmem ]
|
|
nvmem-cell-names: [ nvmem-cells ]
|
|
|
|
additionalProperties: true
|
|
|
|
examples:
|
|
- |
|
|
tsens {
|
|
/* ... */
|
|
nvmem-cells = <&tsens_calibration>;
|
|
nvmem-cell-names = "calibration";
|
|
};
|