linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200
@ 2019-05-10 17:31 Florian Fainelli
  2019-05-10 17:31 ` [PATCH 1/2] dt-bindings: rng: Document BCM7211 RNG compatible string Florian Fainelli
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Florian Fainelli @ 2019-05-10 17:31 UTC (permalink / raw)
  To: linux-kernel
  Cc: bcm-kernel-feedback-list, stefan.wahren, wahrenst, herbert,
	linux-crypto, mpm, Florian Fainelli

Hi Herbert,

This patch series adds support for BCM7211 to the iproc-rng200 driver,
nothing special besides matching the compatibile string and updating the
binding document.

Florian Fainelli (2):
  dt-bindings: rng: Document BCM7211 RNG compatible string
  hwrng: iproc-rng200: Add support for 7211

 Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 1 +
 drivers/char/hw_random/iproc-rng200.c                       | 1 +
 2 files changed, 2 insertions(+)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

* [PATCH 1/2] dt-bindings: rng: Document BCM7211 RNG compatible string
  2019-05-10 17:31 [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200 Florian Fainelli
@ 2019-05-10 17:31 ` Florian Fainelli
  2019-06-07 18:57   ` Florian Fainelli
  2019-06-13 20:16   ` Rob Herring
  2019-05-10 17:31 ` [PATCH 2/2] hwrng: iproc-rng200: Add support for 7211 Florian Fainelli
                   ` (3 subsequent siblings)
  4 siblings, 2 replies; 11+ messages in thread
From: Florian Fainelli @ 2019-05-10 17:31 UTC (permalink / raw)
  To: linux-kernel
  Cc: bcm-kernel-feedback-list, stefan.wahren, wahrenst, herbert,
	linux-crypto, mpm, Florian Fainelli, Rob Herring, Mark Rutland,
	Ray Jui, Scott Branden,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:BROADCOM IPROC ARM ARCHITECTURE

BCM7211 features a RNG200 block, document its compatible string.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt b/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt
index 0014da9145af..c223e54452da 100644
--- a/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt
+++ b/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt
@@ -2,6 +2,7 @@ HWRNG support for the iproc-rng200 driver
 
 Required properties:
 - compatible : Must be one of:
+	       "brcm,bcm7211-rng200"
 	       "brcm,bcm7278-rng200"
 	       "brcm,iproc-rng200"
 - reg : base address and size of control register block
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [PATCH 2/2] hwrng: iproc-rng200: Add support for 7211
  2019-05-10 17:31 [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200 Florian Fainelli
  2019-05-10 17:31 ` [PATCH 1/2] dt-bindings: rng: Document BCM7211 RNG compatible string Florian Fainelli
@ 2019-05-10 17:31 ` Florian Fainelli
  2019-05-10 21:07 ` [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200 Ray Jui
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 11+ messages in thread
From: Florian Fainelli @ 2019-05-10 17:31 UTC (permalink / raw)
  To: linux-kernel
  Cc: bcm-kernel-feedback-list, stefan.wahren, wahrenst, herbert,
	linux-crypto, mpm, Florian Fainelli, Arnd Bergmann,
	Greg Kroah-Hartman, Ray Jui, Scott Branden,
	moderated list:BROADCOM IPROC ARM ARCHITECTURE

BCM7211 features a RNG200 hardware random number generator block, add
support for this chip by matching the chip-specific compatible string.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 drivers/char/hw_random/iproc-rng200.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/char/hw_random/iproc-rng200.c b/drivers/char/hw_random/iproc-rng200.c
index 8b5a20b35293..92be1c0ab99f 100644
--- a/drivers/char/hw_random/iproc-rng200.c
+++ b/drivers/char/hw_random/iproc-rng200.c
@@ -220,6 +220,7 @@ static int iproc_rng200_probe(struct platform_device *pdev)
 }
 
 static const struct of_device_id iproc_rng200_of_match[] = {
+	{ .compatible = "brcm,bcm7211-rng200", },
 	{ .compatible = "brcm,bcm7278-rng200", },
 	{ .compatible = "brcm,iproc-rng200", },
 	{},
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200
  2019-05-10 17:31 [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200 Florian Fainelli
  2019-05-10 17:31 ` [PATCH 1/2] dt-bindings: rng: Document BCM7211 RNG compatible string Florian Fainelli
  2019-05-10 17:31 ` [PATCH 2/2] hwrng: iproc-rng200: Add support for 7211 Florian Fainelli
@ 2019-05-10 21:07 ` Ray Jui
  2019-05-20 22:49 ` Florian Fainelli
  2019-06-20  8:05 ` Herbert Xu
  4 siblings, 0 replies; 11+ messages in thread
From: Ray Jui @ 2019-05-10 21:07 UTC (permalink / raw)
  To: Florian Fainelli, linux-kernel
  Cc: bcm-kernel-feedback-list, stefan.wahren, wahrenst, herbert,
	linux-crypto, mpm

Hi Florian,

On 5/10/2019 10:31 AM, Florian Fainelli wrote:
> Hi Herbert,
> 
> This patch series adds support for BCM7211 to the iproc-rng200 driver,
> nothing special besides matching the compatibile string and updating the
> binding document.
> 
> Florian Fainelli (2):
>   dt-bindings: rng: Document BCM7211 RNG compatible string
>   hwrng: iproc-rng200: Add support for 7211
> 
>  Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 1 +
>  drivers/char/hw_random/iproc-rng200.c                       | 1 +
>  2 files changed, 2 insertions(+)
> 

Patch series looks good to me. Thanks!

Ray

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200
  2019-05-10 17:31 [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200 Florian Fainelli
                   ` (2 preceding siblings ...)
  2019-05-10 21:07 ` [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200 Ray Jui
@ 2019-05-20 22:49 ` Florian Fainelli
  2019-05-23  5:37   ` Herbert Xu
  2019-06-20  8:05 ` Herbert Xu
  4 siblings, 1 reply; 11+ messages in thread
From: Florian Fainelli @ 2019-05-20 22:49 UTC (permalink / raw)
  To: Florian Fainelli, linux-kernel, herbert
  Cc: bcm-kernel-feedback-list, stefan.wahren, wahrenst, linux-crypto, mpm

On 5/10/19 10:31 AM, Florian Fainelli wrote:
> Hi Herbert,
> 
> This patch series adds support for BCM7211 to the iproc-rng200 driver,
> nothing special besides matching the compatibile string and updating the
> binding document.

Herbert, can you apply those patches?

> 
> Florian Fainelli (2):
>   dt-bindings: rng: Document BCM7211 RNG compatible string
>   hwrng: iproc-rng200: Add support for 7211
> 
>  Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 1 +
>  drivers/char/hw_random/iproc-rng200.c                       | 1 +
>  2 files changed, 2 insertions(+)
> 


-- 
Florian

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200
  2019-05-20 22:49 ` Florian Fainelli
@ 2019-05-23  5:37   ` Herbert Xu
  2019-06-17 21:40     ` Florian Fainelli
  0 siblings, 1 reply; 11+ messages in thread
From: Herbert Xu @ 2019-05-23  5:37 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: linux-kernel, bcm-kernel-feedback-list, stefan.wahren, wahrenst,
	linux-crypto, mpm

On Mon, May 20, 2019 at 03:49:12PM -0700, Florian Fainelli wrote:
> On 5/10/19 10:31 AM, Florian Fainelli wrote:
> > Hi Herbert,
> > 
> > This patch series adds support for BCM7211 to the iproc-rng200 driver,
> > nothing special besides matching the compatibile string and updating the
> > binding document.
> 
> Herbert, can you apply those patches?

Hi Florian:

Patch 1/2 is missing an ack from Rob.

Thanks,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] dt-bindings: rng: Document BCM7211 RNG compatible string
  2019-05-10 17:31 ` [PATCH 1/2] dt-bindings: rng: Document BCM7211 RNG compatible string Florian Fainelli
@ 2019-06-07 18:57   ` Florian Fainelli
  2019-06-13 20:16     ` Rob Herring
  2019-06-13 20:16   ` Rob Herring
  1 sibling, 1 reply; 11+ messages in thread
From: Florian Fainelli @ 2019-06-07 18:57 UTC (permalink / raw)
  To: Florian Fainelli, linux-kernel, Rob Herring
  Cc: bcm-kernel-feedback-list, stefan.wahren, wahrenst, herbert,
	linux-crypto, mpm, Mark Rutland, Ray Jui, Scott Branden,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:BROADCOM IPROC ARM ARCHITECTURE

On 5/10/19 10:31 AM, Florian Fainelli wrote:
> BCM7211 features a RNG200 block, document its compatible string.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Rob, does this look okay to you?

> ---
>  Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt b/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt
> index 0014da9145af..c223e54452da 100644
> --- a/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt
> +++ b/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt
> @@ -2,6 +2,7 @@ HWRNG support for the iproc-rng200 driver
>  
>  Required properties:
>  - compatible : Must be one of:
> +	       "brcm,bcm7211-rng200"
>  	       "brcm,bcm7278-rng200"
>  	       "brcm,iproc-rng200"
>  - reg : base address and size of control register block
> 


-- 
Florian

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] dt-bindings: rng: Document BCM7211 RNG compatible string
  2019-06-07 18:57   ` Florian Fainelli
@ 2019-06-13 20:16     ` Rob Herring
  0 siblings, 0 replies; 11+ messages in thread
From: Rob Herring @ 2019-06-13 20:16 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: linux-kernel, bcm-kernel-feedback-list, stefan.wahren, wahrenst,
	herbert, linux-crypto, mpm, Mark Rutland, Ray Jui, Scott Branden,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:BROADCOM IPROC ARM ARCHITECTURE

On Fri, Jun 07, 2019 at 11:57:49AM -0700, Florian Fainelli wrote:
> On 5/10/19 10:31 AM, Florian Fainelli wrote:
> > BCM7211 features a RNG200 block, document its compatible string.
> > 
> > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> 
> Rob, does this look okay to you?

Yes, sorry, a bit behind on reviews.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 1/2] dt-bindings: rng: Document BCM7211 RNG compatible string
  2019-05-10 17:31 ` [PATCH 1/2] dt-bindings: rng: Document BCM7211 RNG compatible string Florian Fainelli
  2019-06-07 18:57   ` Florian Fainelli
