diff options
| author | Akinobu Mita <akinobu.mita@gmail.com> | 2016-03-14 10:45:00 -0400 |
|---|---|---|
| committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-03-14 12:08:41 -0400 |
| commit | 9408ec1af875a83ad75f3dac1aa18d2337a809fe (patch) | |
| tree | 42fae0b42985bf19de9921915984f5a7e873789e /drivers/rtc/Kconfig | |
| parent | 907b3262583c700ef48f6a45b2b48878b524b2ef (diff) | |
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>
Diffstat (limited to 'drivers/rtc/Kconfig')
| -rw-r--r-- | drivers/rtc/Kconfig | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index d2cd206d2965..544bd3493852 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig | |||
| @@ -379,15 +379,6 @@ config RTC_DRV_X1205 | |||
| 379 | This driver can also be built as a module. If so, the module | 379 | This driver can also be built as a module. If so, the module |
| 380 | will be called rtc-x1205. | 380 | will be called rtc-x1205. |
| 381 | 381 | ||
| 382 | config RTC_DRV_PCF2127 | ||
| 383 | tristate "NXP PCF2127" | ||
| 384 | help | ||
| 385 | If you say yes here you get support for the NXP PCF2127/29 RTC | ||
| 386 | chips. | ||
| 387 | |||
| 388 | This driver can also be built as a module. If so, the module | ||
| 389 | will be called rtc-pcf2127. | ||
| 390 | |||
| 391 | config RTC_DRV_PCF8523 | 382 | config RTC_DRV_PCF8523 |
| 392 | tristate "NXP PCF8523" | 383 | tristate "NXP PCF8523" |
| 393 | help | 384 | help |
| @@ -776,6 +767,16 @@ config RTC_DRV_DS3232 | |||
| 776 | This driver can also be built as a module. If so, the module | 767 | This driver can also be built as a module. If so, the module |
| 777 | will be called rtc-ds3232. | 768 | will be called rtc-ds3232. |
| 778 | 769 | ||
| 770 | config RTC_DRV_PCF2127 | ||
| 771 | tristate "NXP PCF2127" | ||
| 772 | depends on RTC_I2C_AND_SPI | ||
| 773 | help | ||
| 774 | If you say yes here you get support for the NXP PCF2127/29 RTC | ||
| 775 | chips. | ||
| 776 | |||
| 777 | This driver can also be built as a module. If so, the module | ||
| 778 | will be called rtc-pcf2127. | ||
| 779 | |||
| 779 | comment "Platform RTC drivers" | 780 | comment "Platform RTC drivers" |
| 780 | 781 | ||
| 781 | # this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h> | 782 | # this 'CMOS' RTC driver is arch dependent because <asm-generic/rtc.h> |
