1. 02 12月, 2013 1 次提交
  2. 15 11月, 2013 1 次提交
    • J
      ARM: at91: fix hanged boot due to early rtt-interrupt · 94c4c79f
      Johan Hovold 提交于
      Make sure the RTT-interrupts are masked at boot by adding a new helper
      function to be used at SOC-init.
      
      This fixes hanged boot on all AT91 SOCs with an RTT, for example, if an
      RTT-alarm goes off after a non-clean shutdown (e.g. when using RTC
      wakeup).
      
      The RTC and RTT-peripherals are powered by backup power (VDDBU) (on all
      AT91 SOCs but RM9200) and are not reset on wake-up, user, watchdog or
      software reset. This means that their interrupts may be enabled during
      early boot if, for example, they where not disabled during a previous
      shutdown (e.g. due to a buggy driver or a non-clean shutdown such as a
      user reset). Furthermore, an RTC or RTT-alarm may also be active.
      
      The RTC and RTT-interrupts use the shared system-interrupt line, which
      is also used by the PIT, and if an interrupt occurs before a handler
      (e.g. RTC-driver) has been installed this leads to the system interrupt
      being disabled and prevents the system from booting.
      
      Note that when boot hangs due to an early RTC or RTT-interrupt, the only
      way to get the system to start again is to remove the backup power (e.g.
      battery) or to disable the interrupt manually from the bootloader. In
      particular, a user reset is not sufficient.
      Signed-off-by: NJohan Hovold <jhovold@gmail.com>
      Signed-off-by: NNicolas Ferre <nicolas.ferre@atmel.com>
      Cc: stable@vger.kernel.org # 3.11.x
      94c4c79f
  3. 17 10月, 2013 3 次提交
  4. 21 6月, 2013 1 次提交
  5. 26 3月, 2013 1 次提交
  6. 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
  7. 20 11月, 2012 1 次提交
  8. 07 11月, 2012 1 次提交
  9. 06 11月, 2012 3 次提交
  10. 25 10月, 2012 1 次提交
  11. 13 10月, 2012 2 次提交
  12. 12 9月, 2012 3 次提交
  13. 03 7月, 2012 1 次提交
  14. 02 7月, 2012 1 次提交
  15. 20 4月, 2012 1 次提交
  16. 17 4月, 2012 1 次提交
  17. 29 3月, 2012 1 次提交
  18. 23 2月, 2012 2 次提交
  19. 18 2月, 2012 1 次提交
  20. 21 1月, 2012 2 次提交
  21. 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
  22. 29 11月, 2011 2 次提交
  23. 28 11月, 2011 5 次提交
  24. 22 11月, 2011 1 次提交
  25. 11 9月, 2011 1 次提交