Re: [PATCH v2 04/17] dt-bindings: mfd: samsung,s2mps11: add s2mpg10-pmic regulators

From: Krzysztof Kozlowski
Date: Wed Jun 11 2025 - 05:06:46 EST


On Fri, Jun 06, 2025 at 04:03:00PM GMT, André Draszik wrote:
> Add a regulators node to the s2mpg10-pmic to describe the regulators
> available on this PMIC.
>
> Additionally, describe the supply inputs of the regulator rails, with
> the supply names matching the datasheet.
>
> Note 1: S2MPG10 is typically used as the main-PMIC together with an
> S2MPG11 PMIC in a main/sub configuration, hence the datasheet and the
> binding both suffix the supplies with an 'm'.
>
> Note 2: The binding needs to switch from 'additionalProperties' to
> 'unevaluatedProperties', to allow adding the specific -supply
> properties for S2MPG10 only, as otherwise we'd have to resort to a
> global wildcard with negating inside each of the compatible matches.

I think this binding is getting too complicated. Maybe s2mpgXX should
have their own file.

Best regards,
Krzysztof