1# 2# RTC drivers configuration 3# 4 5menu "Real Time Clock" 6 7config DM_RTC 8 bool "Enable Driver Model for RTC drivers" 9 depends on DM 10 select LIB_DATE 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. 16 17config 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 26config 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 35config 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 41config RTC_ARMADA38X 42 bool "Enable Armada 38x Marvell SoC RTC" 43 depends on DM_RTC && ARCH_MVEBU 44 help 45 This adds support for the in-chip RTC that can be found in the 46 Armada 38x Marvell's SoC devices. 47 48config RTC_PCF2127 49 bool "Enable PCF2127 driver" 50 depends on DM_RTC 51 help 52 The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated 53 Temperature Compensated Crystal (Xtal) Oscillator (TCXO) and a 32.768 kHz quartz 54 crystal optimized for very high accuracy and very low power consumption. The PCF2127 55 has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a 56 programmable watchdog function, a timestamp function, and many other features. 57 58config RTC_DS1307 59 bool "Enable DS1307 driver" 60 depends on DM_RTC 61 help 62 Support for Dallas Semiconductor (now Maxim) DS1307 and DS1338/9 and 63 compatible Real Time Clock devices. 64 65config RTC_DS3232 66 bool "Enable DS3232 driver" 67 depends on DM_RTC 68 depends on DM_I2C 69 help 70 Support for Dallas Semiconductor (now Maxim) DS3232 compatible 71 Real Time Clock devices. 72 73config RTC_EMULATION 74 bool "Enable emulated RTC" 75 depends on DM_RTC 76 help 77 On a board without hardware clock this software real time clock can be 78 used. The initial time may be provided via the environment variable 79 'rtc_emul_epoch' as a decimal string indicating seconds since 80 1970-01-01. If the environment variable is missing, the build time is 81 used to initialize the RTC. The time can be adjusted manually via the 82 'date' command or the 'sntp' command can be used to update the RTC 83 with the time from a network time server. See CONFIG_CMD_SNTP and 84 CONFIG_BOOTP_NTPSERVER. The RTC time is advanced according to CPU 85 ticks. 86 87config RTC_ISL1208 88 bool "Enable ISL1208 driver" 89 depends on DM_RTC 90 help 91 The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and 92 calendar with automatic leap year correction, 2-byte battery backed SRAM, 93 automatic power switch-over, alarm function and 15 selectable frequency 94 outputs. 95 96 This driver supports reading and writing the RTC/calendar and detects 97 total power failures. 98 99config RTC_PCF8563 100 tristate "Philips PCF8563" 101 help 102 If you say yes here you get support for the Philips PCF8563 RTC 103 and compatible chips. 104 105config RTC_RV3028 106 bool "Enable RV3028 driver" 107 depends on DM_RTC 108 help 109 The MicroCrystal RV3028 is a I2C Real Time Clock (RTC) 110 111config RTC_RV3029 112 bool "Enable RV3029 driver" 113 depends on DM_RTC 114 help 115 The MicroCrystal RV3029 is a I2C Real Time Clock (RTC) with 8-byte 116 battery-backed SRAM. 117 118 This driver supports reading and writing the RTC/calendar and the 119 battery-baced SRAM section. 120 121config RTC_RV8803 122 bool "Enable RV8803 driver" 123 depends on DM_RTC 124 help 125 The Micro Crystal RV8803 is a high accuracy, ultra-low power I2C 126 Real Time Clock (RTC) with temperature compensation. 127 128 This driver supports reading and writing the RTC/calendar and 129 detects total power failures. 130 131config RTC_RX8010SJ 132 bool "Enable RX8010SJ driver" 133 depends on DM_RTC 134 help 135 Support for Epson RX8010SJ Real Time Clock devices. 136 137config RTC_RX8025 138 bool "Enable RX8025 driver" 139 help 140 Support for Epson RX8025 Real Time Clock devices. 141 142config RTC_PL031 143 bool "Enable ARM AMBA PL031 RTC driver" 144 help 145 The ARM PrimeCell Real Time Clock (PL031) is an optional SoC 146 peripheral based on the Advanced Microcontroller Bus Architecture 147 (AMBA). It is emulated in QEMU virtual ARM machines. 148 149config RTC_MV 150 bool "Enable Marvell RTC driver" 151 depends on DM_RTC 152 help 153 Enable Marvell RTC driver. This driver supports the rtc that is present 154 on some Marvell SoCs. 155 156config RTC_S35392A 157 bool "Enable S35392A driver" 158 select BITREVERSE 159 help 160 Enable s35392a driver which provides rtc get and set function. 161 162config RTC_MC146818 163 bool "Enable MC146818 driver" 164 help 165 This is a widely used real-time clock chip originally by Motorola 166 and now available from NXP. It includes a battery-backed real-time 167 clock with a wide array of features and 50 bytes of general-purpose, 168 battery-backed RAM. The driver supports access to the clock and RAM. 169 170config RTC_M41T62 171 bool "Enable M41T62 driver" 172 help 173 Enable driver for ST's M41T62 compatible RTC devices (like RV-4162). 174 It is a serial (I2C) real-time clock (RTC) with alarm. 175 176config RTC_STM32 177 bool "Enable STM32 RTC driver" 178 depends on DM_RTC 179 help 180 Enable STM32 RTC driver. This driver supports the rtc that is present 181 on some STM32 SoCs. 182 183config RTC_ABX80X 184 bool "Enable Abracon ABx80x RTC driver" 185 depends on DM_RTC 186 help 187 If you say yes here you get support for Abracon AB080X and AB180X 188 families of ultra-low-power battery- and capacitor-backed real-time 189 clock chips. 190 191endmenu 192