Skip to content
Snippets Groups Projects
Commit 9374d6b4 authored by Fabio Estevam's avatar Fabio Estevam Committed by Herbert Xu
Browse files

dt-bindings: imx-rng: Allow passing only "fsl,imx31-rnga"


On imx31.dtsi the rng compatible string contains "fsl,imx31-rnga" only.

Adjust the binding to accept passing "fsl,imx31-rnga" only.

This fixes the following dt-schema warning:

imx31-lite.dtb: rng@53fb0000: compatible: 'oneOf' conditional failed, one must be fixed:
	['fsl,imx31-rnga'] is too short
	'fsl,imx21-rnga' was expected
	'fsl,imx25-rngb' was expected
	'fsl,imx31-rnga' is not one of ['fsl,imx6sl-rngb', 'fsl,imx6sll-rngb', 'fsl,imx6ull-rngb']
	'fsl,imx35-rngc' was expected

Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
Acked-by: default avatarRob Herring (Arm) <robh@kernel.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 5dd4aa9c
No related branches found
No related tags found
No related merge requests found
...@@ -14,8 +14,8 @@ properties: ...@@ -14,8 +14,8 @@ properties:
oneOf: oneOf:
- const: fsl,imx21-rnga - const: fsl,imx21-rnga
- const: fsl,imx25-rngb - const: fsl,imx25-rngb
- const: fsl,imx31-rnga
- items: - items:
- const: fsl,imx31-rnga
- const: fsl,imx21-rnga - const: fsl,imx21-rnga
- items: - items:
- enum: - enum:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment