> -----邮件原件-----
> 发件人: [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.

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.

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

Thanks,
Luo

> --
> Sashiko AI
> review · https://sashiko.dev/#/patchset/20261126060003.3979478-1-Luo.Liu@
> cixtech.com?part=1


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

Reply via email to