[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAL_JsqLyMr+apgqn31V7QPfqqxhJ1ro258WsDP=CO37zfyxVNw@mail.gmail.com>
Date: Thu, 16 Dec 2021 09:13:03 -0600
From: Rob Herring <robh+dt@...nel.org>
To: David Heidelberg <david@...t.cz>
Cc: Thierry Reding <thierry.reding@...il.com>,
Dmitry Osipenko <digetx@...il.com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Peter Ujfalusi <peter.ujfalusi@...com>,
devicetree@...r.kernel.org,
dri-devel <dri-devel@...ts.freedesktop.org>,
~okias/devicetree@...ts.sr.ht,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] dt-bindings: display: bridge: document Toshiba TC358768
cells and panel node
On Wed, Dec 15, 2021 at 9:38 AM David Heidelberg <david@...t.cz> wrote:
>
> Properties #address-cells and #size-cells are valid.
> The bridge node can also contains panel node.
>
> Signed-off-by: David Heidelberg <david@...t.cz>
> ---
> .../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
It's possible to attach something that doesn't use panel-common.yaml
and if it did, it would be applied by that schema.
What you need is to just reference dsi-controller.yaml at the top level.
Rob
Powered by blists - more mailing lists