summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clk-imx25.c
Commit message (Collapse)AuthorAgeFilesLines
* resource: Let dev_request_mem_region return an error pointerSascha Hauer2014-09-161-0/+2
| | | | | | For all users fix or add the error check. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX25: Fix LCDC clocksSascha Hauer2014-02-101-6/+21
| | | | | | | | | | | | | - Make sure the LCDC ipg clock is turned off during startup - register all LCDC clocks (ahb, ipg, per) and pass them to driver This is necessary because the LCDC doesn't have an enable bit. It just starts working once the clocks are turned on. If the registers have invalid values at that time the controller goes into some error state. So we have to make sure the clocks are turned off during startup and only turned on in the driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX25: Add missing GPT clock lookupsSascha Hauer2014-01-311-0/+3
| | | | | | | | Only one GPT will be used, but with devicetree support we can't predict which one it is, so we need the clock lookup for all GPTs to ensure that the timer gets its clock. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ARM: i.MX: Make timer available earlierSascha Hauer2013-06-181-1/+1
| | | | | | | | This moves the CCM drivers to core_initcall since this has no dependencies. This way we can be sure that the clock for the clocksource is available in at postcore_initcall time. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i.MX21/27: don't enable lcd bus clocks too earlyDaniel Mierswa2013-01-171-0/+2
| | | | | | | | | | | | | | | | On the MX27 based board phycard-i.MX27 the display won't properly come up. Before removing imx-regs.h and the code that sets the register in the i.MX video driver, the PCCR registers were set _after_ the screen start (LSSAR) was set. This restores that old behaviour and makes the display come up properly again. I did not have a chance to test this on any other i.MX27 or i.MX21 hardware though I assume that the "old" order is required there too. Signed-off-by: Daniel Mierswa <d.mierswa@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/clk' into for-next/imxSascha Hauer2012-10-171-1/+3
|\ | | | | | | | | Conflicts: drivers/net/fec_imx.c
| * ARM i.MX25: Add lcdc per gateSascha Hauer2012-10-101-1/+3
| | | | | | | | | | | | | | This gate is used to enable/disable the lcd controller, hence we need a gate for it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/imx-dt' into for-next/imxSascha Hauer2012-10-171-0/+9
|\ \ | |/ |/|
| * ARM i.MX: Add devicetree support to the ccm driversSascha Hauer2012-10-051-0/+9
| | | | | | | | | | | | This adds the compatible strings to the CCM drivers. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | ARM i.MX25: Enable all needed clocks during startupSascha Hauer2012-10-101-3/+13
|/ | | | | | | | | | | | | | This enables the following clocks on i.MX25: PER: esdhc1, esdhc2, i2c, nfc, owire, pwm, uart AHB: emi, esdhc1, esdhc2, fec, lcdc, usbotg IPG: cspi1, cspi2, cspi3, esdhc1, esdhc2, fec, gpt1, gpt2, gpt3, gpt4, iim, LCDC_EN, pwm1, pwm2, pwm3, pwm4, spba, tsc, uart1, uart2, uart3, uart4, uart5 These are hopefully all the clocks we need for barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/imx-clk'Sascha Hauer2012-10-041-1/+1
|
* ARM i.MX25: Switch to common clk supportSascha Hauer2012-10-041-0/+154
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>