Re: [PATCH v3 05/20] dt-bindings: mfd: samsung,s2mpg10: Link s2mpg10-pmic to its regulators
From: Krzysztof Kozlowski
Date: Tue Nov 04 2025 - 03:36:23 EST
On Mon, Nov 03, 2025 at 07:14:44PM +0000, André Draszik wrote:
> required:
> - compatible
> - interrupts
> - regulators
>
> additionalProperties: false
> +
> +allOf:
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: samsung,s2mpg10-pmic
> + then:
> + properties:
This is not correct now. You do not have other variants here and ref
should be directly in top level "regulators" part of schema.
> + regulators:
> + $ref: /schemas/regulator/samsung,s2mpg10-regulator.yaml
>
> --
> 2.51.2.997.g839fc31de9-goog
>