public inbox for linux-rockchip@lists.infradead.org
 help / color / mirror / Atom feed
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: Wed, 22 Jan 2025 17:46:43 +0800 (CST)	[thread overview]
Message-ID: <5eb4acaa.6df6.1948d68332d.Coremail.andyshrk@163.com> (raw)
In-Reply-To: <20250122-amber-moth-of-upgrade-fa8331@krzk-bin>


Hi

At 2025-01-22 16:04:59, "Krzysztof Kozlowski" <krzk@kernel.org> wrote:
>On Tue, Jan 21, 2025 at 06:34:57PM +0800, Andy Yan wrote:
>> From: Andy Yan <andy.yan@rock-chips.com>
>> 
>> Add vop found on rk3576, the main difference between rk3576 and the
>> previous vop is that each VP has its own interrupt line.
>> 
>> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
>> 
>> ---
>> 
>> Changes in v12:
>> - Split from patch 10/13
>
>Order your patches finally. It's v12 and you still send binding after
>the user. Read carefully submitting bindings/patches.
>
>> 
>> Changes in v11:
>> - Remove redundant min/maxItems constraint
>> 
>> Changes in v10:
>> - Move interrupt-names back to top level
>> - Add constraint of interrupts for all platform
>> - Add constraint for all grf phandles
>> - Reorder some properties
>> 
>> Changes in v9:
>> - Drop 'vop-' prefix of interrupt-names.
>> - Add blank line between DT properties
>> - Remove list interrupt-names in top level
>> 
>> Changes in v8:
>> - Fix dt_binding_check errors
>> - ordered by soc name
>> - Link to the previous version:
>>   https://lore.kernel.org/linux-rockchip/6pn3qjxotdtpzucpul24yro7ppddezwuizneovqvmgdwyv2j7p@ztg4mqyiqmjf/T/#u
>> 
>> Changes in v4:
>> - describe constraint SOC by SOC, as interrupts of rk3576 is very
>>   different from others
>> - Drop Krzysztof's Reviewed-by, as this version changed a lot.
>> 
>> Changes in v3:
>> - ordered by soc name
>> - Add description for newly added interrupt
>> 
>> Changes in v2:
>> - Add dt bindings
>> 
>>  .../display/rockchip/rockchip-vop2.yaml       | 55 ++++++++++++++++++-
>>  1 file changed, 52 insertions(+), 3 deletions(-)
>> 
>> diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip-vop2.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip-vop2.yaml
>> index 157a37ed84da..a2a6369c7b6f 100644
>> --- a/Documentation/devicetree/bindings/display/rockchip/rockchip-vop2.yaml
>> +++ b/Documentation/devicetree/bindings/display/rockchip/rockchip-vop2.yaml
>> @@ -21,6 +21,7 @@ properties:
>>      enum:
>>        - rockchip,rk3566-vop
>>        - rockchip,rk3568-vop
>> +      - rockchip,rk3576-vop
>>        - rockchip,rk3588-vop
>>  
>>    reg:
>> @@ -38,10 +39,21 @@ properties:
>>        - const: gamma-lut
>>  
>>    interrupts:
>> -    maxItems: 1
>> +    minItems: 1
>> +    maxItems: 4
>>      description:
>> -      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 ?

>
>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.
I might indeed have failed to grasp your main point, I'm indeed not  writing dt-schema. 
Hope you can explain some of the specific issues in more detail to avoid wasting the time of both
of us.



>
>Best regards,
>Krzysztof
>
>
>_______________________________________________
>Linux-rockchip mailing list
>Linux-rockchip@lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/linux-rockchip
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip

  reply	other threads:[~2025-01-22  9:48 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 [this message]
2025-01-22  9:55       ` Krzysztof Kozlowski
2025-01-23  8:10         ` Andy Yan
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=5eb4acaa.6df6.1948d68332d.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