Thread (38 messages) 38 messages, 2 authors, 2025-06-24

Re: [PATCH v2 01/32] dt-bindings: mfd: samsung,s2mps11: add s2mpg10

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2025-06-24 08:51:37
Also in: linux-clk, linux-devicetree, linux-rtc, linux-samsung-soc, lkml

On 31/03/2025 11:50, André Draszik wrote:
Hi Krzysztof,

On Mon, 2025-03-31 at 09:34 +0200, Krzysztof Kozlowski wrote:
quoted
On Fri, Mar 28, 2025 at 01:28:47PM +0000, André Draszik wrote:
quoted
 allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: samsung,s2mpg10-pmic
+    then:
+      properties:
+        reg: false
+        samsung,s2mps11-acokb-ground: false
+        samsung,s2mps11-wrstbi-ground: false
+
+      oneOf:
+        - required: [interrupts]
+        - required: [interrupts-extended]
Drop, you should require only interrupts.
As mentioned in the commit message comments, it doesn't work with
just interrupts. It appears that dtschema's fixups.py doesn't
handle this case. With just interrupts, DT validation will fail
if the DT uses interrupts-extended. There was at least one other
binding that specified interrupts in the same way, so I went with
the same approach.
Please add a comment about this above oneOf.


Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help