[PATCH v3 07/12] ARM: EXYNOS: add interrupt definitions for EXYNOS5250
Kukjin Kim
kgene.kim at samsung.com
Wed Mar 14 02:32:14 EDT 2012
On 03/13/12 22:27, Thomas Abraham wrote:
> On 13 March 2012 21:00, Kukjin Kim<kgene.kim at samsung.com> wrote:
>> ARM: EXYNOS: irqs.h for exynos4 and exynos5 - WIP
>> This patch adds the interrupt definitions for EXYNOS5250 at
>> <mach/irqs.h> file. Basically, now it is needed for EXYNOS5250
>> interrupt and will be updated for single zImage next time.
>>
>> Signed-off-by: Kukjin Kim<kgene.kim at samsung.com>
>> ---
>> arch/arm/mach-exynos/common.c | 97 ++++--
>> arch/arm/mach-exynos/dev-ahci.c | 4 +-
>> arch/arm/mach-exynos/dev-audio.c | 4 +-
>> arch/arm/mach-exynos/include/mach/irqs.h | 580 ++++++++++++++++++++++--------
>> arch/arm/mach-exynos/mct.c | 23 +-
>> arch/arm/plat-s5p/irq-pm.c | 25 +-
>> arch/arm/plat-samsung/irq-vic-timer.c | 16 +
>> 7 files changed, 548 insertions(+), 201 deletions(-)
>>
>> diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
>> index 7fdb139..0b53018 100644
>> --- a/arch/arm/mach-exynos/common.c
>
>
> [...]
>
>> for (irq = 0 ; irq<= 15 ; irq++) {
>> eint0_15_data[irq] = IRQ_EINT(irq);
>>
>> - irq_set_handler_data(exynos4_get_irq_nr(irq),
>> -&eint0_15_data[irq]);
>> - irq_set_chained_handler(exynos4_get_irq_nr(irq),
>> + if (soc_is_exynos5250()) {
>> + irq_set_handler_data(exynos4_eint0_15_src_int[irq],
>> +&eint0_15_data[irq]);
>> + irq_set_chained_handler(exynos4_eint0_15_src_int[irq],
>> + exynos4_irq_eint0_15);
>> + } else {
>> + irq_set_handler_data(exynos5_eint0_15_src_int[irq],
>> +&eint0_15_data[irq]);
>> + irq_set_chained_handler(exynos5_eint0_15_src_int[irq],
>> exynos4_irq_eint0_15);
>> + }
>> }
>
> The external interrupt numbers for Exynos4 and Exynos5 have been
> swapped. This needs to be fixed.
>
Oops again :-( let me fix it.
Thanks, Thomas.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
More information about the linux-arm-kernel
mailing list