From: Fabio Estevam Date: Mon, 25 Sep 2023 11:12:19 +0000 (-0300) Subject: dt-bindings: crypto: fsl-imx-sahara: Document the clocks X-Git-Tag: v6.7-rc1~91^2~198 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dcd7a8961c99aab619f1efdf2c2f94f0e0ecbc34;p=thirdparty%2Fkernel%2Flinux.git dt-bindings: crypto: fsl-imx-sahara: Document the clocks Describe the clocks (ipg and ahb) needed by Sahara block to operate. Signed-off-by: Fabio Estevam Reviewed-by: Krzysztof Kozlowski Signed-off-by: Herbert Xu --- diff --git a/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml b/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml index bad82491cd6ac..9dbfc15510a81 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-imx-sahara.yaml @@ -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 + 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"; };