Re: [PATCH v5 4/7] dt-bindings: media: camss: Add qcom,sdm670-camss

Krzysztof Kozlowski
2024-10-01T10:03:43Z

On 01/10/2024 11:54, Bryan O'Donoghue wrote:
> On 01/10/2024 10:47, Krzysztof Kozlowski wrote:
>>> These are appearing in address order, which is preferred over reg-name
>>> ordering AFAIU.
>> First time I hear about such rule. Where is this ordering preference
>> documented? We always ask to keep the same order in each file.
>
> Eh evidently just my impression because we sort nodes by address.
>
> Yes, definitely agree both the regs and interrupts should be sorted the
> same way, its inconsistent to have one set sorted by address but the
> other sorted by name.

I don't imply sorting by name is any better. The only rule is that all
devices from same family type must have the same order. This is even
explicitly expressed for several devices by sharing binding or sharing
bindings.

Best regards,
Krzysztof