1. 27 7月, 2017 1 次提交
  2. 02 1月, 2017 1 次提交
    • A
      ARM: davinci: Make __clk_{enable,disable} functions public · 48cd30b4
      Alexandre Bailon 提交于
      In some cases, there is a need to enable a clock as part of
      clock enable callback of a different clock. For example, USB
      2.0 PHY clock enable requires USB 2.0 clock to be enabled.
      In this case, it is safe to instead call __clk_enable()
      since the clock framework lock is already taken. Calling
      clk_enable() causes recursive locking error.
      
      A similar case arises in the clock disable path.
      
      To enable such usage, make __clk_{enable,disable} functions
      publicly available outside of clock.c. Also, call them
      davinci_clk_{enable|disable} now to be consistent with how
      other davinci-specific clock functions are named.
      
      Note that these functions are not exported to drivers. They
      are meant for usage in platform specific clock management
      code.
      Signed-off-by: NAlexandre Bailon <abailon@baylibre.com>
      Suggested-by: NDavid Lechner <david@lechnology.com>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      48cd30b4
  3. 27 4月, 2016 1 次提交
  4. 14 4月, 2016 1 次提交
  5. 02 12月, 2015 1 次提交
  6. 07 10月, 2015 1 次提交
  7. 18 11月, 2014 1 次提交
  8. 27 11月, 2013 1 次提交
  9. 01 4月, 2013 1 次提交
  10. 22 1月, 2013 1 次提交
    • R
      ARM: davinci: psc: introduce reset API · af47e6bb
      Robert Tivy 提交于
      Introduce an IP reset API for use on DaVinci SoC.
      
      There is no existing "reset" framework support for SoC devices.
      The remoteproc driver needs explicit control of the DSP's reset line.
      To support this, a new DaVinci specific API is added.
      
      This private API will disappear with DT migration.  Some discussion
      regarding a proposed DT "reset" binding is here:
      https://patchwork.kernel.org/patch/1635051/
      
      Modify davinci_clk_init() to set clk "reset" function for clocks
      that indicate PSC_LRST support.  Also fix indentation issue with
      function opening curly brace.
      Signed-off-by: NRobert Tivy <rtivy@ti.com>
      [nsekhar@ti.com: rename davinci_psc_config_reset() to davinci_psc_reset()]
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      af47e6bb
  11. 05 5月, 2012 1 次提交
  12. 03 12月, 2011 1 次提交
  13. 08 7月, 2011 1 次提交
    • S
      davinci: pass clock flags to davinci_psc_config() · a51ca38b
      Sekhar Nori 提交于
      Enabling or disabling a PSC can take certain
      modifiers like "disable with reset", "force
      enable/disable" and "enable/disable with local
      reset" apart from the regular clock gating
      functionality.
      
      Pass a flags argument to davinci_psc_config()
      so these variations can be supported there.
      
      At this time only "disable with reset" is
      supported, but other functionality will be
      added in subsequent patches.
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      a51ca38b
  14. 06 7月, 2011 1 次提交
  15. 10 12月, 2010 1 次提交
  16. 24 9月, 2010 2 次提交
  17. 14 5月, 2010 1 次提交
  18. 07 5月, 2010 3 次提交
  19. 05 2月, 2010 6 次提交
  20. 26 11月, 2009 6 次提交
  21. 26 8月, 2009 1 次提交
  22. 26 5月, 2009 1 次提交
    • M
      davinci: Add support for multiple PSCs · d81d188c
      Mark A. Greer 提交于
      The current code to support the DaVinci Power and Sleep Controller (PSC)
      assumes that there is only one controller.  This assumption is no longer
      valid so expand the support to allow greater than one PSC.
      
      To accomplish this, put the base addresses for the PSCs in the SoC
      infrastructure so it can be referenced by the PSC code.  This also
      requires adding an extra parameter to davinci_psc_config() to specify
      the PSC that is to be enabled/disabled.
      Signed-off-by: NMark A. Greer <mgreer@mvista.com>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      d81d188c
  23. 24 4月, 2009 1 次提交
    • K
      davinci: major rework of clock, PLL, PSC infrastructure · c5b736d0
      Kevin Hilman 提交于
      This is a significant rework of the low-level clock, PLL and Power
      Sleep Controller (PSC) implementation for the DaVinci family.  The
      primary goal is to have better modeling if the hardware clocks and
      features with the aim of DVFS functionality.
      
      Highlights:
      - model PLLs and all PLL-derived clocks
      - model parent/child relationships of PLLs and clocks
      - convert to new clkdev layer
      - view clock frequency and refcount via /proc/davinci_clocks
      
      Special thanks to significant contributions and testing by David
      Brownell.
      
      Cc: David Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NKevin Hilman <khilman@deeprootsystems.com>
      c5b736d0
  24. 28 2月, 2009 1 次提交
    • D
      usb: musb: make Davinci *work* in mainline · 34f32c97
      David Brownell 提交于
      Now that the musb build fixes for DaVinci got merged (RC3?), kick in
      the other bits needed to get it finally *working* in mainline:
      
       - Use clk_enable()/clk_disable() ... the "always enable USB clocks"
         code this originally relied on has since been removed.
      
       - Initialize the USB device only after the relevant I2C GPIOs are
         available, so the host side can properly enable VBUS.
      
       - Tweak init sequencing to cope with mainline's relatively late init
         of the I2C system bus for power switches, transceivers, and so on.
      
      Sanity tested on DM6664 EVM for host and peripheral modes; that system
      won't boot with CONFIG_PM enabled, so OTG can't yet be tested.  Also
      verified on OMAP3.
      
      (Unrelated:  correct the MODULE_PARM_DESC spelling of musb_debug.)
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: Felipe Balbi <me@felipebalbi.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      34f32c97
  25. 06 9月, 2008 1 次提交
  26. 07 8月, 2008 2 次提交