diff options
author | Rob Herring <robh@kernel.org> | 2018-05-15 02:42:04 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2018-12-13 18:41:50 +0300 |
commit | d3c207eeb9059cf055a887f15e5f41b096386448 (patch) | |
tree | 7dbabe796c50f834fe64c1aa0a487e50e7318f69 /Documentation/devicetree/bindings/arm/primecell.yaml | |
parent | 672951cbd1b70a9ede6f9c6eba4ed6b726d32b03 (diff) | |
download | linux-d3c207eeb9059cf055a887f15e5f41b096386448.tar.xz |
dt-bindings: arm: Convert primecell binding to json-schema
Convert ARM Primecell binding to DT schema format using json-schema.
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: devicetree@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/arm/primecell.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/arm/primecell.yaml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/primecell.yaml b/Documentation/devicetree/bindings/arm/primecell.yaml new file mode 100644 index 000000000000..5aae37f1c563 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/primecell.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/primecell.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ARM Primecell Peripherals + +maintainers: + - Rob Herring <robh@kernel.org> + +description: |+ + ARM, Ltd. Primecell peripherals have a standard id register that can be used to + identify the peripheral type, vendor, and revision. This value can be used for + driver matching. + +properties: + compatible: + contains: + const: arm,primecell + description: + Should be a specific name for the peripheral followed by "arm,primecell". + The specific name will match the ARM engineering name for the logic block + in the form "arm,pl???" + + arm,primecell-periphid: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Value to override the h/w ID value + clocks: + minItems: 1 + maxItems: 32 + clock-names: + contains: + const: apb_pclk + additionalItems: true +... |