From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kefeng Wang Subject: [PATCH v3 0/2] Add Hisilicon Random Number Generator(RNG) support Date: Mon, 11 Apr 2016 11:01:56 +0800 Message-ID: <1460343718-2722-1-git-send-email-wangkefeng.wang@huawei.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Rob Herring , xuwei5-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org Cc: Mark Rutland , linux-crypto-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Herbert Xu , guohanjun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org, mathieu.poirier-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, Kefeng Wang List-Id: devicetree@vger.kernel.org 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 devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html