From: Krzysztof Kozlowski <krzk@kernel.org>
To: Icenowy Zheng <uwu@icenowy.me>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Drew Fustini <fustini@kernel.org>, Guo Ren <guoren@kernel.org>,
Fu Wei <wefu@redhat.com>, Philipp Zabel <p.zabel@pengutronix.de>,
Heiko Stuebner <heiko@sntech.de>,
Andrzej Hajda <andrzej.hajda@intel.com>,
Neil Armstrong <neil.armstrong@linaro.org>,
Robert Foss <rfoss@kernel.org>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Jonas Karlman <jonas@kwiboo.se>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Michal Wilczynski <m.wilczynski@samsung.com>
Cc: Han Gao <rabenda.cn@gmail.com>, Yao Zi <ziyao@disroot.org>,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org,
Icenowy Zheng <zhengxingda@iscas.ac.cn>
Subject: Re: [PATCH v3 2/9] dt-bindings: display: add verisilicon,dc
Date: Mon, 24 Nov 2025 12:01:53 +0100 [thread overview]
Message-ID: <d4cfe8bb-5ca2-40a9-bfe0-96e7ded5586c@kernel.org> (raw)
In-Reply-To: <20251124105226.2860845-3-uwu@icenowy.me>
On 24/11/2025 11:52, Icenowy Zheng wrote:
> Verisilicon has a series of display controllers prefixed with DC and
> with self-identification facility like their GC series GPUs.
>
> Add a device tree binding for it.
>
> Depends on the specific DC model, it can have either one or two display
> outputs, and each display output could be set to DPI signal or "DP"
> signal (which seems to be some plain parallel bus to HDMI controllers).
> > Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
> Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Wrong DCO chain order. You send it as icenowy.me, so this must be last
SoB. This identity is the last one certifying DCO. Please kindly read
submitting patches, so you know what you are certifying here.
> ---
> Changes in v3:
> - Added SoC-specific compatible string, and arm the binding with clock /
> port checking for the specific SoC (with a 2-output DC).
>
> Changes in v2:
> - Fixed misspelt "versilicon" in title.
> - Moved minItems in clock properties to be earlier than items.
> - Re-aligned multi-line clocks and resets in example.
>
> .../bindings/display/verisilicon,dc.yaml | 146 ++++++++++++++++++
> 1 file changed, 146 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/verisilicon,dc.yaml
>
> diff --git a/Documentation/devicetree/bindings/display/verisilicon,dc.yaml b/Documentation/devicetree/bindings/display/verisilicon,dc.yaml
> new file mode 100644
> index 0000000000000..522a544498bea
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/verisilicon,dc.yaml
> @@ -0,0 +1,146 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/display/verisilicon,dc.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Verisilicon DC-series display controllers
> +
> +maintainers:
> + - Icenowy Zheng <uwu@icenowy.me>
> +
> +properties:
> + $nodename:
> + pattern: "^display@[0-9a-f]+$"
> +
> + compatible:
> + items:
> + - enum:
> + - thead,th1520-dc8200
> + - const: verisilicon,dc
I do not see any explanation of exception for generic compatibles, maybe
except "self-identification" remark. Rob already pointed this out, so be
explicit in commit msg why you are using a generic compatible.
> +
> + reg:
> + maxItems: 1
> +
> + interrupts:
> + maxItems: 1
> +
> + clocks:
> + minItems: 4
This is not flexible. Device either has or has not these clocks.
> + items:
> + - description: DC Core clock
> + - description: DMA AXI bus clock
> + - description: Configuration AHB bus clock
> + - description: Pixel clock of output 0
> + - description: Pixel clock of output 1
> +
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-11-24 11:02 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-24 10:52 [PATCH v3 0/9] Verisilicon DC8200 driver (and adaption to TH1520) Icenowy Zheng
2025-11-24 10:52 ` [PATCH v3 1/9] dt-bindings: vendor-prefixes: add verisilicon Icenowy Zheng
2025-11-24 10:52 ` [PATCH v3 2/9] dt-bindings: display: add verisilicon,dc Icenowy Zheng
2025-11-24 11:01 ` Krzysztof Kozlowski [this message]
2025-11-24 11:04 ` Icenowy Zheng
2025-11-24 11:09 ` Krzysztof Kozlowski
2025-11-24 11:13 ` Icenowy Zheng
2025-11-24 11:27 ` Krzysztof Kozlowski
2025-11-24 12:05 ` Conor Dooley
2025-11-24 12:08 ` Krzysztof Kozlowski
2025-11-24 12:20 ` Conor Dooley
2025-11-24 12:31 ` Krzysztof Kozlowski
2025-11-24 15:25 ` Icenowy Zheng
2025-11-24 17:40 ` Krzysztof Kozlowski
2025-11-24 17:42 ` Icenowy Zheng
2025-11-24 19:15 ` Krzysztof Kozlowski
2025-11-26 9:50 ` Icenowy Zheng
2025-11-26 10:22 ` Krzysztof Kozlowski
2025-11-26 10:24 ` Icenowy Zheng
2025-11-27 13:47 ` Icenowy Zheng
2025-11-27 13:58 ` Krzysztof Kozlowski
2025-11-24 10:52 ` [PATCH v3 3/9] drm: verisilicon: add a driver for Verisilicon display controllers Icenowy Zheng
2025-11-24 10:52 ` [PATCH v3 4/9] dt-bindings: display/bridge: add binding for TH1520 HDMI controller Icenowy Zheng
2025-11-24 10:52 ` [PATCH v3 5/9] drm/bridge: add a driver for T-Head " Icenowy Zheng
2025-11-24 10:52 ` [PATCH v3 6/9] riscv: dts: thead: add DPU and HDMI device tree nodes Icenowy Zheng
2025-11-24 11:35 ` Krzysztof Kozlowski
2025-11-24 10:52 ` [PATCH v3 7/9] riscv: dts: thead: lichee-pi-4a: enable HDMI Icenowy Zheng
2025-11-24 10:52 ` [PATCH v3 8/9] MAINTAINERS: assign myself as maintainer for verisilicon DC driver Icenowy Zheng
2025-11-24 10:52 ` [PATCH v3 9/9] mailmap: map all Icenowy Zheng's mail addresses Icenowy Zheng
2025-11-24 10:57 ` [PATCH v3 0/9] Verisilicon DC8200 driver (and adaption to TH1520) Krzysztof Kozlowski
2025-11-24 15:23 ` Icenowy Zheng
2025-11-24 17:39 ` Krzysztof Kozlowski
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=d4cfe8bb-5ca2-40a9-bfe0-96e7ded5586c@kernel.org \
--to=krzk@kernel.org \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=airlied@gmail.com \
--cc=andrzej.hajda@intel.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=fustini@kernel.org \
--cc=guoren@kernel.org \
--cc=heiko@sntech.de \
--cc=jernej.skrabec@gmail.com \
--cc=jonas@kwiboo.se \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=m.wilczynski@samsung.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=p.zabel@pengutronix.de \
--cc=rabenda.cn@gmail.com \
--cc=rfoss@kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
--cc=uwu@icenowy.me \
--cc=wefu@redhat.com \
--cc=zhengxingda@iscas.ac.cn \
--cc=ziyao@disroot.org \
/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;
as well as URLs for NNTP newsgroup(s).