Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) Imagination Technologies hardware hash accelerator
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) The hash accelerator provides hardware hashing acceleration for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) SHA1, SHA224, SHA256 and MD5 hashes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) - compatible : "img,hash-accelerator"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) - reg : Offset and length of the register set for the module, and the DMA port
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - interrupts : The designated IRQ line for the hashing module.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - dmas : DMA specifier as per Documentation/devicetree/bindings/dma/dma.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - dma-names : Should be "tx"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - clocks : Clock specifiers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - clock-names : "sys" Used to clock the hash block registers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 		"hash" Used to clock data through the accelerator
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	hash: hash@18149600 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	compatible = "img,hash-accelerator";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 		reg = <0x18149600 0x100>, <0x18101100 0x4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 		interrupts = <GIC_SHARED 59 IRQ_TYPE_LEVEL_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 		dmas = <&dma 8 0xffffffff 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 		dma-names = "tx";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 		clocks = <&cr_periph SYS_CLK_HASH>, <&clk_periph PERIPH_CLK_ROM>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 		clock-names = "sys", "hash";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	};