dri-devel Archive on lore.kernel.org
 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 v3 1/5] dt-bindings: display: add CIX Sky1 DisplayPort transmitter
Date: Tue, 24 Nov 2026 12:12:47 +0000	[thread overview]
Message-ID: <sashiko-outbox-231105@kernel.org> (raw)
In-Reply-To: <20261124120114.3273161-2-Luo.Liu@cixtech.com>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] dt-bindings: display: YAML syntax error in cix,sky1-dp.yaml
  description
- [Low] dt-bindings: display: non-canonical interrupts order in
  cix,sky1-dp.yaml
--

commit b6de90c771aaece1d4e8eb9c4dd01a00555577c3
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 and its MAINTAINERS entry.

> 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..bc3c0a3a815f8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/cix,sky1-dp.yaml
> @@ -0,0 +1,102 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/cix,sky1-dp.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: CIX Sky1 Trilinear DisplayPort Transmitter
> +
> +maintainers:
> +  - Luo Liu <Luo.Liu@cixtech.com>
> +
> +description:
> +  Trilinear DisplayPort transmitter on CIX Sky1. The transmitter takes its
> +  video stream from the display pipeline through a single graph port and
> +  drives the link through a generic PHY.
> +
> +  The USB-C transmitters and the native DP/eDP transmitter use different
> +  RCSU video-adapter register offsets and bit layouts, so each has its own
> +  compatible: "cix,sky1-usbdp" for the USB-C transmitters and "cix,sky1-dp"
> +  for the native DP/eDP one.

[Severity: Medium]
Should description: use a block scalar indicator (description: |)?  Without
it, the multi-line text is parsed as a plain YAML scalar, and the colon-space
in 'compatible: "cix,sky1-usbdp"' causes dt_binding_check to fail with a YAML
syntax error.

> +
> +properties:
> +  compatible:
> +    enum:
> +      - cix,sky1-usbdp
> +      - cix,sky1-dp
> +
> +  reg:
> +    items:
> +      - description: DisplayPort transmitter registers.
> +      - description: RCSU video adapter registers used for link setup.
> +
> +  reg-names:
> +    items:
> +      - const: dp
> +      - const: rcsu
> +
> +  interrupts:
> +    maxItems: 1
> +
> +  clocks:
> +    items:
> +      - description: APB clock of the controller.
> +      - description: Video clock of stream 0.
> +      - description: Video clock of stream 1.
> +
> +  clock-names:
> +    items:
> +      - const: apb
> +      - const: vid0
> +      - const: vid1
> +
> +  resets:
> +    maxItems: 1
> +    description: DisplayPort controller reset.
> +
> +  phys:
> +    maxItems: 1
> +    description: DisplayPort PHY the controller transmits through.
> +
> +  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
> +  - interrupts
> +  - clocks
> +  - clock-names
> +  - resets
> +  - phys
> +  - port
> +
> +additionalProperties: false
> +
> +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";
> +        interrupts = <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
> +        clocks = <&dpc0_apb>, <&dpc0_vid0>, <&dpc0_vid1>;
> +        clock-names = "apb", "vid0", "vid1";

[Severity: Low]
This isn't a bug, but in canonical DT binding property ordering, interrupts
is placed after clocks and clock-names in properties, required, and examples.

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

  reply	other threads:[~2026-11-24 12:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 12:01 [PATCH v3 0/5] drm/bridge: trilinear: add the Sky1 DisplayPort transmitter Luo Liu
2026-11-24 12:01 ` [PATCH v3 1/5] dt-bindings: display: add CIX " Luo Liu
2026-11-24 12:12   ` sashiko-bot [this message]
2026-11-24 12:01 ` [PATCH v3 2/5] drm/bridge: trilinear: add the DPTX hardware layer Luo Liu
2026-11-24 12:22   ` sashiko-bot
2026-11-24 12:01 ` [PATCH v3 3/5] drm/bridge: trilinear: add the DPTX DRM bridge Luo Liu
2026-11-24 12:28   ` sashiko-bot
2026-11-24 12:01 ` [PATCH v3 4/5] drm/bridge: trilinear: add the DPTX core and build glue Luo Liu
2026-11-24 12:25   ` sashiko-bot
2026-11-24 12:01 ` [PATCH v3 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-231105@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