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 |
AKASHI Takahiro | 51ba522 | 2019-11-13 09:44:49 +0900 | [diff] [blame] | 10 | select LIB_DATE |
Simon Glass | d9050b5 | 2015-04-20 12:37:23 -0600 | [diff] [blame] | 11 | help |
| 12 | Enable drver model for real-time-clock drivers. The RTC uclass |
| 13 | then provides the rtc_get()/rtc_set() interface, delegating to |
| 14 | drivers to perform the actual functions. See rtc.h for a |
| 15 | description of the API. |
Masahiro Yamada | cc85b7b | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 16 | |
Simon Glass | 39c9422 | 2018-10-01 12:22:15 -0600 | [diff] [blame] | 17 | config SPL_DM_RTC |
| 18 | bool "Enable Driver Model for RTC drivers in SPL" |
| 19 | depends on SPL_DM |
| 20 | help |
| 21 | Enable drver model for real-time-clock drivers. The RTC uclass |
| 22 | then provides the rtc_get()/rtc_set() interface, delegating to |
| 23 | drivers to perform the actual functions. See rtc.h for a |
| 24 | description of the API. |
| 25 | |
| 26 | config TPL_DM_RTC |
| 27 | bool "Enable Driver Model for RTC drivers in TPL" |
| 28 | depends on TPL_DM |
| 29 | help |
| 30 | Enable drver model for real-time-clock drivers. The RTC uclass |
| 31 | then provides the rtc_get()/rtc_set() interface, delegating to |
| 32 | drivers to perform the actual functions. See rtc.h for a |
| 33 | description of the API. |
| 34 | |
Chuanhua Han | 4f97aac | 2019-07-26 19:24:00 +0800 | [diff] [blame] | 35 | config RTC_ENABLE_32KHZ_OUTPUT |
| 36 | bool "Enable RTC 32Khz output" |
| 37 | help |
| 38 | Some real-time clocks support the output of 32kHz square waves (such as ds3231), |
| 39 | the config symbol choose Real Time Clock device 32Khz output feature. |
| 40 | |
Meng Yi | 188417c | 2016-11-30 15:47:31 +0800 | [diff] [blame] | 41 | config RTC_PCF2127 |
| 42 | bool "Enable PCF2127 driver" |
| 43 | depends on DM_RTC |
| 44 | help |
Meng Yi | e21f5c2 | 2017-01-09 11:24:51 -0700 | [diff] [blame] | 45 | The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated |
| 46 | Temperature Compensated Crystal (Xtal) Oscillator (TCXO) and a 32.768 kHz quartz |
| 47 | crystal optimized for very high accuracy and very low power consumption. The PCF2127 |
| 48 | has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a |
| 49 | programmable watchdog function, a timestamp function, and many other features. |
Meng Yi | 188417c | 2016-11-30 15:47:31 +0800 | [diff] [blame] | 50 | |
Chris Packham | 97a3e91 | 2017-04-29 15:20:29 +1200 | [diff] [blame] | 51 | config RTC_DS1307 |
| 52 | bool "Enable DS1307 driver" |
| 53 | depends on DM_RTC |
| 54 | help |
| 55 | Support for Dallas Semiconductor (now Maxim) DS1307 and DS1338/9 and |
| 56 | compatible Real Time Clock devices. |
| 57 | |
Han Nandor | 9c5fc93 | 2019-11-12 08:39:38 +0000 | [diff] [blame] | 58 | config RTC_DS3232 |
| 59 | bool "Enable DS3232 driver" |
| 60 | depends on DM_RTC |
| 61 | depends on DM_I2C |
| 62 | help |
| 63 | Support for Dallas Semiconductor (now Maxim) DS3232 compatible |
| 64 | Real Time Clock devices. |
| 65 | |
Klaus Goger | 2f6bb76 | 2018-03-19 20:32:05 +0100 | [diff] [blame] | 66 | config RTC_ISL1208 |
| 67 | bool "Enable ISL1208 driver" |
| 68 | depends on DM_RTC |
| 69 | help |
| 70 | The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and |
| 71 | calendar with automatic leap year correction, 2-byte battery backed SRAM, |
| 72 | automatic power switch-over, alarm function and 15 selectable frequency |
| 73 | outputs. |
| 74 | |
| 75 | This driver supports reading and writing the RTC/calendar and detects |
| 76 | total power failures. |
| 77 | |
Heiko Schocher | b1f9d2c | 2020-10-16 10:41:46 +0200 | [diff] [blame^] | 78 | config RTC_PCF8563 |
| 79 | tristate "Philips PCF8563" |
| 80 | help |
| 81 | If you say yes here you get support for the Philips PCF8563 RTC |
| 82 | and compatible chips. |
| 83 | |
Philipp Tomsich | 3d0e1ad | 2018-11-27 22:53:57 +0100 | [diff] [blame] | 84 | config RTC_RV3029 |
| 85 | bool "Enable RV3029 driver" |
| 86 | depends on DM_RTC |
| 87 | help |
| 88 | The MicroCrystal RV3029 is a I2C Real Time Clock (RTC) with 8-byte |
| 89 | battery-backed SRAM. |
| 90 | |
| 91 | This driver supports reading and writing the RTC/calendar and the |
| 92 | battery-baced SRAM section. |
| 93 | |
Michael Walle | 2febcea | 2019-05-29 01:29:58 +0200 | [diff] [blame] | 94 | config RTC_RV8803 |
| 95 | bool "Enable RV8803 driver" |
| 96 | depends on DM_RTC |
| 97 | help |
| 98 | The Micro Crystal RV8803 is a high accuracy, ultra-low power I2C |
| 99 | Real Time Clock (RTC) with temperature compensation. |
| 100 | |
| 101 | This driver supports reading and writing the RTC/calendar and |
| 102 | detects total power failures. |
| 103 | |
Nandor Han | 20de5b0 | 2018-01-10 20:31:27 +0100 | [diff] [blame] | 104 | config RTC_RX8010SJ |
| 105 | bool "Enable RX8010SJ driver" |
| 106 | depends on DM_RTC |
| 107 | help |
| 108 | Support for Epson RX8010SJ Real Time Clock devices. |
| 109 | |
Heiko Schocher | 1ac5f6c | 2019-07-16 05:31:33 +0200 | [diff] [blame] | 110 | config RTC_RX8025 |
| 111 | bool "Enable RX8025 driver" |
| 112 | help |
| 113 | Support for Epson RX8025 Real Time Clock devices. |
| 114 | |
Heinrich Schuchardt | 1bf05d0 | 2018-06-29 00:34:16 +0200 | [diff] [blame] | 115 | config RTC_PL031 |
| 116 | bool "Enable ARM AMBA PL031 RTC driver" |
| 117 | help |
| 118 | The ARM PrimeCell Real Time Clock (PL031) is an optional SoC |
| 119 | peripheral based on the Advanced Microcontroller Bus Architecture |
| 120 | (AMBA). It is emulated in QEMU virtual ARM machines. |
| 121 | |
Chris Packham | f654d65 | 2018-05-28 23:39:58 +1200 | [diff] [blame] | 122 | config RTC_MV |
| 123 | bool "Enable Marvell RTC driver" |
| 124 | depends on DM_RTC |
| 125 | help |
| 126 | Enable Marvell RTC driver. This driver supports the rtc that is present |
| 127 | on some Marvell SoCs. |
| 128 | |
Nandor Han | d5ea84a | 2017-11-08 15:35:14 +0000 | [diff] [blame] | 129 | config RTC_S35392A |
| 130 | bool "Enable S35392A driver" |
| 131 | select BITREVERSE |
| 132 | help |
| 133 | Enable s35392a driver which provides rtc get and set function. |
| 134 | |
Simon Glass | 9be963e | 2018-10-01 12:22:14 -0600 | [diff] [blame] | 135 | config RTC_MC146818 |
| 136 | bool "Enable MC146818 driver" |
| 137 | help |
| 138 | This is a widely used real-time clock chip originally by Motorola |
| 139 | and now available from NXP. It includes a battery-backed real-time |
| 140 | clock with a wide array of features and 50 bytes of general-purpose, |
| 141 | battery-backed RAM. The driver supports access to the clock and RAM. |
| 142 | |
Lukasz Majewski | c17ec48 | 2018-11-22 14:54:31 +0100 | [diff] [blame] | 143 | config RTC_M41T62 |
| 144 | bool "Enable M41T62 driver" |
| 145 | help |
| 146 | Enable driver for ST's M41T62 compatible RTC devices (like RV-4162). |
| 147 | It is a serial (I2C) real-time clock (RTC) with alarm. |
| 148 | |
Patrick Delaunay | feee9af | 2019-07-22 11:02:34 +0200 | [diff] [blame] | 149 | config RTC_STM32 |
| 150 | bool "Enable STM32 RTC driver" |
| 151 | depends on DM_RTC |
| 152 | help |
| 153 | Enable STM32 RTC driver. This driver supports the rtc that is present |
| 154 | on some STM32 SoCs. |
Masahiro Yamada | cc85b7b | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 155 | endmenu |