Merge tag 'u-boot-imx-20191209' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[oweals/u-boot.git] / drivers / rtc / Kconfig
1 #
2 # RTC drivers configuration
3 #
4
5 menu "Real Time Clock"
6
7 config 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
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
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
41 config RTC_PCF2127
42         bool "Enable PCF2127 driver"
43         depends on DM_RTC
44         help
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.
50
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
58 config RTC_ISL1208
59         bool "Enable ISL1208 driver"
60         depends on DM_RTC
61         help
62           The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and
63           calendar with automatic leap year correction, 2-byte battery backed SRAM,
64           automatic power switch-over, alarm function and 15 selectable frequency
65           outputs.
66
67           This driver supports reading and writing the RTC/calendar and detects
68           total power failures.
69
70 config RTC_RV3029
71         bool "Enable RV3029 driver"
72         depends on DM_RTC
73         help
74           The MicroCrystal RV3029 is a I2C Real Time Clock (RTC) with 8-byte
75           battery-backed SRAM.
76
77           This driver supports reading and writing the RTC/calendar and the
78           battery-baced SRAM section.
79
80 config RTC_RV8803
81         bool "Enable RV8803 driver"
82         depends on DM_RTC
83         help
84           The Micro Crystal RV8803 is a high accuracy, ultra-low power I2C
85           Real Time Clock (RTC) with temperature compensation.
86
87           This driver supports reading and writing the RTC/calendar and
88           detects total power failures.
89
90 config RTC_RX8010SJ
91         bool "Enable RX8010SJ driver"
92         depends on DM_RTC
93         help
94           Support for Epson RX8010SJ Real Time Clock devices.
95
96 config RTC_RX8025
97         bool "Enable RX8025 driver"
98         help
99           Support for Epson RX8025 Real Time Clock devices.
100
101 config RTC_PL031
102         bool "Enable ARM AMBA PL031 RTC driver"
103         help
104           The ARM PrimeCell Real Time Clock (PL031) is an optional SoC
105           peripheral based on the Advanced Microcontroller Bus Architecture
106           (AMBA). It is emulated in QEMU virtual ARM machines.
107
108 config RTC_MV
109         bool "Enable Marvell RTC driver"
110         depends on DM_RTC
111         help
112           Enable Marvell RTC driver. This driver supports the rtc that is present
113           on some Marvell SoCs.
114
115 config RTC_S35392A
116         bool "Enable S35392A driver"
117         select BITREVERSE
118         help
119           Enable s35392a driver which provides rtc get and set function.
120
121 config RTC_MC146818
122         bool "Enable MC146818 driver"
123         help
124           This is a widely used real-time clock chip originally by Motorola
125           and now available from NXP. It includes a battery-backed real-time
126           clock with a wide array of features and 50 bytes of general-purpose,
127           battery-backed RAM. The driver supports access to the clock and RAM.
128
129 config RTC_M41T62
130         bool "Enable M41T62 driver"
131         help
132           Enable driver for ST's M41T62 compatible RTC devices (like RV-4162).
133           It is a serial (I2C) real-time clock (RTC) with alarm.
134
135 config RTC_STM32
136         bool "Enable STM32 RTC driver"
137         depends on DM_RTC
138         help
139           Enable STM32 RTC driver. This driver supports the rtc that is present
140           on some STM32 SoCs.
141 endmenu