summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mach-imx6q.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'imx/fix-irqdomain' of ↵Arnd Bergmann2011-12-061-4/+5
|\ | | | | | | git://git.linaro.org/people/shawnguo/linux-2.6 into fixes
| * arm/imx: fix irq_base for gpioShawn Guo2011-12-011-3/+2
| | | | | | | | | | | | | | | | | | | | When gpio core dynamically allocate gpio number for a port, it starts from the end of the total range, 0 ~ ARCH_NR_GPIOS. That said, the earlier a port gets probed, the bigger gpio number it gets assigned. To match this, the irq_base for gpio should be assigned from 'MXC_GPIO_IRQ_START + ARCH_NR_GPIOS' decreasingly. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
| * arm/imx: fix return type of callback passed to of_irq_init()Shawn Guo2011-12-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | The of_irq_init() expects the callback passed by .data of of_device_id return 'int' instead of 'void'. This patch fixes it to have irq_init_cb() return the correct value, and in turn have the secondary interrupt controller (gpio in this case) initialized properly and also eliminate the error message 'of_irq_init: children remain, but no parents' which was overlooked before. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
* | ARM: imx6q: move clock register map to machine_desc.map_ioRichard Zhao2011-11-171-0/+1
|/ | | | | | | | map_io is the only place to call iotable_init. Signed-off-by: Richard Zhao <richard.zhao@linaro.org> [shawn.guo: rename imx_clock_map_io() to imx6q_clock_map_io()] Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
* arm/imx6q: add device tree machine supportShawn Guo2011-10-311-0/+84
It adds generic device tree based machine support for imx6q. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>