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

From
Conor Dooley <conor@kernel.org>
Date
2024-06-18 18:04:51
Also in
linux-arm-kernel, linux-mediatek, lkml
Reply to
Krzysztof Kozlowski, 2024-06-17
On Mon, Jun 17, 2024 at 07:35:07PM +0200, Krzysztof Kozlowski wrote:
On 17/06/2024 18:46, Conor Dooley wrote:
quoted
quoted
quoted
 
+# 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.
With the nits then:
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>

Attachments

Thread (19 messages) 19 messages, 5 authors, last reply 2024-06-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help