rockchip: board: add io-domain init

Change-Id: I073cb6567e8becfdb1be09c7faef3c06b308dc6f
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
Jianqun Xu 2018-12-17 17:56:40 +08:00 committed by Kever Yang
parent 4f43646e36
commit dae202865e
1 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,9 @@
#ifdef CONFIG_DM_DVFS
#include <dvfs.h>
#endif
#ifdef CONFIG_ROCKCHIP_IO_DOMAIN
#include <io-domain.h>
#endif
#ifdef CONFIG_DM_REGULATOR
#include <power/regulator.h>
#endif
@ -232,6 +235,11 @@ int board_init(void)
if (ret)
debug("%s: Cannot enable boot on regulator\n", __func__);
#endif
#ifdef CONFIG_ROCKCHIP_IO_DOMAIN
io_domain_init();
#endif
set_armclk_rate();
#ifdef CONFIG_DM_DVFS