dt-bindings: rng: Document Freescale i.MX21 and i.MX31 RNGA compatibles

Freescale i.MX21 and i.MX31 SoCs contain a Random Number Generator
Accelerator module (RNGA), which is replaced by RNGB and RNGC modules
on later i.MX SoC series, the change adds a new compatible property
to describe the controller.

Since all versions of Freescale RNG modules are legacy, apparently
the documentation file has no more potential for further extensions,
nevertheless generalize it by removing explicit RNGC specifics.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Vladimir Zapolskiy 2018-03-06 00:20:59 +02:00 committed by Herbert Xu
parent 91a2abb78f
commit 9885b1bd95
1 changed files with 5 additions and 6 deletions
Documentation/devicetree/bindings/rng

View File

@ -1,15 +1,14 @@
Freescale RNGC (Random Number Generator Version C) Freescale RNGA/RNGB/RNGC (Random Number Generator Versions A, B and C)
The driver also supports version B, which is mostly compatible
to version C.
Required properties: Required properties:
- compatible : should be one of - compatible : should be one of
"fsl,imx21-rnga"
"fsl,imx31-rnga" (backward compatible with "fsl,imx21-rnga")
"fsl,imx25-rngb" "fsl,imx25-rngb"
"fsl,imx35-rngc" "fsl,imx35-rngc"
- reg : offset and length of the register set of this block - reg : offset and length of the register set of this block
- interrupts : the interrupt number for the RNGC block - interrupts : the interrupt number for the RNG block
- clocks : the RNGC clk source - clocks : the RNG clk source
Example: Example: