Re: [PATCH v3 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer
From: Krzysztof Kozlowski
Date: Tue Apr 08 2025 - 04:24:54 EST
On 07/04/2025 18:03, Daniel Lezcano wrote:
> +
> +allOf:
> + - $ref: watchdog.yaml#
> +
> +properties:
> + compatible:
> + oneOf:
> + - const: nxp,s32g2-swt
> + - items:
> + - const: nxp,s32g3-swt
> + - const: nxp,s32g2-swt
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + items:
> + - description: Counter clock
> + - description: Module clock
> + - description: Register clock
> + minItems: 1
Why clocks are flexible? The SoC does not change between boards. It
should be a fixed list - block receives that number of clocks or does
not... unless you meant that different instances of the block have
different clocks?
Best regards,
Krzysztof