1. 21 9月, 2012 2 次提交
  2. 19 9月, 2012 1 次提交
    • A
      ARM: omap: move platform_data definitions · 2203747c
      Arnd Bergmann 提交于
      Platform data for device drivers should be defined in
      include/linux/platform_data/*.h, not in the architecture
      and platform specific directories.
      
      This moves such data out of the omap include directories
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      Acked-by: NNicolas Pitre <nico@linaro.org>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Cc: Kevin Hilman <khilman@ti.com>
      Cc: "Benoît Cousson" <b-cousson@ti.com>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Cc: Ohad Ben-Cohen <ohad@wizery.com>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Omar Ramirez Luna <omar.ramirez@ti.com>
      Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
      Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Peter Ujfalusi <peter.ujfalusi@ti.com>
      Cc: Jarkko Nikula <jarkko.nikula@bitmer.com>
      Cc: Liam Girdwood <lrg@ti.com>
      Cc: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
      Cc: Jean Pihet <j-pihet@ti.com>
      Cc: J Keerthy <j-keerthy@ti.com>
      Cc: linux-omap@vger.kernel.org
      2203747c
  3. 13 9月, 2012 2 次提交
    • T
      ARM: OMAP2+: Prepare for irqs.h removal · 7d7e1eba
      Tony Lindgren 提交于
      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: NTony Lindgren <tony@atomide.com>
      7d7e1eba
    • T
      ARM: OMAP2+: Remove hardcoded twl4030 gpio_base, irq_base and irq_end · a940d9a1
      Tony Lindgren 提交于
      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: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      a940d9a1
  4. 11 9月, 2012 1 次提交
  5. 04 6月, 2012 1 次提交
  6. 10 5月, 2012 1 次提交
  7. 13 4月, 2012 1 次提交
    • P
      ARM: OMAP2+: declare file-local functions as static · 8c3d4534
      Paul Walmsley 提交于
      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: NPaul 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: NSantosh Shilimkar <santosh.shilimkar@ti.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      8c3d4534
  8. 29 3月, 2012 2 次提交
  9. 06 3月, 2012 1 次提交
  10. 25 2月, 2012 1 次提交
  11. 21 2月, 2012 1 次提交
    • T
      ARM: OMAP2+: Split omap2_hsmmc_init() to properly support I2C GPIO pins · 3b972bf0
      Tony Lindgren 提交于
      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: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      3b972bf0
  12. 06 1月, 2012 1 次提交
  13. 14 12月, 2011 2 次提交
  14. 18 11月, 2011 1 次提交
  15. 21 9月, 2011 1 次提交
  16. 28 7月, 2011 1 次提交
  17. 05 7月, 2011 2 次提交
  18. 04 7月, 2011 4 次提交
  19. 14 6月, 2011 1 次提交
  20. 01 6月, 2011 2 次提交
    • J
      omap: rx51: Don't power up speaker amplifier at bootup · c0ad4fac
      Jarkko Nikula 提交于
      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: NJarkko Nikula <jhnikula@gmail.com>
      Cc: Kalle Jokiniemi <kalle.jokiniemi@nokia.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      c0ad4fac
    • J
      omap: rx51: Set regulator V28_A always on · 2827411e
      Jarkko Nikula 提交于
      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: NJarkko Nikula <jhnikula@gmail.com>
      Cc: Kalle Jokiniemi <kalle.jokiniemi@nokia.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      2827411e
  21. 27 5月, 2011 1 次提交
  22. 12 5月, 2011 1 次提交
  23. 03 5月, 2011 1 次提交
  24. 20 4月, 2011 1 次提交
  25. 11 3月, 2011 1 次提交
  26. 03 3月, 2011 1 次提交
  27. 02 3月, 2011 1 次提交
  28. 26 2月, 2011 1 次提交
    • J
      omap: rx51: Add SI4713 FM transmitter · 589541c0
      Jarkko Nikula 提交于
      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: NJarkko Nikula <jhnikula@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      589541c0
  29. 23 12月, 2010 2 次提交
  30. 21 12月, 2010 1 次提交