[PATCH v2 6/7] dt-bindings: mfd: syscon: Split and enforce documenting MFD children

Krzysztof Kozlowski krzk at kernel.org
Mon Jun 17 10:35:07 PDT 2024


On 17/06/2024 18:46, Conor Dooley wrote:
>>>  
>>> +# Need a select with all compatibles listed for compatibility with older
>>> +# dtschema (<2024.02), so this will not be selected for other schemas having
>>> +# syscon fallback.
>>>  select:
>>>    properties:
>>>      compatible:
>>>        contains:
>>>          enum:
>>> -          - syscon
>>
>> Wow, this is noisy. Is it not possible to achieve something similar by
>> making the select check for not: compatible: contains: simple-mfd? Or
>> did I misunderstand the intention here?
> 
> Ah, you'd match things then like the intel,lgm-syscon, right?

Yes.

Best regards,
Krzysztof




More information about the Linux-mediatek mailing list