]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
crypto: caam - Added clocks and clock-names properties to SEC4.0 device tree binding
authorVictoria Milhoan <vicki.milhoan@freescale.com>
Wed, 5 Aug 2015 18:28:42 +0000 (11:28 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Aug 2015 15:19:01 +0000 (23:19 +0800)
The clocks and clock-names properties describe input clocks that may be
required for enablement of CAAM.

Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com>
Tested-by: Horia Geantă <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/devicetree/bindings/crypto/fsl-sec4.txt

index e4022776ac6e361c47a6564b4d03477835571d0d..100307304766e0e6c0e5205824e1b8e031fd2b6f 100644 (file)
@@ -106,6 +106,18 @@ PROPERTIES
           to the interrupt parent to which the child domain
           is being mapped.
 
+   - clocks
+      Usage: required if SEC 4.0 requires explicit enablement of clocks
+      Value type: <prop_encoded-array>
+      Definition:  A list of phandle and clock specifier pairs describing
+          the clocks required for enabling and disabling SEC 4.0.
+
+   - clock-names
+      Usage: required if SEC 4.0 requires explicit enablement of clocks
+      Value type: <string>
+      Definition: A list of clock name strings in the same order as the
+          clocks property.
+
    Note: All other standard properties (see the ePAPR) are allowed
    but are optional.
 
@@ -120,6 +132,11 @@ EXAMPLE
                ranges = <0 0x300000 0x10000>;
                interrupt-parent = <&mpic>;
                interrupts = <92 2>;
+               clocks = <&clks IMX6QDL_CLK_CAAM_MEM>,
+                        <&clks IMX6QDL_CLK_CAAM_ACLK>,
+                        <&clks IMX6QDL_CLK_CAAM_IPG>,
+                        <&clks IMX6QDL_CLK_EIM_SLOW>;
+               clock-names = "mem", "aclk", "ipg", "emi_slow";
        };
 
 =====================================================================