[Linux-stm32] [RFC PATCH 1/3] dt-bindings: watchdog: arm-smc-wdt: allow a list of SMC ids
Marek Vasut
marex at nabladev.com
Wed Nov 4 17:47:09 CET 2026
On 11/4/26 5:16 PM, Mateusz Nowicki wrote:
> The SMC function id of the watchdog service is not discoverable and
> differs between firmware versions for the same SoC. Let arm,smc-id hold
> a list of ids that the driver tries in order, so a SoC dtsi can name
> every id used by firmware for that SoC. A single id stays valid.
>
> Signed-off-by: Mateusz Nowicki <mateusz.nowicki at posteo.net>
> ---
> .../devicetree/bindings/watchdog/arm-smc-wdt.yaml | 9 +++++++--
> 1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml
> index 8e9d0b7e8244..9844b23ef51c 100644
> --- a/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml
> +++ b/Documentation/devicetree/bindings/watchdog/arm-smc-wdt.yaml
> @@ -18,9 +18,14 @@ properties:
> - arm,smc-wdt
>
> arm,smc-id:
> - $ref: /schemas/types.yaml#/definitions/uint32
> + $ref: /schemas/types.yaml#/definitions/uint32-array
> + minItems: 1
> + maxItems: 4
maxItems: 2 ?
More information about the Linux-stm32
mailing list