summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2020-04-04 21:50:39 +0300
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2020-05-14 02:09:59 +0300
commit82e0e5fe8e41f99ea61c63724d1ee4f585c7dab5 (patch)
treeb53aa9f98001ca58899c194e8a68fa41bdfa8c3a /Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
parent3fd911b69b3117e03181262fc19ae6c3ef6962ce (diff)
downloadlinux-82e0e5fe8e41f99ea61c63724d1ee4f585c7dab5.tar.xz
dt-bindings: display: bridge: Reject additional properties in ports node
Document the #address-cells and #size-cells properties of the ports node in the schemas of the bridge DT bindings, and set additionalProperties to false to reject additional properties. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Maxime Ripard <mripard@kernel.org> Acked-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml')
-rw-r--r--Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml b/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
index 8f373029f5d2..800c63764e71 100644
--- a/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
@@ -50,6 +50,12 @@ properties:
This device has two video ports. Their connections are modeled using the
OF graph bindings specified in Documentation/devicetree/bindings/graph.txt
properties:
+ '#address-cells':
+ const: 1
+
+ '#size-cells':
+ const: 0
+
port@0:
type: object
description: |
@@ -66,6 +72,8 @@ properties:
- port@0
- port@1
+ additionalProperties: false
+
powerdown-gpios:
description:
The GPIO used to control the power down line of this device.