]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rtc: ds1302: rewrite using SPI
authorSergey Yanovich <ynvich@gmail.com>
Tue, 23 Feb 2016 10:54:57 +0000 (13:54 +0300)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 20 May 2016 10:33:51 +0000 (12:33 +0200)
commitd25a5ed37d5fdd25f3cfbffc2f9a0f62e58f884c
treeab7921d55bcb2c297b7ee375ceef35da9ebd26ac
parent2dcd0af568b0cf583645c8a317dd12e344b1c72a
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>
Documentation/devicetree/bindings/rtc/maxim-ds1302.txt [new file with mode: 0644]
drivers/rtc/Kconfig
drivers/rtc/rtc-ds1302.c