Masahiro Yamada | cc85b7b | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 1 | # |
| 2 | # RTC drivers configuration |
| 3 | # |
| 4 | |
| 5 | menu "Real Time Clock" |
| 6 | |
Simon Glass | d9050b5 | 2015-04-20 12:37:23 -0600 | [diff] [blame] | 7 | config DM_RTC |
| 8 | bool "Enable Driver Model for RTC drivers" |
| 9 | depends on DM |
| 10 | help |
| 11 | Enable drver model for real-time-clock drivers. The RTC uclass |
| 12 | then provides the rtc_get()/rtc_set() interface, delegating to |
| 13 | drivers to perform the actual functions. See rtc.h for a |
| 14 | description of the API. |
Masahiro Yamada | cc85b7b | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 15 | |
Meng Yi | 188417c | 2016-11-30 15:47:31 +0800 | [diff] [blame] | 16 | config RTC_PCF2127 |
| 17 | bool "Enable PCF2127 driver" |
| 18 | depends on DM_RTC |
| 19 | help |
Meng Yi | e21f5c2 | 2017-01-09 11:24:51 -0700 | [diff] [blame] | 20 | The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated |
| 21 | Temperature Compensated Crystal (Xtal) Oscillator (TCXO) and a 32.768 kHz quartz |
| 22 | crystal optimized for very high accuracy and very low power consumption. The PCF2127 |
| 23 | has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a |
| 24 | programmable watchdog function, a timestamp function, and many other features. |
Meng Yi | 188417c | 2016-11-30 15:47:31 +0800 | [diff] [blame] | 25 | |
Chris Packham | 97a3e91 | 2017-04-29 15:20:29 +1200 | [diff] [blame] | 26 | config RTC_DS1307 |
| 27 | bool "Enable DS1307 driver" |
| 28 | depends on DM_RTC |
| 29 | help |
| 30 | Support for Dallas Semiconductor (now Maxim) DS1307 and DS1338/9 and |
| 31 | compatible Real Time Clock devices. |
| 32 | |
Masahiro Yamada | cc85b7b | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 33 | endmenu |