[PATCH v3 3/5] dt-bindings: power: supply: add max77759-fg flavor
Krzysztof Kozlowski
krzk at kernel.org
Tue Apr 22 03:05:31 PDT 2025
On Mon, Apr 21, 2025 at 08:13:34PM GMT, Thomas Antoine wrote:
> +allOf:
> + - $ref: power-supply.yaml#
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - maxim,max17201
> + then:
> + properties:
> + reg:
> + minItems: 2
> + maxItems: 2
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - maxim,max77759-fg
> + then:
> + properties:
> + reg:
> + items:
> + minItems: 1
If there is going to be resend, drop minItems.
> + maxItems: 1
> + shunt-resistor-micro-ohms:
> + description: The value of current sense resistor in microohms.
Property should be defined top-level list of properties and in other
variant if:then: you disallow it if it is not applicable at all
(shunt-resistor-micro-ohms: false).
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list