summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
diff options
context:
space:
mode:
authorRicardo Cañuelo <ricardo.canuelo@collabora.com>2020-10-21 14:43:06 +0300
committerRob Herring <robh@kernel.org>2020-10-27 00:13:22 +0300
commit1acd4577a66f5125ede038ee16c33d05ddcaf153 (patch)
treeecb1a96caa933943b76dfff182a778432892db4b /Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
parentca05f33316559a04867295dd49f85aeedbfd6bfd (diff)
downloadlinux-1acd4577a66f5125ede038ee16c33d05ddcaf153.tar.xz
dt-bindings: i2c: convert i2c-cros-ec-tunnel to json-schema
Convert the google,cros-ec-i2c-tunnel binding to YAML and add it as a property of google,cros-ec.yaml. Reviewed-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Signed-off-by: Ricardo Cañuelo <ricardo.canuelo@collabora.com> Link: https://lore.kernel.org/r/20201021114308.25485-2-ricardo.canuelo@collabora.com [robh: add ref to i2c-controller.yaml] Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/google,cros-ec.yaml')
-rw-r--r--Documentation/devicetree/bindings/mfd/google,cros-ec.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
index f49c0d5d31ad..c45cf30ea3aa 100644
--- a/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
+++ b/Documentation/devicetree/bindings/mfd/google,cros-ec.yaml
@@ -71,6 +71,11 @@ properties:
wakeup-source:
description: Button can wake-up the system.
+patternProperties:
+ "^i2c-tunnel[0-9]*$":
+ type: object
+ $ref: "/schemas/i2c/google,cros-ec-i2c-tunnel.yaml#"
+
required:
- compatible