Changes since v2: - Remove unused RNG_RELOAD_ERR. - Add comment of seed choice in hisi_rng_init - Add head inculde linux/random.h for get_random_bytes() Changes since v1: - Rename compatible name from "hisilicon,hisi-rng" to "hisilicon,rng" Kefeng Wang (2): dt/bindings: Add bindings for hisilicon random number generator hwrng: hisi: Add support for Hisilicon SoC RNG Documentation/devicetree/bindings/rng/hisi-rng.txt | 12 ++ drivers/char/hw_random/Kconfig | 13 +++ drivers/char/hw_random/Makefile | 1 + drivers/char/hw_random/hisi-rng.c | 125 +++++++++++++++++++++ 4 files changed, 151 insertions(+) create mode 100644 Documentation/devicetree/bindings/rng/hisi-rng.txt create mode 100644 drivers/char/hw_random/hisi-rng.c -- 1.7.12.4 -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html