All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] hwrng: iproc-rng200: Add support for BCM7278
@ 2017-11-01 23:20 ` Florian Fainelli
  0 siblings, 0 replies; 24+ messages in thread
From: Florian Fainelli @ 2017-11-01 23:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, Matt Mackall, Herbert Xu, Rob Herring,
	Mark Rutland, Ray Jui, Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE, devicetree

Hi,

This patch series adds support for the RNG200 block found on the BCM7278 SoC.
This requires us to update the compatible string (and associated binding
document) as well as the Kconfig option to make that driver selectable with
ARCH_BRCMSTB gating the enabling of such SoCs.

Thank you

Florian Fainelli (2):
  dt-bindings: rng: Document BCM7278 RNG200 compatible
  hwrng: iproc-rng200: Add support for BCM7278

 Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 4 +++-
 drivers/char/hw_random/Kconfig                              | 6 +++---
 drivers/char/hw_random/iproc-rng200.c                       | 1 +
 3 files changed, 7 insertions(+), 4 deletions(-)

-- 
2.9.3

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

* [PATCH 0/2] hwrng: iproc-rng200: Add support for BCM7278
@ 2017-11-01 23:20 ` Florian Fainelli
  0 siblings, 0 replies; 24+ messages in thread
From: Florian Fainelli @ 2017-11-01 23:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, Matt Mackall, Herbert Xu, Rob Herring,
	Mark Rutland, Ray Jui, Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:BROADCOM IPROC ARM ARCHITECTURE

Hi,

This patch series adds support for the RNG200 block found on the BCM7278 SoC.
This requires us to update the compatible string (and associated binding
document) as well as the Kconfig option to make that driver selectable with
ARCH_BRCMSTB gating the enabling of such SoCs.

Thank you

Florian Fainelli (2):
  dt-bindings: rng: Document BCM7278 RNG200 compatible
  hwrng: iproc-rng200: Add support for BCM7278

 Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 4 +++-
 drivers/char/hw_random/Kconfig                              | 6 +++---
 drivers/char/hw_random/iproc-rng200.c                       | 1 +
 3 files changed, 7 insertions(+), 4 deletions(-)

-- 
2.9.3

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

* [PATCH 0/2] hwrng: iproc-rng200: Add support for BCM7278
@ 2017-11-01 23:20 ` Florian Fainelli
  0 siblings, 0 replies; 24+ messages in thread
From: Florian Fainelli @ 2017-11-01 23:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, Matt Mackall, Herbert Xu, Rob Herring,
	Mark Rutland, Ray Jui, Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE, open list:OP

Hi,

This patch series adds support for the RNG200 block found on the BCM7278 SoC.
This requires us to update the compatible string (and associated binding
document) as well as the Kconfig option to make that driver selectable with
ARCH_BRCMSTB gating the enabling of such SoCs.

Thank you

Florian Fainelli (2):
  dt-bindings: rng: Document BCM7278 RNG200 compatible
  hwrng: iproc-rng200: Add support for BCM7278

 Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 4 +++-
 drivers/char/hw_random/Kconfig                              | 6 +++---
 drivers/char/hw_random/iproc-rng200.c                       | 1 +
 3 files changed, 7 insertions(+), 4 deletions(-)

-- 
2.9.3

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

* [PATCH 0/2] hwrng: iproc-rng200: Add support for BCM7278
@ 2017-11-01 23:20 ` Florian Fainelli
  0 siblings, 0 replies; 24+ messages in thread
From: Florian Fainelli @ 2017-11-01 23:20 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

This patch series adds support for the RNG200 block found on the BCM7278 SoC.
This requires us to update the compatible string (and associated binding
document) as well as the Kconfig option to make that driver selectable with
ARCH_BRCMSTB gating the enabling of such SoCs.

Thank you

Florian Fainelli (2):
  dt-bindings: rng: Document BCM7278 RNG200 compatible
  hwrng: iproc-rng200: Add support for BCM7278

 Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 4 +++-
 drivers/char/hw_random/Kconfig                              | 6 +++---
 drivers/char/hw_random/iproc-rng200.c                       | 1 +
 3 files changed, 7 insertions(+), 4 deletions(-)

-- 
2.9.3

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

* [PATCH 1/2] dt-bindings: rng: Document BCM7278 RNG200 compatible
  2017-11-01 23:20 ` Florian Fainelli
  (?)
  (?)
@ 2017-11-01 23:20     ` Florian Fainelli
  -1 siblings, 0 replies; 24+ messages in thread
From: Florian Fainelli @ 2017-11-01 23:20 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Florian Fainelli, Matt Mackall, Herbert Xu, Rob Herring,
	Mark Rutland, Ray Jui, Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE,
	devicetree-u79uwXL29TY76Z2rM5mHXA

BCM7278 includes a RGN200 hardware random number generator, document the
compatible string for that version of the IP.

Signed-off-by: Florian Fainelli <f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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

--
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

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

* [PATCH 1/2] dt-bindings: rng: Document BCM7278 RNG200 compatible
@ 2017-11-01 23:20     ` Florian Fainelli
  0 siblings, 0 replies; 24+ messages in thread
From: Florian Fainelli @ 2017-11-01 23:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, Matt Mackall, Herbert Xu, Rob Herring,
	Mark Rutland, Ray Jui, Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:BROADCOM IPROC ARM ARCHITECTURE

BCM7278 includes a RGN200 hardware random number generator, document the
compatible string for that version of the IP.

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

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

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

* [PATCH 1/2] dt-bindings: rng: Document BCM7278 RNG200 compatible
@ 2017-11-01 23:20     ` Florian Fainelli
  0 siblings, 0 replies; 24+ messages in thread
From: Florian Fainelli @ 2017-11-01 23:20 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Florian Fainelli, Matt Mackall, Herbert Xu, Rob Herring,
	Mark Rutland, Ray Jui, Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE, open list:OP

BCM7278 includes a RGN200 hardware random number generator, document the
compatible string for that version of the IP.

Signed-off-by: Florian Fainelli <f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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

--
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

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

* [PATCH 1/2] dt-bindings: rng: Document BCM7278 RNG200 compatible
@ 2017-11-01 23:20     ` Florian Fainelli
  0 siblings, 0 replies; 24+ messages in thread
From: Florian Fainelli @ 2017-11-01 23:20 UTC (permalink / raw)
  To: linux-arm-kernel

BCM7278 includes a RGN200 hardware random number generator, document the
compatible string for that version of the IP.

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

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

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

* [PATCH 2/2] hwrng: iproc-rng200: Add support for BCM7278
  2017-11-01 23:20 ` Florian Fainelli
  (?)
  (?)
@ 2017-11-01 23:20   ` Florian Fainelli
  -1 siblings, 0 replies; 24+ messages in thread
From: Florian Fainelli @ 2017-11-01 23:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, Matt Mackall, Herbert Xu, Rob Herring,
	Mark Rutland, Ray Jui, Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE, devicetree

BCM7278 features a RNG200 hardware random number generator block, add
support for this chip by matching the chip-specific compatible string
and extending the Kconfig dependencies to allow building on ARCH_BRCMSTB
(base platform for 7278).

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 drivers/char/hw_random/Kconfig        | 6 +++---
 drivers/char/hw_random/iproc-rng200.c | 1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 95a031e9eced..f6e3e5abc117 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -100,12 +100,12 @@ config HW_RANDOM_BCM2835
 	  If unsure, say Y.
 
 config HW_RANDOM_IPROC_RNG200
-	tristate "Broadcom iProc RNG200 support"
-	depends on ARCH_BCM_IPROC
+	tristate "Broadcom iProc/STB RNG200 support"
+	depends on ARCH_BCM_IPROC || ARCH_BRCMSTB
 	default HW_RANDOM
 	---help---
 	  This driver provides kernel-side support for the RNG200
-	  hardware found on the Broadcom iProc SoCs.
+	  hardware found on the Broadcom iProc and STB SoCs.
 
 	  To compile this driver as a module, choose M here: the
 	  module will be called iproc-rng200
diff --git a/drivers/char/hw_random/iproc-rng200.c b/drivers/char/hw_random/iproc-rng200.c
index 3eaf7cb96d36..8b5a20b35293 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,bcm7278-rng200", },
 	{ .compatible = "brcm,iproc-rng200", },
 	{},
 };
-- 
2.9.3

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

* [PATCH 2/2] hwrng: iproc-rng200: Add support for BCM7278
@ 2017-11-01 23:20   ` Florian Fainelli
  0 siblings, 0 replies; 24+ messages in thread
From: Florian Fainelli @ 2017-11-01 23:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, Matt Mackall, Herbert Xu, Rob Herring,
	Mark Rutland, Ray Jui, Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:BROADCOM IPROC ARM ARCHITECTURE

BCM7278 features a RNG200 hardware random number generator block, add
support for this chip by matching the chip-specific compatible string
and extending the Kconfig dependencies to allow building on ARCH_BRCMSTB
(base platform for 7278).

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 drivers/char/hw_random/Kconfig        | 6 +++---
 drivers/char/hw_random/iproc-rng200.c | 1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 95a031e9eced..f6e3e5abc117 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -100,12 +100,12 @@ config HW_RANDOM_BCM2835
 	  If unsure, say Y.
 
 config HW_RANDOM_IPROC_RNG200
-	tristate "Broadcom iProc RNG200 support"
-	depends on ARCH_BCM_IPROC
+	tristate "Broadcom iProc/STB RNG200 support"
+	depends on ARCH_BCM_IPROC || ARCH_BRCMSTB
 	default HW_RANDOM
 	---help---
 	  This driver provides kernel-side support for the RNG200
-	  hardware found on the Broadcom iProc SoCs.
+	  hardware found on the Broadcom iProc and STB SoCs.
 
 	  To compile this driver as a module, choose M here: the
 	  module will be called iproc-rng200
diff --git a/drivers/char/hw_random/iproc-rng200.c b/drivers/char/hw_random/iproc-rng200.c
index 3eaf7cb96d36..8b5a20b35293 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,bcm7278-rng200", },
 	{ .compatible = "brcm,iproc-rng200", },
 	{},
 };
-- 
2.9.3

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

* [PATCH 2/2] hwrng: iproc-rng200: Add support for BCM7278
@ 2017-11-01 23:20   ` Florian Fainelli
  0 siblings, 0 replies; 24+ messages in thread
From: Florian Fainelli @ 2017-11-01 23:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: Florian Fainelli, Matt Mackall, Herbert Xu, Rob Herring,
	Mark Rutland, Ray Jui, Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE, open list:OP

BCM7278 features a RNG200 hardware random number generator block, add
support for this chip by matching the chip-specific compatible string
and extending the Kconfig dependencies to allow building on ARCH_BRCMSTB
(base platform for 7278).

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 drivers/char/hw_random/Kconfig        | 6 +++---
 drivers/char/hw_random/iproc-rng200.c | 1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 95a031e9eced..f6e3e5abc117 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -100,12 +100,12 @@ config HW_RANDOM_BCM2835
 	  If unsure, say Y.
 
 config HW_RANDOM_IPROC_RNG200
-	tristate "Broadcom iProc RNG200 support"
-	depends on ARCH_BCM_IPROC
+	tristate "Broadcom iProc/STB RNG200 support"
+	depends on ARCH_BCM_IPROC || ARCH_BRCMSTB
 	default HW_RANDOM
 	---help---
 	  This driver provides kernel-side support for the RNG200
-	  hardware found on the Broadcom iProc SoCs.
+	  hardware found on the Broadcom iProc and STB SoCs.
 
 	  To compile this driver as a module, choose M here: the
 	  module will be called iproc-rng200
diff --git a/drivers/char/hw_random/iproc-rng200.c b/drivers/char/hw_random/iproc-rng200.c
index 3eaf7cb96d36..8b5a20b35293 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,bcm7278-rng200", },
 	{ .compatible = "brcm,iproc-rng200", },
 	{},
 };
-- 
2.9.3

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

* [PATCH 2/2] hwrng: iproc-rng200: Add support for BCM7278
@ 2017-11-01 23:20   ` Florian Fainelli
  0 siblings, 0 replies; 24+ messages in thread
From: Florian Fainelli @ 2017-11-01 23:20 UTC (permalink / raw)
  To: linux-arm-kernel

BCM7278 features a RNG200 hardware random number generator block, add
support for this chip by matching the chip-specific compatible string
and extending the Kconfig dependencies to allow building on ARCH_BRCMSTB
(base platform for 7278).

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 drivers/char/hw_random/Kconfig        | 6 +++---
 drivers/char/hw_random/iproc-rng200.c | 1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig
index 95a031e9eced..f6e3e5abc117 100644
--- a/drivers/char/hw_random/Kconfig
+++ b/drivers/char/hw_random/Kconfig
@@ -100,12 +100,12 @@ config HW_RANDOM_BCM2835
 	  If unsure, say Y.
 
 config HW_RANDOM_IPROC_RNG200
-	tristate "Broadcom iProc RNG200 support"
-	depends on ARCH_BCM_IPROC
+	tristate "Broadcom iProc/STB RNG200 support"
+	depends on ARCH_BCM_IPROC || ARCH_BRCMSTB
 	default HW_RANDOM
 	---help---
 	  This driver provides kernel-side support for the RNG200
-	  hardware found on the Broadcom iProc SoCs.
+	  hardware found on the Broadcom iProc and STB SoCs.
 
 	  To compile this driver as a module, choose M here: the
 	  module will be called iproc-rng200
diff --git a/drivers/char/hw_random/iproc-rng200.c b/drivers/char/hw_random/iproc-rng200.c
index 3eaf7cb96d36..8b5a20b35293 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,bcm7278-rng200", },
 	{ .compatible = "brcm,iproc-rng200", },
 	{},
 };
-- 
2.9.3

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

* Re: [PATCH 0/2] hwrng: iproc-rng200: Add support for BCM7278
  2017-11-01 23:20 ` Florian Fainelli
  (?)
  (?)
@ 2017-11-02 19:35     ` Scott Branden
  -1 siblings, 0 replies; 24+ messages in thread
From: Scott Branden @ 2017-11-02 19:35 UTC (permalink / raw)
  To: Florian Fainelli, linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Matt Mackall, Herbert Xu, Rob Herring, Mark Rutland, Ray Jui,
	Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

Patch series looks fine.


On 17-11-01 04:20 PM, Florian Fainelli wrote:
> Hi,
>
> This patch series adds support for the RNG200 block found on the BCM7278 SoC.
> This requires us to update the compatible string (and associated binding
> document) as well as the Kconfig option to make that driver selectable with
> ARCH_BRCMSTB gating the enabling of such SoCs.
>
> Thank you
>
> Florian Fainelli (2):
>    dt-bindings: rng: Document BCM7278 RNG200 compatible
>    hwrng: iproc-rng200: Add support for BCM7278
>
>   Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 4 +++-
>   drivers/char/hw_random/Kconfig                              | 6 +++---
>   drivers/char/hw_random/iproc-rng200.c                       | 1 +
>   3 files changed, 7 insertions(+), 4 deletions(-)
>
Acked-by: Scott Branden <scott.branden-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
--
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

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

* Re: [PATCH 0/2] hwrng: iproc-rng200: Add support for BCM7278
@ 2017-11-02 19:35     ` Scott Branden
  0 siblings, 0 replies; 24+ messages in thread
From: Scott Branden @ 2017-11-02 19:35 UTC (permalink / raw)
  To: Florian Fainelli, linux-kernel
  Cc: Matt Mackall, Herbert Xu, Rob Herring, Mark Rutland, Ray Jui,
	Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:BROADCOM IPROC ARM ARCHITECTURE

Patch series looks fine.


On 17-11-01 04:20 PM, Florian Fainelli wrote:
> Hi,
>
> This patch series adds support for the RNG200 block found on the BCM7278 SoC.
> This requires us to update the compatible string (and associated binding
> document) as well as the Kconfig option to make that driver selectable with
> ARCH_BRCMSTB gating the enabling of such SoCs.
>
> Thank you
>
> Florian Fainelli (2):
>    dt-bindings: rng: Document BCM7278 RNG200 compatible
>    hwrng: iproc-rng200: Add support for BCM7278
>
>   Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 4 +++-
>   drivers/char/hw_random/Kconfig                              | 6 +++---
>   drivers/char/hw_random/iproc-rng200.c                       | 1 +
>   3 files changed, 7 insertions(+), 4 deletions(-)
>
Acked-by: Scott Branden <scott.branden@broadcom.com>

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

* Re: [PATCH 0/2] hwrng: iproc-rng200: Add support for BCM7278
@ 2017-11-02 19:35     ` Scott Branden
  0 siblings, 0 replies; 24+ messages in thread
From: Scott Branden @ 2017-11-02 19:35 UTC (permalink / raw)
  To: Florian Fainelli, linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Matt Mackall, Herbert Xu, Rob Herring, Mark Rutland, Ray Jui,
	Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

Patch series looks fine.


On 17-11-01 04:20 PM, Florian Fainelli wrote:
> Hi,
>
> This patch series adds support for the RNG200 block found on the BCM7278 SoC.
> This requires us to update the compatible string (and associated binding
> document) as well as the Kconfig option to make that driver selectable with
> ARCH_BRCMSTB gating the enabling of such SoCs.
>
> Thank you
>
> Florian Fainelli (2):
>    dt-bindings: rng: Document BCM7278 RNG200 compatible
>    hwrng: iproc-rng200: Add support for BCM7278
>
>   Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 4 +++-
>   drivers/char/hw_random/Kconfig                              | 6 +++---
>   drivers/char/hw_random/iproc-rng200.c                       | 1 +
>   3 files changed, 7 insertions(+), 4 deletions(-)
>
Acked-by: Scott Branden <scott.branden-dY08KVG/lbpWk0Htik3J/w@public.gmane.org>
--
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

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

* [PATCH 0/2] hwrng: iproc-rng200: Add support for BCM7278
@ 2017-11-02 19:35     ` Scott Branden
  0 siblings, 0 replies; 24+ messages in thread
From: Scott Branden @ 2017-11-02 19:35 UTC (permalink / raw)
  To: linux-arm-kernel

Patch series looks fine.


On 17-11-01 04:20 PM, Florian Fainelli wrote:
> Hi,
>
> This patch series adds support for the RNG200 block found on the BCM7278 SoC.
> This requires us to update the compatible string (and associated binding
> document) as well as the Kconfig option to make that driver selectable with
> ARCH_BRCMSTB gating the enabling of such SoCs.
>
> Thank you
>
> Florian Fainelli (2):
>    dt-bindings: rng: Document BCM7278 RNG200 compatible
>    hwrng: iproc-rng200: Add support for BCM7278
>
>   Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 4 +++-
>   drivers/char/hw_random/Kconfig                              | 6 +++---
>   drivers/char/hw_random/iproc-rng200.c                       | 1 +
>   3 files changed, 7 insertions(+), 4 deletions(-)
>
Acked-by: Scott Branden <scott.branden@broadcom.com>

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

* Re: [PATCH 1/2] dt-bindings: rng: Document BCM7278 RNG200 compatible
  2017-11-01 23:20     ` Florian Fainelli
  (?)
  (?)
@ 2017-11-06 20:26       ` Rob Herring
  -1 siblings, 0 replies; 24+ messages in thread
From: Rob Herring @ 2017-11-06 20:26 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: linux-kernel, Matt Mackall, Herbert Xu, Mark Rutland, Ray Jui,
	Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

On Wed, Nov 01, 2017 at 04:20:05PM -0700, Florian Fainelli wrote:
> BCM7278 includes a RGN200 hardware random number generator, document the
> compatible string for that version of the IP.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
>  Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

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

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

* Re: [PATCH 1/2] dt-bindings: rng: Document BCM7278 RNG200 compatible
@ 2017-11-06 20:26       ` Rob Herring
  0 siblings, 0 replies; 24+ messages in thread
From: Rob Herring @ 2017-11-06 20:26 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: linux-kernel, Matt Mackall, Herbert Xu, Mark Rutland, Ray Jui,
	Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:BROADCOM IPROC ARM ARCHITECTURE

On Wed, Nov 01, 2017 at 04:20:05PM -0700, Florian Fainelli wrote:
> BCM7278 includes a RGN200 hardware random number generator, document the
> compatible string for that version of the IP.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
>  Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

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

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

* Re: [PATCH 1/2] dt-bindings: rng: Document BCM7278 RNG200 compatible
@ 2017-11-06 20:26       ` Rob Herring
  0 siblings, 0 replies; 24+ messages in thread
From: Rob Herring @ 2017-11-06 20:26 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: linux-kernel, Matt Mackall, Herbert Xu, Mark Rutland, Ray Jui,
	Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

On Wed, Nov 01, 2017 at 04:20:05PM -0700, Florian Fainelli wrote:
> BCM7278 includes a RGN200 hardware random number generator, document the
> compatible string for that version of the IP.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
>  Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

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

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

* [PATCH 1/2] dt-bindings: rng: Document BCM7278 RNG200 compatible
@ 2017-11-06 20:26       ` Rob Herring
  0 siblings, 0 replies; 24+ messages in thread
From: Rob Herring @ 2017-11-06 20:26 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Nov 01, 2017 at 04:20:05PM -0700, Florian Fainelli wrote:
> BCM7278 includes a RGN200 hardware random number generator, document the
> compatible string for that version of the IP.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
> ---
>  Documentation/devicetree/bindings/rng/brcm,iproc-rng200.txt | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

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

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

* Re: [PATCH 0/2] hwrng: iproc-rng200: Add support for BCM7278
  2017-11-01 23:20 ` Florian Fainelli
  (?)
  (?)
@ 2017-11-10 11:36   ` Herbert Xu
  -1 siblings, 0 replies; 24+ messages in thread
From: Herbert Xu @ 2017-11-10 11:36 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: linux-kernel, Matt Mackall, Rob Herring, Mark Rutland, Ray Jui,
	Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

On Wed, Nov 01, 2017 at 04:20:04PM -0700, Florian Fainelli wrote:
> Hi,
> 
> This patch series adds support for the RNG200 block found on the BCM7278 SoC.
> This requires us to update the compatible string (and associated binding
> document) as well as the Kconfig option to make that driver selectable with
> ARCH_BRCMSTB gating the enabling of such SoCs.
> 
> Thank you
> 
> Florian Fainelli (2):
>   dt-bindings: rng: Document BCM7278 RNG200 compatible
>   hwrng: iproc-rng200: Add support for BCM7278

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] 24+ messages in thread

* Re: [PATCH 0/2] hwrng: iproc-rng200: Add support for BCM7278
@ 2017-11-10 11:36   ` Herbert Xu
  0 siblings, 0 replies; 24+ messages in thread
From: Herbert Xu @ 2017-11-10 11:36 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: linux-kernel, Matt Mackall, Rob Herring, Mark Rutland, Ray Jui,
	Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	moderated list:BROADCOM IPROC ARM ARCHITECTURE

On Wed, Nov 01, 2017 at 04:20:04PM -0700, Florian Fainelli wrote:
> Hi,
> 
> This patch series adds support for the RNG200 block found on the BCM7278 SoC.
> This requires us to update the compatible string (and associated binding
> document) as well as the Kconfig option to make that driver selectable with
> ARCH_BRCMSTB gating the enabling of such SoCs.
> 
> Thank you
> 
> Florian Fainelli (2):
>   dt-bindings: rng: Document BCM7278 RNG200 compatible
>   hwrng: iproc-rng200: Add support for BCM7278

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] 24+ messages in thread

* Re: [PATCH 0/2] hwrng: iproc-rng200: Add support for BCM7278
@ 2017-11-10 11:36   ` Herbert Xu
  0 siblings, 0 replies; 24+ messages in thread
From: Herbert Xu @ 2017-11-10 11:36 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: linux-kernel, Matt Mackall, Rob Herring, Mark Rutland, Ray Jui,
	Scott Branden, Jon Mason,
	maintainer:BROADCOM IPROC ARM ARCHITECTURE,
	PrasannaKumar Muralidharan, Sean Wang, Russell King,
	Krzysztof Kozlowski, Harald Freudenberger, Martin Kaiser,
	open list:HARDWARE RANDOM NUMBER GENERATOR CORE,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

On Wed, Nov 01, 2017 at 04:20:04PM -0700, Florian Fainelli wrote:
> Hi,
> 
> This patch series adds support for the RNG200 block found on the BCM7278 SoC.
> This requires us to update the compatible string (and associated binding
> document) as well as the Kconfig option to make that driver selectable with
> ARCH_BRCMSTB gating the enabling of such SoCs.
> 
> Thank you
> 
> Florian Fainelli (2):
>   dt-bindings: rng: Document BCM7278 RNG200 compatible
>   hwrng: iproc-rng200: Add support for BCM7278

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] 24+ messages in thread

* [PATCH 0/2] hwrng: iproc-rng200: Add support for BCM7278
@ 2017-11-10 11:36   ` Herbert Xu
  0 siblings, 0 replies; 24+ messages in thread
From: Herbert Xu @ 2017-11-10 11:36 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Nov 01, 2017 at 04:20:04PM -0700, Florian Fainelli wrote:
> Hi,
> 
> This patch series adds support for the RNG200 block found on the BCM7278 SoC.
> This requires us to update the compatible string (and associated binding
> document) as well as the Kconfig option to make that driver selectable with
> ARCH_BRCMSTB gating the enabling of such SoCs.
> 
> Thank you
> 
> Florian Fainelli (2):
>   dt-bindings: rng: Document BCM7278 RNG200 compatible
>   hwrng: iproc-rng200: Add support for BCM7278

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] 24+ messages in thread

end of thread, other threads:[~2017-11-10 11:39 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-01 23:20 [PATCH 0/2] hwrng: iproc-rng200: Add support for BCM7278 Florian Fainelli
2017-11-01 23:20 ` Florian Fainelli
2017-11-01 23:20 ` Florian Fainelli
2017-11-01 23:20 ` Florian Fainelli
     [not found] ` <20171101232006.3943-1-f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-11-01 23:20   ` [PATCH 1/2] dt-bindings: rng: Document BCM7278 RNG200 compatible Florian Fainelli
2017-11-01 23:20     ` Florian Fainelli
2017-11-01 23:20     ` Florian Fainelli
2017-11-01 23:20     ` Florian Fainelli
2017-11-06 20:26     ` Rob Herring
2017-11-06 20:26       ` Rob Herring
2017-11-06 20:26       ` Rob Herring
2017-11-06 20:26       ` Rob Herring
2017-11-02 19:35   ` [PATCH 0/2] hwrng: iproc-rng200: Add support for BCM7278 Scott Branden
2017-11-02 19:35     ` Scott Branden
2017-11-02 19:35     ` Scott Branden
2017-11-02 19:35     ` Scott Branden
2017-11-01 23:20 ` [PATCH 2/2] " Florian Fainelli
2017-11-01 23:20   ` Florian Fainelli
2017-11-01 23:20   ` Florian Fainelli
2017-11-01 23:20   ` Florian Fainelli
2017-11-10 11:36 ` [PATCH 0/2] " Herbert Xu
2017-11-10 11:36   ` Herbert Xu
2017-11-10 11:36   ` Herbert Xu
2017-11-10 11:36   ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.