From: Sebastian Reichel <sebastian.reichel@collabora.com>
To: Luo Liu <Luo.Liu@cixtech.com>
Cc: "sashiko-reviews@lists.linux.dev"
<sashiko-reviews@lists.linux.dev>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"robh@kernel.org" <robh@kernel.org>,
"conor+dt@kernel.org" <conor+dt@kernel.org>
Subject: Re: 回复: [PATCH v5 1/5] dt-bindings: display: add CIX Sky1 DisplayPort transmitter
Date: Thu, 26 Nov 2026 12:41:44 +0100 [thread overview]
Message-ID: <awgYIdprQg1-hjfJ@venus> (raw)
In-Reply-To: <TYZPR06MB6915D02AE69A9A5649146D31F5422@TYZPR06MB6915.apcprd06.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 4970 bytes --]
Hi,
On Thu, Nov 26, 2026 at 06:27:31AM +0000, Luo Liu wrote:
> > -----邮件原件-----
> > 发件人: sashiko-bot@kernel.org <sashiko-bot@kernel.org>
> > 发送时间: 2026年11月26日 14:13
> > 收件人: Luo Liu <Luo.Liu@cixtech.com>
> > 抄送: dri-devel@lists.freedesktop.org; devicetree@vger.kernel.org;
> > robh@kernel.org; conor+dt@kernel.org
> > 主题: Re: [PATCH v5 1/5] dt-bindings: display: add CIX Sky1 DisplayPort
> > transmitter
> >
> > EXTERNAL EMAIL
> >
> > Thank you for your contribution! Sashiko AI review found 1 potential issue to
> > consider:
> > - [Medium] dt-bindings: display: cix,sky1-dp: missing ports/port@1 and
> > aux-bus in schema
> > --
> >
> > commit 0fd2cf4952ac57efa52ecd81791109f84491673b
> > Author: Luo Liu <Luo.Liu@cixtech.com>
> >
> > dt-bindings: display: add CIX Sky1 DisplayPort transmitter
> >
> > This commit adds the Device Tree binding schema for the Trilinear DisplayPort
> > transmitter integrated on CIX Sky1.
> >
> > > diff --git
> > > a/Documentation/devicetree/bindings/display/cix,sky1-dp.yaml
> > > b/Documentation/devicetree/bindings/display/cix,sky1-dp.yaml
> > > new file mode 100644
> > > index 0000000000000..2cb4dbb8d5fe5
> > > --- /dev/null
> > > +++ b/Documentation/devicetree/bindings/display/cix,sky1-dp.yaml
> > > @@ -0,0 +1,102 @@
> >
> > [ ... ]
> >
> > > + port:
> > > + $ref: /schemas/graph.yaml#/properties/port
> > > + description:
> > > + Video input from the Mali D71 display pipeline (Komeda) that drives
> > > + this controller. The link to the sink is through phys (USB-C combo PHY
> > > + or the native DP PHY), not a second OF graph port on the DPTX.
> > > +
> > > +required:
> > > + - compatible
> > > + - reg
> > > + - reg-names
> > > + - clocks
> > > + - clock-names
> > > + - interrupts
> > > + - resets
> > > + - phys
> > > + - port
> > > +
> > > +additionalProperties: false
> >
> > [Severity: Medium]
> > Should this schema define a ports container with port@0 (input) and
> > port@1 (output), as well as an optional aux-bus property for eDP panels, instead
> > of requiring a single unnumbered top-level port node?
> >
> > The phys property only references the local SoC PHY provider and does not
> > describe downstream sink or AUX bus topology. In addition, an output port
> > cannot be added as an optional property later while a top-level unnumbered
> > port node is required: of_graph_get_port_by_id() scopes port lookup exclusively
> > to a ports child node whenever one is present, so a board DTS adding
> > ports/port@1 would hide an SoC DTSI top-level port node unless the binding is
> > migrated from port to ports.
> >
>
>
> Hi,
>
> This device has exactly one OF graph port: its video input, which is
> linked from the Komeda display pipeline. The DP link itself is not an OF
> graph connection. The output goes through the generic PHY referenced by
> "phys" to a physical connector on the board, and that connector is created
> by drm_bridge_connector_init() from the bridge operations. There is no
> downstream sink node, so a port@1 would have no remote-endpoint to point
> at and could only be left dangling.
You want a downstream port too, so that you can describe the
connection to the actual connector in DT (e.g. "dp-connector", but
could also be "usb-c-connector" (in that case possibly via some mux)
or even a dp2hdmi bridge followed by an hdmi connector). I suggest
to even make it mandatory as it forces people to write proper DTs.
> The schema therefore follows the usual convention of a single unnumbered
> "port" when the device has exactly one port.
>
> You are right that of_graph_get_port_by_id() switches to a "ports" child
> and would then no longer see a top-level "port". But no board DTS can
> legitimately add an output port here, because there is no node to connect
> it to, so that situation cannot arise for this binding. A future variant
> that does model a downstream node would come with an updated schema, and
> its DTS users would be converted at the same time.
Your DT is just incomplete if there is nothing you are connecting it
to.
> "aux-bus" is specific to eDP panels that sit as a child of the AUX
> channel. This binding covers both the USB-C DP and the native DP output
> and does not bind any panel, so the property would describe hardware that
> no code drives. It can be added as an optional property later if an eDP
> panel node is ever needed; the input port stays where it is either way, so
> that part is not blocked on the choice of "port" versus "ports".
For USB-C having the usb-c-connector link described properly might
even be necessary depending on the controller. I suppose you have a
'smart' one, which toggles HPD pin for you and thus get away with
the incomplete DT description. That doesn't make the DT correct,
though.
Greetings,
-- Sebastian
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2026-11-26 11:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 5:59 [PATCH v5 0/5] drm/bridge: trilinear: add the Sky1 DisplayPort transmitter Luo Liu
2026-11-26 5:59 ` [PATCH v5 1/5] dt-bindings: display: add CIX " Luo Liu
2026-11-26 6:13 ` sashiko-bot
2026-11-26 6:27 ` 回复: " Luo Liu
2026-11-26 6:27 ` Luo Liu
2026-11-26 11:41 ` Sebastian Reichel [this message]
2026-11-27 1:44 ` 回复: " Luo Liu
2026-11-27 1:44 ` Luo Liu
2026-11-26 6:00 ` [PATCH v5 2/5] drm/bridge: trilinear: add the DPTX hardware layer Luo Liu
2026-11-26 6:00 ` [PATCH v5 3/5] drm/bridge: trilinear: add the DPTX DRM bridge Luo Liu
2026-11-26 6:00 ` [PATCH v5 4/5] drm/bridge: trilinear: add the DPTX core and build glue Luo Liu
2026-11-26 6:20 ` sashiko-bot
2026-11-26 6:00 ` [PATCH v5 5/5] drm/cix: add the Sky1 DisplayPort platform glue Luo Liu
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=awgYIdprQg1-hjfJ@venus \
--to=sebastian.reichel@collabora.com \
--cc=Luo.Liu@cixtech.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.