1. 23 12月, 2010 1 次提交
    • T
      OMAP3: PM: Adding smartreflex driver support. · 984aa6db
      Thara Gopinath 提交于
      SmartReflex modules do adaptive voltage control for real-time
      voltage adjustments. With Smartreflex the power supply voltage
      can be adapted to the silicon performance(manufacturing process,
      temperature induced performance, age induced performance etc).
      
      There are differnet classes of smartreflex implementation.
      	Class-0: Manufacturing Test Calibration
      	Class-1: Boot-Time Software Calibration
      	Class-2: Continuous Software Calibration
      	Class-3: Continuous Hardware Calibration
      	Class-4: Fully Integrated Power Management
      
      OMAP3 has two smartreflex modules one associated with VDD MPU and the
      other associated with VDD CORE.
      This patch adds support for  smartreflex driver. The driver is designed
      for Class-1 , Class-2 and Class-3 support and is  a platform driver.
      Smartreflex driver can be enabled through a Kconfig option
      "SmartReflex support" under "System type"->"TI OMAP implementations" menu.
      
      Smartreflex autocompensation feature can be enabled runtime through
      a debug fs option.
      To enable smartreflex autocompensation feature
      	echo 1 > /debug/voltage/vdd_<X>/smartreflex/autocomp
      To disable smartreflex autocompensation feature
      	echo 0 > /debug/voltage/vdd_<X>/smartreflex/autocomp
      
      where X can be mpu, core , iva etc.
      
      This patch contains code originally in linux omap pm branch.
      Major contributors to this driver are
      Lesly A M, Rajendra Nayak, Kalle Jokiniemi, Paul Walmsley,
      Nishant Menon, Kevin Hilman.
      Signed-off-by: NThara Gopinath <thara@ti.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      984aa6db
  2. 16 12月, 2010 1 次提交
  3. 28 9月, 2010 1 次提交
  4. 16 9月, 2010 1 次提交
  5. 04 8月, 2010 1 次提交
  6. 05 7月, 2010 4 次提交
  7. 14 5月, 2010 1 次提交
  8. 25 2月, 2010 1 次提交
  9. 24 2月, 2010 1 次提交
    • T
      OMAP3: PM: Added support for L2 aux ctrl register save and restore · 79dcfdd4
      Tero Kristo 提交于
      This patch adds a save and restore mechanism for ARM L2 auxiliary control
      register. The feature is enabled by default for GP devices, but for HS/EMU
      devices the user must enable the service and define the PPA service ID to
      be used for setting L2 aux ctrl, as this is not currently supported by the
      bootloader. If nobody alters the contents of L2 aux ctrl from its reset
      value, this feature is not needed.
      
      Kconfig option to enable HS/EMU L2 aux save and restore:
      - OMAP3_L2_AUX_SECURE_SAVE_RESTORE
      Kconfig option to select HS/EMU PPA service for setting L2 aux ctrl:
      - OMAP3_L2_AUX_SECURE_SERVICE_SET_ID
      Signed-off-by: NTero Kristo <tero.kristo@nokia.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      79dcfdd4
  10. 16 2月, 2010 5 次提交
  11. 12 12月, 2009 2 次提交
  12. 23 11月, 2009 1 次提交
  13. 04 9月, 2009 1 次提交
    • P
      OMAP2/3 PM: create the OMAP PM interface and add a default OMAP PM no-op layer · c0407a96
      Paul Walmsley 提交于
      The interface provides device drivers, CPUFreq, and DSPBridge with a
      means of controlling OMAP power management parameters that are not yet
      supported by the Linux PM PMQoS interface.  Copious documentation is
      in the patch in Documentation/arm/OMAP/omap_pm and the interface
      header file, arch/arm/plat-omap/include/mach/omap-pm.h.
      
      Thanks to Rajendra Nayak <rnayak@ti.com> for adding CORE (VDD2) OPP
      support and moving the OPP table initialization earlier in the event
      that the clock code needs them.  Thanks to Tero Kristo
      <tero.kristo@nokia.com> for fixing the parameter check in
      omap_pm_set_min_bus_tput().  Jouni signed off on Tero's patch.
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      Signed-off-by: NTero Kristo <tero.kristo@nokia.com>
      Signed-off-by: NJouni Högander <jouni.hogander@nokia.com>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Igor Stoppa <igor.stoppa@nokia.com>
      Cc: Richard Woodruff <r-woodruff2@ti.com>
      Cc: Anand Sawant <sawant@ti.com>
      Cc: Sakari Poussa <sakari.poussa@nokia.com>
      Cc: Veeramanikandan Raju <veera@ti.com>
      Cc: Karthik Dasu <karthik-dp@ti.com>
      c0407a96
  14. 29 8月, 2009 1 次提交
  15. 31 5月, 2009 1 次提交
  16. 29 5月, 2009 2 次提交
  17. 22 5月, 2009 1 次提交
  18. 24 3月, 2009 1 次提交
  19. 09 2月, 2009 3 次提交
  20. 27 11月, 2008 1 次提交
  21. 09 10月, 2008 1 次提交
    • S
      ARM: OMAP3: Add minimal omap3430 support · cc26b3b0
      Syed Mohammed, Khasim 提交于
      Add minimal omap3430 support based on earlier patches from
      Syed Mohammed Khasim. Also merge in omap34xx SRAM support
      from Karthik Dasu and use consistent naming for sram init
      functions.
      
      Also do following changes that make 34xx support usable:
      
      - Remove unused sram.c functions for 34xx
      
      - Rename IRQ_SIR_IRQ to INTCPS_SIR_IRQ and define it locally
        in entry-macro.S
      
      - Update mach-omap2/io.c to support 2420, 2430, and 34xx
      
      - Also merge in 34xx GPMC changes to add fields wr_access and
        wr_data_mux_bus from Adrian Hunter
      
      - Remove memory initialization call omap2_init_memory() until
        until more generic memory initialization patches are posted.
        It's OK to rely on bootloader initialization until then.
      Signed-off-by: NSyed Mohammed, Khasim <khasim@ti.com>
      Signed-off-by: Karthik Dasu<karthik-dp@ti.com>
      Signed-off-by: NAdrian Hunter <ext-adrian.hunter@nokia.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      
      
      
      cc26b3b0
  22. 19 8月, 2008 2 次提交
    • P
      ARM: OMAP2: Clockdomain: Add base OMAP2/3 clockdomain code · d459bfe0
      Paul Walmsley 提交于
      This patch creates an interface to the clockdomain registers in the
      PRM/CM modules on OMAP2/3.  This interface is intended to be used by
      PM code, e.g., pm.c; not by device drivers directly.
      
      The patch also adds clockdomain usecount tracking.  This is intended
      to be called whenever the first clock in a clockdomain is enabled, or
      when the last enabled clock in a clockdomain is disabled.  If the
      clockdomain is in software-supervised mode, the code will force-wakeup
      or force-sleep the clockdomain.  If the clockdomain is in
      hardware-supervised mode, the first clock enable will add sleep and
      wakeup dependencies on a user-selectable set of parent domains (usually
      MPU & IVA2), and the disable will remove them.
      
      Each clockdomain will be defined in later patches as static
      structures.  The clockdomain structures are linked into a list at boot
      by clkdm_register(), similar to the OMAP clock code.
      
      The patch adds a Kconfig option, CONFIG_OMAP_DEBUG_CLOCKDOMAIN, which
      when enabled will emit verbose debug messages via pr_debug().
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      
      
      
      d459bfe0
    • P
      ARM: OMAP2: Powerdomain: Add base OMAP2/3 powerdomain code · ad67ef68
      Paul Walmsley 提交于
      This patch creates an interface to the powerdomain registers in the
      PRM/CM modules on OMAP2/3.  This interface is intended to be used by
      PM code, e.g., pm.c; not by device drivers directly.
      
      Each powerdomain will be defined in later patches as static
      structures.  Also defined are dependencies between powerdomains,
      used for adding and removing PM_WKDEP and CM_SLEEPDEP bits.  The
      powerdomain structures are linked into a list at boot by
      pwrdm_register(), similar to the OMAP clock code.
      
      The patch adds a Kconfig option, CONFIG_OMAP_DEBUG_POWERDOMAIN, which
      when enabled will emit verbose debug messages via pr_debug().
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      
      
      
      ad67ef68
  23. 20 3月, 2008 1 次提交
  24. 21 9月, 2007 1 次提交
    • D
      ARM: OMAP: abstract debug card setup (smc, leds) · f6049312
      David Brownell 提交于
      Additional cleanup for debug boards on H2/P2/H3/H4:  move the init
      code that's not board-specific into a new file where it can be easily
      shared between all the different boards (avoiding code duplication,
      and making it easier to support more devices).  Make H4 use that.
      
      This should be easy to drop in to the OMAP1 boards using these debug
      cards; the only difference seems to be that the p2 does an extra reset
      of the smc using the fpga (probably all boards could do that, if it's
      necessary) and doesn't use the gpio mux or request APIs.
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      f6049312
  25. 09 5月, 2007 2 次提交
  26. 22 4月, 2007 1 次提交
  27. 13 12月, 2006 1 次提交