1. 15 3月, 2016 3 次提交
  2. 05 2月, 2016 3 次提交
  3. 12 1月, 2016 1 次提交
  4. 08 11月, 2015 2 次提交
  5. 06 9月, 2015 2 次提交
  6. 05 9月, 2015 2 次提交
    • S
      rtc: da9063: Add DA9062 RTC capability to DA9063 RTC driver · 80ca3277
      S Twiss 提交于
      Add DA9062 RTC support into the existing DA9063 RTC driver component by
      using generic access tables for common register and bit mask definitions.
      
      The following change will add generic register and bit mask support to the
      DA9063 RTC. The changes are slightly complicated by requiring support for
      three register sets: DA9063-AD, DA9063-BB and DA9062-AA.
      
      The following alterations have been made to the DA9063 RTC:
      
      - Addition of a da9063_compatible_rtc_regmap structure to hold all generic
        registers and bitmasks for this type of RTC component.
      - A re-write of struct da9063 to use pointers for regmap and compatible
        registers/masks definitions
      - Addition of a of_device_id table for DA9063 and DA9062 defaults
      - Refactoring functions to use struct da9063_compatible_rtc accesses to
        generic registers/masks instead of using defines from registers.h
      - Re-work of da9063_rtc_probe() to use of_match_node() and dev_get_regmap()
        to provide initialisation of generic registers and masks and access to
        regmap
      Signed-off-by: NSteve Twiss <stwiss.opensource@diasemi.com>
      Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
      80ca3277
    • J
      rtc: add rtc-lpc24xx driver · c28b42e3
      Joachim Eastwood 提交于
      Add driver for the RTC found on NXP LPC178x/18xx/408x/43xx devices.
      The RTC provides calendar and clock functionality together with
      alarm interrupt support.
      Signed-off-by: NJoachim Eastwood <manabian@gmail.com>
      Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
      c28b42e3
  7. 11 8月, 2015 1 次提交
  8. 25 6月, 2015 7 次提交
  9. 22 6月, 2015 1 次提交
    • H
      MIPS: Loongson: Naming style cleanup and rework · 30ad29bb
      Huacai Chen 提交于
      Currently, code of Loongson-2/3 is under loongson directory and code of
      Loongson-1 is under loongson1 directory. Besides, there are Kconfig
      options such as MACH_LOONGSON and MACH_LOONGSON1. This naming style is
      very ugly and confusing. Since Loongson-2/3 are both 64-bit general-
      purpose CPU while Loongson-1 is 32-bit SoC, we rename both file names
      and Kconfig symbols from loongson/loongson1 to loongson64/loongson32.
      
      [ralf@linux-mips.org: Resolve a number of simple conflicts.]
      Signed-off-by: NHuacai Chen <chenhc@lemote.com>
      Cc: Steven J. Hill <Steven.Hill@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Cc: Fuxin Zhang <zhangfx@lemote.com>
      Cc: Zhangjin Wu <wuzhangjin@gmail.com>
      Cc: Kelvin Cheung <keguang.zhang@gmail.com>
      Patchwork: https://patchwork.linux-mips.org/patch/9790/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      30ad29bb
  10. 06 5月, 2015 1 次提交
  11. 30 4月, 2015 1 次提交
    • L
      rtc: st: Add new driver for ST's LPC RTC · b5b2bdfc
      Lee Jones 提交于
      ST's Low Power Controller (LPC) controls two devices; watchdog and RTC.
      Only one of the devices can be used at any one time.  This is enforced
      by the correlating MFD driver.  This portion of the driver-set controls
      the Real Time Clock.
      
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      b5b2bdfc
  12. 17 4月, 2015 2 次提交
  13. 17 2月, 2015 1 次提交
    • J
      rtc: add driver for DS1685 family of real time clocks · aaaf5fbf
      Joshua Kinard 提交于
      This adds a driver for the Dallas/Maxim DS1685-family of RTC chips.  It
      supports the DS1685/DS1687, DS1688/DS1691, DS1689/DS1693, DS17285/DS17287,
      DS17485/DS17487, and DS17885/DS17887 RTC chips.  These chips are commonly
      found in SGI O2 and SGI Octane systems.  It was originally derived from a
      driver patch submitted by Matthias Fuchs many years ago for use in
      EPPC-405-UC modules, which also used these RTCs.  In addition to the
      time-keeping functions, this RTC also handles the shutdown mechanism of
      the O2 and Octane and acts as a partial NVRAM for the boot PROMS in these
      systems.
      
      Verified on both an SGI O2 and an SGI Octane.
      Signed-off-by: NJoshua Kinard <kumba@gentoo.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      aaaf5fbf
  14. 14 2月, 2015 2 次提交
    • G
      drivers/rtc/rtc-armada38x: add a new RTC driver for recent mvebu SoCs · a3a42806
      Gregory CLEMENT 提交于
      The new mvebu SoCs come with a new RTC driver. This patch adds the
      support for this new IP which is currently found in the Armada 38x
      SoCs.
      
      This RTC provides two alarms, but only the first one is used in the
      driver. The RTC also allows using periodic interrupts.
      Signed-off-by: NGregory CLEMENT <gregory.clement@free-electrons.com>
      Reviewed-by: NArnaud Ebalard <arno@natisbad.org>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Andrew Lunn <andrew@lunn.ch>
      Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
      Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
      Cc: Boris BREZILLON <boris.brezillon@free-electrons.com>
      Cc: Lior Amsalem <alior@marvell.com>
      Cc: Tawfik Bayouk <tawfik@marvell.com>
      Cc: Nadav Haklai <nadavh@marvell.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a3a42806
    • A
      rtc: add support for Abracon AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip · 0b2f6228
      Arnaud Ebalard 提交于
      This patch adds support for Abracon AB-RTCMC-32.768kHz-B5ZE-S3
      RTC/Calendar module w/ I2C interface.
      
      This support includes RTC time reading and setting, Alarm (1 minute
      accuracy) reading and setting, and battery low detection.  The device also
      supports frequency adjustment and two timers but those features are
      currently not implemented in this driver.  Due to alarm accuracy
      limitation (and current lack of timer support in the driver), UIE mode is
      not supported.
      Signed-off-by: NArnaud Ebalard <arno@natisbad.org>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Alessandro Zummo <a.zummo@towertech.it>
      Cc: Peter Huewe <peter.huewe@infineon.com>
      Cc: Linus Walleij <linus.walleij@linaro.org>
      Cc: Thierry Reding <treding@nvidia.com>
      Cc: Mark Brown <broonie@kernel.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Rob Herring <robherring2@gmail.com>
      Cc: Pawel Moll <pawel.moll@arm.com>
      Cc: Stephen Warren <swarren@wwwdotorg.org>
      Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
      Cc: Grant Likely <grant.likely@linaro.org>
      Cc: Rob Landley <rob@landley.net>
      Cc: Jason Cooper <jason@lakedaemon.net>
      Cc: Guenter Roeck <linux@roeck-us.net>
      Cc: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
      Cc: Kumar Gala <galak@codeaurora.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      0b2f6228
  15. 15 1月, 2015 1 次提交
  16. 07 1月, 2015 1 次提交
  17. 11 12月, 2014 1 次提交
  18. 26 11月, 2014 1 次提交
  19. 19 11月, 2014 1 次提交
  20. 17 11月, 2014 1 次提交
    • N
      rtc/tpo: Driver to support rtc and wakeup on PowerNV platform · 16b1d26e
      Neelesh Gupta 提交于
      The patch implements the OPAL rtc driver that binds with the rtc
      driver subsystem. The driver uses the platform device infrastructure
      to probe the rtc device and register it to rtc class framework. The
      'wakeup' is supported depending upon the property 'has-tpo' present
      in the OF node. It provides a way to load the generic rtc driver in
      in the absence of an OPAL driver.
      
      The patch also moves the existing OPAL rtc get/set time interfaces to the
      new driver and exposes the necessary OPAL calls using EXPORT_SYMBOL_GPL.
      
      Test results:
      -------------
      Host:
      [root@tul169p1 ~]# ls -l /sys/class/rtc/
      total 0
      lrwxrwxrwx 1 root root 0 Oct 14 03:07 rtc0 -> ../../devices/opal-rtc/rtc/rtc0
      [root@tul169p1 ~]# cat /sys/devices/opal-rtc/rtc/rtc0/time
      08:10:07
      [root@tul169p1 ~]# echo `date '+%s' -d '+ 2 minutes'` > /sys/class/rtc/rtc0/wakealarm
      [root@tul169p1 ~]# cat /sys/class/rtc/rtc0/wakealarm
      1413274345
      [root@tul169p1 ~]#
      
      FSP:
      $ smgr mfgState
      standby
      $ rtim timeofday
      
      System time is valid: 2014/10/14 08:12:04.225115
      
      $ smgr mfgState
      ipling
      $
      
      CC: devicetree@vger.kernel.org
      CC: tglx@linutronix.de
      CC: rtc-linux@googlegroups.com
      CC: a.zummo@towertech.it
      Signed-off-by: NNeelesh Gupta <neelegup@linux.vnet.ibm.com>
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      16b1d26e
  21. 13 11月, 2014 2 次提交
  22. 04 11月, 2014 1 次提交
  23. 30 10月, 2014 1 次提交
  24. 14 10月, 2014 1 次提交
    • C
      drivers/rtc/Kconfig: Let several drivers depend on HAS_IOMEM to avoid compiling issue · 706b632d
      Chen Gang 提交于
      Some drivers need 'devm_ioremap_resource' or 'devm_ioremap' which need
      HAS_IOMEM, so let them depend on it.
      
      The related error (with allmodconfig under score):
      
          MODPOST 1365 modules
        ERROR: "devm_ioremap_resource" [drivers/rtc/rtc-xgene.ko] undefined!
        ERROR: "devm_ioremap_resource" [drivers/rtc/rtc-stk17ta8.ko] undefined!
        ERROR: "devm_ioremap_resource" [drivers/rtc/rtc-ds1742.ko] undefined!
        ERROR: "devm_ioremap_resource" [drivers/rtc/rtc-ds1553.ko] undefined!
        ERROR: "devm_ioremap_resource" [drivers/rtc/rtc-ds1511.ko] undefined!
        ERROR: "devm_ioremap_resource" [drivers/rtc/rtc-ds1286.ko] undefined!
        ERROR: "devm_ioremap" [drivers/rtc/rtc-rp5c01.ko] undefined!
        ERROR: "devm_ioremap" [drivers/rtc/rtc-msm6242.ko] undefined!
        ERROR: "devm_ioremap" [drivers/rtc/rtc-m48t59.ko] undefined!
        ERROR: "devm_ioremap" [drivers/rtc/rtc-m48t35.ko] undefined!
        ERROR: "devm_ioremap" [drivers/rtc/rtc-bq4802.ko] undefined!
      Signed-off-by: NChen Gang <gang.chen.5i5j@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      706b632d