diff mbox series

[v2] dt-bindings: display: bridge: document Toshiba TC358768 cells and panel node

Message ID 20220207223911.97180-1-david@ixit.cz (mailing list archive)
State New, archived
Headers show
Series [v2] dt-bindings: display: bridge: document Toshiba TC358768 cells and panel node | expand

Commit Message

David Heidelberg Feb. 7, 2022, 10:39 p.m. UTC
Inherit valid properties from the dsi-controller.

Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
---
v2:
 - added $ref ../dsi-controller.yaml# instead copying properties (Dmitry)
 - additionalProperties -> unevaluatedProperties (Dmitry)
 - example dsi-bridge@ -> dsi@ (Dmitry)

 .../bindings/display/bridge/toshiba,tc358768.yaml          | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Comments

Rob Herring (Arm) Feb. 11, 2022, 4:31 p.m. UTC | #1
On Mon, 07 Feb 2022 23:39:11 +0100, David Heidelberg wrote:
> Inherit valid properties from the dsi-controller.
> 
> Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
> Signed-off-by: David Heidelberg <david@ixit.cz>
> ---
> v2:
>  - added $ref ../dsi-controller.yaml# instead copying properties (Dmitry)
>  - additionalProperties -> unevaluatedProperties (Dmitry)
>  - example dsi-bridge@ -> dsi@ (Dmitry)
> 
>  .../bindings/display/bridge/toshiba,tc358768.yaml          | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml
index eacfe7165083..3bd670b8e5cd 100644
--- a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml
@@ -77,7 +77,10 @@  required:
   - vddio-supply
   - ports
 
-additionalProperties: false
+allOf:
+  - $ref: ../dsi-controller.yaml#
+
+unevaluatedProperties: false
 
 examples:
   - |
@@ -87,7 +90,7 @@  examples:
       #address-cells = <1>;
       #size-cells = <0>;
 
-      dsi_bridge: dsi-bridge@e {
+      dsi_bridge: dsi@e {
         compatible = "toshiba,tc358768";
         reg = <0xe>;