From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> To: devicetree@vger.kernel.org Cc: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, Jacopo Mondi <jacopo+renesas@jmondi.org>, Maxime Ripard <maxime@cerno.tech>, Rob Herring <robh+dt@kernel.org> Subject: [PATCH 1/4] dt-bindings: display: bridge: Reject additional properties in ports node Date: Mon, 6 Apr 2020 02:23:15 +0300 [thread overview] Message-ID: <20200405232318.26833-2-laurent.pinchart+renesas@ideasonboard.com> (raw) In-Reply-To: <20200405232318.26833-1-laurent.pinchart+renesas@ideasonboard.com> 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> --- .../devicetree/bindings/display/bridge/anx6345.yaml | 8 ++++++++ .../devicetree/bindings/display/bridge/lvds-codec.yaml | 8 ++++++++ .../devicetree/bindings/display/bridge/ps8640.yaml | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/Documentation/devicetree/bindings/display/bridge/anx6345.yaml b/Documentation/devicetree/bindings/display/bridge/anx6345.yaml index c21103869923..8c0e4f285fbc 100644 --- a/Documentation/devicetree/bindings/display/bridge/anx6345.yaml +++ b/Documentation/devicetree/bindings/display/bridge/anx6345.yaml @@ -37,6 +37,12 @@ properties: type: object properties: + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + port@0: type: object description: | @@ -51,6 +57,8 @@ properties: required: - port@0 + additionalProperties: false + required: - compatible - reg 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. diff --git a/Documentation/devicetree/bindings/display/bridge/ps8640.yaml b/Documentation/devicetree/bindings/display/bridge/ps8640.yaml index 5dff93641bea..7e27cfcf770d 100644 --- a/Documentation/devicetree/bindings/display/bridge/ps8640.yaml +++ b/Documentation/devicetree/bindings/display/bridge/ps8640.yaml @@ -50,6 +50,12 @@ properties: Documentation/devicetree/bindings/media/video-interfaces.txt Documentation/devicetree/bindings/graph.txt properties: + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + port@0: type: object description: | @@ -63,6 +69,8 @@ properties: required: - port@0 + additionalProperties: false + required: - compatible - reg -- Regards, Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> To: devicetree@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, Rob Herring <robh+dt@kernel.org>, Jacopo Mondi <jacopo+renesas@jmondi.org>, Maxime Ripard <maxime@cerno.tech>, dri-devel@lists.freedesktop.org Subject: [PATCH 1/4] dt-bindings: display: bridge: Reject additional properties in ports node Date: Mon, 6 Apr 2020 02:23:15 +0300 [thread overview] Message-ID: <20200405232318.26833-2-laurent.pinchart+renesas@ideasonboard.com> (raw) In-Reply-To: <20200405232318.26833-1-laurent.pinchart+renesas@ideasonboard.com> 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> --- .../devicetree/bindings/display/bridge/anx6345.yaml | 8 ++++++++ .../devicetree/bindings/display/bridge/lvds-codec.yaml | 8 ++++++++ .../devicetree/bindings/display/bridge/ps8640.yaml | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/Documentation/devicetree/bindings/display/bridge/anx6345.yaml b/Documentation/devicetree/bindings/display/bridge/anx6345.yaml index c21103869923..8c0e4f285fbc 100644 --- a/Documentation/devicetree/bindings/display/bridge/anx6345.yaml +++ b/Documentation/devicetree/bindings/display/bridge/anx6345.yaml @@ -37,6 +37,12 @@ properties: type: object properties: + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + port@0: type: object description: | @@ -51,6 +57,8 @@ properties: required: - port@0 + additionalProperties: false + required: - compatible - reg 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. diff --git a/Documentation/devicetree/bindings/display/bridge/ps8640.yaml b/Documentation/devicetree/bindings/display/bridge/ps8640.yaml index 5dff93641bea..7e27cfcf770d 100644 --- a/Documentation/devicetree/bindings/display/bridge/ps8640.yaml +++ b/Documentation/devicetree/bindings/display/bridge/ps8640.yaml @@ -50,6 +50,12 @@ properties: Documentation/devicetree/bindings/media/video-interfaces.txt Documentation/devicetree/bindings/graph.txt properties: + '#address-cells': + const: 1 + + '#size-cells': + const: 0 + port@0: type: object description: | @@ -63,6 +69,8 @@ properties: required: - port@0 + additionalProperties: false + required: - compatible - reg -- Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2020-04-05 23:23 UTC|newest] Thread overview: 74+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-04-05 23:23 [PATCH 0/4] dt-bindings: display: bridge: Convert bindings used by R-Car DU to YAML Laurent Pinchart 2020-04-05 23:23 ` Laurent Pinchart 2020-04-05 23:23 ` Laurent Pinchart [this message] 2020-04-05 23:23 ` [PATCH 1/4] dt-bindings: display: bridge: Reject additional properties in ports node Laurent Pinchart 2020-04-06 7:47 ` Maxime Ripard 2020-04-06 7:47 ` Maxime Ripard 2020-04-14 21:56 ` Rob Herring 2020-04-14 21:56 ` Rob Herring 2020-04-05 23:23 ` [PATCH 2/4] dt-bindings: display: bridge: Convert simple-bridge bindings to YAML Laurent Pinchart 2020-04-05 23:23 ` Laurent Pinchart 2020-04-06 7:47 ` Maxime Ripard 2020-04-06 7:47 ` Maxime Ripard 2020-04-14 22:00 ` Rob Herring 2020-04-14 22:00 ` Rob Herring 2020-04-15 0:54 ` Laurent Pinchart 2020-04-15 0:54 ` Laurent Pinchart 2020-04-15 0:59 ` [PATCH v1.1 " Laurent Pinchart 2020-04-15 0:59 ` Laurent Pinchart 2020-04-15 13:51 ` Rob Herring 2020-04-15 13:51 ` Rob Herring 2020-04-05 23:23 ` [PATCH 3/4] dt-bindings: display: bridge: thc63lvd1024: Convert binding " Laurent Pinchart 2020-04-05 23:23 ` Laurent Pinchart 2020-04-06 6:40 ` Jacopo Mondi 2020-04-06 6:40 ` Jacopo Mondi 2020-04-06 11:15 ` Laurent Pinchart 2020-04-06 11:15 ` Laurent Pinchart 2020-05-13 23:21 ` [PATCH 5/4] dt-bindings: display: bridge: thc63lvd1024: Document dual-output mode Laurent Pinchart 2020-05-13 23:21 ` Laurent Pinchart 2020-05-14 7:18 ` Jacopo Mondi 2020-05-14 7:18 ` Jacopo Mondi 2020-05-28 2:42 ` Rob Herring 2020-05-28 2:42 ` Rob Herring 2020-04-06 7:48 ` [PATCH 3/4] dt-bindings: display: bridge: thc63lvd1024: Convert binding to YAML Maxime Ripard 2020-04-06 7:48 ` Maxime Ripard 2020-04-14 22:01 ` Rob Herring 2020-04-14 22:01 ` Rob Herring 2020-04-05 23:23 ` [PATCH 4/4] dt-bindings: display: bridge: renesas,lvds: " Laurent Pinchart 2020-04-05 23:23 ` [PATCH 4/4] dt-bindings: display: bridge: renesas, lvds: " Laurent Pinchart 2020-04-06 7:49 ` [PATCH 4/4] dt-bindings: display: bridge: renesas,lvds: " Maxime Ripard 2020-04-06 7:49 ` Maxime Ripard 2020-04-06 8:47 ` Geert Uytterhoeven 2020-04-06 8:47 ` Geert Uytterhoeven 2020-04-06 11:09 ` Laurent Pinchart 2020-04-06 11:09 ` Laurent Pinchart 2020-04-06 11:40 ` Geert Uytterhoeven 2020-04-06 11:40 ` Geert Uytterhoeven 2020-04-06 19:19 ` Rob Herring 2020-04-06 19:19 ` Rob Herring 2020-05-13 23:28 ` [PATCH v1.1 " Laurent Pinchart 2020-05-13 23:28 ` [PATCH v1.1 4/4] dt-bindings: display: bridge: renesas, lvds: " Laurent Pinchart 2020-05-14 7:31 ` [PATCH v1.1 4/4] dt-bindings: display: bridge: renesas,lvds: " Geert Uytterhoeven 2020-05-14 7:31 ` Geert Uytterhoeven 2020-05-14 15:17 ` Laurent Pinchart 2020-05-14 15:17 ` Laurent Pinchart 2020-05-14 19:02 ` Geert Uytterhoeven 2020-05-14 19:02 ` Geert Uytterhoeven 2020-05-14 21:37 ` Laurent Pinchart 2020-05-14 21:37 ` Laurent Pinchart 2020-05-14 21:42 ` [PATCH v1.2 " Laurent Pinchart 2020-05-14 21:42 ` [PATCH v1.2 4/4] dt-bindings: display: bridge: renesas, lvds: " Laurent Pinchart 2020-05-28 17:50 ` Rob Herring 2020-05-28 17:50 ` Rob Herring 2020-06-29 8:10 ` Sam Ravnborg 2020-06-29 8:10 ` Sam Ravnborg 2020-06-29 23:41 ` Laurent Pinchart 2020-06-29 23:41 ` Laurent Pinchart 2020-05-13 23:39 ` [PATCH 6/4] dt-bindings: display: renesas: lvds: RZ/G2E needs renesas,companion too Laurent Pinchart 2020-05-13 23:39 ` [PATCH 6/4] dt-bindings: display: renesas: lvds: RZ/G2E needs renesas, companion too Laurent Pinchart 2020-05-14 6:44 ` [PATCH 6/4] dt-bindings: display: renesas: lvds: RZ/G2E needs renesas,companion too Geert Uytterhoeven 2020-05-14 6:44 ` Geert Uytterhoeven 2020-06-29 8:11 ` Sam Ravnborg 2020-06-29 8:11 ` Sam Ravnborg 2020-06-29 23:42 ` Laurent Pinchart 2020-06-29 23:42 ` Laurent Pinchart
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200405232318.26833-2-laurent.pinchart+renesas@ideasonboard.com \ --to=laurent.pinchart+renesas@ideasonboard.com \ --cc=devicetree@vger.kernel.org \ --cc=dri-devel@lists.freedesktop.org \ --cc=jacopo+renesas@jmondi.org \ --cc=linux-renesas-soc@vger.kernel.org \ --cc=maxime@cerno.tech \ --cc=robh+dt@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.