OSDN Git Service

hwrng: iproc-rng200 - Add support for 7211
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 10 May 2019 17:31:11 +0000 (10:31 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 20 Jun 2019 06:18:32 +0000 (14:18 +0800)
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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/iproc-rng200.c

index 8b5a20b..92be1c0 100644 (file)
@@ -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", },
        {},