1. 26 5月, 2017 1 次提交
  2. 14 4月, 2017 2 次提交
  3. 09 3月, 2017 1 次提交
  4. 19 12月, 2016 1 次提交
  5. 01 9月, 2016 2 次提交
  6. 09 7月, 2016 2 次提交
  7. 20 5月, 2016 3 次提交
  8. 22 4月, 2016 2 次提交
  9. 15 3月, 2016 1 次提交
  10. 05 2月, 2016 2 次提交
  11. 12 1月, 2016 1 次提交
  12. 27 11月, 2015 1 次提交
  13. 25 11月, 2015 1 次提交
    • F
      rtc: ds1307: fix kernel splat due to wakeup irq handling · 51c4cfef
      Felipe Balbi 提交于
      Since commit 3fffd128 ("i2c: allow specifying
      separate wakeup interrupt in device tree") we have
      automatic wakeup irq support for i2c devices. That
      commit missed the fact that rtc-1307 had its own
      wakeup irq handling and ended up introducing a
      kernel splat for at least Beagle x15 boards.
      
      Fix that by reverting original commit _and_ passing
      correct interrupt names on DTS so i2c-core can
      choose correct IRQ as wakeup.
      
      Now that we have automatic wakeirq support, we can
      revert the original commit which did it manually.
      
      Fixes the following warning:
      
      [   10.346582] WARNING: CPU: 1 PID: 263 at linux/drivers/base/power/wakeirq.c:43 dev_pm_attach_wake_irq+0xbc/0xd4()
      [   10.359244] rtc-ds1307 2-006f: wake irq already initialized
      
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Nishanth Menon <nm@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      Acked-by: NTony Lindgren <tony@atomide.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
      51c4cfef
  14. 08 11月, 2015 1 次提交
  15. 05 9月, 2015 6 次提交
  16. 25 6月, 2015 1 次提交
    • N
      rtc: ds1307: Enable the mcp794xx alarm after programming time · e3edd671
      Nishanth Menon 提交于
      Alarm interrupt enable register is at offset 0x7, while the time
      registers for the alarm follow that. When we program Alarm interrupt
      enable prior to programming the time, it is possible that previous
      time value could be close or match at the time of alarm enable
      resulting in interrupt trigger which is unexpected (and does not match
      the time we expect it to trigger).
      
      To prevent this scenario from occuring, program the ALM0_EN bit only
      after the alarm time is appropriately programmed.
      
      Ofcourse, I2C programming is non-atomic, so there are loopholes where
      the interrupt wont trigger if the time requested is in the past at
      the time of programming the ALM0_EN bit. However, we will not have
      unexpected interrupts while the time is programmed after the interrupt
      are enabled.
      Signed-off-by: NNishanth Menon <nm@ti.com>
      Reviewed-by: NGrygorii Strashko <grygorii.strashko@linaro.org>
      Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
      e3edd671
  17. 11 12月, 2014 1 次提交
  18. 14 10月, 2014 1 次提交
    • M
      rtc: ds1307: add trickle charger device tree binding · 33b04b7b
      Matti Vaittinen 提交于
      Some DS13XX devices have "trickle chargers".  Introduce a device tree
      binding for specifying the trickle charger configuration for ds1339.
      
      Only ds1339 dt binding is supported because this is the only chip I have.
      I _assume_ the code would have worked on other allready supported chips.
      However I cannot check the resistor values for the other chips or test
      them.  For other chips the driver code works as earlier Eg.  it does not
      check the dt bindings at all
      Signed-off-by: NMatti Vaittinen <matti.vaittinen@nsn.com>
      Cc: Rob Herring <robh+dt@kernel.org>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Guenter Roeck <linux@roeck-us.net>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Pavel Machek <pavel@denx.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      33b04b7b
  19. 04 4月, 2014 3 次提交
  20. 13 11月, 2013 3 次提交
  21. 04 7月, 2013 1 次提交
  22. 30 4月, 2013 3 次提交