Skip to content

Commit 077eaf5

Browse files
broonietorvalds
authored andcommitted
rtc: rtc-wm8350: add support for WM8350 RTC
This adds support for the RTC provided by the Wolfson Microelectronics WM8350. This driver was originally written by Graeme Gregory and Liam Girdwood, though it has been modified since then to update it to current mainline coding standards and for API completeness. [akpm@linux-foundation.org: s/schedule_timeout_interruptible/schedule_timeout_uninterruptible/ to prevent bogus timeout when signal_pending()] Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: David Brownell <david-b@pacbell.net> Cc: Liam Girdwood <linux@wolfsonmicro.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent a412ae3 commit 077eaf5

4 files changed

Lines changed: 527 additions & 0 deletions

File tree

‎drivers/rtc/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,16 @@ config RTC_DRV_V3020
468468
This driver can also be built as a module. If so, the module
469469
will be called rtc-v3020.
470470

471+
config RTC_DRV_WM8350
472+
tristate "Wolfson Microelectronics WM8350 RTC"
473+
depends on MFD_WM8350
474+
help
475+
If you say yes here you will get support for the RTC subsystem
476+
of the Wolfson Microelectronics WM8350.
477+
478+
This driver can also be built as a module. If so, the module
479+
will be called "rtc-wm8350".
480+
471481
comment "on-CPU RTC drivers"
472482

473483
config RTC_DRV_OMAP

‎drivers/rtc/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,5 @@ obj-$(CONFIG_RTC_DRV_TEST) += rtc-test.o
6666
obj-$(CONFIG_RTC_DRV_TWL4030) += rtc-twl4030.o
6767
obj-$(CONFIG_RTC_DRV_V3020) += rtc-v3020.o
6868
obj-$(CONFIG_RTC_DRV_VR41XX) += rtc-vr41xx.o
69+
obj-$(CONFIG_RTC_DRV_WM8350) += rtc-wm8350.o
6970
obj-$(CONFIG_RTC_DRV_X1205) += rtc-x1205.o

0 commit comments

Comments
 (0)