1. 17 10月, 2013 1 次提交
    • D
      ARM: at91: cpuidle: Convert to platform driver · 5ad945ea
      Daniel Lezcano 提交于
      Using the platform driver model is a good way to separate the cpuidle specific
      code from the low level pm code. It allows to remove the dependency between
      these two components.
      
      The platform_device is located in the pm code and a 'set' function has been
      added to set the standby function from the AT91_SOC_START initialization
      function. Each SoC with a cpuidle driver will set the standby function in the
      platform_data field at init time. Then pm code will register the cpuidle
      platform device.
      
      The cpuidle driver will register the platform_driver and use the device's
      platform_data as a standby callback in the idle path.
      
      The at91_pm_enter function contains a { if then else } based on cpu_is_xx
      similar to what was in cpuidle. This is considered dangerous when adding a new
      SoC. Like the cpuidle driver, a standby ops is defined and assigned when the
      SoC init function specifies what is its standby function and reused in the
      at91_pm_enter's 'case' block.
      Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
      Acked-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
      Acked-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      5ad945ea
  2. 21 6月, 2013 1 次提交
  3. 26 3月, 2013 1 次提交
  4. 13 3月, 2013 2 次提交
    • J
      ARM: at91/avr32/atmel_lcdfb: add platform device-id table · bbd44f6b
      Johan Hovold 提交于
      Add platform device-id table in order to identify the controller and
      determine its configuration.
      
      The currently used configuration parameters are:
      
      have_alt_pixclock
       - SOC uses an alternate pixel-clock calculation formula (at91sam9g45
         non-ES)
      
      have_hozval
       - SOC has a HOZVAL field in LCDFRMCFG which is used to determine the
         linesize for STN displays (at91sam9261, at921sam9g10 and at32ap)
      
      have_intensity_bit
       - SOC uses IBGR:555 rather than BGR:565 16-bit pixel layout
         (at91sam9261, at91sam9263 and at91sam9rl)
      
      This allows us to remove all the remaining uses of cpu_is macros from
      the driver.
      
      Tested on at91sam9263 and at91sam9g45, compile-tested for other
      AT91-SOCs, and untested for AVR32.
      Signed-off-by: NJohan Hovold <jhovold@gmail.com>
      Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      bbd44f6b
    • J
      ARM: at91/avr32/atmel_lcdfb: add bus-clock entry · 557b7d5d
      Johan Hovold 提交于
      Add hclk entry for the atmel_lcdfb bus clock.
      
      On at91sam9261, at91sam9g10 and at32ap the bus clock has to be enabled
      as well as the peripheral clock. Add the appropriate lookup entries to
      these SOCs and fake clocks to the SOCs that do not use it.
      
      This allows us to get rid of the conditional enabling of the clocks in
      the driver which relied on the cpu_is macros.
      
      Tested on at91sam9263 and at91sam9g45, compile-tested for other
      AT91-SOCs, and untested for AVR32.
      Signed-off-by: NJohan Hovold <jhovold@gmail.com>
      Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      557b7d5d
  5. 20 11月, 2012 1 次提交
  6. 07 11月, 2012 1 次提交
  7. 06 11月, 2012 3 次提交
  8. 25 10月, 2012 1 次提交
  9. 13 10月, 2012 2 次提交
  10. 12 9月, 2012 3 次提交
  11. 03 7月, 2012 1 次提交
  12. 02 7月, 2012 1 次提交
  13. 20 4月, 2012 1 次提交
  14. 17 4月, 2012 1 次提交
  15. 29 3月, 2012 1 次提交
  16. 23 2月, 2012 2 次提交
  17. 18 2月, 2012 1 次提交
  18. 21 1月, 2012 2 次提交
  19. 05 1月, 2012 1 次提交
    • R
      ARM: restart: at91: use new restart hook · 1b2073e7
      Russell King 提交于
      Rather than using a private function pointer, use the existing
      arm_pm_restart function pointer instead.  We no longer need to enable
      the I-cache in at91sam9_alt_reset() as the caches will now be on when
      this function is called.
      
      Update the function names to use the 'restart' terminology rather than
      the 'reboot' terminology.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1b2073e7
  20. 29 11月, 2011 2 次提交
  21. 28 11月, 2011 5 次提交
  22. 22 11月, 2011 1 次提交
  23. 11 9月, 2011 1 次提交
  24. 28 7月, 2011 4 次提交