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

Krzysztof Kozlowski <[email protected]>
Newsgroups org.kernel.vger.linux-pm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <20260727-precise-therapeutic-bandicoot-b07fe6@quoll>
On Sun, Jul 26, 2026 at 09:13:09PM -0400, Vincent Cloutier wrote:
> From: Vincent Cloutier <[email protected]>
> 
> 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 <[email protected]>
> ---
>  .../devicetree/bindings/power/supply/maxim,max17042.yaml      | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Reviewed-by: Krzysztof Kozlowski <[email protected]>

Best regards,
Krzysztof
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.