Re: [PATCH 1/2] dt-bindings: watchdog: Add NXP Software Watchdog Timer

From: Krzysztof Kozlowski
Date: Tue Apr 01 2025 - 11:16:27 EST


On 01/04/2025 10:46, Daniel Lezcano wrote:
>> Yes, with one being the fallback.
>
> Like that ?
>
> properties:
> compatible:
> oneOf:
> - const: nxp,s32g2-wdt
> - items:
> - const: nxp,s32g3-wdt
> - const: nxp,s32g2-wdt

Yes

>
> Why a fallback is needed for this case ? It is exactly the same hardware
> for s32g2 and s32g3. Could it be:

Fallback is needed because it is exactly the same hardware.

>
> properties:
> compatible:
> oneOf:
> - const: nxp,s32g2-wdt
> - const: nxp,s32g3-wdt

This tells hardware is different.

Best regards,
Krzysztof