1. 15 1月, 2015 2 次提交
  2. 20 11月, 2014 1 次提交
  3. 13 11月, 2014 1 次提交
  4. 10 11月, 2014 2 次提交
  5. 09 11月, 2014 1 次提交
    • O
      ARM: at91: fix build breakage due to legacy board removals · 6ac8d685
      Olof Johansson 提交于
      Fixes the following missing includes:
      
      arch/arm/mach-at91/at91sam9g45.c: In function 'at91sam9g45_init_time':
      arch/arm/mach-at91/at91sam9g45.c:39:23: error: 'NR_IRQS_LEGACY' undeclared (first use in this function)
        at91sam926x_pit_init(NR_IRQS_LEGACY + AT91_ID_SYS);
                             ^
      arch/arm/mach-at91/at91sam9g45.c:39:23: note: each undeclared identifier is reported only once for each function it appears in
      make[3]: *** [arch/arm/mach-at91/at91sam9g45.o] Error 1
      arch/arm/mach-at91/at91sam9rl.c: In function 'at91sam9rl_init_time':
      arch/arm/mach-at91/at91sam9rl.c:51:23: error: 'NR_IRQS_LEGACY' undeclared (first use in this function)
        at91sam926x_pit_init(NR_IRQS_LEGACY + AT91_ID_SYS);
      
      Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      6ac8d685
  6. 04 11月, 2014 1 次提交
  7. 15 9月, 2014 1 次提交
  8. 03 9月, 2014 1 次提交
  9. 25 8月, 2014 5 次提交
  10. 09 7月, 2014 1 次提交
  11. 08 5月, 2014 1 次提交
  12. 13 3月, 2014 1 次提交
  13. 12 3月, 2014 2 次提交
  14. 20 12月, 2013 1 次提交
  15. 02 12月, 2013 1 次提交
  16. 15 11月, 2013 2 次提交
    • 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
    • J
      ARM: at91: fix hanged boot due to early rtc-interrupt · 6de714c2
      Johan Hovold 提交于
      Make sure the RTC-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 RTC (but RM9200), for
      example, after a reset during an RTC-update or if an RTC-alarm goes off
      after 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
      6de714c2
  17. 17 10月, 2013 3 次提交
  18. 21 6月, 2013 1 次提交
  19. 26 3月, 2013 1 次提交
  20. 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
  21. 07 11月, 2012 1 次提交
  22. 06 11月, 2012 3 次提交
  23. 13 10月, 2012 1 次提交
  24. 12 9月, 2012 2 次提交
  25. 02 7月, 2012 1 次提交
  26. 17 4月, 2012 1 次提交