@ 2019-06-13 20:16   ` Rob Herring
  1 sibling, 0 replies; 11+ messages in thread
From: Rob Herring @ 2019-06-13 20:16 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: linux-kernel, bcm-kernel-feedback-list, stefan.wahren, wahrenst,
	herbert, linux-crypto, mpm, Florian Fainelli, Mark Rutland,
	Ray Jui, Scott Branden,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:BROADCOM IPROC ARM ARCHITECTURE

On Fri, 10 May 2019 10:31:10 -0700, Florian Fainelli wrote:
> BCM7211 features a RNG200 block, document its compatible string.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
>  Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 1 +
>  1 file changed, 1 insertion(+)
> 

Reviewed-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200
  2019-05-23  5:37   ` Herbert Xu
@ 2019-06-17 21:40     ` Florian Fainelli
  0 siblings, 0 replies; 11+ messages in thread
From: Florian Fainelli @ 2019-06-17 21:40 UTC (permalink / raw)
  To: Herbert Xu, Florian Fainelli
  Cc: linux-kernel, bcm-kernel-feedback-list, stefan.wahren, wahrenst,
	linux-crypto, mpm

On 5/22/19 10:37 PM, Herbert Xu wrote:
> On Mon, May 20, 2019 at 03:49:12PM -0700, Florian Fainelli wrote:
>> On 5/10/19 10:31 AM, Florian Fainelli wrote:
>>> Hi Herbert,
>>>
>>> This patch series adds support for BCM7211 to the iproc-rng200 driver,
>>> nothing special besides matching the compatibile string and updating the
>>> binding document.
>>
>> Herbert, can you apply those patches?
> 
> Hi Florian:
> 
> Patch 1/2 is missing an ack from Rob.

Rob acked it now, can you take those couple of patches? Thanks!
-- 
Florian

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200
  2019-05-10 17:31 [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200 Florian Fainelli
                   ` (3 preceding siblings ...)
  2019-05-20 22:49 ` Florian Fainelli
@ 2019-06-20  8:05 ` Herbert Xu
  4 siblings, 0 replies; 11+ messages in thread
From: Herbert Xu @ 2019-06-20  8:05 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: linux-kernel, bcm-kernel-feedback-list, stefan.wahren, wahrenst,
	linux-crypto, mpm

On Fri, May 10, 2019 at 10:31:09AM -0700, Florian Fainelli wrote:
> Hi Herbert,
> 
> This patch series adds support for BCM7211 to the iproc-rng200 driver,
> nothing special besides matching the compatibile string and updating the
> binding document.
> 
> Florian Fainelli (2):
>   dt-bindings: rng: Document BCM7211 RNG compatible string
>   hwrng: iproc-rng200: Add support for 7211
> 
>  Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 1 +
>  drivers/char/hw_random/iproc-rng200.c                       | 1 +
>  2 files changed, 2 insertions(+)

All applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-06-20  8:05 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-10 17:31 [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200 Florian Fainelli
2019-05-10 17:31 ` [PATCH 1/2] dt-bindings: rng: Document BCM7211 RNG compatible string Florian Fainelli
2019-06-07 18:57   ` Florian Fainelli
2019-06-13 20:16     ` Rob Herring
2019-06-13 20:16   ` Rob Herring
2019-05-10 17:31 ` [PATCH 2/2] hwrng: iproc-rng200: Add support for 7211 Florian Fainelli
2019-05-10 21:07 ` [PATCH 0/2] hwrng: Support for 7211 in iproc-rng200 Ray Jui
2019-05-20 22:49 ` Florian Fainelli
2019-05-23  5:37   ` Herbert Xu
2019-06-17 21:40     ` Florian Fainelli
2019-06-20  8:05 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).