aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorSergey Yanovich <ynvich@gmail.com>2016-02-23 05:54:57 -0500
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-05-20 06:33:51 -0400
commitd25a5ed37d5fdd25f3cfbffc2f9a0f62e58f884c (patch)
treeab7921d55bcb2c297b7ee375ceef35da9ebd26ac /drivers/rtc/Kconfig
parent2dcd0af568b0cf583645c8a317dd12e344b1c72a (diff)
rtc: ds1302: rewrite using SPI
DS1302 is an half-duplex SPI device. The driver respects this fact now. Pin configurations should be implemented using SPI subsystem. Signed-off-by: Sergei Ianovich <ynvich@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig15
1 files changed, 9 insertions, 6 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 3e84315c6f12..f1e1f502be5d 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -634,6 +634,15 @@ config RTC_DRV_M41T94
634 This driver can also be built as a module. If so, the module 634 This driver can also be built as a module. If so, the module
635 will be called rtc-m41t94. 635 will be called rtc-m41t94.
636 636
637config RTC_DRV_DS1302
638 tristate "Dallas/Maxim DS1302"
639 depends on SPI
640 help
641 If you say yes here you get support for the Dallas DS1302 RTC chips.
642
643 This driver can also be built as a module. If so, the module
644 will be called rtc-ds1302.
645
637config RTC_DRV_DS1305 646config RTC_DRV_DS1305
638 tristate "Dallas/Maxim DS1305/DS1306" 647 tristate "Dallas/Maxim DS1305/DS1306"
639 help 648 help
@@ -834,12 +843,6 @@ config RTC_DRV_DS1286
834 help 843 help
835 If you say yes here you get support for the Dallas DS1286 RTC chips. 844 If you say yes here you get support for the Dallas DS1286 RTC chips.
836 845
837config RTC_DRV_DS1302
838 tristate "Dallas DS1302"
839 depends on SH_SECUREEDGE5410
840 help
841 If you say yes here you get support for the Dallas DS1302 RTC chips.
842
843config RTC_DRV_DS1511 846config RTC_DRV_DS1511
844 tristate "Dallas DS1511" 847 tristate "Dallas DS1511"
845 depends on HAS_IOMEM 848 depends on HAS_IOMEM