Re: [U-Boot] [PATCH v2 07/13] sunxi: add clock code for H6

2018-07-24 Thread Maxime Ripard
On Sat, Jul 21, 2018 at 04:20:26PM +0800, Icenowy Zheng wrote: > The new Allwinner H6 SoC has a brand new CCU layout. > > Add clock code for it. > > Signed-off-by: Icenowy Zheng Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engi

[U-Boot] [PATCH v2 07/13] sunxi: add clock code for H6

2018-07-21 Thread Icenowy Zheng
The new Allwinner H6 SoC has a brand new CCU layout. Add clock code for it. Signed-off-by: Icenowy Zheng --- Changes in v2: - Move the /4 divider in clk_get_pll6() to prevent possible overflow. arch/arm/include/asm/arch-sunxi/clock.h | 2 + .../include/asm/arch-sunxi/clock_sun50i_h6.h