]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: qcom-rng - Add ACPI support
authorTimur Tabi <timur@codeaurora.org>
Mon, 16 Jul 2018 05:50:27 +0000 (11:20 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Jul 2018 11:04:32 +0000 (19:04 +0800)
commit34775b517ef141f8dda03383a96516e2af59bcd1
tree7184ae3765e30c408dfe82280659cba060e0d911
parent0558256db275ed49d0b3a088d81680fe0d1a33d8
crypto: qcom-rng - Add ACPI support

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 <timur@codeaurora.org>
Tested-by: Jeffrey Hugo <jhugo@codeaurora.org>
[port to crypto API]
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qcom-rng.c