imx: imx7d: clock control module support
authorAdrian Alonso <aalonso@freescale.com>
Wed, 2 Sep 2015 18:54:18 +0000 (13:54 -0500)
committerStefano Babic <sbabic@denx.de>
Sun, 13 Sep 2015 08:11:53 +0000 (10:11 +0200)
commit7bebc4b04e3499412b459753214c1b4c4bf532dc
tree2b3f28ad349daf94574b299185a19ff5aa7fcec8
parentb1d902a9f7f9b4de82f88b82cbb6daa4118e9788
imx: imx7d: clock control module support

* Add Clock control module (CCM) support
* iMX7D SoC introduces 3 main clock sysmtem abstraction for clock
  root frequency generation denominated clock slices.
  Core clock slice: hihg speed clock for ARM core
  Bus clock slice: for bus clocks
  IP clock slice: Peripheral clocks
* At system boot ROM enables PLL_ARM, PLL_DDR, PLL_SYS, PLL_ENET
  In u-boot, we have to:
  - Configure PFD3- PFD7 for freq we needed in u-boot
  - Set clock root for peripherals (ip channel)

Signed-off-by: Adrian Alonso <aalonso@freescale.com>
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Signed-off-by: Ye.Li <B37916@freescale.com>
arch/arm/cpu/armv7/mx7/clock.c [new file with mode: 0644]
arch/arm/cpu/armv7/mx7/clock_slice.c [new file with mode: 0644]
arch/arm/include/asm/arch-mx7/clock.h [new file with mode: 0644]
arch/arm/include/asm/arch-mx7/clock_slice.h [new file with mode: 0644]