1. 26 1月, 2017 1 次提交
  2. 05 11月, 2016 2 次提交
    • T
      rtc: omap: prevent disabling of clock/module during suspend · efce21fc
      Tero Kristo 提交于
      If RTC is running from an internal clock source, the RTC module can't
      be disabled; otherwise it stops ticking completely. Current suspend
      handler implementation disables the clock/module unconditionally,
      instead fix this by disabling the clock only if we are running on
      external clock source, which is not affected by suspend.
      
      The prevention of disabling the clock must be done via implementing
      the runtime_pm handlers for the device, and returning an error code
      from the runtime suspend handler; otherwise OMAP core PM will disable
      the clocks for the driver.
      Signed-off-by: NTero Kristo <t-kristo@ti.com>
      Signed-off-by: NKeerthy <j-keerthy@ti.com>
      Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
      efce21fc
    • L
      rtc: omap: Fix selecting external osc · 3984903a
      Lokesh Vutla 提交于
      RTC can be clocked from an external 32KHz oscillator, or from the
      Peripheral PLL. The RTC has an internal oscillator buffer to support
      direct operation with a crystal.
      
                  ----------------------------------------
                  |       Device          ---------       |
                  |                       |       |       |
                  |                       | RTCSS |       |
                  |       ---------       |       |       |
          OSC     |<------| RTC   |       |       |       |
                  |------>| OSC   |---    |       |       |
                  |       --------   |    |       |       |
                  |                   ----|clk    |       |
                  |       --------   |    |       |       |
                  |       | PRCM  |---    |       |       |
                  |       --------        --------        |
                  ----------------------------------------
      
      The RTC functional clock is sourced by default from the clock derived
      from the Peripheral PLL. In order to select source as external osc clk
      the following changes needs to be done:
      - Enable the RTC OSC (RTC_OSC_REG[4]OSC32K_GZ = 0)
      - Enable the clock mux(RTC_OSC_REG[6]K32CLK_EN = 1)
      - Select the external clock source (RTC_OSC_REG[3]32KCLK_SEL = 1)
      
      Fixes: 399cf0f6 ("rtc: omap: Add external clock enabling support")
      Signed-off-by: NKeerthy <j-keerthy@ti.com>
      Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
      Signed-off-by: NDave Gerlach <d-gerlach@ti.com>
      Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
      3984903a
  3. 22 9月, 2016 1 次提交
  4. 02 9月, 2016 1 次提交
  5. 06 9月, 2015 2 次提交
  6. 17 4月, 2015 2 次提交
  7. 11 12月, 2014 19 次提交
  8. 20 10月, 2014 1 次提交
  9. 07 6月, 2014 4 次提交
  10. 13 11月, 2013 1 次提交
  11. 12 9月, 2013 1 次提交
  12. 04 7月, 2013 2 次提交
  13. 18 5月, 2013 1 次提交
  14. 30 4月, 2013 2 次提交