Masahiro Yamada | 0b11dbf | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 1 | # |
| 2 | # RTC drivers configuration |
| 3 | # |
| 4 | |
| 5 | menu "Real Time Clock" |
| 6 | |
Simon Glass | dbeda5b | 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 | 05429b6 | 2019-11-13 09:44:49 +0900 | [diff] [blame] | 10 | select LIB_DATE |
Simon Glass | dbeda5b | 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 | 0b11dbf | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 16 | |
Simon Glass | 380d4f7 | 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 | |
Simon Glass | 747093d | 2022-04-30 00:56:53 -0600 | [diff] [blame] | 35 | config VPL_DM_RTC |
| 36 | bool "Enable Driver Model for RTC drivers in VPL" |
| 37 | depends on VPL_DM |
| 38 | help |
| 39 | Enable drver model for real-time-clock drivers. The RTC uclass |
| 40 | then provides the rtc_get()/rtc_set() interface, delegating to |
| 41 | drivers to perform the actual functions. See rtc.h for a |
| 42 | description of the API. |
| 43 | |
Chuanhua Han | db07c44 | 2019-07-26 19:24:00 +0800 | [diff] [blame] | 44 | config RTC_ENABLE_32KHZ_OUTPUT |
| 45 | bool "Enable RTC 32Khz output" |
| 46 | help |
| 47 | Some real-time clocks support the output of 32kHz square waves (such as ds3231), |
| 48 | the config symbol choose Real Time Clock device 32Khz output feature. |
| 49 | |
Marek BehĂșn | aefbc2c | 2021-02-26 10:30:19 +0100 | [diff] [blame] | 50 | config RTC_ARMADA38X |
| 51 | bool "Enable Armada 38x Marvell SoC RTC" |
| 52 | depends on DM_RTC && ARCH_MVEBU |
| 53 | help |
| 54 | This adds support for the in-chip RTC that can be found in the |
| 55 | Armada 38x Marvell's SoC devices. |
| 56 | |
Meng Yi | 8f3a842 | 2016-11-30 15:47:31 +0800 | [diff] [blame] | 57 | config RTC_PCF2127 |
| 58 | bool "Enable PCF2127 driver" |
| 59 | depends on DM_RTC |
| 60 | help |
Meng Yi | 45a0194 | 2017-01-09 11:24:51 -0700 | [diff] [blame] | 61 | The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated |
| 62 | Temperature Compensated Crystal (Xtal) Oscillator (TCXO) and a 32.768 kHz quartz |
| 63 | crystal optimized for very high accuracy and very low power consumption. The PCF2127 |
| 64 | has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a |
| 65 | programmable watchdog function, a timestamp function, and many other features. |
Meng Yi | 8f3a842 | 2016-11-30 15:47:31 +0800 | [diff] [blame] | 66 | |
Chris Packham | d425d60 | 2017-04-29 15:20:29 +1200 | [diff] [blame] | 67 | config RTC_DS1307 |
| 68 | bool "Enable DS1307 driver" |
| 69 | depends on DM_RTC |
| 70 | help |
| 71 | Support for Dallas Semiconductor (now Maxim) DS1307 and DS1338/9 and |
| 72 | compatible Real Time Clock devices. |
| 73 | |
Han Nandor | 0b326fc | 2019-11-12 08:39:38 +0000 | [diff] [blame] | 74 | config RTC_DS3232 |
| 75 | bool "Enable DS3232 driver" |
| 76 | depends on DM_RTC |
| 77 | depends on DM_I2C |
| 78 | help |
| 79 | Support for Dallas Semiconductor (now Maxim) DS3232 compatible |
| 80 | Real Time Clock devices. |
| 81 | |
Heinrich Schuchardt | 87e9963 | 2020-10-22 23:52:14 +0200 | [diff] [blame] | 82 | config RTC_EMULATION |
| 83 | bool "Enable emulated RTC" |
| 84 | depends on DM_RTC |
| 85 | help |
| 86 | On a board without hardware clock this software real time clock can be |
Heinrich Schuchardt | fb71c3f | 2020-10-30 03:27:22 +0100 | [diff] [blame] | 87 | used. The initial time may be provided via the environment variable |
| 88 | 'rtc_emul_epoch' as a decimal string indicating seconds since |
| 89 | 1970-01-01. If the environment variable is missing, the build time is |
| 90 | used to initialize the RTC. The time can be adjusted manually via the |
| 91 | 'date' command or the 'sntp' command can be used to update the RTC |
| 92 | with the time from a network time server. See CONFIG_CMD_SNTP and |
| 93 | CONFIG_BOOTP_NTPSERVER. The RTC time is advanced according to CPU |
| 94 | ticks. |
Heinrich Schuchardt | 87e9963 | 2020-10-22 23:52:14 +0200 | [diff] [blame] | 95 | |
Klaus Goger | 5228031 | 2018-03-19 20:32:05 +0100 | [diff] [blame] | 96 | config RTC_ISL1208 |
| 97 | bool "Enable ISL1208 driver" |
| 98 | depends on DM_RTC |
| 99 | help |
| 100 | The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and |
| 101 | calendar with automatic leap year correction, 2-byte battery backed SRAM, |
| 102 | automatic power switch-over, alarm function and 15 selectable frequency |
| 103 | outputs. |
| 104 | |
| 105 | This driver supports reading and writing the RTC/calendar and detects |
| 106 | total power failures. |
| 107 | |
Heiko Schocher | dddfde5 | 2020-10-16 10:41:46 +0200 | [diff] [blame] | 108 | config RTC_PCF8563 |
| 109 | tristate "Philips PCF8563" |
| 110 | help |
| 111 | If you say yes here you get support for the Philips PCF8563 RTC |
| 112 | and compatible chips. |
| 113 | |
Heiko Schocher | 05a0776 | 2021-03-10 08:15:00 +0100 | [diff] [blame] | 114 | config RTC_RV3028 |
| 115 | bool "Enable RV3028 driver" |
| 116 | depends on DM_RTC |
| 117 | help |
| 118 | The MicroCrystal RV3028 is a I2C Real Time Clock (RTC) |
| 119 | |
Philipp Tomsich | a3716b5 | 2018-11-27 22:53:57 +0100 | [diff] [blame] | 120 | config RTC_RV3029 |
| 121 | bool "Enable RV3029 driver" |
| 122 | depends on DM_RTC |
| 123 | help |
| 124 | The MicroCrystal RV3029 is a I2C Real Time Clock (RTC) with 8-byte |
| 125 | battery-backed SRAM. |
| 126 | |
| 127 | This driver supports reading and writing the RTC/calendar and the |
| 128 | battery-baced SRAM section. |
| 129 | |
Michael Walle | fb9a1ff | 2019-05-29 01:29:58 +0200 | [diff] [blame] | 130 | config RTC_RV8803 |
| 131 | bool "Enable RV8803 driver" |
| 132 | depends on DM_RTC |
| 133 | help |
| 134 | The Micro Crystal RV8803 is a high accuracy, ultra-low power I2C |
| 135 | Real Time Clock (RTC) with temperature compensation. |
| 136 | |
| 137 | This driver supports reading and writing the RTC/calendar and |
| 138 | detects total power failures. |
| 139 | |
Nandor Han | 958a210 | 2018-01-10 20:31:27 +0100 | [diff] [blame] | 140 | config RTC_RX8010SJ |
| 141 | bool "Enable RX8010SJ driver" |
| 142 | depends on DM_RTC |
| 143 | help |
| 144 | Support for Epson RX8010SJ Real Time Clock devices. |
| 145 | |
Heiko Schocher | a7e6d0c | 2019-07-16 05:31:33 +0200 | [diff] [blame] | 146 | config RTC_RX8025 |
| 147 | bool "Enable RX8025 driver" |
Mathew McBride | 152ef91 | 2021-09-17 06:46:01 +0000 | [diff] [blame] | 148 | depends on DM_RTC |
Heiko Schocher | a7e6d0c | 2019-07-16 05:31:33 +0200 | [diff] [blame] | 149 | help |
| 150 | Support for Epson RX8025 Real Time Clock devices. |
| 151 | |
Heinrich Schuchardt | b19886b | 2018-06-29 00:34:16 +0200 | [diff] [blame] | 152 | config RTC_PL031 |
| 153 | bool "Enable ARM AMBA PL031 RTC driver" |
| 154 | help |
| 155 | The ARM PrimeCell Real Time Clock (PL031) is an optional SoC |
| 156 | peripheral based on the Advanced Microcontroller Bus Architecture |
| 157 | (AMBA). It is emulated in QEMU virtual ARM machines. |
| 158 | |
Chris Packham | d3671df | 2018-05-28 23:39:58 +1200 | [diff] [blame] | 159 | config RTC_MV |
| 160 | bool "Enable Marvell RTC driver" |
| 161 | depends on DM_RTC |
| 162 | help |
| 163 | Enable Marvell RTC driver. This driver supports the rtc that is present |
| 164 | on some Marvell SoCs. |
| 165 | |
Nandor Han | da5337a | 2017-11-08 15:35:14 +0000 | [diff] [blame] | 166 | config RTC_S35392A |
| 167 | bool "Enable S35392A driver" |
| 168 | select BITREVERSE |
| 169 | help |
| 170 | Enable s35392a driver which provides rtc get and set function. |
| 171 | |
Simon Glass | 1076107 | 2018-10-01 12:22:14 -0600 | [diff] [blame] | 172 | config RTC_MC146818 |
| 173 | bool "Enable MC146818 driver" |
| 174 | help |
| 175 | This is a widely used real-time clock chip originally by Motorola |
| 176 | and now available from NXP. It includes a battery-backed real-time |
| 177 | clock with a wide array of features and 50 bytes of general-purpose, |
| 178 | battery-backed RAM. The driver supports access to the clock and RAM. |
| 179 | |
Tom Rini | 3c205a6 | 2022-03-23 17:19:51 -0400 | [diff] [blame] | 180 | config MCFRTC |
| 181 | bool "Use common CF RTC driver" |
| 182 | depends on M68K |
| 183 | |
| 184 | config SYS_MCFRTC_BASE |
| 185 | hex "Base address for RTC in immap.h" |
| 186 | depends on MCFRTC |
| 187 | |
Lukasz Majewski | d27db67 | 2018-11-22 14:54:31 +0100 | [diff] [blame] | 188 | config RTC_M41T62 |
| 189 | bool "Enable M41T62 driver" |
| 190 | help |
| 191 | Enable driver for ST's M41T62 compatible RTC devices (like RV-4162). |
| 192 | It is a serial (I2C) real-time clock (RTC) with alarm. |
| 193 | |
Patrick Delaunay | 1f99eaf | 2019-07-22 11:02:34 +0200 | [diff] [blame] | 194 | config RTC_STM32 |
| 195 | bool "Enable STM32 RTC driver" |
| 196 | depends on DM_RTC |
| 197 | help |
| 198 | Enable STM32 RTC driver. This driver supports the rtc that is present |
| 199 | on some STM32 SoCs. |
Ying-Chun Liu (PaulLiu) | 8d612cc | 2021-01-15 13:53:02 +0800 | [diff] [blame] | 200 | |
| 201 | config RTC_ABX80X |
| 202 | bool "Enable Abracon ABx80x RTC driver" |
| 203 | depends on DM_RTC |
| 204 | help |
| 205 | If you say yes here you get support for Abracon AB080X and AB180X |
| 206 | families of ultra-low-power battery- and capacitor-backed real-time |
| 207 | clock chips. |
| 208 | |
Dario Binacchi | 73c3d8e | 2021-06-02 22:37:58 +0200 | [diff] [blame] | 209 | config RTC_DAVINCI |
| 210 | bool "Enable TI OMAP RTC driver" |
| 211 | depends on ARCH_DAVINCI || ARCH_OMAP2PLUS |
| 212 | help |
| 213 | Say "yes" here to support the on chip real time clock |
| 214 | present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx. |
| 215 | |
Michal Simek | 1f065e8 | 2021-07-29 10:39:08 +0200 | [diff] [blame] | 216 | config RTC_ZYNQMP |
| 217 | bool "Enable ZynqMP RTC driver" |
| 218 | depends on ARCH_ZYNQMP |
| 219 | help |
| 220 | Say "yes" here to support the on chip real time clock |
| 221 | present on Xilinx ZynqMP SoC. |
| 222 | |
Masahiro Yamada | 0b11dbf | 2015-07-26 02:46:26 +0900 | [diff] [blame] | 223 | endmenu |