Commit 82e0e5fe authored by Laurent Pinchart's avatar Laurent Pinchart

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: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: default avatarMaxime Ripard <mripard@kernel.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
parent 3fd911b6
...@@ -37,6 +37,12 @@ properties: ...@@ -37,6 +37,12 @@ properties:
type: object type: object
properties: properties:
'#address-cells':
const: 1
'#size-cells':
const: 0
port@0: port@0:
type: object type: object
description: | description: |
...@@ -51,6 +57,8 @@ properties: ...@@ -51,6 +57,8 @@ properties:
required: required:
- port@0 - port@0
additionalProperties: false
required: required:
- compatible - compatible
- reg - reg
......
...@@ -50,6 +50,12 @@ properties: ...@@ -50,6 +50,12 @@ properties:
This device has two video ports. Their connections are modeled using the This device has two video ports. Their connections are modeled using the
OF graph bindings specified in Documentation/devicetree/bindings/graph.txt OF graph bindings specified in Documentation/devicetree/bindings/graph.txt
properties: properties:
'#address-cells':
const: 1
'#size-cells':
const: 0
port@0: port@0:
type: object type: object
description: | description: |
...@@ -66,6 +72,8 @@ properties: ...@@ -66,6 +72,8 @@ properties:
- port@0 - port@0
- port@1 - port@1
additionalProperties: false
powerdown-gpios: powerdown-gpios:
description: description:
The GPIO used to control the power down line of this device. The GPIO used to control the power down line of this device.
......
...@@ -50,6 +50,12 @@ properties: ...@@ -50,6 +50,12 @@ properties:
Documentation/devicetree/bindings/media/video-interfaces.txt Documentation/devicetree/bindings/media/video-interfaces.txt
Documentation/devicetree/bindings/graph.txt Documentation/devicetree/bindings/graph.txt
properties: properties:
'#address-cells':
const: 1
'#size-cells':
const: 0
port@0: port@0:
type: object type: object
description: | description: |
...@@ -63,6 +69,8 @@ properties: ...@@ -63,6 +69,8 @@ properties:
required: required:
- port@0 - port@0
additionalProperties: false
required: required:
- compatible - compatible
- reg - reg
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment