mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
dt-bindings: arm: tegra: flowctrl: Convert to json-schema
Convert the Tegra flow controller bindings from the free-form text format to json-schema. Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
06c2afb862
commit
41b97d0c7b
|
|
@ -1,18 +0,0 @@
|
|||
NVIDIA Tegra Flow Controller
|
||||
|
||||
Required properties:
|
||||
- compatible: Should contain one of the following:
|
||||
- "nvidia,tegra20-flowctrl": for Tegra20
|
||||
- "nvidia,tegra30-flowctrl": for Tegra30
|
||||
- "nvidia,tegra114-flowctrl": for Tegra114
|
||||
- "nvidia,tegra124-flowctrl": for Tegra124
|
||||
- "nvidia,tegra132-flowctrl", "nvidia,tegra124-flowctrl": for Tegra132
|
||||
- "nvidia,tegra210-flowctrl": for Tegra210
|
||||
- reg: Should contain one register range (address and length)
|
||||
|
||||
Example:
|
||||
|
||||
flow-controller@60007000 {
|
||||
compatible = "nvidia,tegra20-flowctrl";
|
||||
reg = <0x60007000 0x1000>;
|
||||
};
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/soc/tegra/nvidia,tegra20-flowctrl.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: NVIDIA Tegra Flow Controller
|
||||
|
||||
maintainers:
|
||||
- Thierry Reding <thierry.reding@gmail.com>
|
||||
- Jon Hunter <jonathanh@nvidia.com>
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
oneOf:
|
||||
- enum:
|
||||
- nvidia,tegra20-flowctrl
|
||||
- nvidia,tegra30-flowctrl
|
||||
- nvidia,tegra114-flowctrl
|
||||
- nvidia,tegra124-flowctrl
|
||||
- nvidia,tegra210-flowctrl
|
||||
|
||||
- items:
|
||||
- const: nvidia,tegra132-flowctrl
|
||||
- const: nvidia,tegra124-flowctrl
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
flow-controller@60007000 {
|
||||
compatible = "nvidia,tegra20-flowctrl";
|
||||
reg = <0x60007000 0x1000>;
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user