mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
hwrng: rockchip - add support for Rockchip HW RNG
Change-Id: Ia14bd624716eb6531ef8674843ccfbada3197d8e Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
This commit is contained in:
parent
15d6bca6c4
commit
d247acc66f
|
|
@ -424,6 +424,19 @@ config HW_RANDOM_EXYNOS
|
|||
will be called exynos-trng.
|
||||
|
||||
If unsure, say Y.
|
||||
|
||||
config HW_RANDOM_ROCKCHIP
|
||||
tristate "Rockchip Random Number Generator support"
|
||||
depends on ARCH_ROCKCHIP
|
||||
help
|
||||
This driver provides kernel-side support for the Random Number
|
||||
Generator hardware found on Rockchip cpus.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called rockchip-rng.
|
||||
|
||||
If unsure, say Y.
|
||||
|
||||
endif # HW_RANDOM
|
||||
|
||||
config UML_RANDOM
|
||||
|
|
|
|||
|
|
@ -38,3 +38,4 @@ obj-$(CONFIG_HW_RANDOM_CAVIUM) += cavium-rng.o cavium-rng-vf.o
|
|||
obj-$(CONFIG_HW_RANDOM_MTK) += mtk-rng.o
|
||||
obj-$(CONFIG_HW_RANDOM_S390) += s390-trng.o
|
||||
obj-$(CONFIG_HW_RANDOM_KEYSTONE) += ks-sa-rng.o
|
||||
obj-$(CONFIG_HW_RANDOM_ROCKCHIP) += rockchip-rng.o
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
#include <linux/hw_random.h>
|
||||
#include <linux/iopoll.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/mod_devicetable.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/pm_runtime.h>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user