Re: [PATCH] ARM: OMAP2+: wakeupgen: AM43x adaptation

2013-10-09 Thread Afzal Mohammed
Hi Tony, On Wednesday 09 October 2013 02:54 AM, Tony Lindgren wrote: > * Afzal Mohammed [130905 04:03]: >> -#define MAX_NR_REG_BANKS5 >> -#define MAX_IRQS160 >> +/* maximum value correspond to that of AM43x */ >> +#define MAX_NR_REG_BANKS7 >> +#define MAX_IRQS224

Re: [PATCH] ARM: OMAP2+: wakeupgen: AM43x adaptation

2013-10-08 Thread Tony Lindgren
Hi, Few minor comments below. * Afzal Mohammed [130905 04:03]: > AM43x has 224 interrupts and 7 banks, make it as maximum values. Keep > default values as earlier, if am43x is detected, update interrupts and > banks to maximum. > > Also AM43x has only one cpu, ensure that clearing bitmask at wa

[PATCH] ARM: OMAP2+: wakeupgen: AM43x adaptation

2013-09-05 Thread Afzal Mohammed
AM43x has 224 interrupts and 7 banks, make it as maximum values. Keep default values as earlier, if am43x is detected, update interrupts and banks to maximum. Also AM43x has only one cpu, ensure that clearing bitmask at wakeupgen is done only for the single existing cpu, existing code assumes that