summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-06-06 21:43:39 +0300
committerWolfram Sang <wsa@kernel.org>2022-06-08 22:47:20 +0300
commit74557cb4e84f2f6583a9fe397e262859cb4841bb (patch)
treea41137263587d41aa34b90ac8faa22a4c445e4fd /Documentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml
parent577584582db59f26c9f27e59e0fd8f0162d2ccdb (diff)
downloadlinux-74557cb4e84f2f6583a9fe397e262859cb4841bb.tar.xz
dt-bindings: i2c: Convert arm,i2c-versatile to DT schema
Convert the arm,i2c-versatile binding to DT schema format. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> [wsa: fixed "arn" typo spotted by Krzysztof] Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml')
-rw-r--r--Documentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml b/Documentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml
new file mode 100644
index 000000000000..e58465d1b0c8
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml
@@ -0,0 +1,29 @@
+# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/i2c/arm,i2c-versatile.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: I2C Controller on ARM Ltd development platforms
+
+maintainers:
+ - Linus Walleij <linus.walleij@linaro.org>
+
+allOf:
+ - $ref: /schemas/i2c/i2c-controller.yaml#
+
+properties:
+ compatible:
+ const: arm,versatile-i2c
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+unevaluatedProperties: false
+
+...
+