Re: [PATCH 07/18] MIPS: DTS: jz4780: fix otg node as reported by dtbscheck

From: H. Nikolaus Schaller
Date: Sat Apr 09 2022 - 09:38:00 EST




> Am 09.04.2022 um 15:23 schrieb Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>:
>
> On 09/04/2022 15:18, H. Nikolaus Schaller wrote:
> hould have a specific compatible.
>>>> Please mention why it does not.
>>>
>>> Agreed. The "snps,dwc2" should be a fallback string, otherwise there is no way to uniquely identify the JZ4780 implementation of the IP.
>>
>> Well, there is no specifc implementation and driver for it. So no need to uniquely identify it.
>
> Specific implementation and driver are not arguments here. This does not
> matter. It's really unrelated argument.

The argumentation is in reverse: if there is no need for a specialized driver or implementation,
why is there is a need to define a specialization.

Your argument was:
"there is no way to uniquely identify the JZ4780 implementation of the IP"

My question is:
"what do we need that for?"

> Bindings are not about implementation in Linux. Implementation can
> change, so bindings should also?

No. Implementations should be agnostic.