Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: DT: qcom: Add Qualcomm crypto driver binding document

Here is Qualcomm crypto driver device tree binding documentation
to used as a reference example.

Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Stanimir Varbanov and committed by
Herbert Xu
14748d7c c672752d

+25
+25
Documentation/devicetree/bindings/crypto/qcom-qce.txt
··· 1 + Qualcomm crypto engine driver 2 + 3 + Required properties: 4 + 5 + - compatible : should be "qcom,crypto-v5.1" 6 + - reg : specifies base physical address and size of the registers map 7 + - clocks : phandle to clock-controller plus clock-specifier pair 8 + - clock-names : "iface" clocks register interface 9 + "bus" clocks data transfer interface 10 + "core" clocks rest of the crypto block 11 + - dmas : DMA specifiers for tx and rx dma channels. For more see 12 + Documentation/devicetree/bindings/dma/dma.txt 13 + - dma-names : DMA request names should be "rx" and "tx" 14 + 15 + Example: 16 + crypto@fd45a000 { 17 + compatible = "qcom,crypto-v5.1"; 18 + reg = <0xfd45a000 0x6000>; 19 + clocks = <&gcc GCC_CE2_AHB_CLK>, 20 + <&gcc GCC_CE2_AXI_CLK>, 21 + <&gcc GCC_CE2_CLK>; 22 + clock-names = "iface", "bus", "core"; 23 + dmas = <&cryptobam 2>, <&cryptobam 3>; 24 + dma-names = "rx", "tx"; 25 + };