rockchip: Keep clocks enabled when reading rng data
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rng: rockchip_rng: Fix wrong TRNG version error messagedrivers/ | +2 | 1 reply | |
| 2/2 | rng: rockchip_rng: Enable clocks when reading datadrivers/ | +20 | 3 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Quentin Schulz |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] rockchip: Keep clocks enabled when reading rng data
This series fixes an issue reading random data on currently unsupported RK3562, where vendor TF-A blob leave rng related clocks gated preventing the U-Boot rng driver from accessing the rng block.
Uses bulk clock API to enable/disable clocks and is forgiving when enable/disable ops is unimplemented (-ENOSYS) or when clocks is missing from device tree (-ENOENT).
Jonas Karlman (2):
rng: rockchip_rng: Fix wrong TRNG version error message
rng: rockchip_rng: Enable clocks when reading data
drivers/rng/rockchip_rng.c | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-)
Signature · 1 line
2.55.0