aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/arm/primecell.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-05-14 18:42:04 -0500
committerRob Herring <robh@kernel.org>2018-12-13 09:41:50 -0600
commitd3c207eeb9059cf055a887f15e5f41b096386448 (patch)
tree7dbabe796c50f834fe64c1aa0a487e50e7318f69 /Documentation/devicetree/bindings/arm/primecell.yaml
parentdt-bindings: arm: Convert cpu binding to json-schema (diff)
downloadlinux-dev-d3c207eeb9059cf055a887f15e5f41b096386448.tar.xz
linux-dev-d3c207eeb9059cf055a887f15e5f41b096386448.zip
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 '')
-rw-r--r--Documentation/devicetree/bindings/arm/primecell.yaml36
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
+...