From 93c2123adf6be5294d6c8b2583c499bb50c3cc59 Mon Sep 17 00:00:00 2001 From: "Ye.Li" Date: Sun, 1 Feb 2015 21:58:42 +0800 Subject: MLK-10176-3 imx: mx7: Add clock support Since a new CCM with clock root slice is introduced in mx7. Provide several APIs for configuring root slice in clock_slice.c Implement clock/PLL relevant functions for modules in mx7d to enable/disable/set/get clocks or PLLs. From mx7d, the clocks are initialized in function "void clock_init(void)", such as UART, USDHC, ECSPI, USB, WDOG, WEIM. These module don't have clock setting functions in driver and BSP, and assume the clock is setup before entering into u-boot. Because default root clock is 24Mhz OSC, we have to setup these default clocks. Signed-off-by: Peng Fan Signed-off-by: Ye.Li (cherry picked from commit 73b511503aef9675e58baadc0639d59c8395bcb4) --- arch/arm/cpu/armv7/mx7/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 arch/arm/cpu/armv7/mx7/Makefile (limited to 'arch/arm/cpu/armv7/mx7/Makefile') diff --git a/arch/arm/cpu/armv7/mx7/Makefile b/arch/arm/cpu/armv7/mx7/Makefile new file mode 100644 index 0000000..fee1ba5 --- /dev/null +++ b/arch/arm/cpu/armv7/mx7/Makefile @@ -0,0 +1,8 @@ +# +# (C) Copyright 2014-2015 Freescale Semiconductor, Inc. +# +# SPDX-License-Identifier: GPL-2.0+ +# +# + +obj-y := clock.o clock_slice.o -- cgit v1.1