1. 13 12月, 2013 1 次提交
  2. 12 12月, 2013 1 次提交
  3. 02 12月, 2013 13 次提交
  4. 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
  5. 18 10月, 2013 1 次提交
    • J
      iio: at91: introduce touch screen support in iio adc driver · c8b11de0
      Josh Wu 提交于
      AT91 ADC hardware integrate touch screen support. So this patch add touch
      screen support for at91 adc iio driver.
      To enable touch screen support in adc, you need to add the dt parameters:
        1. which type of touch are used? (4 or 5 wires), sample period time.
        2. correct pressure detect threshold value.
      
      In the meantime, since touch screen will use a interal period trigger of adc,
      so it is conflict to other hardware triggers. Driver will disable the hardware
      trigger support if touch screen is enabled.
      
      This driver has been tested in AT91SAM9X5-EK and SAMA5D3x-EK.
      Signed-off-by: NJosh Wu <josh.wu@atmel.com>
      Acked-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      CC: devicetree@vger.kernel.org
      Signed-off-by: NJonathan Cameron <jic23@kernel.org>
      c8b11de0
  6. 17 10月, 2013 4 次提交
  7. 16 10月, 2013 1 次提交
  8. 14 10月, 2013 1 次提交
  9. 01 10月, 2013 1 次提交
  10. 30 9月, 2013 2 次提交
  11. 27 9月, 2013 2 次提交
  12. 19 9月, 2013 1 次提交
  13. 30 8月, 2013 3 次提交
  14. 22 8月, 2013 5 次提交
  15. 14 8月, 2013 1 次提交
  16. 10 7月, 2013 1 次提交