Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Luo Liu" <Luo.Liu@cixtech.com>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v4 1/5] dt-bindings: display: add CIX Sky1 DisplayPort transmitter
Date: Wed, 25 Nov 2026 03:52:34 +0000	[thread overview]
Message-ID: <sashiko-outbox-232523@kernel.org> (raw)
In-Reply-To: <20261125033238.3436046-2-Luo.Liu@cixtech.com>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] dt-bindings: display: cix,sky1-dp: missing output port and
  aux-bus in schema
- [Low] dt-bindings: display: cix,sky1-dp: unused labels in DTS example
--

commit f212999ac361089d7da2601c852a0ab9252b18bc
Author: Luo Liu <Luo.Liu@cixtech.com>

dt-bindings: display: add CIX Sky1 DisplayPort transmitter

This commit adds a Device Tree binding schema for the Trilinear
DisplayPort transmitter integrated on CIX Sky1 SoCs.

> 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..5095d5daf51ac
> --- /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 ports (with port@0 for input and port@1 for
output) and aux-bus instead of a single unnumbered port?

The phys property only references the local SoC PHY provider and does
not describe the downstream display sink or AUX channel topology.
Allowing only a single input port with additionalProperties: false
prevents board device trees from connecting downstream DP connectors,
eDP panels under aux-bus, or USB-C display graph endpoints without a
later ABI-breaking change from port to ports.

> +
> +examples:
> +  - |
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> +    dp0: dp@14064000 {
> +        compatible = "cix,sky1-usbdp";
> +        reg = <0x14064000 0x4000>,
> +              <0x14050000 0x400>;
> +        reg-names = "dp", "rcsu";
> +        clocks = <&dpc0_apb>, <&dpc0_vid0>, <&dpc0_vid1>;
> +        clock-names = "apb", "vid0", "vid1";
> +        interrupts = <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
> +        resets = <&dpc0_rst>;
> +        phys = <&usbc0_dp_phy>;
> +
> +        port {
> +            dp0_0_in: endpoint {
> +                remote-endpoint = <&dpu0_pipe0_out>;
> +            };
> +        };
> +    };

[Severity: Low]
Can the dp0 and dp0_0_in labels be dropped from the example?  Neither is
referenced, which triggers unused-labels warnings when running
scripts/dtc/dt-check-style --mode=strict.

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

  reply	other threads:[~2026-11-25  3:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25  3:32 [PATCH v4 0/5] drm/bridge: trilinear: add the Sky1 DisplayPort transmitter Luo Liu
2026-11-25  3:32 ` [PATCH v4 1/5] dt-bindings: display: add CIX " Luo Liu
2026-11-25  3:52   ` sashiko-bot [this message]
2026-11-25  3:32 ` [PATCH v4 2/5] drm/bridge: trilinear: add the DPTX hardware layer Luo Liu
2026-11-25  3:32 ` [PATCH v4 3/5] drm/bridge: trilinear: add the DPTX DRM bridge Luo Liu
2026-11-25  3:58   ` sashiko-bot
2026-11-25  3:32 ` [PATCH v4 4/5] drm/bridge: trilinear: add the DPTX core and build glue Luo Liu
2026-11-25  4:00   ` sashiko-bot
2026-11-25  3:32 ` [PATCH v4 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=sashiko-outbox-232523@kernel.org \
    --to=sashiko-bot@kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox