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>
This commit is contained in:

committed by
Alexandre Belloni

parent
2dcd0af568
commit
d25a5ed37d
@@ -634,6 +634,15 @@ config RTC_DRV_M41T94
|
||||
This driver can also be built as a module. If so, the module
|
||||
will be called rtc-m41t94.
|
||||
|
||||
config RTC_DRV_DS1302
|
||||
tristate "Dallas/Maxim DS1302"
|
||||
depends on SPI
|
||||
help
|
||||
If you say yes here you get support for the Dallas DS1302 RTC chips.
|
||||
|
||||
This driver can also be built as a module. If so, the module
|
||||
will be called rtc-ds1302.
|
||||
|
||||
config RTC_DRV_DS1305
|
||||
tristate "Dallas/Maxim DS1305/DS1306"
|
||||
help
|
||||
@@ -834,12 +843,6 @@ config RTC_DRV_DS1286
|
||||
help
|
||||
If you say yes here you get support for the Dallas DS1286 RTC chips.
|
||||
|
||||
config RTC_DRV_DS1302
|
||||
tristate "Dallas DS1302"
|
||||
depends on SH_SECUREEDGE5410
|
||||
help
|
||||
If you say yes here you get support for the Dallas DS1302 RTC chips.
|
||||
|
||||
config RTC_DRV_DS1511
|
||||
tristate "Dallas DS1511"
|
||||
depends on HAS_IOMEM
|
||||
|
Reference in New Issue
Block a user