rtc: pcf2127: add support for spi interface
authorAkinobu Mita <akinobu.mita@gmail.com>
Mon, 14 Mar 2016 14:45:00 +0000 (23:45 +0900)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 14 Mar 2016 16:08:41 +0000 (17:08 +0100)
commit9408ec1af875a83ad75f3dac1aa18d2337a809fe
tree42fae0b42985bf19de9921915984f5a7e873789e
parent907b3262583c700ef48f6a45b2b48878b524b2ef
rtc: pcf2127: add support for spi interface

pcf2127 has selectable I2C-bus and SPI-bus interface support.

This adds support for SPI interface.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/Kconfig
drivers/rtc/rtc-pcf2127.c