]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: shmobile: r8a7778: split r8a7778_init_irq_extpin() for DT
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 2 Oct 2013 08:31:40 +0000 (01:31 -0700)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 8 Oct 2013 00:29:16 +0000 (09:29 +0900)
commitf564244fb14e0b8b3d8268efbac2e9506644c19f
tree650b081ad8bcf83531f5d98099458d3010f8285f
parent77df55c66da2ad45ad18111194d192011dbeffb9
ARM: shmobile: r8a7778: split r8a7778_init_irq_extpin() for DT

r8a7778 INTC needs IRL pin mode settings to determine
behavior of IRQ0 - IRQ3, and r8a7778_init_irq_extpin()
is controlling it via irlm parameter.
But this function registers renesas_intc_irqpin driver
if irlm was set, and this value depends on platform.
This is not good for DT.
This patch splits r8a7778_init_irq_extpin() function
into "mode settings" and "funtion register" parts.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/include/mach/r8a7778.h
arch/arm/mach-shmobile/setup-r8a7778.c