sunxi: clk: add basic clocks for A83T
authorvishnupatekar <vishnupatekar0510@gmail.com>
Sat, 28 Nov 2015 17:07:24 +0000 (01:07 +0800)
committerHans de Goede <hdegoede@redhat.com>
Thu, 10 Dec 2015 14:45:47 +0000 (15:45 +0100)
commitf542948b1e8cd53d6e48e38bae6e305233b9d7a3
tree0b16908f2d880ec1bc591f9a5d4e5884daaa01e4
parent95ab8fee8a5b1782d554be9565584eb29e7da0ce
sunxi: clk: add basic clocks for A83T

Add basic clocks pll1, pll5, and some default values from allwinner u-boot.

Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com>
[hdegoede@redhat.com] Fix PLL6 init to run at 600 MHz instead of 288 MHz,
fixing the mmc support not working
[hdegoede@redhat.com] Fix PLL init code to properly wait for the PLL-s to
stabilize, fixing cold-booting directly from sdcard not working
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/cpu/armv7/sunxi/Makefile
arch/arm/cpu/armv7/sunxi/clock_sun8i_a83t.c [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/clock.h
arch/arm/include/asm/arch-sunxi/clock_sun8i_a83t.h [new file with mode: 0644]