Merge tag 'JH7110_515_SDK_v3.5.1' from sdk into vf2-515-devel
[platform/kernel/linux-starfive.git] / drivers / char / hw_random / Kconfig
index 3f166c8..32ada41 100644 (file)
@@ -524,6 +524,31 @@ config HW_RANDOM_XIPHERA
          To compile this driver as a module, choose M here: the
          module will be called xiphera-trng.
 
+config HW_RANDOM_ARM_SMCCC_TRNG
+       tristate "Arm SMCCC TRNG firmware interface support"
+       depends on HAVE_ARM_SMCCC_DISCOVERY
+       default HW_RANDOM
+       help
+         Say 'Y' to enable the True Random Number Generator driver using
+         the Arm SMCCC TRNG firmware interface. This reads entropy from
+         higher exception levels (firmware, hypervisor). Uses SMCCC for
+         communicating with the firmware:
+         https://developer.arm.com/documentation/den0098/latest/
+
+         To compile this driver as a module, choose M here: the
+         module will be called arm_smccc_trng.
+
+config HW_RANDOM_STARFIVE
+       tristate "Starfive True Random Number Generator support"
+       depends on SOC_STARFIVE
+       depends on HW_RANDOM
+       help
+         This driver provides kernel-side support for the Random Number
+         Generator hardware found on Starfive SoCs.
+
+         To compile this driver as a module, choose M here: the
+         module will be called starfive-trng.
+
 endif # HW_RANDOM
 
 config UML_RANDOM