rockchip: rng: add trngv1 for rk3588
authorChris Morgan <macromorgan@hotmail.com>
Thu, 13 Apr 2023 14:13:02 +0000 (09:13 -0500)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 21 Apr 2023 07:16:01 +0000 (15:16 +0800)
commit5891282bf399b073eb747269117732a7de2845ed
treedb9a3cae21c64f69f3abe590d40f4478deccda3e
parent45717d6efd7ad3acc4a49490746221bae00d7c15
rockchip: rng: add trngv1 for rk3588

This adds support for the TRNG found in the RK3588 SoC to the
rockchip_rng driver so that it can be used for things such as
seeding randomness to Linux.

Changes in V3:
 - Moved notes from commit to cover letter.
 - Added Reviewed-By tag.

Changes in V2:
 - Modified Kconfig to note that the Rockchip RNG driver supports all
   versions of the hardware (v1, v2, and the trng in the rk3588).

Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/rng/Kconfig
drivers/rng/rockchip_rng.c