Re: [PATCH v4 11/11] dt-bindings: power: supply: max17042: Allow generic power-supply properties

From: Krzysztof Kozlowski

Date: Mon Jul 27 2026 - 05:11:41 EST


On Sun, Jul 26, 2026 at 09:13:09PM -0400, Vincent Cloutier wrote:
> From: Vincent Cloutier <vincent@xxxxxxxxxxx>
>
> The MAX17042 family binding references the generic power-supply schema,
> but additionalProperties only recognizes properties declared directly by
> this schema.
>
> Use unevaluatedProperties so generic properties such as monitored-battery
> are accepted while unknown properties remain rejected. Remove the local
> power-supplies declaration because it is already inherited from
> power-supply.yaml.
>
> Assisted-by: OpenCode:gpt-5.6-sol
> Signed-off-by: Vincent Cloutier <vincent@xxxxxxxxxxx>
> ---
> .../devicetree/bindings/power/supply/maxim,max17042.yaml | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>

Best regards,
Krzysztof