dt-bindings: crypto: Convert Atmel SHA to yaml
authorTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 11 Feb 2022 09:39:22 +0000 (11:39 +0200)
committerRob Herring <robh@kernel.org>
Thu, 17 Feb 2022 23:29:06 +0000 (17:29 -0600)
commit44c75c9e3d08b430a9f002a087f2da255909b8ff
tree299233a40892ec7629fdb7997b20d7db977f2eb0
parentd63b583f681e7999fde293142f6cbc0f2a766b64
dt-bindings: crypto: Convert Atmel SHA to yaml

Convert Atmel SHA documentation to yaml format. With the conversion the
clock and clock-names properties are made mandatory. The driver returns
-EINVAL if "sha_clk" is not found, reflect that in the bindings and make
the clock and clock-names properties mandatory. Update the example to
better describe how one should define the dt node.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220211093922.456634-4-tudor.ambarus@microchip.com
Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/crypto/atmel-crypto.txt [deleted file]