]> 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)
commite101cb93aea7ba647199d678034a833fd28ec446
tree7184ae3765e30c408dfe82280659cba060e0d911
parent40cd8251706bb498bd88c65553cecd730b062914
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