On 24/04/17 08:54, Antoine Tenart wrote:
> The Inside Secure Safexcel cryptographic engine is found on some Marvell
> SoCs (7k/8k). Document the bindings used by its driver.
>
> Signed-off-by: Antoine Tenart <[email protected]>
> ---
> .../bindings/crypto/inside-secure-safexcel.txt | 27
> ++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
> create mode 100644
> Documentation/devicetree/bindings/crypto/inside-secure-safexcel.txt
>
> diff --git
> a/Documentation/devicetree/bindings/crypto/inside-secure-safexcel.txt
> b/Documentation/devicetree/bindings/crypto/inside-secure-safexcel.txt
> new file mode 100644
> index 000000000000..ff56b9384fcc
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/crypto/inside-secure-safexcel.txt
> @@ -0,0 +1,27 @@
> +Inside Secure SafeXcel cryptographic engine
> +
> +Required properties:
> +- compatible: Should be "inside-secure,safexcel-eip197".
> +- reg: Base physical address of the engine and length of memory mapped
> region.
> +- interrupts: Interrupt numbers for the rings and engine.
> +- interrupt-names: Should be "ring0", "ring1", "ring2", "ring3", "eip",
> "mem".
> +
> +Optional properties:
> +- clocks: Reference to the crypto engine clock.
> +
> +Example:
> +
> + crypto: crypto@800000 {
> + compatible = "inside-secure,safexcel-eip197";
> + reg = <0x800000 0x200000>;
> + interrupts = <GIC_SPI 34 (IRQ_TYPE_EDGE_RISING |
> IRQ_TYPE_LEVEL_HIGH)>,
I'm puzzled. How can the interrupt can be both level *and* edge? That
doesn't make any sense.
Thanks,
M.
--
Jazz is not dead. It just smells funny...