- 08 Aug, 2013 1 commit
-
-
Fabio Estevam authored
Fix the following sparse warning: drivers/clk/mxs/clk-imx23.c:102:12: warning: symbol 'mx23_clocks_init' was not declared. Should it be static? Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Acked-by:
Shawn Guo <shawn.guo@linaro.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
- 01 Apr, 2013 4 commits
-
-
Shawn Guo authored
It removes the use of mach level IO accessor __mxs_setl/clrl, and hence removes mach header inclusion from clock driver. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org> Acked-by:
Mike Turquette <mturquette@linaro.org>
-
Shawn Guo authored
Instead of using the static definitions, get clkctrl and digctl base addresses with mapping from device tree. Use macro on variable is not nice, but it's done here to save huge pointless diff stat. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org> Acked-by:
Mike Turquette <mturquette@linaro.org>
-
Shawn Guo authored
Change call clk_get_sys() to of_clk_get() to look up timrot clock from device tree, so that the clk_register_clkdev() call for timrot can be saved in clock driver. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org>
-
Shawn Guo authored
Select CLKSRC_OF and use clocksource_of_init() to initialize timer, so that the call to mxs_timer_init() in clock driver can be removed. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org>
-
- 16 Jan, 2013 1 commit
-
-
Fabio Estevam authored
Fix the following warnings when building with W=1 option: drivers/clk/mxs/clk-imx23.c: In function 'mx23_clocks_init': drivers/clk/mxs/clk-imx23.c:149:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] drivers/clk/mxs/clk-imx23.c:165:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ... drivers/clk/mxs/clk-imx28.c: In function 'mx28_clocks_init': drivers/clk/mxs/clk-imx28.c:227:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] drivers/clk/mxs/clk-imx28.c:244:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Acked-by:
Shawn Guo <shawn.guo@linaro.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
- 16 Nov, 2012 1 commit
-
-
Fabio Estevam authored
Use a better name for the USB PHY clock. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by:
Shawn Guo <shawn.guo@linaro.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
- 11 Sep, 2012 1 commit
-
-
Shawn Guo authored
It really becomes a maintenance issue that every time a device needs to look up (clk_get) a clock we have to patch kernel clock file to call clk_register_clkdev for that clock. Since clock DT support which is meant to resolve clock lookup in device tree is in place, the patch moves imx23 client devices' clock lookup over to device tree, so that any new lookup to be added at later time can just get done in DT instead of kernel. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org>
-
- 03 Sep, 2012 1 commit
-
-
Shawn Guo authored
Rather than using the static timer irq definition, we should retrieve timer irq from device tree for better. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org>
-
- 27 Jun, 2012 2 commits
-
-
Shawn Guo authored
Add pwm clock lookup for imx23 and imx28 booting from device tree. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org>
-
Fabio Estevam authored
The correct name for the GPMI clock is 'gpmi-nand'. Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Acked-by:
Marek Vasut <marex@denx.de> Signed-off-by:
Shawn Guo <shawn.guo@linaro.org>
-
- 25 Jun, 2012 1 commit
-
-
Marc Kleine-Budde authored
The struct clk_lookup are marked as __initdata, resulting in being removed from memory after the kernel finished booting. However this leads to a NULL pointer de-ref if loading a module which uses clk_get. This patch removes the __initdata from the struct clk_lookup. Signed-off-by:
Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by:
Shawn Guo <shawn.guo@linaro.org> Signed-off-by:
Mike Turquette <mturquette@linaro.org>
-
- 13 May, 2012 1 commit
-
-
Shawn Guo authored
The register HW_SSP_VERSION is broken for ssp version detection, as the address of the register is different between imx23 and imx28. Let's use platform_device_id to detect the device, so that the use of cpu_is_xxx can be removed. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org> Acked-by:
Chris Ball <cjb@laptop.org>
-
- 12 May, 2012 2 commits
-
-
Shawn Guo authored
Rewrite mxs_dma_is_apbh and mxs_dma_is_apbx in order to support other SoCs like imx6q and reform the platform_device_id for the better further dt support. Cc: Dan Williams <dan.j.williams@intel.com> Cc: Sascha Hauer <s.hauer@pengutronix.de> Cc: Huang Shijie <b32955@freescale.com> Signed-off-by:
Dong Aisheng <dong.aisheng@linaro.org> Signed-off-by:
Shawn Guo <shawn.guo@linaro.org> Acked-by:
Marek Vasut <marex@denx.de> Acked-by:
Vinod Koul <vinod.koul@intel.com>
-
Shawn Guo authored
It adds initial device tree support for imx23-evk board, and only serial console is enabled. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org> Acked-by:
Marek Vasut <marex@denx.de>
-
- 08 May, 2012 2 commits
-
-
Shawn Guo authored
With old mxs clock support removed, the timer_clk argument of mxs_timer_init is unused now, so remove it. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org>
-
Shawn Guo authored
Add imx23 clock support based on common clk framework. Signed-off-by:
Shawn Guo <shawn.guo@linaro.org>
-