From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kever Yang Date: Mon, 25 May 2020 10:57:45 +0800 Subject: [PATCH] rockchip: enable RNG on RockPro64 In-Reply-To: <20200523121857.93376-1-marcin@juszkiewicz.com.pl> References: <20200523121857.93376-1-marcin@juszkiewicz.com.pl> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Marcin, ??? Could you add a brief commit message for this patch? Thanks, - Kever On 2020/5/23 ??8:18, Marcin Juszkiewicz wrote: > Signed-off-by: Marcin Juszkiewicz > --- > arch/arm/dts/rk3399-rockpro64-u-boot.dtsi | 4 ++++ > configs/rockpro64-rk3399_defconfig | 2 ++ > 2 files changed, 6 insertions(+) > > diff --git arch/arm/dts/rk3399-rockpro64-u-boot.dtsi arch/arm/dts/rk3399-rockpro64-u-boot.dtsi > index deaa3efd39..824ee4e3ce 100644 > --- arch/arm/dts/rk3399-rockpro64-u-boot.dtsi > +++ arch/arm/dts/rk3399-rockpro64-u-boot.dtsi > @@ -23,3 +23,7 @@ > &vdd_log { > regulator-init-microvolt = <950000>; > }; > + > +&rng { > + status = "okay"; > +}; > diff --git configs/rockpro64-rk3399_defconfig configs/rockpro64-rk3399_defconfig > index 53abce0057..04ba151475 100644 > --- configs/rockpro64-rk3399_defconfig > +++ configs/rockpro64-rk3399_defconfig > @@ -43,6 +43,8 @@ CONFIG_REGULATOR_PWM=y > CONFIG_REGULATOR_RK8XX=y > CONFIG_PWM_ROCKCHIP=y > CONFIG_RAM_RK3399_LPDDR4=y > +CONFIG_DM_RNG=y > +CONFIG_RNG_ROCKCHIP=y > CONFIG_BAUDRATE=1500000 > CONFIG_DEBUG_UART_SHIFT=2 > CONFIG_ROCKCHIP_SPI=y