From 1afc04441a2216dc46276c93f137ad8a1e16bc49 Mon Sep 17 00:00:00 2001 From: Mathieu Choplain Date: Tue, 17 Dec 2024 18:02:37 +0100 Subject: [PATCH] dts: bindings: rng: add STM32 binding for IRQ-less RNG Add a new binding for STM32 RNG instances without interrupt lines, such as the one present in the STM32WB05/06/07 SoCs. Signed-off-by: Mathieu Choplain --- dts/bindings/rng/st,stm32-rng-noirq.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 dts/bindings/rng/st,stm32-rng-noirq.yaml diff --git a/dts/bindings/rng/st,stm32-rng-noirq.yaml b/dts/bindings/rng/st,stm32-rng-noirq.yaml new file mode 100644 index 00000000000..d0cfe9622fb --- /dev/null +++ b/dts/bindings/rng/st,stm32-rng-noirq.yaml @@ -0,0 +1,17 @@ +# Copyright (c) 2025 STMicroelectronics +# SPDX-License-Identifier: Apache-2.0 + +description: STM32 Random Number Generator without interrupt line + +compatible: "st,stm32-rng-noirq" + +include: + - name: st,stm32-rng.yaml + property-blocklist: + - interrupts + +properties: + generation-delay-ns: + type: int + description: | + Delay between the generation of two random samples, in nanoseconds.