diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2017-02-13 09:38:56 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-03-16 22:03:43 (GMT) |
commit | 5ae2fd97242d4eea97aeabe8801bb8592b37a8fe (patch) | |
tree | ef81d978357c082ea9f6d6601fcfa8e2edc63747 /arch/arm/include/asm/arch-rockchip/cru_rk3399.h | |
parent | fa72de10452c51ee32f8278cdfabd38a6aafc7f8 (diff) | |
download | u-boot-5ae2fd97242d4eea97aeabe8801bb8592b37a8fe.tar.xz |
rockchip: clk: rk3399: update driver for spl
Add ddr clock setting, add rockchip_get_pmucru API,
and enable of-platdata support.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Added rockchip tag and fix pmuclk_init() build warning:
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/include/asm/arch-rockchip/cru_rk3399.h')
-rw-r--r-- | arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/cru_rk3399.h b/arch/arm/include/asm/arch-rockchip/cru_rk3399.h index 98fba2b..cf830d0 100644 --- a/arch/arm/include/asm/arch-rockchip/cru_rk3399.h +++ b/arch/arm/include/asm/arch-rockchip/cru_rk3399.h @@ -15,6 +15,11 @@ struct rk3399_clk_priv { ulong rate; }; +struct rk3399_pmuclk_priv { + struct rk3399_pmucru *pmucru; + ulong rate; +}; + struct rk3399_pmucru { u32 ppll_con[6]; u32 reserved[0x1a]; |