Skip to content

Commit fca1dd0

Browse files
batcheutorvalds
authored andcommitted
rtc: max77686: add Maxim 77686 driver
Add a driver to support max77686 rtc. MAX77686 rtc support smpl and wtsr mode. It has two alarm register which can be used for alarming to wake system up. This drvier uses regmap to access its register. [akpm@linux-foundation.org: remove inline, __devinit annotations] [jg1.han@samsung.com: fix build warnings] [akpm@linux-foundation.org: simplify code] Signed-off-by: Chiwoong Byun <woong.byun@samsung.com> Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com> Signed-off-by: Myugnjoo Ham <myungjoo.ham@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent a44802f commit fca1dd0

3 files changed

Lines changed: 652 additions & 0 deletions

File tree

‎drivers/rtc/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,16 @@ config RTC_DRV_MAX8998
243243
This driver can also be built as a module. If so, the module
244244
will be called rtc-max8998.
245245

246+
config RTC_DRV_MAX77686
247+
tristate "Maxim MAX77686"
248+
depends on MFD_MAX77686
249+
help
250+
If you say yes here you will get support for the
251+
RTC of Maxim MAX77686 PMIC.
252+
253+
This driver can also be built as a module. If so, the module
254+
will be called rtc-max77686.
255+
246256
config RTC_DRV_RS5C372
247257
tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
248258
help

‎drivers/rtc/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ obj-$(CONFIG_RTC_DRV_MAX8907) += rtc-max8907.o
7171
obj-$(CONFIG_RTC_DRV_MAX8925) += rtc-max8925.o
7272
obj-$(CONFIG_RTC_DRV_MAX8998) += rtc-max8998.o
7373
obj-$(CONFIG_RTC_DRV_MAX6902) += rtc-max6902.o
74+
obj-$(CONFIG_RTC_DRV_MAX77686) += rtc-max77686.o
7475
obj-$(CONFIG_RTC_DRV_MC13XXX) += rtc-mc13xxx.o
7576
obj-$(CONFIG_RTC_DRV_MSM6242) += rtc-msm6242.o
7677
obj-$(CONFIG_RTC_DRV_MPC5121) += rtc-mpc5121.o

0 commit comments

Comments
 (0)