Martin Kaiser b9957fc944 hwrng: imx-rngc - check the rng type
Read the rng type and hardware revision during probe. Fail the probe
operation if the type is not one of rngc or rngb.
(There's also an rnga type, which needs a different driver.)

Display the type and revision in a debug print if probe was successful.

Reviewed-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-03-12 23:00:15 +11:00
..
2020-01-22 10:46:51 +02:00
2018-06-05 11:24:55 -07:00
2019-06-09 09:11:21 +02:00
2020-01-30 06:58:33 +01:00
2019-11-20 15:09:48 +01:00
2019-11-13 19:08:22 +08:00
2019-08-16 11:33:56 -07:00