1. 21 11月, 2014 1 次提交
    • T
      ARM: OMAP2+: Prepare to move GPMC to drivers by platform data header · e639cd5b
      Tony Lindgren 提交于
      We still need to support platform data for omap3 until it's booting
      in device tree only mode. So let's add platform_data/omap-gpmc.h for
      that, and a minimal linux/omap-gpmc.h for the save and restore used
      by the PM code.
      
      Let's also keep a minimal mach-omap2/gpmc.h still around to avoid
      churn on the board-*.c files. Once omap3 boots in device tree only
      mode, we can drop mach-omap2/gpmc.h and we can make the data
      structures in platform_data/omap-gpmc.h private to the GPMC driver.
      
      Note that we can now also remove gpmc-nand.h and gpmc-onenand.h.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Acked-by: NRoger Quadros <rogerq@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      e639cd5b
  2. 12 9月, 2014 1 次提交
  3. 25 2月, 2014 1 次提交
  4. 30 9月, 2013 1 次提交
  5. 28 8月, 2013 1 次提交
  6. 12 6月, 2013 2 次提交
    • T
      ARM: OMAP: add vdds_dsi supply for omapdss_dpi.0 · 1f92a1a4
      Tomi Valkeinen 提交于
      DPI driver gets currently the vdds_dsi regulator via omapdss device.
      This is not correct, and we'll change the DPI driver to get the
      regulator directly via omapdss_dpi.0 device.
      
      This patch changes the relevant board files to add vdds_dsi supply for
      omapdss_dpi.0 device.
      
      Note that the vdds_dsi supply for omapdss device is still left there, as
      the current display driver uses it. When both the board files and the
      display driver has been changed, we can remove the unused supply.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      1f92a1a4
    • T
      ARM: OMAP: fix dsi regulator names · 1738ddbe
      Tomi Valkeinen 提交于
      board-cm-t35.c and board-ldp.c contain regulator supply entries for
      vdds_dsi. However, the given device name is wrong.
      
      This patch fixes the device name from omapdss_dsi1 to omapdss_dsi.0.
      
      Note that as far as I know, DSI driver is not used on these boards, so
      this should not have caused any problems. The DSI block can be used to
      generate clock for DPI, though, but that's not enabled for omap3 boards
      currently.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      1738ddbe
  7. 04 4月, 2013 2 次提交
  8. 03 4月, 2013 2 次提交
    • A
      OMAPDSS: panels: keep platform data of all panels in a single header · a0d8dde9
      Archit Taneja 提交于
      Structs for platform data of omapdss panels are found in headers in the
      'include/video/' path. Board files populate these structs with platform
      specific values, and the panel driver uses these to configure the panel.
      
      Currently, each panel has it's own header in the above path. Move all the
      omapdss panel platform data structs to a single header omap-panel-data.h.
      This is useful because:
      
      - All other omapdss panel drivers will be modified to use platform data. This
        would lead to a lot of panel headers usable only by omapdss. A lot of these
        platform data structs are trivial, and don't really need a separate header.
      - Platform data would be eventually removed, and platform information would be
        passed via device tree. Therefore, omapdss panel platform data structs are
        temporary, and will be easier to remove if they are all in the same header.
      - All board files will have to include the same header to configure a panel's
        platform data, that makes the board files more consistent.
      Signed-off-by: NArchit Taneja <archit@ti.com>
      a0d8dde9
    • R
      ARM: OMAP3: cm-t35: Adapt to ehci-omap changes · 59b1499a
      Roger Quadros 提交于
      Use usbhs_init_phys() to register the PHY's RESET regulators
      and the NOP PHY devices.
      Signed-off-by: NRoger Quadros <rogerq@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      59b1499a
  9. 14 2月, 2013 1 次提交
  10. 07 2月, 2013 1 次提交
  11. 22 1月, 2013 1 次提交
  12. 25 12月, 2012 1 次提交
  13. 15 12月, 2012 1 次提交
    • T
      OMAP: board-files: fix i2c_bus for tfp410 · ca2e16fa
      Tomi Valkeinen 提交于
      The i2c handling in tfp410 driver, which handles converting parallel RGB
      to DVI, was changed in 958f2717
      (OMAPDSS: TFP410: pdata rewrite). The patch changed what value the
      driver considers as invalid/undefined.  Before the patch, 0 was the
      invalid value, but as 0 is a valid bus number, the patch changed this to
      -1.
      
      However, the fact was missed that many board files do not define the bus
      number at all, thus it's left to 0. This causes the driver to fail to
      get the i2c bus, exiting from the driver's probe with an error, meaning
      that the DVI output does not work for those boards.
      
      This patch fixes the issue by changing the i2c_bus number field in the
      driver's platform data from u16 to int, and setting the bus number to -1
      in the board files for the boards that did not define the bus. The
      exception is devkit8000, for which the bus is set to 1, which is the
      correct bus for that board.
      
      The bug exists in v3.5+ kernels.
      Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
      Reported-by: NThomas Weber <thomas@tomweber.eu>
      Cc: Thomas Weber <thomas@tomweber.eu>
      Cc: <stable@vger.kernel.org> # v3.5+
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      ca2e16fa
  14. 09 11月, 2012 1 次提交
  15. 03 11月, 2012 1 次提交
  16. 25 10月, 2012 1 次提交
    • T
      ARM: OMAP2+: Introduce local usb.h · 54db6eee
      Tony Lindgren 提交于
      Let's move what we can from plat/usb.h to the local usb.h
      for ARM common zImage support.
      
      This is needed so we can remove plat/usb.h for ARM common
      zImage support.
      
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Partha Basak <parthab@india.ti.com>
      Cc: Keshava Munegowda <keshava_mgowda@ti.com>
      Cc: linux-usb@vger.kernel.org
      Acked-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      54db6eee
  17. 15 10月, 2012 2 次提交
    • A
      ARM: OMAP2+: gpmc: localize gpmc header · 3ef5d007
      Afzal Mohammed 提交于
      Requirement of gpmc header outside of mach-omap2 has been
      cutoff, move gpmc header file in plat-omap folder to local
      mach-omap2 folder
      
      Objective - common zImage participation of omap
      Signed-off-by: NAfzal Mohammed <afzal@ti.com>
      3ef5d007
    • A
      ARM: OMAP2+: nand: header cleanup · bc3668ea
      Afzal Mohammed 提交于
      For common arm zImage existing nand header file
      in platform specific location was moved to generic
      platform data location, but it contained more than
      platform data, remove it. New local header has been
      created for exposing functions.
      
      Also move gpmc-nand platform data to platform header
      meant for nand from gpmc header file
      Signed-off-by: NAfzal Mohammed <afzal@ti.com>
      bc3668ea
  18. 21 9月, 2012 1 次提交
  19. 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
  20. 13 9月, 2012 2 次提交
  21. 11 9月, 2012 1 次提交
  22. 16 8月, 2012 1 次提交
  23. 02 7月, 2012 2 次提交
  24. 10 5月, 2012 1 次提交
  25. 09 5月, 2012 3 次提交
  26. 08 5月, 2012 1 次提交
  27. 04 4月, 2012 1 次提交
  28. 25 2月, 2012 1 次提交
  29. 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
  30. 08 2月, 2012 1 次提交
  31. 05 1月, 2012 1 次提交
  32. 14 12月, 2011 1 次提交