[PATCH v4 0/2] Add Hisilicon Random Number Generator(RNG) support

2016-04-13 Thread Kefeng Wang
culde 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/de

[PATCH v4 2/2] hwrng: hisi: Add support for Hisilicon SoC RNG

2016-04-13 Thread Kefeng Wang
This adds the Hisilicon Random Number Generator(RNG) support, which is found in Hip04 and Hip05 soc. Reviewed-by: Mathieu Poirier <mathieu.poir...@linaro.org> Signed-off-by: Kefeng Wang <wangkefeng.w...@huawei.com> --- drivers/char/hw_random/Kconfig| 13 drivers/char/hw_ran

[PATCH v4 1/2] dt/bindings: Add bindings for hisilicon random number generator

2016-04-13 Thread Kefeng Wang
Document the devicetree bindings for the random number generator found on Hisilicon Hip04 and Hip05 soc. Signed-off-by: Kefeng Wang <wangkefeng.w...@huawei.com> --- Documentation/devicetree/bindings/rng/hisi-rng.txt | 12 1 file changed, 12 insertions(+) create mode

Re: [PATCH v2 1/2] dt/bindings: Add bindings for hisilicon random number generator

2016-04-13 Thread Kefeng Wang
On 2016/4/12 21:54, Rob Herring wrote: > On Mon, Apr 11, 2016 at 8:16 PM, Kefeng Wang <wangkefeng.w...@huawei.com> > wrote: >> >> >> On 2016/4/11 22:43, Rob Herring wrote: >>> On Thu, Apr 07, 2016 at 04:23:16PM +0800, Kefeng Wang wrote: >>>&

Re: [PATCH v2 1/2] dt/bindings: Add bindings for hisilicon random number generator

2016-04-11 Thread Kefeng Wang
On 2016/4/11 22:43, Rob Herring wrote: > On Thu, Apr 07, 2016 at 04:23:16PM +0800, Kefeng Wang wrote: >> Document the devicetree bindings for the random number generator found >> on Hisilicon Hip04 and Hip05 soc. >> >> Signed-off-by: Kefeng Wang

[PATCH v3 2/2] hwrng: hisi: Add support for Hisilicon SoC RNG

2016-04-10 Thread Kefeng Wang
This adds the Hisilicon Random Number Generator(RNG) support, which is found in Hip04 and Hip05 soc. Signed-off-by: Kefeng Wang <wangkefeng.w...@huawei.com> --- drivers/char/hw_random/Kconfig| 13 drivers/char/hw_random/Makefile | 1 + drivers/char/hw_random/hisi-rng.c

[PATCH v3 1/2] dt/bindings: Add bindings for hisilicon random number generator

2016-04-10 Thread Kefeng Wang
Document the devicetree bindings for the random number generator found on Hisilicon Hip04 and Hip05 soc. Signed-off-by: Kefeng Wang <wangkefeng.w...@huawei.com> --- Documentation/devicetree/bindings/rng/hisi-rng.txt | 12 1 file changed, 12 insertions(+) create mode

[PATCH v3 0/2] Add Hisilicon Random Number Generator(RNG) support

2016-04-10 Thread Kefeng Wang
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/bi

Re: [PATCH v2 2/2] hwrng: hisi: Add support for Hisilicon SoC RNG

2016-04-10 Thread Kefeng Wang
On 2016/4/8 22:35, Mathieu Poirier wrote: > On 7 April 2016 at 20:03, Kefeng Wang <wangkefeng.w...@huawei.com> wrote: >> >> >> On 2016/4/7 22:55, Mathieu Poirier wrote: >>> On 7 April 2016 at 02:23, Kefeng Wang <wangkefeng.w...@huawei.com> wrote:

Re: [PATCH v2 2/2] hwrng: hisi: Add support for Hisilicon SoC RNG

2016-04-07 Thread Kefeng Wang
On 2016/4/7 22:55, Mathieu Poirier wrote: > On 7 April 2016 at 02:23, Kefeng Wang <wangkefeng.w...@huawei.com> wrote: >> This adds the Hisilicon Random Number Generator(RNG) support, >> which is found in Hip04 and Hip05 soc. >> >> Signed-off-by: Kefeng

[PATCH v2 1/2] dt/bindings: Add bindings for hisilicon random number generator

2016-04-07 Thread Kefeng Wang
Document the devicetree bindings for the random number generator found on Hisilicon Hip04 and Hip05 soc. Signed-off-by: Kefeng Wang <wangkefeng.w...@huawei.com> --- Documentation/devicetree/bindings/rng/hisi-rng.txt | 12 1 file changed, 12 insertions(+) create mode

[PATCH v2 0/2] Add Hisilicon Random Number Generator(RNG) support

2016-04-07 Thread Kefeng Wang
This patchset add the Hisilicon Random Number Generator(RNG) support. 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 f

[PATCH v2 2/2] hwrng: hisi: Add support for Hisilicon SoC RNG

2016-04-07 Thread Kefeng Wang
This adds the Hisilicon Random Number Generator(RNG) support, which is found in Hip04 and Hip05 soc. Signed-off-by: Kefeng Wang <wangkefeng.w...@huawei.com> --- drivers/char/hw_random/Kconfig| 13 drivers/char/hw_random/Makefile | 1 + drivers/char/hw_random/hisi-rng.c

Re: [PATCH 1/2] dt/bindings: Add bindings for hisilicon random number generator

2016-04-04 Thread Kefeng Wang
On 2016/4/4 13:15, Rob Herring wrote: > On Fri, Apr 01, 2016 at 09:37:43AM +0800, Kefeng Wang wrote: >> Document the devicetree bindings for the random number generator >> found on Hisilicon Hip04 and Hip05 soc. [...] >> + >> +Required properties: >> +- compatibl

[PATCH 1/2] dt/bindings: Add bindings for hisilicon random number generator

2016-03-31 Thread Kefeng Wang
Document the devicetree bindings for the random number generator found on Hisilicon Hip04 and Hip05 soc. Signed-off-by: Kefeng Wang <wangkefeng.w...@huawei.com> --- Documentation/devicetree/bindings/rng/hisi-rng.txt | 12 1 file changed, 12 insertions(+) create mode

[PATCH 2/2] hwrng: hisi: Add support for Hisilicon RNG support

2016-03-31 Thread Kefeng Wang
This adds the Hisilicon Random Number Generator(RNG) support, which is found on Hip04 and Hip05 soc. Signed-off-by: Kefeng Wang <wangkefeng.w...@huawei.com> --- drivers/char/hw_random/Kconfig| 13 drivers/char/hw_random/Makefile | 1 + drivers/char/hw_random/hisi-rng.c