Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: crypto: fsl-dcp: add imx6sl and imx6ull compatible

Currently the dtbs_check for imx6 generates warnings like this:

'fsl,imx6sl-dcp' is not one of ['fsl,imx23-dcp', 'fsl,imx28-dcp']
['fsl,imx6sl-dcp', 'fsl,imx28-dcp'] is too long

or

'fsl,imx6ull-dcp' is not one of ['fsl,imx23-dcp', 'fsl,imx28-dcp']
['fsl,imx6ull-dcp', 'fsl,imx28-dcp'] is too long

So add them to the devicetree binding.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230530100843.15072-2-stefan.wahren@i2se.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Stefan Wahren and committed by
Rob Herring
a2c6326c ce294330

+9 -3
+9 -3
Documentation/devicetree/bindings/crypto/fsl-dcp.yaml
··· 11 11 12 12 properties: 13 13 compatible: 14 - enum: 15 - - fsl,imx23-dcp 16 - - fsl,imx28-dcp 14 + oneOf: 15 + - enum: 16 + - fsl,imx23-dcp 17 + - fsl,imx28-dcp 18 + - items: 19 + - enum: 20 + - fsl,imx6sl-dcp 21 + - fsl,imx6ull-dcp 22 + - const: fsl,imx28-dcp 17 23 18 24 reg: 19 25 maxItems: 1