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

From: Dmitry Osipenko
Date: Wed Dec 15 2021 - 12:39:22 EST


15.12.2021 18:27, David Heidelberg пишет:
> Properties #address-cells and #size-cells are valid.
> The bridge node can also contains panel node.
>
> Signed-off-by: David Heidelberg <david@xxxxxxx>
> ---
> .../bindings/display/bridge/toshiba,tc358768.yaml | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml
> index eacfe7165083..3186d9dffd98 100644
> --- a/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml
> +++ b/Documentation/devicetree/bindings/display/bridge/toshiba,tc358768.yaml
> @@ -69,6 +69,16 @@ properties:
> - port@0
> - port@1
>
> + '#address-cells':
> + const: 1
> +
> + '#size-cells':
> + const: 0
> +
> +patternProperties:
> + "^panel@[0-3]$":
> + $ref: ../panel/panel-common.yaml

The panel is always fixed to port 1, isn't it? Shouldn't it be just
port@1 here?