mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-24 14:54:49 +08:00
62298364bd
In order to add meta-schema checks for additional/unevaluatedProperties being present, all schema need to make this explicit. As the top-level board/SoC schemas always have additional properties, add 'additionalProperties: true'. Acked-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20201005183830.486085-4-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
36 lines
788 B
YAML
36 lines
788 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
# Copyright 2019 Unisoc Inc.
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/arm/sprd/sprd.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Unisoc platforms device tree bindings
|
|
|
|
maintainers:
|
|
- Orson Zhai <orsonzhai@gmail.com>
|
|
- Baolin Wang <baolin.wang7@gmail.com>
|
|
- Chunyan Zhang <zhang.lyra@gmail.com>
|
|
|
|
properties:
|
|
$nodename:
|
|
const: '/'
|
|
compatible:
|
|
oneOf:
|
|
- items:
|
|
- enum:
|
|
- sprd,sc9836-openphone
|
|
- const: sprd,sc9836
|
|
- items:
|
|
- enum:
|
|
- sprd,sp9860g-1h10
|
|
- const: sprd,sc9860
|
|
- items:
|
|
- enum:
|
|
- sprd,sp9863a-1h10
|
|
- const: sprd,sc9863a
|
|
|
|
additionalProperties: true
|
|
|
|
...
|