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


Groups > linux.kernel > #1244479

[PATCH 0/3] hwrng: stm32 - add support for STM32 HW RNG

From Daniel Thompson <daniel.thompson@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 0/3] hwrng: stm32 - add support for STM32 HW RNG
Date 2015-10-12 10:30 +0200
Message-ID <qiGEx-1LJ-11@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 patchset introduces a driver for the STM32 hardware random number
generator.

v2:

 * Moved binding docs from .../hwrng/ to .../rng/ and renamed to match
   convention in new directory (Rob Herring).
 * Adopted runtime PM and auto-suspend instead of managing the clocks
   from the read function (Linus Walleij). Increased bandwidth by ~30%.
 * Simplified error detection in main read loop (Linus Walleij, Maxime
   Coquelin).
 * Only WARN_ONCE() when hardware failure mechanisms trigger (Maxime
   Coquelin).
 * Simplify end of probe function after cocci warning (Fengguang Wu).
 * Switch to devm_hwrng_register.


Daniel Thompson (3):
  dt-bindings: Document the STM32 HW RNG bindings
  hwrng: stm32 - add support for STM32 HW RNG
  ARM: dts: stm32f429: Adopt STM32 RNG driver

 .../devicetree/bindings/rng/st,stm32-rng.txt       |  21 +++
 arch/arm/boot/dts/stm32f429.dtsi                   |   7 +
 drivers/char/hw_random/Kconfig                     |  12 ++
 drivers/char/hw_random/Makefile                    |   1 +
 drivers/char/hw_random/stm32-rng.c                 | 202 +++++++++++++++++++++
 5 files changed, 243 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rng/st,stm32-rng.txt
 create mode 100644 drivers/char/hw_random/stm32-rng.c

--
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 | NextNext 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-12 10:30 +0200
  [PATCH 1/3] dt-bindings: Document the STM32 HW RNG bindings Daniel Thompson <daniel.thompson@linaro.org> - 2015-10-12 10:30 +0200
  [PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG Daniel Thompson <daniel.thompson@linaro.org> - 2015-10-12 10:30 +0200
    Re: [PATCH 2/3] hwrng: stm32 - add support for STM32 HW RNG Linus Walleij <linus.walleij@linaro.org> - 2015-10-14 09:40 +0200
  Re: [PATCH 0/3] hwrng: stm32 - add support for STM32 HW RNG Herbert Xu <herbert@gondor.apana.org.au> - 2015-10-14 16:30 +0200
    Re: [PATCH 0/3] hwrng: stm32 - add support for STM32 HW RNG Maxime Coquelin <mcoquelin.stm32@gmail.com> - 2015-10-14 16:50 +0200

csiph-web