2022-02-08 13:17:04

by David Heidelberg

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

Inherit valid properties from the dsi-controller.

Reviewed-by: Dmitry Osipenko <[email protected]>
Signed-off-by: David Heidelberg <[email protected]>
---
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(-)

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>;

--
2.34.1



2022-02-11 17:13:37

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2] dt-bindings: display: bridge: document Toshiba TC358768 cells and panel node

On Mon, 07 Feb 2022 23:39:11 +0100, David Heidelberg wrote:
> Inherit valid properties from the dsi-controller.
>
> Reviewed-by: Dmitry Osipenko <[email protected]>
> Signed-off-by: David Heidelberg <[email protected]>
> ---
> 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!