Re: [PATCH v4 4/4] dt-binding: perf: Add Amlogic DDR PMU

From: Krzysztof Kozlowski
Date: Tue Aug 16 2022 - 04:26:52 EST


On 15/08/2022 12:04, Jiucheng Xu wrote:
>>>> +properties:
>>>> +  compatible:
>>>> +    items:
>>> You have only one item, so remove "items".
>
> Hi Krzysztof,
>
> I have tried to remove "items", but error comes.
>
> properties:
>   compatible:
>     - enum:
>       - amlogic,g12a-ddr-pmu
>       - amlogic,g12b-ddr-pmu
>       - amlogic,sm1-ddr-pmu
>
> Do I get misunderstand? I think the "item" is necessary.

And how other bindings are doing it?

Best regards,
Krzysztof