diff mbox series

[4/5] rockchip: rk3399: Enable CONFIG_RNG_ROCKCHIP

Message ID 20200331094001.13441-4-troy.lin@rock-chips.com
State Accepted
Commit df35df3e8d6ccb1e4179fcab440f52204218524e
Headers show
Series [1/5] arm: dts: rockchip: rk3399: add and enable rng node | expand

Commit Message

Lin Jinhan March 31, 2020, 9:40 a.m. UTC
CONFIG_RNG_ROCKCHIP/CONFIG_DM_RNG is enabled.

Signed-off-by: Lin Jinhan <troy.lin at rock-chips.com>
---
 configs/evb-rk3399_defconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Peter Robinson March 31, 2020, 2:37 p.m. UTC | #1
On Tue, Mar 31, 2020 at 12:36 PM Lin Jinhan <troy.lin at rock-chips.com> wrote:
>
> CONFIG_RNG_ROCKCHIP/CONFIG_DM_RNG is enabled.

This should be universally available by default on all rk3399 devices
shouldn't it or does it need external regulators or something that is
per device? If so shouldn't we just enable it by default for the SoC?

> Signed-off-by: Lin Jinhan <troy.lin at rock-chips.com>
> ---
>  configs/evb-rk3399_defconfig | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
> index 3f74be3b3c..7f14e18b1b 100644
> --- a/configs/evb-rk3399_defconfig
> +++ b/configs/evb-rk3399_defconfig
> @@ -39,6 +39,8 @@ CONFIG_PMIC_RK8XX=y
>  CONFIG_REGULATOR_PWM=y
>  CONFIG_REGULATOR_RK8XX=y
>  CONFIG_PWM_ROCKCHIP=y
> +CONFIG_DM_RNG=y
> +CONFIG_RNG_ROCKCHIP=y
>  CONFIG_BAUDRATE=1500000
>  CONFIG_DEBUG_UART_SHIFT=2
>  CONFIG_SYSRESET=y
> --
> 2.17.1
>
>
>
diff mbox series

Patch

diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
index 3f74be3b3c..7f14e18b1b 100644
--- a/configs/evb-rk3399_defconfig
+++ b/configs/evb-rk3399_defconfig
@@ -39,6 +39,8 @@  CONFIG_PMIC_RK8XX=y
 CONFIG_REGULATOR_PWM=y
 CONFIG_REGULATOR_RK8XX=y
 CONFIG_PWM_ROCKCHIP=y
+CONFIG_DM_RNG=y
+CONFIG_RNG_ROCKCHIP=y
 CONFIG_BAUDRATE=1500000
 CONFIG_DEBUG_UART_SHIFT=2
 CONFIG_SYSRESET=y