From: Rob Herring <robh@kernel.org>
To: Marek Vasut <marex@denx.de>
Cc: Maxime Ripard <maxime@cerno.tech>,
Neil Armstrong <narmstrong@baylibre.com>,
Andrzej Hajda <andrzej.hajda@intel.com>,
Daniel Vetter <daniel.vetter@intel.com>,
David Airlie <airlied@linux.ie>,
devicetree@vger.kernel.org,
Jagan Teki <jagan@amarulasolutions.com>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Jonas Karlman <jonas@kwiboo.se>,
Robert Foss <robert.foss@linaro.org>,
Frank Rowand <frowand.list@gmail.com>,
dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH] dt-bindings: display: bridge: Drop requirement on input port for DSI devices
Date: Fri, 1 Apr 2022 13:21:27 -0500 [thread overview]
Message-ID: <CAL_JsqLmin2qXdeNrvraAf=fGzttOAYxwFCUSbC5TeHYaN+LhQ@mail.gmail.com> (raw)
In-Reply-To: <1fddec5f-5fb3-4ea0-a1e5-9d1b9e54de81@denx.de>
On Fri, Apr 1, 2022 at 1:06 PM Marek Vasut <marex@denx.de> wrote:
>
> On 4/1/22 19:34, Rob Herring wrote:
> > On Fri, Apr 01, 2022 at 03:22:19AM +0200, Marek Vasut wrote:
> >> On 4/1/22 01:52, Rob Herring wrote:
> >>> On Wed, 23 Mar 2022 16:48:23 +0100, Maxime Ripard wrote:
> >>>> MIPI-DSI devices, if they are controlled through the bus itself, have to
> >>>> be described as a child node of the controller they are attached to.
> >>>>
> >>>> Thus, there's no requirement on the controller having an OF-Graph output
> >>>> port to model the data stream: it's assumed that it would go from the
> >>>> parent to the child.
> >>>>
> >>>> However, some bridges controlled through the DSI bus still require an
> >>>> input OF-Graph port, thus requiring a controller with an OF-Graph output
> >>>> port. This prevents those bridges from being used with the controllers
> >>>> that do not have one without any particular reason to.
> >>>>
> >>>> Let's drop that requirement.
> >>>>
> >>>> Signed-off-by: Maxime Ripard <maxime@cerno.tech>
> >>>> ---
> >>>> .../devicetree/bindings/display/bridge/chipone,icn6211.yaml | 1 -
> >>>> .../devicetree/bindings/display/bridge/toshiba,tc358762.yaml | 1 -
> >>>> 2 files changed, 2 deletions(-)
> >>>>
> >>>
> >>> I tend to agree with port@0 not being needed and really like
> >>> consistency.
> >>
> >> The consistent thing to do would be to always use port@0 and OF graph, no ?
> >
> > I guess it depends how wide our scope for consistency is. Just DSI bus
> > controlled bridges? DSI panels? All bridges and panels? Any panel
> > without a control interface has the same dilemma as those can be a child
> > of the display controller (or bridge) and not even use OF graph.
>
> I would likely opt for the OF graph in all cases, panels, bridges,
> controllers. Then it would be consistent.
>
> > All simple panels don't require 'port' either. That's presumably only
> > consistent because we made a single schema. I'd assume 'non-simple'
> > panels with their own schema are not consistent.
>
> Maybe we would start requiring that port even for simple panels ?
> The port is physically there on that panel after all.
Fix this in all the dts files and then I'll agree. Though I think this
ship has already sailed. I'd like to someday get to platforms without
warnings and not just keep adding new warnings.
Rob
next prev parent reply other threads:[~2022-04-01 18:21 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-23 15:48 [PATCH] dt-bindings: display: bridge: Drop requirement on input port for DSI devices Maxime Ripard
2022-03-23 20:38 ` Laurent Pinchart
2022-03-24 8:18 ` Maxime Ripard
2022-03-24 13:43 ` Laurent Pinchart
2022-03-24 14:23 ` Maxime Ripard
2022-03-24 14:50 ` Laurent Pinchart
2022-03-30 9:45 ` Maxime Ripard
2022-03-25 10:42 ` Tomi Valkeinen
2022-03-30 10:00 ` Maxime Ripard
2022-03-31 23:52 ` Rob Herring
2022-04-01 1:22 ` Marek Vasut
2022-04-01 9:58 ` Laurent Pinchart
2022-04-01 17:34 ` Rob Herring
2022-04-01 18:06 ` Marek Vasut
2022-04-01 18:21 ` Rob Herring [this message]
2022-04-01 18:25 ` Marek Vasut
2022-04-01 18:33 ` Rob Herring
2022-04-01 18:48 ` Laurent Pinchart
2022-04-01 19:43 ` Rob Herring
2022-04-05 7:52 ` (subset) " Maxime Ripard
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='CAL_JsqLmin2qXdeNrvraAf=fGzttOAYxwFCUSbC5TeHYaN+LhQ@mail.gmail.com' \
--to=robh@kernel.org \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@linux.ie \
--cc=andrzej.hajda@intel.com \
--cc=daniel.vetter@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=frowand.list@gmail.com \
--cc=jagan@amarulasolutions.com \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=marex@denx.de \
--cc=maxime@cerno.tech \
--cc=narmstrong@baylibre.com \
--cc=robert.foss@linaro.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).