1. 21 9月, 2007 4 次提交
    • M
      sh: intc - fix IRQ4 and IRQ5 typo on sh3 · 137b53b7
      Magnus Damm 提交于
      The intc tables for sh3 currently contain a typo where the bit
      fields in IPRD are mixed up for IRQ4 and IRQ5. This patch makes
      sure the correct bit fields are used - all according to the
      datasheets.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      137b53b7
    • M
      sh: intc - add missing vectors for SH7707 · 1301e715
      Magnus Damm 提交于
      This patch adds a few missing vectors for sh7707. The only interrupt
      controller differences between sh7707 and sh7709 seem to be added
      vectors for one LCD controller and two PCMCIA slots.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      1301e715
    • M
      sh: intc - add support for SH7706, SH7707, SH7708, SH7709 · ec58f1f3
      Magnus Damm 提交于
      This patch unifies the cpu specific interrupt setup code for
      sh7706, sh7707, sh7708 and sh7709 and moves the code into a new
      file called setup-sh770x.c.  It makes sense to share the setup code
      between these processors because most hardware blocks are identical
      from a software point of view. With this patch the sh770x processors
      now have a complete set of vectors that match with the information
      provided by the data sheets. This is a big improvement for sh7708.
      
      Vectors for IRQ4 and IRQ5 are enabled by default. Use
      plat_irq_setup_pins() if pins IRQ0-3 should be used in IRQ mode.
      
      This patch also unifies the platform device setup code which means
      that the rtc driver now has platform data for all sh770x processors.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      ec58f1f3
    • M
      sh: intc - add support for SH7705 · 70e8be0a
      Magnus Damm 提交于
      This patch converts the cpu specific interrupt setup code for
      sh7705 from ipr to intc. While at it new vectors are added to
      match the information provided by the datasheet.
      
      Vectors for IRQ4 and IRQ5 are enabled by default.
      
      Use plat_irq_setup_pins() if pins IRQ0-3 should be used in IRQ mode.
      
      This patch also adds sh7705 specific platform data for the rtc driver.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      70e8be0a
  2. 20 7月, 2007 1 次提交
  3. 15 6月, 2007 1 次提交
    • M
      sh: rework ipr code · 68abdbbb
      Magnus Damm 提交于
      This patch reworks the ipr code by grouping the offset array together
      with the ipr_data structure in a new data structure called ipr_desc.
      This new structure also contains the name of the controller in struct
      irq_chip. The idea behind putting struct irq_chip in there is that we
      can use offsetof() to locate the base addresses in the irq_chip
      callbacks. This strategy has much in common with the recently merged
      intc2 code.
      
      One logic change has been made - the original ipr code enabled the
      interrupts by default but with this patch they are all disabled by
      default.
      Signed-off-by: NMagnus Damm <damm@igel.co.jp>
      Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
      68abdbbb
  4. 07 5月, 2007 1 次提交
  5. 27 9月, 2006 1 次提交