aboutsummaryrefslogtreecommitdiff
path: root/drivers/crypto/qcom-rng.c
AgeCommit message (Collapse)AuthorFilesLines
2018-07-27crypto: qcom-rng - Add ACPI supportTimur Tabi1-3/+17
Add support for probing on ACPI systems, with ACPI HID QCOM8160. On ACPI systems, clocks are always enabled, the PRNG should already be enabled, and the register region is read-only. The driver only verifies that the hardware is already enabled never tries to disable or configure it. Signed-off-by: Timur Tabi <[email protected]> Tested-by: Jeffrey Hugo <[email protected]> [port to crypto API] Signed-off-by: Vinod Koul <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2018-07-27crypto: qcom-rng - Add support for prng-eeVinod Koul1-2/+9
Qcom 8996 and later chips features multiple Execution Environments (EE) and secure world is typically responsible for configuring the prng. Add driver data for qcom,prng as 0 and qcom,prng-ee as 1 and use that to skip initialization routine. Signed-off-by: Vinod Koul <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
2018-07-27crypto: qcom-rng - Add Qcom prng driverVinod Koul1-0/+208
This ports the Qcom prng from older hw_random driver. No change of functionality and move from hw_random to crypto APIs is done. Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Vinod Koul <[email protected]> Signed-off-by: Herbert Xu <[email protected]>