From: "Andy Yan" <andyshrk@163.com>
To: "Krzysztof Kozlowski" <krzk@kernel.org>
Cc: heiko@sntech.de, hjc@rock-chips.com, krzk+dt@kernel.org,
devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org,
derek.foreman@collabora.com, detlev.casanova@collabora.com,
daniel@fooishbar.org, robh@kernel.org,
sebastian.reichel@collabora.com,
"Andy Yan" <andy.yan@rock-chips.com>
Subject: Re:Re: [PATCH v12 12/13] dt-bindings: display: vop2: Add rk3576 support
Date: Thu, 23 Jan 2025 16:10:05 +0800 (CST) [thread overview]
Message-ID: <11e72cc2.55fd.19492361487.Coremail.andyshrk@163.com> (raw)
In-Reply-To: <77ea5067-deb2-41d4-ab82-ce19ac018ba3@kernel.org>
Hi Krzysztof,
At 2025-01-22 17:55:34, "Krzysztof Kozlowski" <krzk@kernel.org> wrote:
>On 22/01/2025 10:46, Andy Yan wrote:
>>>> - The VOP interrupt is shared by several interrupt sources, such as
>>>> - frame start (VSYNC), line flag and other status interrupts.
>>>> + For VOP version under rk3576, the interrupt is shared by several interrupt
>>>> + sources, such as frame start (VSYNC), line flag and other interrupt status.
>>>> + For VOP version from rk3576 there is a system interrupt for bus error, and
>>>> + every video port has it's independent interrupts for vsync and other video
>>>> + port related error interrupts.
>>>> +
>>>> + interrupt-names:
>>>> + items:
>>>> + - const: sys
>>>> + - const: vp0
>>>> + - const: vp1
>>>> + - const: vp2
>>>>
>>>> # See compatible-specific constraints below.
>>>> clocks:
>>>> @@ -135,6 +147,8 @@ allOf:
>>>> interrupts:
>>>> maxItems: 1
>>>
>>> So this change moves to this patch.
>>>
>>>>
>>>> + interrupt-names: false
>>>> +
>>>> ports:
>>>> required:
>>>> - port@0
>>>> @@ -148,6 +162,39 @@ allOf:
>>>> required:
>>>> - rockchip,grf
>>>>
>>>> + - if:
>>>> + properties:
>>>> + compatible:
>>>> + contains:
>>>> + enum:
>>>> + - rockchip,rk3576-vop
>>>> + then:
>>>> + properties:
>>>> + clocks:
>>>> + minItems: 5
>>>
>>> No. You did not implement my comment at all.
>>>
>>> So again:
>>> "Why minItems? Nothing in this patch makes sense for me. Neither changing
>>> existing binding nor new binding for rk3576."
>>
>> Do you mean because I already defined minItems of clocks is 5 on the top, so
>> there is no need to redefine the same minItems here ?
>
>Lists must be constrained. This is not constrained from the max items
>and you repeat existing constrain.
>
>For every variable list you need to provide min and maxItems, except the
>edge cases when dimension matches top level dimension.
>
>Standard example is:
>
>https://elixir.bootlin.com/linux/v6.11-rc6/source/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml#L127
>
>which I mention on mailing lists multiple times. Also described this
>case exactly on my two talks...
Do you mean these two talks[0][1] ?
[0] https://eoss24.sched.com/event/1aBEf/whack-a-mole-with-dts-validation-in-the-linux-kernel-krzysztof-kozlowski-linaro?linkback=grid
[1] https://eoss2023.sched.com/event/1LcNo/how-to-get-your-dt-schema-bindings-accepted-in-less-than-10-iterations-krzysztof-kozlowski-linaro
>
>>
>>>
>>> To address such comment, come with reasonable answer to "why". Not just
>>> send the same. It's a waste of my time to keep reviewing the same.
>>
>> Before sending this patch, I asked you what the next step should be, but you didn't respond.
>
>You asked whether splitting is correct and I did not object that. I
>already said: " You need to split reorganizing", then you asked if you
>can split, so sorry, I am not going to keep repeating the same multiple
>times.
>
>But anyway this is not about the split, so you did not question last
>time how to do it. You just skipped my paragraph asking for "Why?".
>
>
>
>Best regards,
>Krzysztof
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next prev parent reply other threads:[~2025-01-23 8:12 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-21 10:32 [PATCH v12 00/13] VOP Support for rk3576 Andy Yan
2025-01-21 10:32 ` [PATCH v12 01/13] drm/rockchip: vop2: use devm_regmap_field_alloc for cluster-regs Andy Yan
2025-01-21 10:32 ` [PATCH v12 02/13] drm/rockchip: vop2: Rename TRANSFORM_OFFSET to TRANSFORM_OFFS Andy Yan
2025-01-21 10:32 ` [PATCH v12 03/13] drm/rockchip: vop2: Add platform specific callback Andy Yan
2025-01-21 10:32 ` [PATCH v12 04/13] drm/rockchip: vop2: Merge vop2_cluster/esmart_init function Andy Yan
2025-01-21 10:32 ` [PATCH v12 05/13] drm/rockchip: vop2: Support for different layer select configuration between VPs Andy Yan
2025-01-21 10:32 ` [PATCH v12 06/13] drm/rockchip: vop2: Introduce vop hardware version Andy Yan
2025-01-21 10:32 ` [PATCH v12 07/13] drm/rockchip: vop2: Register the primary plane and overlay plane separately Andy Yan
2025-01-21 10:32 ` [PATCH v12 08/13] drm/rockchip: vop2: Set plane possible crtcs by possible vp mask Andy Yan
2025-01-21 10:32 ` [PATCH v12 09/13] drm/rockchip: vop2: Add uv swap for cluster window Andy Yan
2025-01-21 10:32 ` [PATCH v12 10/13] dt-bindings: display: vop2: describe constraint SoC by SoC Andy Yan
2025-01-22 8:02 ` Krzysztof Kozlowski
2025-01-21 10:34 ` [PATCH v12 11/13] dt-bindings: display: vop2: Add missing rockchip,grf propertie for rk3566/8 Andy Yan
2025-01-22 8:03 ` Krzysztof Kozlowski
2025-01-22 9:29 ` Andy Yan
2025-01-22 9:43 ` Krzysztof Kozlowski
2025-01-22 9:52 ` Andy Yan
2025-01-21 10:34 ` [PATCH v12 12/13] dt-bindings: display: vop2: Add rk3576 support Andy Yan
2025-01-22 8:04 ` Krzysztof Kozlowski
2025-01-22 9:46 ` Andy Yan
2025-01-22 9:55 ` Krzysztof Kozlowski
2025-01-23 8:10 ` Andy Yan [this message]
2025-01-22 10:14 ` Andy Yan
2025-01-22 10:29 ` Krzysztof Kozlowski
2025-01-21 10:35 ` [PATCH v12 13/13] drm/rockchip: vop2: Add support for rk3576 Andy Yan
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=11e72cc2.55fd.19492361487.Coremail.andyshrk@163.com \
--to=andyshrk@163.com \
--cc=andy.yan@rock-chips.com \
--cc=daniel@fooishbar.org \
--cc=derek.foreman@collabora.com \
--cc=detlev.casanova@collabora.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=heiko@sntech.de \
--cc=hjc@rock-chips.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=robh@kernel.org \
--cc=sebastian.reichel@collabora.com \
/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