Re: [PATCH v12 12/13] dt-bindings: display: vop2: Add rk3576 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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...

> 
>>
>> 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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux