1. 10 7月, 2011 1 次提交
  2. 26 2月, 2011 4 次提交
    • R
      OMAP4: clockdomain: Add wkup/sleep dependency support · 15b08d93
      Rajendra Nayak 提交于
      Add OMAP4 platform specific implementation to support clkdm
      wkup and sleep dependencies a.k.a static dependencies.
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      [paul@pwsan.com: removed comment about PRM; zero-prefixed STATICDEP
       register offset; fixed loop termination condition in
       omap4_clkdm_clear_all_wkup_sleep_deps(); thanks to Kevin Hilman for finding
       and helping fix this bug]
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      15b08d93
    • R
      OMAP: clockdomain: Arch specific funcs for clkdm_clk_enable/disable · 4da71ae6
      Rajendra Nayak 提交于
      Define the following architecture specific funtions for omap2/3/4
      .clkdm_clk_enable
      .clkdm_clk_disable
      
      Convert the platform-independent framework to call these functions.
      Also rename the api's by removing the omap2_ preamble.
      Hence call omap2_clkdm_k_enable as clkdm_clk_enable and
      omap2_clkdm_clk_disable as clkdm_clk_disable.a
      
      Remove unused functions (_enable/_disable_hwsup) and unsed
      headers from clockdomain.c file.
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      4da71ae6
    • R
      OMAP: clockdomain: Arch specific funcs for hwsup control of clkdm · 5cd1937b
      Rajendra Nayak 提交于
      Define the following architecture specific funtions for omap2/3/4
      .clkdm_allow_idle
      .clkdm_deny_idle
      
      Convert the platform-independent framework to call these functions.
      Also rename the api's by removing the omap2_ preamble.
      Hence call omap2_clkdm_allow_idle as clkdm_allow_idle and
      omap2_clkdm_deny_idle as clkdm_deny_idle.
      
      Make the _clkdm_add_autodeps and _clkdm_del_autodeps as non-static
      so they can be accessed from OMAP2/3 platform specific code.
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      5cd1937b
    • R
      OMAP: clockdomain: Arch specific funcs for sleep/wakeup of clkdm · 68b921ad
      Rajendra Nayak 提交于
      Define the following architecture specific funtions for omap2/3/4
      .clkdm_sleep
      .clkdm_wakeup
      
      Convert the platform-independent framework to call these functions.
      Also rename the api's by removing the omap2_ preamble.
      Hence call omap2_clkdm_wakeup as clkdm_wakeup and
      omap2_clkdm_sleep as clkdm_sleep.
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      [paul@pwsan.com: fixed omap3_clkdm_clear_all_sleepdeps() and
       omap2_clkdm_clear_all_wkdeps() to test against the correct
       loop termination condition; thanks to Kevin Hilman for finding and
       helping fix]
      Cc: Kevin Hilman <khilman@ti.com>
      Signed-off-by: NPaul Walmsley <paul@pwsan.com>
      68b921ad