Module Name: src Committed By: riastradh Date: Sun May 17 19:57:25 UTC 2020
Modified Files: src/sys/arch/arm/dts: rk3399-pinebook-pro.dts rk3399-rockpro64.dts src/sys/arch/arm/rockchip: files.rockchip rk3399_cru.c src/sys/arch/evbarm/conf: GENERIC64 Added Files: src/sys/arch/arm/dts: rk3399-crypto.dtsi src/sys/arch/arm/rockchip: rk_v1crypto.c rk_v1crypto.h Log Message: Rockchip crypto engine RNG driver. As found on the rk3288 and rk3399. This driver only supports the TRNG, not the rest of the crypto engine, although it uses the AES unit to do a self-test at attach time to verify that the engine works. There seem to be two versions of the Rockchip crypto engine, v1 and v2; this one is for v1. Can't name a driver `rkcryptov1' so we'll clumsily call it `rkv1crypto' instead to leave room for `rkv2crypto' later on. The crypto binding derived from the Rockchip BSP Linux kernel, in the location it appears on the rk3399, is in rk3399-crypto.dtsi, since there doesn't seem to be a better place to put it at the moment among this twisty maze of inclusions, all different. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/dts/rk3399-crypto.dtsi cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/dts/rk3399-pinebook-pro.dts cvs rdiff -u -r1.10 -r1.11 src/sys/arch/arm/dts/rk3399-rockpro64.dts cvs rdiff -u -r1.23 -r1.24 src/sys/arch/arm/rockchip/files.rockchip cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/rockchip/rk3399_cru.c cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/rockchip/rk_v1crypto.c \ src/sys/arch/arm/rockchip/rk_v1crypto.h cvs rdiff -u -r1.157 -r1.158 src/sys/arch/evbarm/conf/GENERIC64 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.