summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2023-05-30 12:08:42 +0200
committerRob Herring <robh@kernel.org>2023-06-12 13:31:21 -0600
commita2c6326c8b9de219bc77188e188ae9baa8299b8a (patch)
treebb178cf027e6a3fd302f1e2ec370c62d7db5c25d /Documentation/devicetree/bindings/crypto/fsl-dcp.yaml
parentce294330ebdd8b4696b4480e4fdb9f10c010f8ab (diff)
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>
Diffstat (limited to 'Documentation/devicetree/bindings/crypto/fsl-dcp.yaml')
-rw-r--r--Documentation/devicetree/bindings/crypto/fsl-dcp.yaml12
1 files changed, 9 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml b/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml
index 99be01539fcd..8dd36c2f76fd 100644
--- a/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml
+++ b/Documentation/devicetree/bindings/crypto/fsl-dcp.yaml
@@ -11,9 +11,15 @@ maintainers:
properties:
compatible:
- enum:
- - fsl,imx23-dcp
- - fsl,imx28-dcp
+ oneOf:
+ - enum:
+ - fsl,imx23-dcp
+ - fsl,imx28-dcp
+ - items:
+ - enum:
+ - fsl,imx6sl-dcp
+ - fsl,imx6ull-dcp
+ - const: fsl,imx28-dcp
reg:
maxItems: 1