dt-bindings: imx-rng: Allow passing only "fsl,imx31-rnga"
Subsystems (4)
Fabio Estevam
reviewerPATCH 1/1 dt-bindings: imx-rng: Allow passing only "fsl,imx31-rnga"
From: Fabio Estevam <[email protected]>
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
--- Documentation/devicetree/bindings/rng/imx-rng.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/rng/imx-rng.yaml +1 -1
@@ -14,8 +14,8 @@ properties: oneOf: - const: fsl,imx21-rnga - const: fsl,imx25-rngb + - const: fsl,imx31-rnga - items: - - const: fsl,imx31-rnga - const: fsl,imx21-rnga - items: - enum:
Signature · 1 line
2.34.1
Quoted 15 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
On
imx31.dtsithe 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
Quoted 5 lines
Signed-off-by Fabio Estevam <[email protected]>--- Documentation/devicetree/bindings/rng/imx-rng.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Herbert Xu
maintainerQuoted 15 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
On
imx31.dtsithe 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
Quoted 4 lines
Signed-off-by Fabio Estevam <[email protected]>--- Documentation/devicetree/bindings/rng/imx-rng.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt