Skip to content
  1. Nov 24, 2011
    • Paul Mundt's avatar
    • Magnus Damm's avatar
      ARM: mach-shmobile: SH73A0 external Ethernet fix · 9bcc0a5d
      Magnus Damm authored
      Keep the ZB clock enabled on sh73a0 to allow the BSC
      to access external peripherals hooked up to CS signals.
      
      This is needed to unbreak Ethernet support on sh73a0 boards
      such as AG5EVM and Kota2 together with the following patch:
      
       794d78fe
      
       drivers: sh: late disabling of clocks V2
      
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      9bcc0a5d
    • Magnus Damm's avatar
      ARM: mach-shmobile: AG5EVM GIC Sparse IRQ fix · eded9143
      Magnus Damm authored
      Fix IRQ support on the AG5EVM board. The sh73a0 and the AG5EVM
      board make use of the ARM GIC hardware block as main interrupt
      controller. The following commit changed the default behaviour
      for non-device tree platforms and broke AG5EVM irq support:
      
      f37a53cc
      
       ARM: gic: fix irq_alloc_descs handling for sparse irq
      
      Without this fix the following warning triggers at boot:
      
      NR_IRQS:1024 nr_irqs:1024 1024
      ------------[ cut here ]------------
      WARNING: at arch/arm/common/gic.c:607 gic_init+0x90/0x2e4()
      Cannot allocate irq_descs @ IRQ16, assuming pre-allocated
      [<c000c868>] (unwind_backtrace+0x0/0xe0) from [<c001857c>] (warn_slowpath_commo)
      [<c001857c>] (warn_slowpath_common+0x48/0x60) from [<c00185d8>] (warn_slowpath_)
      [<c00185d8>] (warn_slowpath_fmt+0x2c/0x3c) from [<c029ee08>] (gic_init+0x90/0x2)
      [<c029ee08>] (gic_init+0x90/0x2e4) from [<c029f278>] (sh73a0_init_irq+0x30/0x18)
      [<c029f278>] (sh73a0_init_irq+0x30/0x184) from [<c029c0b4>] (init_IRQ+0x14/0x1c)
      [<c029c0b4>] (init_IRQ+0x14/0x1c) from [<c029a5cc>] (start_kernel+0x15c/0x2b8)
      [<c029a5cc>] (start_kernel+0x15c/0x2b8) from [<4000803c>] (0x4000803c)
      ---[ end trace 1b75b31a2719ed1c ]---
      
      With this fix applied interrupts work as expected.
      
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Acked-by: default avatarRob Herring <rob.herring@calxeda.com>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      eded9143
    • Magnus Damm's avatar
      ARM: mach-shmobile: Kota2 TPU LED platform data · 33661c9e
      Magnus Damm authored
      
      
      This patch updates the Kota2 board support code to
      use the recently merged TPU LED driver whenever
      possible.
      
      The sh73a0 SoC has 5 TPU hardware blocks each with
      4 timer channels which in theory allows a total of
      20 LEDs to be controlled by "leds-renesas-tpu"
      driver instances. The Kota2 board has 4 LEDs connected
      to GPIO pins that also come with TPU pin functions, so
      this patch ties up these 4 LEDS and leaves the remaining
      3 LEDS for the GPIO based LED driver.
      
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      33661c9e
    • Magnus Damm's avatar
      ARM: mach-shmobile: Kota2 GIC Sparse IRQ fix · dcb4ea86
      Magnus Damm authored
      Fix IRQ support on the Kota2 board. The sh73a0 and the Kota2
      board make use of the ARM GIC hardware block as main interrupt
      controller. The following commit changed the default behaviour
      for non-device tree platforms and broke Kota2 irq support:
      
      f37a53cc
      
       ARM: gic: fix irq_alloc_descs handling for sparse irq
      
      Without this fix the following warning triggers at boot:
      
      NR_IRQS:1024 nr_irqs:1024 1024
      ------------[ cut here ]------------
      WARNING: at arch/arm/common/gic.c:607 gic_init+0x90/0x2e4()
      Cannot allocate irq_descs @ IRQ16, assuming pre-allocated
      [<c000c868>] (unwind_backtrace+0x0/0xe0) from [<c001857c>] (warn_slowpath_commo)
      [<c001857c>] (warn_slowpath_common+0x48/0x60) from [<c00185d8>] (warn_slowpath_)
      [<c00185d8>] (warn_slowpath_fmt+0x2c/0x3c) from [<c029ee08>] (gic_init+0x90/0x2)
      [<c029ee08>] (gic_init+0x90/0x2e4) from [<c029f278>] (sh73a0_init_irq+0x30/0x18)
      [<c029f278>] (sh73a0_init_irq+0x30/0x184) from [<c029c0b4>] (init_IRQ+0x14/0x1c)
      [<c029c0b4>] (init_IRQ+0x14/0x1c) from [<c029a5cc>] (start_kernel+0x15c/0x2b8)
      [<c029a5cc>] (start_kernel+0x15c/0x2b8) from [<4000803c>] (0x4000803c)
      ---[ end trace 1b75b31a2719ed1c ]---
      
      With this fix applied interrupts work as expected.
      
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Acked-by: default avatarRob Herring <rob.herring@calxeda.com>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      dcb4ea86
    • Magnus Damm's avatar
      ARM: mach-shmobile: Kota2 PINT fix · 1b6cec8a
      Magnus Damm authored
      
      
      Support PINT on sh73a0 and Kota2 using INTC PINT macros.
      
      With this patch applied the Kota2 ethernet is handled
      through one of the chained sh73a0 PINT interrupt controllers.
      
      sh73a0 PINT support is included in 3.2-rc but the Kota2 board
      code does not make use of this shared code base without this
      patch. Without this patch kota2 on-board ethernet is broken.
      
      Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      1b6cec8a
  2. Nov 18, 2011
  3. Nov 17, 2011
  4. Nov 16, 2011
  5. Nov 15, 2011
  6. Nov 14, 2011