HI Sebastian,

    Thank you very much for your review and suggestions.

> -----邮件原件-----
> 发件人: Sebastian Reichel <[email protected]>
> 发送时间: 2026年11月26日 19:42
> 收件人: Luo Liu <[email protected]>
> 抄送: [email protected]; [email protected];
> [email protected]; [email protected]; [email protected]
> 主题: Re: 回复: [PATCH v5 1/5] dt-bindings: display: add CIX Sky1 DisplayPort
> transmitter
>
> Hi,
>
> On Thu, Nov 26, 2026 at 06:27:31AM +0000, Luo Liu wrote:
> > > -----邮件原件-----
> > > 发件人: [email protected] <[email protected]>
> > > 发送时间: 2026年11月26日 14:13
> > > 收件人: Luo Liu <[email protected]>
> > > 抄送: [email protected]; [email protected];
> > > [email protected]; [email protected]
> > > 主题: 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 <[email protected]>
> > >
> > > 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.


That makes sense, thanks. Both cases are common in practice: USB-C ports
described with usb-c-connector, and boards with a DP-to-HDMI bridge in between

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


Yes I will fix it

>
> > "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.

Fair point, the DT is incomplete as it stands. I will fix it: port@0 for the
input and port@1 for the output, both required, with the connector described in
the board series.

Best regards,

Luo
>
> Greetings,
>
> -- Sebastian


本邮件及其附件包含CIX公司的保密信息,受法律保护,仅供本邮件指定的收件人查阅。严禁任何未经授权的使用、传播、分发或复制本邮件及其任何内容。此限制适用于指定收件人以外的所有人员,包括未经明确授权处理此类信息的CIX公司员工或代理人。若您误收本邮件,请立即通知发件人,并永久删除邮件及所有附件。互联网传输无法保证及时性、安全性、完整性和无病毒性,CIX公司对任何传输错误或遗漏概不承担责任。

Reply via email to