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

From: Krzysztof Kozlowski
Date: Mon Mar 31 2025 - 03:34:47 EST


On Fri, Mar 28, 2025 at 01:28:47PM +0000, André Draszik wrote:
> 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.

OTOH, why regulators subnode is not needed? Commit msg mentions they
exist, so they should be required. Binding does not change because you
added or did not add yet some driver support.

Best regards,
Krzysztof