1. 12 Sep, 2012 2 commits
    • Tony Lindgren's avatar
      ARM: OMAP2+: Prepare for irqs.h removal · 7d7e1eba
      Tony Lindgren authored
      
      
      As the interrupts should only be defined in the platform_data, and
      eventually coming from device tree, there's no need to define them
      in header files.
      
      Let's remove the hardcoded references to irqs.h and fix up the includes
      so we don't rely on headers included in irqs.h. Note that we're
      defining OMAP_INTC_START as 0 to the interrupts. This will be needed
      when we enable SPARSE_IRQ. For some drivers we need to add
      #include <plat/cpu.h> for now until these drivers are fixed to
      remove cpu_is_omapxxxx() usage.
      
      While at it, sort som of the includes the standard way, and add
      the trailing commas where they are missing in the related data
      structures.
      
      Note that for drivers/staging/tidspbridge we just define things
      locally.
      
      Cc: Paul Walmsley <paul@pwsan.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      7d7e1eba
    • Tony Lindgren's avatar
      ARM: OMAP2+: Remove hardcoded twl4030 gpio_base, irq_base and irq_end · a940d9a1
      Tony Lindgren authored
      
      
      We can't use hardcoded interrupts for SPARSE_IRQ, and can replace
      the hardcoded gpio_base with twl_gpiochip.base after it's been
      allocated.
      
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      a940d9a1
  2. 10 Sep, 2012 1 commit
  3. 04 Jun, 2012 1 commit
  4. 09 May, 2012 1 commit
  5. 13 Apr, 2012 1 commit
    • Paul Walmsley's avatar
      ARM: OMAP2+: declare file-local functions as static · 8c3d4534
      Paul Walmsley authored
      
      
      Several function declarations used only in the files in which they're
      declared should include the static keyword, but don't:
      
          arch/arm/mach-omap2/serial.c:248:6: warning: symbol 'cmdline_find_option' was not declared. Should it be static?
          arch/arm/mach-omap2/omap-wakeupgen.c:259:6: warning: symbol 'irq_sar_clear' was not declared. Should it be static?
          arch/arm/mach-omap2/board-rx51-peripherals.c:878:27: warning: symbol 'rx51_vibra_data' was not declared. Should it be static?
          arch/arm/mach-omap2/board-rx51-peripherals.c:882:27: warning: symbol 'rx51_audio_data' was not declared. Should it be static?
          arch/arm/mach-omap2/board-omap4panda.c:201:29: warning: symbol 'omap_panda_wlan_data' was not declared. Should it be static?
          arch/arm/mach-omap2/board-omap4panda.c:393:24: warning: symbol 'omap4_panda_dvi_device' was not declared. Should it be static?
          arch/arm/mach-omap2/board-omap4panda.c:403:12: warning: symbol 'omap4_panda_dvi_init' was not declared. Should it be static?
          arch/arm/mach-omap2/board-omap4panda.c:464:6: warning: symbol 'omap4_panda_display_init' was not declared. Should it be static?
          arch/arm/mach-omap2/hsmmc.c:434:6: warning: symbol 'omap_init_hsmmc' was not declared. Should it be static?
          arch/arm/mach-omap2/hwspinlock.c:31:12: warning: symbol 'hwspinlocks_init' was not declared. Should it be static?
          arch/arm/mach-omap1/timer.c:58:12: warning: symbol 'omap1_dm_timer_init' was not declared. Should it be static?
          arch/arm/mach-omap1/fpga.c:90:6: warning: symbol 'innovator_fpga_IRQ_demux' was not declared. Should it be static?
      
      Mark all of these as static.
      
      Thanks to Arnd Bergmann <arnd@arndb.de> for pointing out a typo in the
      original patch description.
      Signed-off-by: default avatarPaul Walmsley <paul@pwsan.com>
      Cc: Govindraj R <govindraj.raja@ti.com>
      Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
      Cc: David Anders <x0132446@ti.com>
      Acked-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      8c3d4534
  6. 29 Mar, 2012 1 commit
  7. 28 Mar, 2012 1 commit
  8. 05 Mar, 2012 1 commit
  9. 24 Feb, 2012 1 commit
  10. 20 Feb, 2012 1 commit
    • Tony Lindgren's avatar
      ARM: OMAP2+: Split omap2_hsmmc_init() to properly support I2C GPIO pins · 3b972bf0
      Tony Lindgren authored
      
      
      Otherwise omap_device_build() and omap_mux related functions
      can't be marked as __init when twl is build as a module.
      
      If a board is using GPIO pins or regulators configured by an
      external chip, such as TWL PMIC on I2C bus, the board must
      mark those MMC controllers as deferred. Additionally both
      omap_hsmmc_init() and omap_hsmmc_late_init() must be called
      by the board.
      
      For MMC controllers using internal GPIO pins for card
      detect and regulators the slots don't need to be marked
      deferred. In this case calling omap_hsmmc_init() is sufficient.
      
      Only mark the MMC slots using gpio_cd or gpio_wd as deferred
      as noted by Igor Grinberg <grinberg@compulab.co.il>.
      
      Note that this patch does not change the behaviour for
      board-4430sdp.c board-omap4panda.c. These boards wrongly
      rely on the omap_hsmmc.c init function callback to configure
      the PMIC GPIO interrupt lines on external chip. If the PMIC
      interrupt lines are not configured during init, they will
      fail.
      Reported-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: default avatarRajendra Nayak <rnayak@ti.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      3b972bf0
  11. 05 Jan, 2012 1 commit
  12. 13 Dec, 2011 2 commits
  13. 17 Nov, 2011 1 commit
  14. 21 Sep, 2011 1 commit
  15. 27 Jul, 2011 1 commit
  16. 05 Jul, 2011 2 commits
  17. 04 Jul, 2011 4 commits
  18. 14 Jun, 2011 1 commit
  19. 01 Jun, 2011 2 commits
    • Jarkko Nikula's avatar
      omap: rx51: Don't power up speaker amplifier at bootup · c0ad4fac
      Jarkko Nikula authored
      
      
      Speaker amplifier is accidentally powered up in early TWL gpio setup. This
      causes a few mA of needless battery current consumption. Without this patch
      the amplifier can be shutdown only by having one active audio playback and
      shutdown cycle to speaker output.
      
      Thanks to Kalle Jokiniemi <kalle.jokiniemi@nokia.com> for noticing the issue.
      Signed-off-by: default avatarJarkko Nikula <jhnikula@gmail.com>
      Cc: Kalle Jokiniemi <kalle.jokiniemi@nokia.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      c0ad4fac
    • Jarkko Nikula's avatar
      omap: rx51: Set regulator V28_A always on · 2827411e
      Jarkko Nikula authored
      
      
      The V28_A domain in Nokia N900 that supplies VDD voltages to TLV320AIC34 and
      TPA6130A2 should not be shutdown. This is because otherwise there will be
      leak from VIO to VDD in TLV320AIC34 and this leak consumes more battery
      current that is saved from keeping V28_A off. With this patch the battery
      current consumption is approximately 1.5 mA lower.
      
      Thanks to Kalle Jokiniemi <kalle.jokiniemi@nokia.com> for noticing the issue.
      Signed-off-by: default avatarJarkko Nikula <jhnikula@gmail.com>
      Cc: Kalle Jokiniemi <kalle.jokiniemi@nokia.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      2827411e
  20. 26 May, 2011 1 commit
  21. 12 May, 2011 1 commit
  22. 03 May, 2011 1 commit
  23. 20 Apr, 2011 1 commit
  24. 11 Mar, 2011 1 commit
  25. 02 Mar, 2011 1 commit
  26. 01 Mar, 2011 1 commit
  27. 25 Feb, 2011 1 commit
    • Jarkko Nikula's avatar
      omap: rx51: Add SI4713 FM transmitter · 589541c0
      Jarkko Nikula authored
      
      
      Add SI4713 FM transmitter supplies, platform data and setup to RX-51/N900.
      It is connected to line output signals of TLV320AIC34 codec A part.
      Driver can be either built-in or a module. It can be tuned with v4l2-ctl
      from ivtv-utils. Following examples illustrate the use of it:
      
      	v4l2-ctl -d /dev/radio0 --set-ctrl=mute=0 (power up)
      	v4l2-ctl -d /dev/radio0 -f 107900 (tune 107.9 MHz)
      
      	v4l2-ctl -d /dev/radio0 --set-ctrl=mute=1 (power down)
      Signed-off-by: default avatarJarkko Nikula <jhnikula@gmail.com>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      589541c0
  28. 22 Dec, 2010 2 commits
  29. 20 Dec, 2010 3 commits
  30. 02 Dec, 2010 1 commit