Skip to contentSkip to conversation

at91: fixes for 3.7-rc3

GIT PULL Nicolas Ferre 3 participants 4 messages Oct 25, 2012 – Oct 27, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Arnd, Olof,

This is the first Atmel AT91 "fixes" update for the 3.7 kernel.

The following changes since commit 6f0c0580b70c89094b3422ba81118c7b959c7556:

Linux 3.7-rc2 (2012-10-20 12:11:32 -0700)

are available in the git repository at:

git://github.com/at91linux/linux-at91.git tags/at91-fixes

for you to fetch changes up to 08d04a135a1c2e24c4d4bc7bbafee5e0e58f80c6:

ARM: at91: drop duplicated config SOC_AT91SAM9 entry (2012-10-24 18:08:48 +0200)

----------------------------------------------------------------
A mix of typos and critical fixes.
The most important ones are a duplicated definition of a Kconfig variable and the handling of external interrupts for non-DT case. The new at91sam9g10 was suffering a recognition issue due to an ID
mis-interpreted: this was leading to a kernel panic.

----------------------------------------------------------------
Bo Shen (2):
ARM: at91/i2c: change id to let i2c-gpio work
ARM: at91/i2c: change id to let i2c-at91 work

Ivan Shugov (1):
ARM: at91: at91sam9g10: fix SOC type detection

Jean-Christophe PLAGNIOL-VILLARD (1):
ARM: at91: drop duplicated config SOC_AT91SAM9 entry

Josh Wu (1):
ARM: at91/tc: fix typo in the DT document

Marek Belisko (1):
ARM: at91/dts: at91sam9g20ek_common: Fix typos in buttons labels.

Nicolas Ferre (2):
ARM: at91: fix external interrupts in non-DT case
ARM: at91: fix external interrupt specification in board code

 Documentation/devicetree/bindings/arm/atmel-at91.txt |  2 +-
 arch/arm/boot/dts/at91sam9g20ek_common.dtsi          |  4 ++--
 arch/arm/mach-at91/Kconfig                           | 10 ++--------
 arch/arm/mach-at91/at91rm9200.c                      |  2 +-
 arch/arm/mach-at91/at91rm9200_devices.c              |  4 ++--
 arch/arm/mach-at91/at91sam9260.c                     |  4 ++--
 arch/arm/mach-at91/at91sam9260_devices.c             |  4 ++--
 arch/arm/mach-at91/at91sam9261.c                     |  4 ++--
 arch/arm/mach-at91/at91sam9261_devices.c             |  4 ++--
 arch/arm/mach-at91/at91sam9263.c                     |  2 +-
 arch/arm/mach-at91/at91sam9263_devices.c             |  4 ++--
 arch/arm/mach-at91/at91sam9rl_devices.c              |  4 ++--
 arch/arm/mach-at91/board-neocore926.c                |  2 +-
 arch/arm/mach-at91/board-sam9261ek.c                 |  2 +-
 arch/arm/mach-at91/board-sam9263ek.c                 |  2 +-
 arch/arm/mach-at91/generic.h                         |  3 ++-
 arch/arm/mach-at91/irq.c                             |  9 +++++++--
 arch/arm/mach-at91/setup.c                           |  4 ++--
 18 files changed, 35 insertions(+), 35 deletions(-)

Thanks, best regards,

Signature · 1 line
Nicolas Ferre
#1 lore raw
Quoted 4 lines · Nicolas Ferre

Arnd, Olof,

This is the first Atmel AT91 "fixes" update for the 3.7 kernel.

Quoted 8 lines

The following changes since commit 6f0c0580b70c89094b3422ba81118c7b959c7556:

Linux 3.7-rc2 (2012-10-20 12:11:32 -0700)

are available in the git repository at:

git://github.com/at91linux/linux-at91.git tags/at91-fixes

Pulled into fixes branch now, thanks!

Arnd

#2 lore raw
In reply to Nicolas Ferre
Quoted 1 line · Nicolas Ferre

ARM: at91: fix external interrupts in non-DT case

This patch now leads to build errors with at91x40_defconfig, which I've fixed up by applying the patch below on top.

Please yell if this is not the right fix.

Arnd

commit 3a8852afde01682083028ee427e0678f9bbddd75

Author: Arnd Bergmann <[email protected]>
Date:   Fri Oct 26 22:49:09 2012 +0200

ARM: at91: fix at91x40 build

patch 738a0fd7 "ARM: at91: fix external interrupts in non-DT case" fixed a run-time error on some at91 platforms but did not apply the same change to at91x40, which now doesn't build.

This changes at91x40 in the same way that the other platforms were changed.

arch/arm/mach-at91/at91x40.c +1 -1
index 6bd7300..bb7f544 100644
@@ -88,6 +88,6 @@ void __init at91x40_init_interrupts(unsigned int priority[NR_AIC_IRQS])
 	if (!priority)
 		priority = at91x40_default_irq_priority;
 
-	at91_aic_init(priority);
+	at91_aic_init(priority, at91_extern_irq);
 }
 
#3 lore raw
Quoted 16 lines · Arnd Bergmann
Quoted 1 line · Nicolas Ferre

ARM: at91: fix external interrupts in non-DT case

This patch now leads to build errors with at91x40_defconfig, which I've fixed up by applying the patch below on top.

Please yell if this is not the right fix.

Arnd

commit 3a8852afde01682083028ee427e0678f9bbddd75

Author: Arnd Bergmann <[email protected]>
Date:   Fri Oct 26 22:49:09 2012 +0200

ARM: at91: fix at91x40 build

Quoted 8 lines

patch 738a0fd7 "ARM: at91: fix external interrupts in non-DT case" fixed a run-time error on some at91 platforms but did not apply the same change to at91x40, which now doesn't build.

This changes at91x40 in the same way that the other platforms were changed.

Best Regards,
J.