Commit dcd7a896 authored by Fabio Estevam's avatar Fabio Estevam Committed by Herbert Xu
Browse files

dt-bindings: crypto: fsl-imx-sahara: Document the clocks



Describe the clocks (ipg and ahb) needed by Sahara block to operate.

Signed-off-by: default avatarFabio Estevam <festevam@denx.de>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 137e6c52
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -21,17 +21,34 @@ properties:
  interrupts:
    maxItems: 1

  clocks:
    items:
      - description: Sahara IPG clock
      - description: Sahara AHB clock

  clock-names:
    items:
      - const: ipg
      - const: ahb

required:
  - compatible
  - reg
  - interrupts
  - clocks
  - clock-names

additionalProperties: false

examples:
  - |
    #include <dt-bindings/clock/imx27-clock.h>

    crypto@10025000 {
        compatible = "fsl,imx27-sahara";
        reg = <0x10025000 0x800>;
        interrupts = <75>;
        clocks = <&clks IMX27_CLK_SAHARA_IPG_GATE>,
                 <&clks IMX27_CLK_SAHARA_AHB_GATE>;
        clock-names = "ipg", "ahb";
    };