Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1238991

[PATCH 1/3] dt-bindings: Document the STM32 HW RNG bindings

From Daniel Thompson <daniel.thompson@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 1/3] dt-bindings: Document the STM32 HW RNG bindings
Date 2015-10-03 22:40 +0200
Message-ID <qfBL4-4es-7@gated-at.bofh.it> (permalink)
References <qfBL4-4es-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This adds documenttaion of device tree binds for the STM32 hardware
random number generator.

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
---
 .../devicetree/bindings/hwrng/stm32-rng.txt         | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwrng/stm32-rng.txt

diff --git a/Documentation/devicetree/bindings/hwrng/stm32-rng.txt b/Documentation/devicetree/bindings/hwrng/stm32-rng.txt
new file mode 100644
index 000000000000..47f04176f93b
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwrng/stm32-rng.txt
@@ -0,0 +1,21 @@
+STMicroelectronics STM32 HW RNG
+===============================
+
+The STM32 hardware random number generator is a simple fixed purpose IP and
+is fully separated from other crypto functions.
+
+Required properties:
+
+- compatible : Should be "st,stm32-rng"
+- reg : Should be register base and length as documented in the datasheet
+- interrupts : The designated IRQ line for the RNG
+- clocks : The clock needed to enable the RNG
+
+Example:
+
+	rng: rng@50060800 {
+		compatible = "st,stm32-rng";
+		reg = <0x50060800 0x400>;
+		interrupts = <80>;
+		clocks = <&rcc 0 38>;
+	};
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] hwrng: stm32 - add support for STM32 HW RNG Daniel Thompson <daniel.thompson@linaro.org> - 2015-10-03 22:40 +0200
  [PATCH 1/3] dt-bindings: Document the STM32 HW RNG bindings Daniel Thompson <daniel.thompson@linaro.org> - 2015-10-03 22:40 +0200
    Re: [PATCH 1/3] dt-bindings: Document the STM32 HW RNG bindings Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2015-10-04 10:30 +0200
    Re: [PATCH 1/3] dt-bindings: Document the STM32 HW RNG bindings Rob Herring <robherring2@gmail.com> - 2015-10-05 17:40 +0200
  [PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG Daniel Thompson <daniel.thompson@linaro.org> - 2015-10-03 22:40 +0200
    [PATCH] hwrng: fix simple_return.cocci warnings kbuild test robot <lkp@intel.com> - 2015-10-03 23:10 +0200
    Re: [PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG kbuild test robot <lkp@intel.com> - 2015-10-03 23:10 +0200
    Re: [PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2015-10-04 11:00 +0200
      Re: [PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG Daniel Thompson <daniel.thompson@linaro.org> - 2015-10-05 11:30 +0200
    Re: [PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG Linus Walleij <linus.walleij@linaro.org> - 2015-10-04 12:40 +0200
      Re: [PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG Daniel Thompson <daniel.thompson@linaro.org> - 2015-10-05 11:30 +0200
  [PATCH 3/3] ARM: dts: stm32f429: Adopt STM32 RNG driver Daniel Thompson <daniel.thompson@linaro.org> - 2015-10-03 22:40 +0200
    Re: [PATCH 3/3] ARM: dts: stm32f429: Adopt STM32 RNG driver Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2015-10-04 11:20 +0200

csiph-web