Skip to contentSkip to conversation

hwrng: Support for 7211 in iproc-rng200

PATCH In review Florian Fainelli 4 participants 11 messages May 10, 2019 – Jun 20, 2019

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover hwrng: Support for 7211 in iproc-rng200

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(+)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/2 dt-bindings: rng: Document BCM7211 RNG compatible string

BCM7211 features a RNG200 block, document its compatible string.

---
 Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt +1 -0
index 0014da9145af..c223e54452da 100644
@@ -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
Signature · 1 line
2.17.1
#2 lore raw

Re: [PATCH 1/2] dt-bindings: rng: Document BCM7211 RNG compatible string

Quoted 3 lines · Florian Fainelli

BCM7211 features a RNG200 block, document its compatible string.

Rob, does this look okay to you?

Quoted 17 lines
---
 Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt +1 -0
index 0014da9145af..c223e54452da 100644
@@ -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
Signature · 1 line
Florian
maintainer
#3 lore raw

Re: [PATCH 1/2] dt-bindings: rng: Document BCM7211 RNG compatible string

Quoted 6 lines · Florian Fainelli
Quoted 3 lines · Florian Fainelli

BCM7211 features a RNG200 block, document its compatible string.

Rob, does this look okay to you?

Yes, sorry, a bit behind on reviews.

#5 lore raw

PATCH 2/2 hwrng: iproc-rng200: Add support for 7211

In reply to Florian Fainelli

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

---
 drivers/char/hw_random/iproc-rng200.c | 1 +
 1 file changed, 1 insertion(+)
drivers/char/hw_random/iproc-rng200.c +1 -0
index 8b5a20b35293..92be1c0ab99f 100644
@@ -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", },
 	{},
Signature · 1 line
2.17.1
#6 lore raw
In reply to Florian Fainelli

Hi Florian,

Quoted 6 lines · 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.

Quoted 8 lines

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

#7 lore raw
In reply to Florian Fainelli
Quoted 5 lines · 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.

Herbert, can you apply those patches?

Quoted 9 lines

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(+)
Signature · 1 line
Florian
maintainer
#8 lore raw
Quoted 8 lines · Florian Fainelli
Quoted 5 lines · 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.

Herbert, can you apply those patches?

Hi Florian:

Patch 1/2 is missing an ack from Rob.

Thanks,

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
#9 lore raw
Quoted 8 lines · Herbert Xu
Quoted 7 lines · Florian Fainelli
Quoted 5 lines · 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.

Quoted 5 lines
Quoted 1 line

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!

Signature · 1 line
Florian
maintainer
#10 lore raw
In reply to Florian Fainelli
Quoted 6 lines · 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.

Quoted 7 lines

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.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt