diff mbox series

[2/2] hwrng: iproc-rng200: Add support for 7211

Message ID 20190510173112.2196-3-f.fainelli@gmail.com (mailing list archive)
State Mainlined
Commit 1fa6d053b2a53b1979fc12000be41646be379503
Headers show
Series [1/2] dt-bindings: rng: Document BCM7211 RNG compatible string | expand

Commit Message

Florian Fainelli May 10, 2019, 5:31 p.m. UTC
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 mbox series

Patch

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", },
 	{},