162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# RTC class/drivers configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig RTC_LIB
762306a36Sopenharmony_ci	bool
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciconfig RTC_MC146818_LIB
1062306a36Sopenharmony_ci	bool
1162306a36Sopenharmony_ci	select RTC_LIB
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_cimenuconfig RTC_CLASS
1462306a36Sopenharmony_ci	bool "Real Time Clock"
1562306a36Sopenharmony_ci	default n
1662306a36Sopenharmony_ci	depends on !S390
1762306a36Sopenharmony_ci	select RTC_LIB
1862306a36Sopenharmony_ci	help
1962306a36Sopenharmony_ci	  Generic RTC class support. If you say yes here, you will
2062306a36Sopenharmony_ci	  be allowed to plug one or more RTCs to your system. You will
2162306a36Sopenharmony_ci	  probably want to enable one or more of the interfaces below.
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciif RTC_CLASS
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciconfig RTC_HCTOSYS
2662306a36Sopenharmony_ci	bool "Set system time from RTC on startup and resume"
2762306a36Sopenharmony_ci	default y
2862306a36Sopenharmony_ci	help
2962306a36Sopenharmony_ci	  If you say yes here, the system time (wall clock) will be set using
3062306a36Sopenharmony_ci	  the value read from a specified RTC device. This is useful to avoid
3162306a36Sopenharmony_ci	  unnecessary fsck runs at boot time, and to network better.
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ciconfig RTC_HCTOSYS_DEVICE
3462306a36Sopenharmony_ci	string "RTC used to set the system time"
3562306a36Sopenharmony_ci	depends on RTC_HCTOSYS
3662306a36Sopenharmony_ci	default "rtc0"
3762306a36Sopenharmony_ci	help
3862306a36Sopenharmony_ci	  The RTC device that will be used to (re)initialize the system
3962306a36Sopenharmony_ci	  clock, usually rtc0. Initialization is done when the system
4062306a36Sopenharmony_ci	  starts up, and when it resumes from a low power state. This
4162306a36Sopenharmony_ci	  device should record time in UTC, since the kernel won't do
4262306a36Sopenharmony_ci	  timezone correction.
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci	  This clock should be battery-backed, so that it reads the correct
4562306a36Sopenharmony_ci	  time when the system boots from a power-off state. Otherwise, your
4662306a36Sopenharmony_ci	  system will need an external clock source (like an NTP server).
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci	  If the clock you specify here is not battery backed, it may still
4962306a36Sopenharmony_ci	  be useful to reinitialize system time when resuming from system
5062306a36Sopenharmony_ci	  sleep states. Do not specify an RTC here unless it stays powered
5162306a36Sopenharmony_ci	  during all this system's supported sleep states.
5262306a36Sopenharmony_ci
5362306a36Sopenharmony_ciconfig RTC_SYSTOHC
5462306a36Sopenharmony_ci	bool "Set the RTC time based on NTP synchronization"
5562306a36Sopenharmony_ci	default y
5662306a36Sopenharmony_ci	help
5762306a36Sopenharmony_ci	  If you say yes here, the system time (wall clock) will be stored
5862306a36Sopenharmony_ci	  in the RTC specified by RTC_HCTOSYS_DEVICE approximately every 11
5962306a36Sopenharmony_ci	  minutes if userspace reports synchronized NTP status.
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ciconfig RTC_SYSTOHC_DEVICE
6262306a36Sopenharmony_ci	string "RTC used to synchronize NTP adjustment"
6362306a36Sopenharmony_ci	depends on RTC_SYSTOHC
6462306a36Sopenharmony_ci	default RTC_HCTOSYS_DEVICE if RTC_HCTOSYS
6562306a36Sopenharmony_ci	default "rtc0"
6662306a36Sopenharmony_ci	help
6762306a36Sopenharmony_ci	  The RTC device used for NTP synchronization. The main difference
6862306a36Sopenharmony_ci	  between RTC_HCTOSYS_DEVICE and RTC_SYSTOHC_DEVICE is that this
6962306a36Sopenharmony_ci	  one can sleep when setting time, because it runs in the workqueue
7062306a36Sopenharmony_ci	  context.
7162306a36Sopenharmony_ci
7262306a36Sopenharmony_ciconfig RTC_DEBUG
7362306a36Sopenharmony_ci	bool "RTC debug support"
7462306a36Sopenharmony_ci	help
7562306a36Sopenharmony_ci	  Say yes here to enable debugging support in the RTC framework
7662306a36Sopenharmony_ci	  and individual RTC drivers.
7762306a36Sopenharmony_ci
7862306a36Sopenharmony_ciconfig RTC_LIB_KUNIT_TEST
7962306a36Sopenharmony_ci	tristate "KUnit test for RTC lib functions" if !KUNIT_ALL_TESTS
8062306a36Sopenharmony_ci	depends on KUNIT
8162306a36Sopenharmony_ci	default KUNIT_ALL_TESTS
8262306a36Sopenharmony_ci	help
8362306a36Sopenharmony_ci	  Enable this option to test RTC library functions.
8462306a36Sopenharmony_ci
8562306a36Sopenharmony_ci	  If unsure, say N.
8662306a36Sopenharmony_ci
8762306a36Sopenharmony_ciconfig RTC_NVMEM
8862306a36Sopenharmony_ci	bool "RTC non volatile storage support"
8962306a36Sopenharmony_ci	select NVMEM
9062306a36Sopenharmony_ci	default RTC_CLASS
9162306a36Sopenharmony_ci	help
9262306a36Sopenharmony_ci	  Say yes here to add support for the non volatile (often battery
9362306a36Sopenharmony_ci	  backed) storage present on RTCs.
9462306a36Sopenharmony_ci
9562306a36Sopenharmony_cicomment "RTC interfaces"
9662306a36Sopenharmony_ci
9762306a36Sopenharmony_ciconfig RTC_INTF_SYSFS
9862306a36Sopenharmony_ci	bool "/sys/class/rtc/rtcN (sysfs)"
9962306a36Sopenharmony_ci	depends on SYSFS
10062306a36Sopenharmony_ci	default RTC_CLASS
10162306a36Sopenharmony_ci	help
10262306a36Sopenharmony_ci	  Say yes here if you want to use your RTCs using sysfs interfaces,
10362306a36Sopenharmony_ci	  /sys/class/rtc/rtc0 through /sys/.../rtcN.
10462306a36Sopenharmony_ci
10562306a36Sopenharmony_ci	  If unsure, say Y.
10662306a36Sopenharmony_ci
10762306a36Sopenharmony_ciconfig RTC_INTF_PROC
10862306a36Sopenharmony_ci	bool "/proc/driver/rtc (procfs for rtcN)"
10962306a36Sopenharmony_ci	depends on PROC_FS
11062306a36Sopenharmony_ci	default RTC_CLASS
11162306a36Sopenharmony_ci	help
11262306a36Sopenharmony_ci	  Say yes here if you want to use your system clock RTC through
11362306a36Sopenharmony_ci	  the proc interface, /proc/driver/rtc.
11462306a36Sopenharmony_ci	  Other RTCs will not be available through that API.
11562306a36Sopenharmony_ci	  If there is no RTC for the system clock, then the first RTC(rtc0)
11662306a36Sopenharmony_ci	  is used by default.
11762306a36Sopenharmony_ci
11862306a36Sopenharmony_ci	  If unsure, say Y.
11962306a36Sopenharmony_ci
12062306a36Sopenharmony_ciconfig RTC_INTF_DEV
12162306a36Sopenharmony_ci	bool "/dev/rtcN (character devices)"
12262306a36Sopenharmony_ci	default RTC_CLASS
12362306a36Sopenharmony_ci	help
12462306a36Sopenharmony_ci	  Say yes here if you want to use your RTCs using the /dev
12562306a36Sopenharmony_ci	  interfaces, which "udev" sets up as /dev/rtc0 through
12662306a36Sopenharmony_ci	  /dev/rtcN.
12762306a36Sopenharmony_ci
12862306a36Sopenharmony_ci	  You may want to set up a symbolic link so one of these
12962306a36Sopenharmony_ci	  can be accessed as /dev/rtc, which is a name
13062306a36Sopenharmony_ci	  expected by "hwclock" and some other programs. Recent
13162306a36Sopenharmony_ci	  versions of "udev" are known to set up the symlink for you.
13262306a36Sopenharmony_ci
13362306a36Sopenharmony_ci	  If unsure, say Y.
13462306a36Sopenharmony_ci
13562306a36Sopenharmony_ciconfig RTC_INTF_DEV_UIE_EMUL
13662306a36Sopenharmony_ci	bool "RTC UIE emulation on dev interface"
13762306a36Sopenharmony_ci	depends on RTC_INTF_DEV
13862306a36Sopenharmony_ci	help
13962306a36Sopenharmony_ci	  Provides an emulation for RTC_UIE if the underlying rtc chip
14062306a36Sopenharmony_ci	  driver does not expose RTC_UIE ioctls. Those requests generate
14162306a36Sopenharmony_ci	  once-per-second update interrupts, used for synchronization.
14262306a36Sopenharmony_ci
14362306a36Sopenharmony_ci	  The emulation code will read the time from the hardware
14462306a36Sopenharmony_ci	  clock several times per second, please enable this option
14562306a36Sopenharmony_ci	  only if you know that you really need it.
14662306a36Sopenharmony_ci
14762306a36Sopenharmony_ciconfig RTC_DRV_TEST
14862306a36Sopenharmony_ci	tristate "Test driver/device"
14962306a36Sopenharmony_ci	help
15062306a36Sopenharmony_ci	  If you say yes here you get support for the
15162306a36Sopenharmony_ci	  RTC test driver. It's a software RTC which can be
15262306a36Sopenharmony_ci	  used to test the RTC subsystem APIs. It gets
15362306a36Sopenharmony_ci	  the time from the system clock.
15462306a36Sopenharmony_ci	  You want this driver only if you are doing development
15562306a36Sopenharmony_ci	  on the RTC subsystem. Please read the source code
15662306a36Sopenharmony_ci	  for further details.
15762306a36Sopenharmony_ci
15862306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
15962306a36Sopenharmony_ci	  will be called rtc-test.
16062306a36Sopenharmony_ci
16162306a36Sopenharmony_cicomment "I2C RTC drivers"
16262306a36Sopenharmony_ci
16362306a36Sopenharmony_ciif I2C
16462306a36Sopenharmony_ci
16562306a36Sopenharmony_ciconfig RTC_DRV_88PM860X
16662306a36Sopenharmony_ci	tristate "Marvell 88PM860x"
16762306a36Sopenharmony_ci	depends on MFD_88PM860X
16862306a36Sopenharmony_ci	help
16962306a36Sopenharmony_ci	  If you say yes here you get support for RTC function in Marvell
17062306a36Sopenharmony_ci	  88PM860x chips.
17162306a36Sopenharmony_ci
17262306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
17362306a36Sopenharmony_ci	  will be called rtc-88pm860x.
17462306a36Sopenharmony_ci
17562306a36Sopenharmony_ciconfig RTC_DRV_88PM80X
17662306a36Sopenharmony_ci	tristate "Marvell 88PM80x"
17762306a36Sopenharmony_ci	depends on MFD_88PM800
17862306a36Sopenharmony_ci	help
17962306a36Sopenharmony_ci	  If you say yes here you get support for RTC function in Marvell
18062306a36Sopenharmony_ci	  88PM80x chips.
18162306a36Sopenharmony_ci
18262306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
18362306a36Sopenharmony_ci	  will be called rtc-88pm80x.
18462306a36Sopenharmony_ci
18562306a36Sopenharmony_ciconfig RTC_DRV_ABB5ZES3
18662306a36Sopenharmony_ci	select REGMAP_I2C
18762306a36Sopenharmony_ci	tristate "Abracon AB-RTCMC-32.768kHz-B5ZE-S3"
18862306a36Sopenharmony_ci	help
18962306a36Sopenharmony_ci	  If you say yes here you get support for the Abracon
19062306a36Sopenharmony_ci	  AB-RTCMC-32.768kHz-B5ZE-S3 I2C RTC chip.
19162306a36Sopenharmony_ci
19262306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
19362306a36Sopenharmony_ci	  will be called rtc-ab-b5ze-s3.
19462306a36Sopenharmony_ci
19562306a36Sopenharmony_ciconfig RTC_DRV_ABEOZ9
19662306a36Sopenharmony_ci	select REGMAP_I2C
19762306a36Sopenharmony_ci	tristate "Abracon AB-RTCMC-32.768kHz-EOZ9"
19862306a36Sopenharmony_ci	help
19962306a36Sopenharmony_ci	  If you say yes here you get support for the Abracon
20062306a36Sopenharmony_ci	  AB-RTCMC-32.768kHz-EOA9 I2C RTC chip.
20162306a36Sopenharmony_ci
20262306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
20362306a36Sopenharmony_ci	  will be called rtc-ab-e0z9.
20462306a36Sopenharmony_ci
20562306a36Sopenharmony_ciconfig RTC_DRV_ABX80X
20662306a36Sopenharmony_ci	tristate "Abracon ABx80x"
20762306a36Sopenharmony_ci	select WATCHDOG_CORE if WATCHDOG
20862306a36Sopenharmony_ci	help
20962306a36Sopenharmony_ci	  If you say yes here you get support for Abracon AB080X and AB180X
21062306a36Sopenharmony_ci	  families of ultra-low-power  battery- and capacitor-backed real-time
21162306a36Sopenharmony_ci	  clock chips.
21262306a36Sopenharmony_ci
21362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
21462306a36Sopenharmony_ci	  will be called rtc-abx80x.
21562306a36Sopenharmony_ci
21662306a36Sopenharmony_ciconfig RTC_DRV_AC100
21762306a36Sopenharmony_ci	tristate "X-Powers AC100"
21862306a36Sopenharmony_ci	depends on MFD_AC100
21962306a36Sopenharmony_ci	help
22062306a36Sopenharmony_ci	  If you say yes here you get support for the real-time clock found
22162306a36Sopenharmony_ci	  in X-Powers AC100 family peripheral ICs.
22262306a36Sopenharmony_ci
22362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
22462306a36Sopenharmony_ci	  will be called rtc-ac100.
22562306a36Sopenharmony_ci
22662306a36Sopenharmony_ciconfig RTC_DRV_BRCMSTB
22762306a36Sopenharmony_ci	tristate "Broadcom STB wake-timer"
22862306a36Sopenharmony_ci	depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST
22962306a36Sopenharmony_ci	default ARCH_BRCMSTB || BMIPS_GENERIC
23062306a36Sopenharmony_ci	help
23162306a36Sopenharmony_ci	  If you say yes here you get support for the wake-timer found on
23262306a36Sopenharmony_ci	  Broadcom STB SoCs (BCM7xxx).
23362306a36Sopenharmony_ci
23462306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module will
23562306a36Sopenharmony_ci	  be called rtc-brcmstb-waketimer.
23662306a36Sopenharmony_ci
23762306a36Sopenharmony_ciconfig RTC_DRV_AS3722
23862306a36Sopenharmony_ci	tristate "ams AS3722 RTC driver"
23962306a36Sopenharmony_ci	depends on MFD_AS3722
24062306a36Sopenharmony_ci	help
24162306a36Sopenharmony_ci	  If you say yes here you get support for the RTC of ams AS3722 PMIC
24262306a36Sopenharmony_ci	  chips.
24362306a36Sopenharmony_ci
24462306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
24562306a36Sopenharmony_ci	  will be called rtc-as3722.
24662306a36Sopenharmony_ci
24762306a36Sopenharmony_ciconfig RTC_DRV_DS1307
24862306a36Sopenharmony_ci	tristate "Dallas/Maxim DS1307/37/38/39/40/41, ST M41T00, EPSON RX-8025, ISL12057"
24962306a36Sopenharmony_ci	select REGMAP_I2C
25062306a36Sopenharmony_ci	select WATCHDOG_CORE if WATCHDOG
25162306a36Sopenharmony_ci	help
25262306a36Sopenharmony_ci	  If you say yes here you get support for various compatible RTC
25362306a36Sopenharmony_ci	  chips (often with battery backup) connected with I2C. This driver
25462306a36Sopenharmony_ci	  should handle DS1307, DS1337, DS1338, DS1339, DS1340, DS1341,
25562306a36Sopenharmony_ci	  ST M41T00, EPSON RX-8025, Intersil ISL12057 and probably other chips.
25662306a36Sopenharmony_ci	  In some cases the RTC must already have been initialized (by
25762306a36Sopenharmony_ci	  manufacturing or a bootloader).
25862306a36Sopenharmony_ci
25962306a36Sopenharmony_ci	  The first seven registers on these chips hold an RTC, and other
26062306a36Sopenharmony_ci	  registers may add features such as NVRAM, a trickle charger for
26162306a36Sopenharmony_ci	  the RTC/NVRAM backup power, and alarms. NVRAM is visible in
26262306a36Sopenharmony_ci	  sysfs, but other chip features may not be available.
26362306a36Sopenharmony_ci
26462306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
26562306a36Sopenharmony_ci	  will be called rtc-ds1307.
26662306a36Sopenharmony_ci
26762306a36Sopenharmony_ciconfig RTC_DRV_DS1307_CENTURY
26862306a36Sopenharmony_ci	bool "Century bit support for rtc-ds1307"
26962306a36Sopenharmony_ci	depends on RTC_DRV_DS1307
27062306a36Sopenharmony_ci	default n
27162306a36Sopenharmony_ci	help
27262306a36Sopenharmony_ci	  The DS1307 driver suffered from a bug where it was enabling the
27362306a36Sopenharmony_ci	  century bit inconditionnally but never used it when reading the time.
27462306a36Sopenharmony_ci	  It made the driver unable to support dates beyond 2099.
27562306a36Sopenharmony_ci	  Setting this option will add proper support for the century bit but if
27662306a36Sopenharmony_ci	  the time was previously set using a kernel predating this option,
27762306a36Sopenharmony_ci	  reading the date will return a date in the next century.
27862306a36Sopenharmony_ci	  To solve that, you could boot a kernel without this option set, set
27962306a36Sopenharmony_ci	  the RTC date and then boot a kernel with this option set.
28062306a36Sopenharmony_ci
28162306a36Sopenharmony_ciconfig RTC_DRV_DS1374
28262306a36Sopenharmony_ci	tristate "Dallas/Maxim DS1374"
28362306a36Sopenharmony_ci	help
28462306a36Sopenharmony_ci	  If you say yes here you get support for Dallas Semiconductor
28562306a36Sopenharmony_ci	  DS1374 real-time clock chips. If an interrupt is associated
28662306a36Sopenharmony_ci	  with the device, the alarm functionality is supported.
28762306a36Sopenharmony_ci
28862306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
28962306a36Sopenharmony_ci	  will be called rtc-ds1374.
29062306a36Sopenharmony_ci
29162306a36Sopenharmony_ciconfig RTC_DRV_DS1374_WDT
29262306a36Sopenharmony_ci	bool "Dallas/Maxim DS1374 watchdog timer"
29362306a36Sopenharmony_ci	depends on RTC_DRV_DS1374 && WATCHDOG
29462306a36Sopenharmony_ci	select WATCHDOG_CORE
29562306a36Sopenharmony_ci	help
29662306a36Sopenharmony_ci	  If you say Y here you will get support for the
29762306a36Sopenharmony_ci	  watchdog timer in the Dallas Semiconductor DS1374
29862306a36Sopenharmony_ci	  real-time clock chips.
29962306a36Sopenharmony_ci
30062306a36Sopenharmony_ciconfig RTC_DRV_DS1672
30162306a36Sopenharmony_ci	tristate "Dallas/Maxim DS1672"
30262306a36Sopenharmony_ci	help
30362306a36Sopenharmony_ci	  If you say yes here you get support for the
30462306a36Sopenharmony_ci	  Dallas/Maxim DS1672 timekeeping chip.
30562306a36Sopenharmony_ci
30662306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
30762306a36Sopenharmony_ci	  will be called rtc-ds1672.
30862306a36Sopenharmony_ci
30962306a36Sopenharmony_ciconfig RTC_DRV_HYM8563
31062306a36Sopenharmony_ci	tristate "Haoyu Microelectronics HYM8563"
31162306a36Sopenharmony_ci	depends on OF
31262306a36Sopenharmony_ci	help
31362306a36Sopenharmony_ci	  Say Y to enable support for the HYM8563 I2C RTC chip. Apart
31462306a36Sopenharmony_ci	  from the usual rtc functions it provides a clock output of
31562306a36Sopenharmony_ci	  up to 32kHz.
31662306a36Sopenharmony_ci
31762306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
31862306a36Sopenharmony_ci	  will be called rtc-hym8563.
31962306a36Sopenharmony_ci
32062306a36Sopenharmony_ciconfig RTC_DRV_LP8788
32162306a36Sopenharmony_ci	tristate "TI LP8788 RTC driver"
32262306a36Sopenharmony_ci	depends on MFD_LP8788
32362306a36Sopenharmony_ci	help
32462306a36Sopenharmony_ci	  Say Y to enable support for the LP8788 RTC/ALARM driver.
32562306a36Sopenharmony_ci
32662306a36Sopenharmony_ciconfig RTC_DRV_MAX6900
32762306a36Sopenharmony_ci	tristate "Maxim MAX6900"
32862306a36Sopenharmony_ci	help
32962306a36Sopenharmony_ci	  If you say yes here you will get support for the
33062306a36Sopenharmony_ci	  Maxim MAX6900 I2C RTC chip.
33162306a36Sopenharmony_ci
33262306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
33362306a36Sopenharmony_ci	  will be called rtc-max6900.
33462306a36Sopenharmony_ci
33562306a36Sopenharmony_ciconfig RTC_DRV_MAX8907
33662306a36Sopenharmony_ci	tristate "Maxim MAX8907"
33762306a36Sopenharmony_ci	depends on MFD_MAX8907 || COMPILE_TEST
33862306a36Sopenharmony_ci	select REGMAP_IRQ
33962306a36Sopenharmony_ci	help
34062306a36Sopenharmony_ci	  If you say yes here you will get support for the
34162306a36Sopenharmony_ci	  RTC of Maxim MAX8907 PMIC.
34262306a36Sopenharmony_ci
34362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
34462306a36Sopenharmony_ci	  will be called rtc-max8907.
34562306a36Sopenharmony_ci
34662306a36Sopenharmony_ciconfig RTC_DRV_MAX8925
34762306a36Sopenharmony_ci	tristate "Maxim MAX8925"
34862306a36Sopenharmony_ci	depends on MFD_MAX8925
34962306a36Sopenharmony_ci	help
35062306a36Sopenharmony_ci	  If you say yes here you will get support for the
35162306a36Sopenharmony_ci	  RTC of Maxim MAX8925 PMIC.
35262306a36Sopenharmony_ci
35362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
35462306a36Sopenharmony_ci	  will be called rtc-max8925.
35562306a36Sopenharmony_ci
35662306a36Sopenharmony_ciconfig RTC_DRV_MAX8998
35762306a36Sopenharmony_ci	tristate "Maxim MAX8998"
35862306a36Sopenharmony_ci	depends on MFD_MAX8998
35962306a36Sopenharmony_ci	help
36062306a36Sopenharmony_ci	  If you say yes here you will get support for the
36162306a36Sopenharmony_ci	  RTC of Maxim MAX8998 PMIC.
36262306a36Sopenharmony_ci
36362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
36462306a36Sopenharmony_ci	  will be called rtc-max8998.
36562306a36Sopenharmony_ci
36662306a36Sopenharmony_ciconfig RTC_DRV_MAX8997
36762306a36Sopenharmony_ci	tristate "Maxim MAX8997"
36862306a36Sopenharmony_ci	depends on MFD_MAX8997
36962306a36Sopenharmony_ci	help
37062306a36Sopenharmony_ci	  If you say yes here you will get support for the
37162306a36Sopenharmony_ci	  RTC of Maxim MAX8997 PMIC.
37262306a36Sopenharmony_ci
37362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
37462306a36Sopenharmony_ci	  will be called rtc-max8997.
37562306a36Sopenharmony_ci
37662306a36Sopenharmony_ciconfig RTC_DRV_MAX77686
37762306a36Sopenharmony_ci	tristate "Maxim MAX77686"
37862306a36Sopenharmony_ci	depends on MFD_MAX77686 || MFD_MAX77620 || MFD_MAX77714 || COMPILE_TEST
37962306a36Sopenharmony_ci	help
38062306a36Sopenharmony_ci	  If you say yes here you will get support for the
38162306a36Sopenharmony_ci	  RTC of Maxim MAX77686/MAX77620/MAX77802 PMIC.
38262306a36Sopenharmony_ci
38362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
38462306a36Sopenharmony_ci	  will be called rtc-max77686.
38562306a36Sopenharmony_ci
38662306a36Sopenharmony_ciconfig RTC_DRV_NCT3018Y
38762306a36Sopenharmony_ci	tristate "Nuvoton NCT3018Y"
38862306a36Sopenharmony_ci	depends on OF
38962306a36Sopenharmony_ci	help
39062306a36Sopenharmony_ci	   If you say yes here you get support for the Nuvoton NCT3018Y I2C RTC
39162306a36Sopenharmony_ci	   chip.
39262306a36Sopenharmony_ci
39362306a36Sopenharmony_ci	   This driver can also be built as a module, if so, the module will be
39462306a36Sopenharmony_ci	   called "rtc-nct3018y".
39562306a36Sopenharmony_ci
39662306a36Sopenharmony_ciconfig RTC_DRV_RK808
39762306a36Sopenharmony_ci	tristate "Rockchip RK805/RK808/RK809/RK817/RK818 RTC"
39862306a36Sopenharmony_ci	depends on MFD_RK8XX
39962306a36Sopenharmony_ci	help
40062306a36Sopenharmony_ci	  If you say yes here you will get support for the
40162306a36Sopenharmony_ci	  RTC of RK805, RK809 and RK817, RK808 and RK818 PMIC.
40262306a36Sopenharmony_ci
40362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
40462306a36Sopenharmony_ci	  will be called rk808-rtc.
40562306a36Sopenharmony_ci
40662306a36Sopenharmony_ciconfig RTC_DRV_RS5C372
40762306a36Sopenharmony_ci	tristate "Ricoh R2025S/D, RS5C372A/B, RV5C386, RV5C387A"
40862306a36Sopenharmony_ci	help
40962306a36Sopenharmony_ci	  If you say yes here you get support for the
41062306a36Sopenharmony_ci	  Ricoh R2025S/D, RS5C372A, RS5C372B, RV5C386, and RV5C387A RTC chips.
41162306a36Sopenharmony_ci
41262306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
41362306a36Sopenharmony_ci	  will be called rtc-rs5c372.
41462306a36Sopenharmony_ci
41562306a36Sopenharmony_ciconfig RTC_DRV_ISL1208
41662306a36Sopenharmony_ci	tristate "Intersil ISL1208"
41762306a36Sopenharmony_ci	help
41862306a36Sopenharmony_ci	  If you say yes here you get support for the
41962306a36Sopenharmony_ci	  Intersil ISL1208 RTC chip.
42062306a36Sopenharmony_ci
42162306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
42262306a36Sopenharmony_ci	  will be called rtc-isl1208.
42362306a36Sopenharmony_ci
42462306a36Sopenharmony_ciconfig RTC_DRV_ISL12022
42562306a36Sopenharmony_ci	tristate "Intersil ISL12022"
42662306a36Sopenharmony_ci	select REGMAP_I2C
42762306a36Sopenharmony_ci	help
42862306a36Sopenharmony_ci	  If you say yes here you get support for the
42962306a36Sopenharmony_ci	  Intersil ISL12022 RTC chip.
43062306a36Sopenharmony_ci
43162306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
43262306a36Sopenharmony_ci	  will be called rtc-isl12022.
43362306a36Sopenharmony_ci
43462306a36Sopenharmony_ciconfig RTC_DRV_ISL12026
43562306a36Sopenharmony_ci	tristate "Intersil ISL12026"
43662306a36Sopenharmony_ci	depends on OF
43762306a36Sopenharmony_ci	help
43862306a36Sopenharmony_ci	  If you say yes here you get support for the
43962306a36Sopenharmony_ci	  Intersil ISL12026 RTC chip.
44062306a36Sopenharmony_ci
44162306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
44262306a36Sopenharmony_ci	  will be called rtc-isl12026.
44362306a36Sopenharmony_ci
44462306a36Sopenharmony_ciconfig RTC_DRV_X1205
44562306a36Sopenharmony_ci	tristate "Xicor/Intersil X1205"
44662306a36Sopenharmony_ci	help
44762306a36Sopenharmony_ci	  If you say yes here you get support for the
44862306a36Sopenharmony_ci	  Xicor/Intersil X1205 RTC chip.
44962306a36Sopenharmony_ci
45062306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
45162306a36Sopenharmony_ci	  will be called rtc-x1205.
45262306a36Sopenharmony_ci
45362306a36Sopenharmony_ciconfig RTC_DRV_PCF8523
45462306a36Sopenharmony_ci	tristate "NXP PCF8523"
45562306a36Sopenharmony_ci	select REGMAP_I2C
45662306a36Sopenharmony_ci	help
45762306a36Sopenharmony_ci	  If you say yes here you get support for the NXP PCF8523 RTC
45862306a36Sopenharmony_ci	  chips.
45962306a36Sopenharmony_ci
46062306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
46162306a36Sopenharmony_ci	  will be called rtc-pcf8523.
46262306a36Sopenharmony_ci
46362306a36Sopenharmony_ciconfig RTC_DRV_PCF85063
46462306a36Sopenharmony_ci	tristate "NXP PCF85063"
46562306a36Sopenharmony_ci	select REGMAP_I2C
46662306a36Sopenharmony_ci	help
46762306a36Sopenharmony_ci	  If you say yes here you get support for the PCF85063 RTC chip
46862306a36Sopenharmony_ci
46962306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
47062306a36Sopenharmony_ci	  will be called rtc-pcf85063.
47162306a36Sopenharmony_ci
47262306a36Sopenharmony_ciconfig RTC_DRV_PCF85363
47362306a36Sopenharmony_ci	tristate "NXP PCF85363"
47462306a36Sopenharmony_ci	select REGMAP_I2C
47562306a36Sopenharmony_ci	help
47662306a36Sopenharmony_ci	  If you say yes here you get support for the PCF85363 RTC chip.
47762306a36Sopenharmony_ci
47862306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
47962306a36Sopenharmony_ci	  will be called rtc-pcf85363.
48062306a36Sopenharmony_ci
48162306a36Sopenharmony_ci	  The nvmem interface will be named pcf85363-#, where # is the
48262306a36Sopenharmony_ci	  zero-based instance number.
48362306a36Sopenharmony_ci
48462306a36Sopenharmony_ciconfig RTC_DRV_PCF8563
48562306a36Sopenharmony_ci	tristate "Philips PCF8563/Epson RTC8564"
48662306a36Sopenharmony_ci	help
48762306a36Sopenharmony_ci	  If you say yes here you get support for the
48862306a36Sopenharmony_ci	  Philips PCF8563 RTC chip. The Epson RTC8564
48962306a36Sopenharmony_ci	  should work as well.
49062306a36Sopenharmony_ci
49162306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
49262306a36Sopenharmony_ci	  will be called rtc-pcf8563.
49362306a36Sopenharmony_ci
49462306a36Sopenharmony_ciconfig RTC_DRV_PCF8583
49562306a36Sopenharmony_ci	tristate "Philips PCF8583"
49662306a36Sopenharmony_ci	help
49762306a36Sopenharmony_ci	  If you say yes here you get support for the Philips PCF8583
49862306a36Sopenharmony_ci	  RTC chip found on Acorn RiscPCs. This driver supports the
49962306a36Sopenharmony_ci	  platform specific method of retrieving the current year from
50062306a36Sopenharmony_ci	  the RTC's SRAM. It will work on other platforms with the same
50162306a36Sopenharmony_ci	  chip, but the year will probably have to be tweaked.
50262306a36Sopenharmony_ci
50362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
50462306a36Sopenharmony_ci	  will be called rtc-pcf8583.
50562306a36Sopenharmony_ci
50662306a36Sopenharmony_ciconfig RTC_DRV_M41T80
50762306a36Sopenharmony_ci	tristate "ST M41T62/65/M41T80/81/82/83/84/85/87 and compatible"
50862306a36Sopenharmony_ci	help
50962306a36Sopenharmony_ci	  If you say Y here you will get support for the ST M41T60
51062306a36Sopenharmony_ci	  and M41T80 RTC chips series. Currently, the following chips are
51162306a36Sopenharmony_ci	  supported: M41T62, M41T65, M41T80, M41T81, M41T82, M41T83, M41ST84,
51262306a36Sopenharmony_ci	  M41ST85, M41ST87, and MicroCrystal RV4162.
51362306a36Sopenharmony_ci
51462306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
51562306a36Sopenharmony_ci	  will be called rtc-m41t80.
51662306a36Sopenharmony_ci
51762306a36Sopenharmony_ciconfig RTC_DRV_M41T80_WDT
51862306a36Sopenharmony_ci	bool "ST M41T65/M41T80 series RTC watchdog timer"
51962306a36Sopenharmony_ci	depends on RTC_DRV_M41T80
52062306a36Sopenharmony_ci	help
52162306a36Sopenharmony_ci	  If you say Y here you will get support for the
52262306a36Sopenharmony_ci	  watchdog timer in the ST M41T60 and M41T80 RTC chips series.
52362306a36Sopenharmony_ci
52462306a36Sopenharmony_ciconfig RTC_DRV_BD70528
52562306a36Sopenharmony_ci	tristate "ROHM BD71815 and BD71828 PMIC RTC"
52662306a36Sopenharmony_ci	depends on MFD_ROHM_BD71828
52762306a36Sopenharmony_ci	help
52862306a36Sopenharmony_ci	  If you say Y here you will get support for the RTC
52962306a36Sopenharmony_ci	  block on ROHM BD71815 and BD71828 Power Management IC.
53062306a36Sopenharmony_ci
53162306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
53262306a36Sopenharmony_ci	  will be called rtc-bd70528.
53362306a36Sopenharmony_ci
53462306a36Sopenharmony_ciconfig RTC_DRV_BQ32K
53562306a36Sopenharmony_ci	tristate "TI BQ32000"
53662306a36Sopenharmony_ci	help
53762306a36Sopenharmony_ci	  If you say Y here you will get support for the TI
53862306a36Sopenharmony_ci	  BQ32000 I2C RTC chip.
53962306a36Sopenharmony_ci
54062306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
54162306a36Sopenharmony_ci	  will be called rtc-bq32k.
54262306a36Sopenharmony_ci
54362306a36Sopenharmony_ciconfig RTC_DRV_TWL92330
54462306a36Sopenharmony_ci	bool "TI TWL92330/Menelaus"
54562306a36Sopenharmony_ci	depends on MENELAUS
54662306a36Sopenharmony_ci	help
54762306a36Sopenharmony_ci	  If you say yes here you get support for the RTC on the
54862306a36Sopenharmony_ci	  TWL92330 "Menelaus" power management chip, used with OMAP2
54962306a36Sopenharmony_ci	  platforms. The support is integrated with the rest of
55062306a36Sopenharmony_ci	  the Menelaus driver; it's not separate module.
55162306a36Sopenharmony_ci
55262306a36Sopenharmony_ciconfig RTC_DRV_TWL4030
55362306a36Sopenharmony_ci	tristate "TI TWL4030/TWL5030/TWL6030/TPS659x0"
55462306a36Sopenharmony_ci	depends on TWL4030_CORE
55562306a36Sopenharmony_ci	depends on OF
55662306a36Sopenharmony_ci	help
55762306a36Sopenharmony_ci	  If you say yes here you get support for the RTC on the
55862306a36Sopenharmony_ci	  TWL4030/TWL5030/TWL6030 family chips, used mostly with OMAP3 platforms.
55962306a36Sopenharmony_ci
56062306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
56162306a36Sopenharmony_ci	  will be called rtc-twl.
56262306a36Sopenharmony_ci
56362306a36Sopenharmony_ciconfig RTC_DRV_PALMAS
56462306a36Sopenharmony_ci	tristate "TI Palmas RTC driver"
56562306a36Sopenharmony_ci	depends on MFD_PALMAS
56662306a36Sopenharmony_ci	help
56762306a36Sopenharmony_ci	  If you say yes here you get support for the RTC of TI PALMA series PMIC
56862306a36Sopenharmony_ci	  chips.
56962306a36Sopenharmony_ci
57062306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
57162306a36Sopenharmony_ci	  will be called rtc-palma.
57262306a36Sopenharmony_ci
57362306a36Sopenharmony_ciconfig RTC_DRV_TPS6586X
57462306a36Sopenharmony_ci	tristate "TI TPS6586X RTC driver"
57562306a36Sopenharmony_ci	depends on MFD_TPS6586X
57662306a36Sopenharmony_ci	help
57762306a36Sopenharmony_ci	  TI Power Management IC TPS6586X supports RTC functionality
57862306a36Sopenharmony_ci	  along with alarm. This driver supports the RTC driver for
57962306a36Sopenharmony_ci	  the TPS6586X RTC module.
58062306a36Sopenharmony_ci
58162306a36Sopenharmony_ciconfig RTC_DRV_TPS65910
58262306a36Sopenharmony_ci	tristate "TI TPS65910 RTC driver"
58362306a36Sopenharmony_ci	depends on MFD_TPS65910
58462306a36Sopenharmony_ci	help
58562306a36Sopenharmony_ci	  If you say yes here you get support for the RTC on the
58662306a36Sopenharmony_ci	  TPS65910 chips.
58762306a36Sopenharmony_ci
58862306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
58962306a36Sopenharmony_ci	  will be called rtc-tps65910.
59062306a36Sopenharmony_ci
59162306a36Sopenharmony_ciconfig RTC_DRV_RC5T583
59262306a36Sopenharmony_ci	tristate "RICOH 5T583 RTC driver"
59362306a36Sopenharmony_ci	depends on MFD_RC5T583
59462306a36Sopenharmony_ci	help
59562306a36Sopenharmony_ci	  If you say yes here you get support for the RTC on the
59662306a36Sopenharmony_ci	  RICOH 5T583 chips.
59762306a36Sopenharmony_ci
59862306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
59962306a36Sopenharmony_ci	  will be called rtc-rc5t583.
60062306a36Sopenharmony_ci
60162306a36Sopenharmony_ciconfig RTC_DRV_RC5T619
60262306a36Sopenharmony_ci	tristate "RICOH RC5T619 RTC driver"
60362306a36Sopenharmony_ci	depends on MFD_RN5T618
60462306a36Sopenharmony_ci	help
60562306a36Sopenharmony_ci	  If you say yes here you get support for the RTC on the
60662306a36Sopenharmony_ci	  RICOH RC5T619 chips.
60762306a36Sopenharmony_ci
60862306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
60962306a36Sopenharmony_ci	  will be called rtc-rc5t619.
61062306a36Sopenharmony_ci
61162306a36Sopenharmony_ciconfig RTC_DRV_S35390A
61262306a36Sopenharmony_ci	tristate "Seiko Instruments S-35390A"
61362306a36Sopenharmony_ci	select BITREVERSE
61462306a36Sopenharmony_ci	help
61562306a36Sopenharmony_ci	  If you say yes here you will get support for the Seiko
61662306a36Sopenharmony_ci	  Instruments S-35390A.
61762306a36Sopenharmony_ci
61862306a36Sopenharmony_ci	  This driver can also be built as a module. If so the module
61962306a36Sopenharmony_ci	  will be called rtc-s35390a.
62062306a36Sopenharmony_ci
62162306a36Sopenharmony_ciconfig RTC_DRV_FM3130
62262306a36Sopenharmony_ci	tristate "Ramtron FM3130"
62362306a36Sopenharmony_ci	help
62462306a36Sopenharmony_ci	  If you say Y here you will get support for the
62562306a36Sopenharmony_ci	  Ramtron FM3130 RTC chips.
62662306a36Sopenharmony_ci	  Ramtron FM3130 is a chip with two separate devices inside,
62762306a36Sopenharmony_ci	  RTC clock and FRAM. This driver provides only RTC functionality.
62862306a36Sopenharmony_ci
62962306a36Sopenharmony_ci	  This driver can also be built as a module. If so the module
63062306a36Sopenharmony_ci	  will be called rtc-fm3130.
63162306a36Sopenharmony_ci
63262306a36Sopenharmony_ciconfig RTC_DRV_RX8010
63362306a36Sopenharmony_ci	tristate "Epson RX8010SJ"
63462306a36Sopenharmony_ci	select REGMAP_I2C
63562306a36Sopenharmony_ci	help
63662306a36Sopenharmony_ci	  If you say yes here you get support for the Epson RX8010SJ RTC
63762306a36Sopenharmony_ci	  chip.
63862306a36Sopenharmony_ci
63962306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
64062306a36Sopenharmony_ci	  will be called rtc-rx8010.
64162306a36Sopenharmony_ci
64262306a36Sopenharmony_ciconfig RTC_DRV_RX8581
64362306a36Sopenharmony_ci	tristate "Epson RX-8571/RX-8581"
64462306a36Sopenharmony_ci	select REGMAP_I2C
64562306a36Sopenharmony_ci	help
64662306a36Sopenharmony_ci	  If you say yes here you will get support for the Epson RX-8571/
64762306a36Sopenharmony_ci	  RX-8581.
64862306a36Sopenharmony_ci
64962306a36Sopenharmony_ci	  This driver can also be built as a module. If so the module
65062306a36Sopenharmony_ci	  will be called rtc-rx8581.
65162306a36Sopenharmony_ci
65262306a36Sopenharmony_ciconfig RTC_DRV_RX8025
65362306a36Sopenharmony_ci	tristate "Epson RX-8025SA/NB"
65462306a36Sopenharmony_ci	help
65562306a36Sopenharmony_ci	  If you say yes here you get support for the Epson
65662306a36Sopenharmony_ci	  RX-8025SA/NB RTC chips.
65762306a36Sopenharmony_ci
65862306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
65962306a36Sopenharmony_ci	  will be called rtc-rx8025.
66062306a36Sopenharmony_ci
66162306a36Sopenharmony_ciconfig RTC_DRV_EM3027
66262306a36Sopenharmony_ci	tristate "EM Microelectronic EM3027"
66362306a36Sopenharmony_ci	help
66462306a36Sopenharmony_ci	  If you say yes here you get support for the EM
66562306a36Sopenharmony_ci	  Microelectronic EM3027 RTC chips.
66662306a36Sopenharmony_ci
66762306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
66862306a36Sopenharmony_ci	  will be called rtc-em3027.
66962306a36Sopenharmony_ci
67062306a36Sopenharmony_ciconfig RTC_DRV_RV3028
67162306a36Sopenharmony_ci	tristate "Micro Crystal RV3028"
67262306a36Sopenharmony_ci	select REGMAP_I2C
67362306a36Sopenharmony_ci	help
67462306a36Sopenharmony_ci	  If you say yes here you get support for the Micro Crystal
67562306a36Sopenharmony_ci	  RV3028.
67662306a36Sopenharmony_ci
67762306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
67862306a36Sopenharmony_ci	  will be called rtc-rv3028.
67962306a36Sopenharmony_ci
68062306a36Sopenharmony_ciconfig RTC_DRV_RV3032
68162306a36Sopenharmony_ci	tristate "Micro Crystal RV3032"
68262306a36Sopenharmony_ci	select REGMAP_I2C
68362306a36Sopenharmony_ci	help
68462306a36Sopenharmony_ci	  If you say yes here you get support for the Micro Crystal
68562306a36Sopenharmony_ci	  RV3032.
68662306a36Sopenharmony_ci
68762306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
68862306a36Sopenharmony_ci	  will be called rtc-rv3032.
68962306a36Sopenharmony_ci
69062306a36Sopenharmony_ciconfig RTC_DRV_RV8803
69162306a36Sopenharmony_ci	tristate "Micro Crystal RV8803, Epson RX8900"
69262306a36Sopenharmony_ci	help
69362306a36Sopenharmony_ci	  If you say yes here you get support for the Micro Crystal RV8803 and
69462306a36Sopenharmony_ci	  Epson RX8900 RTC chips.
69562306a36Sopenharmony_ci
69662306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
69762306a36Sopenharmony_ci	  will be called rtc-rv8803.
69862306a36Sopenharmony_ci
69962306a36Sopenharmony_ciconfig RTC_DRV_S5M
70062306a36Sopenharmony_ci	tristate "Samsung S2M/S5M series"
70162306a36Sopenharmony_ci	depends on MFD_SEC_CORE || COMPILE_TEST
70262306a36Sopenharmony_ci	select REGMAP_IRQ
70362306a36Sopenharmony_ci	select REGMAP_I2C
70462306a36Sopenharmony_ci	help
70562306a36Sopenharmony_ci	  If you say yes here you will get support for the
70662306a36Sopenharmony_ci	  RTC of Samsung S2MPS14 and S5M PMIC series.
70762306a36Sopenharmony_ci
70862306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
70962306a36Sopenharmony_ci	  will be called rtc-s5m.
71062306a36Sopenharmony_ci
71162306a36Sopenharmony_ciconfig RTC_DRV_SD3078
71262306a36Sopenharmony_ci	tristate "ZXW Shenzhen whwave SD3078"
71362306a36Sopenharmony_ci	select REGMAP_I2C
71462306a36Sopenharmony_ci	help
71562306a36Sopenharmony_ci	  If you say yes here you get support for the ZXW Shenzhen whwave
71662306a36Sopenharmony_ci	  SD3078 RTC chips.
71762306a36Sopenharmony_ci
71862306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
71962306a36Sopenharmony_ci	  will be called rtc-sd3078
72062306a36Sopenharmony_ci
72162306a36Sopenharmony_ciendif # I2C
72262306a36Sopenharmony_ci
72362306a36Sopenharmony_cicomment "SPI RTC drivers"
72462306a36Sopenharmony_ci
72562306a36Sopenharmony_ciif SPI_MASTER
72662306a36Sopenharmony_ci
72762306a36Sopenharmony_ciconfig RTC_DRV_M41T93
72862306a36Sopenharmony_ci	tristate "ST M41T93"
72962306a36Sopenharmony_ci	help
73062306a36Sopenharmony_ci	  If you say yes here you will get support for the
73162306a36Sopenharmony_ci	  ST M41T93 SPI RTC chip.
73262306a36Sopenharmony_ci
73362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
73462306a36Sopenharmony_ci	  will be called rtc-m41t93.
73562306a36Sopenharmony_ci
73662306a36Sopenharmony_ciconfig RTC_DRV_M41T94
73762306a36Sopenharmony_ci	tristate "ST M41T94"
73862306a36Sopenharmony_ci	help
73962306a36Sopenharmony_ci	  If you say yes here you will get support for the
74062306a36Sopenharmony_ci	  ST M41T94 SPI RTC chip.
74162306a36Sopenharmony_ci
74262306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
74362306a36Sopenharmony_ci	  will be called rtc-m41t94.
74462306a36Sopenharmony_ci
74562306a36Sopenharmony_ciconfig RTC_DRV_DS1302
74662306a36Sopenharmony_ci	tristate "Dallas/Maxim DS1302"
74762306a36Sopenharmony_ci	depends on SPI
74862306a36Sopenharmony_ci	help
74962306a36Sopenharmony_ci	  If you say yes here you get support for the Dallas DS1302 RTC chips.
75062306a36Sopenharmony_ci
75162306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
75262306a36Sopenharmony_ci	  will be called rtc-ds1302.
75362306a36Sopenharmony_ci
75462306a36Sopenharmony_ciconfig RTC_DRV_DS1305
75562306a36Sopenharmony_ci	tristate "Dallas/Maxim DS1305/DS1306"
75662306a36Sopenharmony_ci	help
75762306a36Sopenharmony_ci	  Select this driver to get support for the Dallas/Maxim DS1305
75862306a36Sopenharmony_ci	  and DS1306 real time clock chips. These support a trickle
75962306a36Sopenharmony_ci	  charger, alarms, and NVRAM in addition to the clock.
76062306a36Sopenharmony_ci
76162306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
76262306a36Sopenharmony_ci	  will be called rtc-ds1305.
76362306a36Sopenharmony_ci
76462306a36Sopenharmony_ciconfig RTC_DRV_DS1343
76562306a36Sopenharmony_ci	select REGMAP_SPI
76662306a36Sopenharmony_ci	tristate "Dallas/Maxim DS1343/DS1344"
76762306a36Sopenharmony_ci	help
76862306a36Sopenharmony_ci	  If you say yes here you get support for the
76962306a36Sopenharmony_ci	  Dallas/Maxim DS1343 and DS1344 real time clock chips.
77062306a36Sopenharmony_ci	  Support for trickle charger, alarm is provided.
77162306a36Sopenharmony_ci
77262306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
77362306a36Sopenharmony_ci	  will be called rtc-ds1343.
77462306a36Sopenharmony_ci
77562306a36Sopenharmony_ciconfig RTC_DRV_DS1347
77662306a36Sopenharmony_ci	select REGMAP_SPI
77762306a36Sopenharmony_ci	tristate "Dallas/Maxim DS1347"
77862306a36Sopenharmony_ci	help
77962306a36Sopenharmony_ci	  If you say yes here you get support for the
78062306a36Sopenharmony_ci	  Dallas/Maxim DS1347 chips.
78162306a36Sopenharmony_ci
78262306a36Sopenharmony_ci	  This driver only supports the RTC feature, and not other chip
78362306a36Sopenharmony_ci	  features such as alarms.
78462306a36Sopenharmony_ci
78562306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
78662306a36Sopenharmony_ci	  will be called rtc-ds1347.
78762306a36Sopenharmony_ci
78862306a36Sopenharmony_ciconfig RTC_DRV_DS1390
78962306a36Sopenharmony_ci	tristate "Dallas/Maxim DS1390/93/94"
79062306a36Sopenharmony_ci	help
79162306a36Sopenharmony_ci	  If you say yes here you get support for the
79262306a36Sopenharmony_ci	  Dallas/Maxim DS1390/93/94 chips.
79362306a36Sopenharmony_ci
79462306a36Sopenharmony_ci	  This driver supports the RTC feature and trickle charging but not
79562306a36Sopenharmony_ci	  other chip features such as alarms.
79662306a36Sopenharmony_ci
79762306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
79862306a36Sopenharmony_ci	  will be called rtc-ds1390.
79962306a36Sopenharmony_ci
80062306a36Sopenharmony_ciconfig RTC_DRV_MAX6916
80162306a36Sopenharmony_ci	tristate "Maxim MAX6916"
80262306a36Sopenharmony_ci	help
80362306a36Sopenharmony_ci	  If you say yes here you will get support for the
80462306a36Sopenharmony_ci	  Maxim MAX6916 SPI RTC chip.
80562306a36Sopenharmony_ci
80662306a36Sopenharmony_ci	  This driver only supports the RTC feature, and not other chip
80762306a36Sopenharmony_ci	  features such as alarms.
80862306a36Sopenharmony_ci
80962306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
81062306a36Sopenharmony_ci	  will be called rtc-max6916.
81162306a36Sopenharmony_ci
81262306a36Sopenharmony_ciconfig RTC_DRV_R9701
81362306a36Sopenharmony_ci	tristate "Epson RTC-9701JE"
81462306a36Sopenharmony_ci	help
81562306a36Sopenharmony_ci	  If you say yes here you will get support for the
81662306a36Sopenharmony_ci	  Epson RTC-9701JE SPI RTC chip.
81762306a36Sopenharmony_ci
81862306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
81962306a36Sopenharmony_ci	  will be called rtc-r9701.
82062306a36Sopenharmony_ci
82162306a36Sopenharmony_ciconfig RTC_DRV_RX4581
82262306a36Sopenharmony_ci	tristate "Epson RX-4581"
82362306a36Sopenharmony_ci	help
82462306a36Sopenharmony_ci	  If you say yes here you will get support for the Epson RX-4581.
82562306a36Sopenharmony_ci
82662306a36Sopenharmony_ci	  This driver can also be built as a module. If so the module
82762306a36Sopenharmony_ci	  will be called rtc-rx4581.
82862306a36Sopenharmony_ci
82962306a36Sopenharmony_ciconfig RTC_DRV_RS5C348
83062306a36Sopenharmony_ci	tristate "Ricoh RS5C348A/B"
83162306a36Sopenharmony_ci	help
83262306a36Sopenharmony_ci	  If you say yes here you get support for the
83362306a36Sopenharmony_ci	  Ricoh RS5C348A and RS5C348B RTC chips.
83462306a36Sopenharmony_ci
83562306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
83662306a36Sopenharmony_ci	  will be called rtc-rs5c348.
83762306a36Sopenharmony_ci
83862306a36Sopenharmony_ciconfig RTC_DRV_MAX6902
83962306a36Sopenharmony_ci	tristate "Maxim MAX6902"
84062306a36Sopenharmony_ci	help
84162306a36Sopenharmony_ci	  If you say yes here you will get support for the
84262306a36Sopenharmony_ci	  Maxim MAX6902 SPI RTC chip.
84362306a36Sopenharmony_ci
84462306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
84562306a36Sopenharmony_ci	  will be called rtc-max6902.
84662306a36Sopenharmony_ci
84762306a36Sopenharmony_ciconfig RTC_DRV_PCF2123
84862306a36Sopenharmony_ci	tristate "NXP PCF2123"
84962306a36Sopenharmony_ci	select REGMAP_SPI
85062306a36Sopenharmony_ci	help
85162306a36Sopenharmony_ci	  If you say yes here you get support for the NXP PCF2123
85262306a36Sopenharmony_ci	  RTC chip.
85362306a36Sopenharmony_ci
85462306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
85562306a36Sopenharmony_ci	  will be called rtc-pcf2123.
85662306a36Sopenharmony_ci
85762306a36Sopenharmony_ciconfig RTC_DRV_MCP795
85862306a36Sopenharmony_ci	tristate "Microchip MCP795"
85962306a36Sopenharmony_ci	help
86062306a36Sopenharmony_ci	  If you say yes here you will get support for the Microchip MCP795.
86162306a36Sopenharmony_ci
86262306a36Sopenharmony_ci	  This driver can also be built as a module. If so the module
86362306a36Sopenharmony_ci	  will be called rtc-mcp795.
86462306a36Sopenharmony_ci
86562306a36Sopenharmony_ciendif # SPI_MASTER
86662306a36Sopenharmony_ci
86762306a36Sopenharmony_ci#
86862306a36Sopenharmony_ci# Helper to resolve issues with configs that have SPI enabled but I2C
86962306a36Sopenharmony_ci# modular.  See SND_SOC_I2C_AND_SPI for more information
87062306a36Sopenharmony_ci#
87162306a36Sopenharmony_ciconfig RTC_I2C_AND_SPI
87262306a36Sopenharmony_ci	tristate
87362306a36Sopenharmony_ci	default m if I2C=m
87462306a36Sopenharmony_ci	default y if I2C=y
87562306a36Sopenharmony_ci	default y if SPI_MASTER=y
87662306a36Sopenharmony_ci
87762306a36Sopenharmony_cicomment "SPI and I2C RTC drivers"
87862306a36Sopenharmony_ci
87962306a36Sopenharmony_ciconfig RTC_DRV_DS3232
88062306a36Sopenharmony_ci	tristate "Dallas/Maxim DS3232/DS3234"
88162306a36Sopenharmony_ci	depends on RTC_I2C_AND_SPI
88262306a36Sopenharmony_ci	select REGMAP_I2C if I2C
88362306a36Sopenharmony_ci	select REGMAP_SPI if SPI_MASTER
88462306a36Sopenharmony_ci	help
88562306a36Sopenharmony_ci	  If you say yes here you get support for Dallas Semiconductor
88662306a36Sopenharmony_ci	  DS3232 and DS3234 real-time clock chips. If an interrupt is associated
88762306a36Sopenharmony_ci	  with the device, the alarm functionality is supported.
88862306a36Sopenharmony_ci
88962306a36Sopenharmony_ci	  This driver can also be built as a module.  If so, the module
89062306a36Sopenharmony_ci	  will be called rtc-ds3232.
89162306a36Sopenharmony_ci
89262306a36Sopenharmony_ciconfig RTC_DRV_DS3232_HWMON
89362306a36Sopenharmony_ci	bool "HWMON support for Dallas/Maxim DS3232/DS3234"
89462306a36Sopenharmony_ci	depends on RTC_DRV_DS3232 && HWMON && !(RTC_DRV_DS3232=y && HWMON=m)
89562306a36Sopenharmony_ci	default y
89662306a36Sopenharmony_ci	help
89762306a36Sopenharmony_ci	  Say Y here if you want to expose temperature sensor data on
89862306a36Sopenharmony_ci	  rtc-ds3232
89962306a36Sopenharmony_ci
90062306a36Sopenharmony_ciconfig RTC_DRV_PCF2127
90162306a36Sopenharmony_ci	tristate "NXP PCF2127"
90262306a36Sopenharmony_ci	depends on RTC_I2C_AND_SPI
90362306a36Sopenharmony_ci	select REGMAP_I2C if I2C
90462306a36Sopenharmony_ci	select REGMAP_SPI if SPI_MASTER
90562306a36Sopenharmony_ci	select WATCHDOG_CORE if WATCHDOG
90662306a36Sopenharmony_ci	help
90762306a36Sopenharmony_ci	  If you say yes here you get support for the NXP PCF2127/29/31 RTC
90862306a36Sopenharmony_ci	  chips with integrated quartz crystal for industrial applications.
90962306a36Sopenharmony_ci	  These chips also have watchdog timer and tamper switch detection
91062306a36Sopenharmony_ci	  features.
91162306a36Sopenharmony_ci
91262306a36Sopenharmony_ci	  PCF2127 has an additional feature of 512 bytes battery backed
91362306a36Sopenharmony_ci	  memory that's accessible using nvmem interface.
91462306a36Sopenharmony_ci
91562306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
91662306a36Sopenharmony_ci	  will be called rtc-pcf2127.
91762306a36Sopenharmony_ci
91862306a36Sopenharmony_ciconfig RTC_DRV_RV3029C2
91962306a36Sopenharmony_ci	tristate "Micro Crystal RV3029/3049"
92062306a36Sopenharmony_ci	depends on RTC_I2C_AND_SPI
92162306a36Sopenharmony_ci	select REGMAP_I2C if I2C
92262306a36Sopenharmony_ci	select REGMAP_SPI if SPI_MASTER
92362306a36Sopenharmony_ci	help
92462306a36Sopenharmony_ci	  If you say yes here you get support for the Micro Crystal
92562306a36Sopenharmony_ci	  RV3029 and RV3049 RTC chips.
92662306a36Sopenharmony_ci
92762306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
92862306a36Sopenharmony_ci	  will be called rtc-rv3029c2.
92962306a36Sopenharmony_ci
93062306a36Sopenharmony_ciconfig RTC_DRV_RV3029_HWMON
93162306a36Sopenharmony_ci	bool "HWMON support for RV3029/3049"
93262306a36Sopenharmony_ci	depends on RTC_DRV_RV3029C2 && HWMON
93362306a36Sopenharmony_ci	depends on !(RTC_DRV_RV3029C2=y && HWMON=m)
93462306a36Sopenharmony_ci	default y
93562306a36Sopenharmony_ci	help
93662306a36Sopenharmony_ci	  Say Y here if you want to expose temperature sensor data on
93762306a36Sopenharmony_ci	  rtc-rv3029.
93862306a36Sopenharmony_ci
93962306a36Sopenharmony_ciconfig RTC_DRV_RX6110
94062306a36Sopenharmony_ci	tristate "Epson RX-6110"
94162306a36Sopenharmony_ci	depends on RTC_I2C_AND_SPI
94262306a36Sopenharmony_ci	select REGMAP_SPI if SPI_MASTER
94362306a36Sopenharmony_ci	select REGMAP_I2C if I2C
94462306a36Sopenharmony_ci	help
94562306a36Sopenharmony_ci	  If you say yes here you will get support for the Epson RX-6110.
94662306a36Sopenharmony_ci
94762306a36Sopenharmony_ci	  This driver can also be built as a module. If so the module
94862306a36Sopenharmony_ci	  will be called rtc-rx6110.
94962306a36Sopenharmony_ci
95062306a36Sopenharmony_cicomment "Platform RTC drivers"
95162306a36Sopenharmony_ci
95262306a36Sopenharmony_ci# this 'CMOS' RTC driver is arch dependent because it requires
95362306a36Sopenharmony_ci# <asm/mc146818rtc.h> defining CMOS_READ/CMOS_WRITE, and a
95462306a36Sopenharmony_ci# global rtc_lock ... it's not yet just another platform_device.
95562306a36Sopenharmony_ci
95662306a36Sopenharmony_ciconfig RTC_DRV_CMOS
95762306a36Sopenharmony_ci	tristate "PC-style 'CMOS'"
95862306a36Sopenharmony_ci	depends on X86 || ARM || PPC || MIPS || SPARC64
95962306a36Sopenharmony_ci	depends on HAS_IOPORT || MACH_DECSTATION
96062306a36Sopenharmony_ci	default y if X86
96162306a36Sopenharmony_ci	select RTC_MC146818_LIB
96262306a36Sopenharmony_ci	help
96362306a36Sopenharmony_ci	  Say "yes" here to get direct support for the real time clock
96462306a36Sopenharmony_ci	  found in every PC or ACPI-based system, and some other boards.
96562306a36Sopenharmony_ci	  Specifically the original MC146818, compatibles like those in
96662306a36Sopenharmony_ci	  PC south bridges, the DS12887 or M48T86, some multifunction
96762306a36Sopenharmony_ci	  or LPC bus chips, and so on.
96862306a36Sopenharmony_ci
96962306a36Sopenharmony_ci	  Your system will need to define the platform device used by
97062306a36Sopenharmony_ci	  this driver, otherwise it won't be accessible. This means
97162306a36Sopenharmony_ci	  you can safely enable this driver if you don't know whether
97262306a36Sopenharmony_ci	  or not your board has this kind of hardware.
97362306a36Sopenharmony_ci
97462306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
97562306a36Sopenharmony_ci	  will be called rtc-cmos.
97662306a36Sopenharmony_ci
97762306a36Sopenharmony_ciconfig RTC_DRV_ALPHA
97862306a36Sopenharmony_ci	bool "Alpha PC-style CMOS"
97962306a36Sopenharmony_ci	depends on ALPHA
98062306a36Sopenharmony_ci	depends on HAS_IOPORT
98162306a36Sopenharmony_ci	select RTC_MC146818_LIB
98262306a36Sopenharmony_ci	default y
98362306a36Sopenharmony_ci	help
98462306a36Sopenharmony_ci	  Direct support for the real-time clock found on every Alpha
98562306a36Sopenharmony_ci	  system, specifically MC146818 compatibles.  If in doubt, say Y.
98662306a36Sopenharmony_ci
98762306a36Sopenharmony_ciconfig RTC_DRV_DS1216
98862306a36Sopenharmony_ci	tristate "Dallas DS1216"
98962306a36Sopenharmony_ci	depends on SNI_RM
99062306a36Sopenharmony_ci	help
99162306a36Sopenharmony_ci	  If you say yes here you get support for the Dallas DS1216 RTC chips.
99262306a36Sopenharmony_ci
99362306a36Sopenharmony_ciconfig RTC_DRV_DS1286
99462306a36Sopenharmony_ci	tristate "Dallas DS1286"
99562306a36Sopenharmony_ci	depends on HAS_IOMEM
99662306a36Sopenharmony_ci	help
99762306a36Sopenharmony_ci	  If you say yes here you get support for the Dallas DS1286 RTC chips.
99862306a36Sopenharmony_ci
99962306a36Sopenharmony_ciconfig RTC_DRV_DS1511
100062306a36Sopenharmony_ci	tristate "Dallas DS1511"
100162306a36Sopenharmony_ci	depends on HAS_IOMEM
100262306a36Sopenharmony_ci	help
100362306a36Sopenharmony_ci	  If you say yes here you get support for the
100462306a36Sopenharmony_ci	  Dallas DS1511 timekeeping/watchdog chip.
100562306a36Sopenharmony_ci
100662306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
100762306a36Sopenharmony_ci	  will be called rtc-ds1511.
100862306a36Sopenharmony_ci
100962306a36Sopenharmony_ciconfig RTC_DRV_DS1553
101062306a36Sopenharmony_ci	tristate "Maxim/Dallas DS1553"
101162306a36Sopenharmony_ci	depends on HAS_IOMEM
101262306a36Sopenharmony_ci	help
101362306a36Sopenharmony_ci	  If you say yes here you get support for the
101462306a36Sopenharmony_ci	  Maxim/Dallas DS1553 timekeeping chip.
101562306a36Sopenharmony_ci
101662306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
101762306a36Sopenharmony_ci	  will be called rtc-ds1553.
101862306a36Sopenharmony_ci
101962306a36Sopenharmony_ciconfig RTC_DRV_DS1685_FAMILY
102062306a36Sopenharmony_ci	tristate "Dallas/Maxim DS1685 Family"
102162306a36Sopenharmony_ci	depends on HAS_IOMEM
102262306a36Sopenharmony_ci	help
102362306a36Sopenharmony_ci	  If you say yes here you get support for the Dallas/Maxim DS1685
102462306a36Sopenharmony_ci	  family of real time chips.  This family includes the DS1685/DS1687,
102562306a36Sopenharmony_ci	  DS1689/DS1693, DS17285/DS17287, DS17485/DS17487, and
102662306a36Sopenharmony_ci	  DS17885/DS17887 chips.
102762306a36Sopenharmony_ci
102862306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
102962306a36Sopenharmony_ci	  will be called rtc-ds1685.
103062306a36Sopenharmony_ci
103162306a36Sopenharmony_cichoice
103262306a36Sopenharmony_ci	prompt "Subtype"
103362306a36Sopenharmony_ci	depends on RTC_DRV_DS1685_FAMILY
103462306a36Sopenharmony_ci	default RTC_DRV_DS1685
103562306a36Sopenharmony_ci
103662306a36Sopenharmony_ciconfig RTC_DRV_DS1685
103762306a36Sopenharmony_ci	bool "DS1685/DS1687"
103862306a36Sopenharmony_ci	help
103962306a36Sopenharmony_ci	  This enables support for the Dallas/Maxim DS1685/DS1687 real time
104062306a36Sopenharmony_ci	  clock chip.
104162306a36Sopenharmony_ci
104262306a36Sopenharmony_ci	  This chip is commonly found in SGI O2 (IP32) and SGI Octane (IP30)
104362306a36Sopenharmony_ci	  systems, as well as EPPC-405-UC modules by electronic system design
104462306a36Sopenharmony_ci	  GmbH.
104562306a36Sopenharmony_ci
104662306a36Sopenharmony_ciconfig RTC_DRV_DS1689
104762306a36Sopenharmony_ci	bool "DS1689/DS1693"
104862306a36Sopenharmony_ci	help
104962306a36Sopenharmony_ci	  This enables support for the Dallas/Maxim DS1689/DS1693 real time
105062306a36Sopenharmony_ci	  clock chip.
105162306a36Sopenharmony_ci
105262306a36Sopenharmony_ci	  This is an older RTC chip, supplanted by the DS1685/DS1687 above,
105362306a36Sopenharmony_ci	  which supports a few minor features such as Vcc, Vbat, and Power
105462306a36Sopenharmony_ci	  Cycle counters, plus a customer-specific, 8-byte ROM/Serial number.
105562306a36Sopenharmony_ci
105662306a36Sopenharmony_ci	  It also works for the even older DS1688/DS1691 RTC chips, which are
105762306a36Sopenharmony_ci	  virtually the same and carry the same model number.  Both chips
105862306a36Sopenharmony_ci	  have 114 bytes of user NVRAM.
105962306a36Sopenharmony_ci
106062306a36Sopenharmony_ciconfig RTC_DRV_DS17285
106162306a36Sopenharmony_ci	bool "DS17285/DS17287"
106262306a36Sopenharmony_ci	help
106362306a36Sopenharmony_ci	  This enables support for the Dallas/Maxim DS17285/DS17287 real time
106462306a36Sopenharmony_ci	  clock chip.
106562306a36Sopenharmony_ci
106662306a36Sopenharmony_ci	  This chip features 2kb of extended NV-SRAM.  It may possibly be
106762306a36Sopenharmony_ci	  found in some SGI O2 systems (rare).
106862306a36Sopenharmony_ci
106962306a36Sopenharmony_ciconfig RTC_DRV_DS17485
107062306a36Sopenharmony_ci	bool "DS17485/DS17487"
107162306a36Sopenharmony_ci	help
107262306a36Sopenharmony_ci	  This enables support for the Dallas/Maxim DS17485/DS17487 real time
107362306a36Sopenharmony_ci	  clock chip.
107462306a36Sopenharmony_ci
107562306a36Sopenharmony_ci	  This chip features 4kb of extended NV-SRAM.
107662306a36Sopenharmony_ci
107762306a36Sopenharmony_ciconfig RTC_DRV_DS17885
107862306a36Sopenharmony_ci	bool "DS17885/DS17887"
107962306a36Sopenharmony_ci	help
108062306a36Sopenharmony_ci	  This enables support for the Dallas/Maxim DS17885/DS17887 real time
108162306a36Sopenharmony_ci	  clock chip.
108262306a36Sopenharmony_ci
108362306a36Sopenharmony_ci	  This chip features 8kb of extended NV-SRAM.
108462306a36Sopenharmony_ci
108562306a36Sopenharmony_ciendchoice
108662306a36Sopenharmony_ci
108762306a36Sopenharmony_ciconfig RTC_DRV_DS1742
108862306a36Sopenharmony_ci	tristate "Maxim/Dallas DS1742/1743"
108962306a36Sopenharmony_ci	depends on HAS_IOMEM
109062306a36Sopenharmony_ci	help
109162306a36Sopenharmony_ci	  If you say yes here you get support for the
109262306a36Sopenharmony_ci	  Maxim/Dallas DS1742/1743 timekeeping chip.
109362306a36Sopenharmony_ci
109462306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
109562306a36Sopenharmony_ci	  will be called rtc-ds1742.
109662306a36Sopenharmony_ci
109762306a36Sopenharmony_ciconfig RTC_DRV_DS2404
109862306a36Sopenharmony_ci	tristate "Maxim/Dallas DS2404"
109962306a36Sopenharmony_ci	help
110062306a36Sopenharmony_ci	  If you say yes here you get support for the
110162306a36Sopenharmony_ci	  Dallas DS2404 RTC chip.
110262306a36Sopenharmony_ci
110362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
110462306a36Sopenharmony_ci	  will be called rtc-ds2404.
110562306a36Sopenharmony_ci
110662306a36Sopenharmony_ciconfig RTC_DRV_DA9052
110762306a36Sopenharmony_ci	tristate "Dialog DA9052/DA9053 RTC"
110862306a36Sopenharmony_ci	depends on PMIC_DA9052
110962306a36Sopenharmony_ci	help
111062306a36Sopenharmony_ci	  Say y here to support the RTC driver for Dialog Semiconductor
111162306a36Sopenharmony_ci	  DA9052-BC and DA9053-AA/Bx PMICs.
111262306a36Sopenharmony_ci
111362306a36Sopenharmony_ciconfig RTC_DRV_DA9055
111462306a36Sopenharmony_ci	tristate "Dialog Semiconductor DA9055 RTC"
111562306a36Sopenharmony_ci	depends on MFD_DA9055
111662306a36Sopenharmony_ci	help
111762306a36Sopenharmony_ci	  If you say yes here you will get support for the
111862306a36Sopenharmony_ci	  RTC of the Dialog DA9055 PMIC.
111962306a36Sopenharmony_ci
112062306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
112162306a36Sopenharmony_ci	  will be called rtc-da9055
112262306a36Sopenharmony_ci
112362306a36Sopenharmony_ciconfig RTC_DRV_DA9063
112462306a36Sopenharmony_ci	tristate "Dialog Semiconductor DA9063/DA9062 RTC"
112562306a36Sopenharmony_ci	depends on MFD_DA9063 || MFD_DA9062
112662306a36Sopenharmony_ci	help
112762306a36Sopenharmony_ci	  If you say yes here you will get support for the RTC subsystem
112862306a36Sopenharmony_ci	  for the Dialog Semiconductor PMIC chips DA9063 and DA9062.
112962306a36Sopenharmony_ci
113062306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
113162306a36Sopenharmony_ci	  will be called "rtc-da9063".
113262306a36Sopenharmony_ci
113362306a36Sopenharmony_ciconfig RTC_DRV_EFI
113462306a36Sopenharmony_ci	tristate "EFI RTC"
113562306a36Sopenharmony_ci	depends on EFI && !X86
113662306a36Sopenharmony_ci	help
113762306a36Sopenharmony_ci	  If you say yes here you will get support for the EFI
113862306a36Sopenharmony_ci	  Real Time Clock.
113962306a36Sopenharmony_ci
114062306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
114162306a36Sopenharmony_ci	  will be called rtc-efi.
114262306a36Sopenharmony_ci
114362306a36Sopenharmony_ciconfig RTC_DRV_STK17TA8
114462306a36Sopenharmony_ci	tristate "Simtek STK17TA8"
114562306a36Sopenharmony_ci	depends on HAS_IOMEM
114662306a36Sopenharmony_ci	help
114762306a36Sopenharmony_ci	  If you say yes here you get support for the
114862306a36Sopenharmony_ci	  Simtek STK17TA8 timekeeping chip.
114962306a36Sopenharmony_ci
115062306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
115162306a36Sopenharmony_ci	  will be called rtc-stk17ta8.
115262306a36Sopenharmony_ci
115362306a36Sopenharmony_ciconfig RTC_DRV_M48T86
115462306a36Sopenharmony_ci	tristate "ST M48T86/Dallas DS12887"
115562306a36Sopenharmony_ci	depends on HAS_IOMEM
115662306a36Sopenharmony_ci	help
115762306a36Sopenharmony_ci	  If you say Y here you will get support for the
115862306a36Sopenharmony_ci	  ST M48T86 and Dallas DS12887 RTC chips.
115962306a36Sopenharmony_ci
116062306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
116162306a36Sopenharmony_ci	  will be called rtc-m48t86.
116262306a36Sopenharmony_ci
116362306a36Sopenharmony_ciconfig RTC_DRV_M48T35
116462306a36Sopenharmony_ci	tristate "ST M48T35"
116562306a36Sopenharmony_ci	depends on HAS_IOMEM
116662306a36Sopenharmony_ci	help
116762306a36Sopenharmony_ci	  If you say Y here you will get support for the
116862306a36Sopenharmony_ci	  ST M48T35 RTC chip.
116962306a36Sopenharmony_ci
117062306a36Sopenharmony_ci	  This driver can also be built as a module, if so, the module
117162306a36Sopenharmony_ci	  will be called "rtc-m48t35".
117262306a36Sopenharmony_ci
117362306a36Sopenharmony_ciconfig RTC_DRV_M48T59
117462306a36Sopenharmony_ci	tristate "ST M48T59/M48T08/M48T02"
117562306a36Sopenharmony_ci	depends on HAS_IOMEM
117662306a36Sopenharmony_ci	help
117762306a36Sopenharmony_ci	  If you say Y here you will get support for the
117862306a36Sopenharmony_ci	  ST M48T59 RTC chip and compatible ST M48T08 and M48T02.
117962306a36Sopenharmony_ci
118062306a36Sopenharmony_ci	  These chips are usually found in Sun SPARC and UltraSPARC
118162306a36Sopenharmony_ci	  workstations.
118262306a36Sopenharmony_ci
118362306a36Sopenharmony_ci	  This driver can also be built as a module, if so, the module
118462306a36Sopenharmony_ci	  will be called "rtc-m48t59".
118562306a36Sopenharmony_ci
118662306a36Sopenharmony_ciconfig RTC_DRV_MSM6242
118762306a36Sopenharmony_ci	tristate "Oki MSM6242"
118862306a36Sopenharmony_ci	depends on HAS_IOMEM
118962306a36Sopenharmony_ci	help
119062306a36Sopenharmony_ci	  If you say yes here you get support for the Oki MSM6242
119162306a36Sopenharmony_ci	  timekeeping chip. It is used in some Amiga models (e.g. A2000).
119262306a36Sopenharmony_ci
119362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
119462306a36Sopenharmony_ci	  will be called rtc-msm6242.
119562306a36Sopenharmony_ci
119662306a36Sopenharmony_ciconfig RTC_DRV_BQ4802
119762306a36Sopenharmony_ci	tristate "TI BQ4802"
119862306a36Sopenharmony_ci	depends on HAS_IOMEM && HAS_IOPORT
119962306a36Sopenharmony_ci	depends on SPARC || COMPILE_TEST
120062306a36Sopenharmony_ci	help
120162306a36Sopenharmony_ci	  If you say Y here you will get support for the TI
120262306a36Sopenharmony_ci	  BQ4802 RTC chip.
120362306a36Sopenharmony_ci
120462306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
120562306a36Sopenharmony_ci	  will be called rtc-bq4802.
120662306a36Sopenharmony_ci
120762306a36Sopenharmony_ciconfig RTC_DRV_RP5C01
120862306a36Sopenharmony_ci	tristate "Ricoh RP5C01"
120962306a36Sopenharmony_ci	depends on HAS_IOMEM
121062306a36Sopenharmony_ci	help
121162306a36Sopenharmony_ci	  If you say yes here you get support for the Ricoh RP5C01
121262306a36Sopenharmony_ci	  timekeeping chip. It is used in some Amiga models (e.g. A3000
121362306a36Sopenharmony_ci	  and A4000).
121462306a36Sopenharmony_ci
121562306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
121662306a36Sopenharmony_ci	  will be called rtc-rp5c01.
121762306a36Sopenharmony_ci
121862306a36Sopenharmony_ciconfig RTC_DRV_GAMECUBE
121962306a36Sopenharmony_ci	tristate "Nintendo GameCube, Wii and Wii U RTC"
122062306a36Sopenharmony_ci	depends on GAMECUBE || WII || COMPILE_TEST
122162306a36Sopenharmony_ci	select REGMAP
122262306a36Sopenharmony_ci	help
122362306a36Sopenharmony_ci	  If you say yes here you will get support for the RTC subsystem
122462306a36Sopenharmony_ci	  of the Nintendo GameCube, Wii and Wii U.
122562306a36Sopenharmony_ci
122662306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
122762306a36Sopenharmony_ci	  will be called "rtc-gamecube".
122862306a36Sopenharmony_ci
122962306a36Sopenharmony_ciconfig RTC_DRV_WM831X
123062306a36Sopenharmony_ci	tristate "Wolfson Microelectronics WM831x RTC"
123162306a36Sopenharmony_ci	depends on MFD_WM831X
123262306a36Sopenharmony_ci	help
123362306a36Sopenharmony_ci	  If you say yes here you will get support for the RTC subsystem
123462306a36Sopenharmony_ci	  of the Wolfson Microelectronics WM831X series PMICs.
123562306a36Sopenharmony_ci
123662306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
123762306a36Sopenharmony_ci	  will be called "rtc-wm831x".
123862306a36Sopenharmony_ci
123962306a36Sopenharmony_ciconfig RTC_DRV_WM8350
124062306a36Sopenharmony_ci	tristate "Wolfson Microelectronics WM8350 RTC"
124162306a36Sopenharmony_ci	depends on MFD_WM8350
124262306a36Sopenharmony_ci	help
124362306a36Sopenharmony_ci	  If you say yes here you will get support for the RTC subsystem
124462306a36Sopenharmony_ci	  of the Wolfson Microelectronics WM8350.
124562306a36Sopenharmony_ci
124662306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
124762306a36Sopenharmony_ci	  will be called "rtc-wm8350".
124862306a36Sopenharmony_ci
124962306a36Sopenharmony_ciconfig RTC_DRV_SC27XX
125062306a36Sopenharmony_ci	tristate "Spreadtrum SC27xx RTC"
125162306a36Sopenharmony_ci	depends on MFD_SC27XX_PMIC || COMPILE_TEST
125262306a36Sopenharmony_ci	help
125362306a36Sopenharmony_ci	  If you say Y here you will get support for the RTC subsystem
125462306a36Sopenharmony_ci	  of the Spreadtrum SC27xx series PMICs. The SC27xx series PMICs
125562306a36Sopenharmony_ci	  includes the SC2720, SC2721, SC2723, SC2730 and SC2731 chips.
125662306a36Sopenharmony_ci
125762306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
125862306a36Sopenharmony_ci	  will be called rtc-sc27xx.
125962306a36Sopenharmony_ci
126062306a36Sopenharmony_ciconfig RTC_DRV_SPEAR
126162306a36Sopenharmony_ci	tristate "SPEAR ST RTC"
126262306a36Sopenharmony_ci	depends on PLAT_SPEAR || COMPILE_TEST
126362306a36Sopenharmony_ci	default y
126462306a36Sopenharmony_ci	help
126562306a36Sopenharmony_ci	 If you say Y here you will get support for the RTC found on
126662306a36Sopenharmony_ci	 spear
126762306a36Sopenharmony_ci
126862306a36Sopenharmony_ciconfig RTC_DRV_PCF50633
126962306a36Sopenharmony_ci	depends on MFD_PCF50633
127062306a36Sopenharmony_ci	tristate "NXP PCF50633 RTC"
127162306a36Sopenharmony_ci	help
127262306a36Sopenharmony_ci	  If you say yes here you get support for the RTC subsystem of the
127362306a36Sopenharmony_ci	  NXP PCF50633 used in embedded systems.
127462306a36Sopenharmony_ci
127562306a36Sopenharmony_ciconfig RTC_DRV_AB8500
127662306a36Sopenharmony_ci	tristate "ST-Ericsson AB8500 RTC"
127762306a36Sopenharmony_ci	depends on AB8500_CORE
127862306a36Sopenharmony_ci	select RTC_INTF_DEV
127962306a36Sopenharmony_ci	select RTC_INTF_DEV_UIE_EMUL
128062306a36Sopenharmony_ci	help
128162306a36Sopenharmony_ci	  Select this to enable the ST-Ericsson AB8500 power management IC RTC
128262306a36Sopenharmony_ci	  support. This chip contains a battery- and capacitor-backed RTC.
128362306a36Sopenharmony_ci
128462306a36Sopenharmony_ciconfig RTC_DRV_OPAL
128562306a36Sopenharmony_ci	tristate "IBM OPAL RTC driver"
128662306a36Sopenharmony_ci	depends on PPC_POWERNV
128762306a36Sopenharmony_ci	default y
128862306a36Sopenharmony_ci	help
128962306a36Sopenharmony_ci	  If you say yes here you get support for the PowerNV platform RTC
129062306a36Sopenharmony_ci	  driver based on OPAL interfaces.
129162306a36Sopenharmony_ci
129262306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
129362306a36Sopenharmony_ci	  will be called rtc-opal.
129462306a36Sopenharmony_ci
129562306a36Sopenharmony_ciconfig RTC_DRV_OPTEE
129662306a36Sopenharmony_ci	tristate "OP-TEE based RTC driver"
129762306a36Sopenharmony_ci	depends on OPTEE
129862306a36Sopenharmony_ci	help
129962306a36Sopenharmony_ci	  Select this to get support for OP-TEE based RTC control on SoCs where
130062306a36Sopenharmony_ci	  RTC are not accessible to the normal world (Linux).
130162306a36Sopenharmony_ci
130262306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
130362306a36Sopenharmony_ci	  will be called rtc-optee.
130462306a36Sopenharmony_ci
130562306a36Sopenharmony_ciconfig RTC_DRV_ZYNQMP
130662306a36Sopenharmony_ci	tristate "Xilinx Zynq Ultrascale+ MPSoC RTC"
130762306a36Sopenharmony_ci	depends on OF && HAS_IOMEM
130862306a36Sopenharmony_ci	help
130962306a36Sopenharmony_ci	  If you say yes here you get support for the RTC controller found on
131062306a36Sopenharmony_ci	  Xilinx Zynq Ultrascale+ MPSoC.
131162306a36Sopenharmony_ci
131262306a36Sopenharmony_ciconfig RTC_DRV_CROS_EC
131362306a36Sopenharmony_ci	tristate "Chrome OS EC RTC driver"
131462306a36Sopenharmony_ci	depends on CROS_EC
131562306a36Sopenharmony_ci	help
131662306a36Sopenharmony_ci	  If you say yes here you will get support for the
131762306a36Sopenharmony_ci	  Chrome OS Embedded Controller's RTC.
131862306a36Sopenharmony_ci
131962306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
132062306a36Sopenharmony_ci	  will be called rtc-cros-ec.
132162306a36Sopenharmony_ci
132262306a36Sopenharmony_ciconfig RTC_DRV_NTXEC
132362306a36Sopenharmony_ci	tristate "Netronix embedded controller RTC"
132462306a36Sopenharmony_ci	depends on MFD_NTXEC
132562306a36Sopenharmony_ci	help
132662306a36Sopenharmony_ci	  Say yes here if you want to support the RTC functionality of the
132762306a36Sopenharmony_ci	  embedded controller found in certain e-book readers designed by the
132862306a36Sopenharmony_ci	  original design manufacturer Netronix.
132962306a36Sopenharmony_ci
133062306a36Sopenharmony_cicomment "on-CPU RTC drivers"
133162306a36Sopenharmony_ci
133262306a36Sopenharmony_ciconfig RTC_DRV_ASM9260
133362306a36Sopenharmony_ci	tristate "Alphascale asm9260 RTC"
133462306a36Sopenharmony_ci	depends on MACH_ASM9260 || COMPILE_TEST
133562306a36Sopenharmony_ci	help
133662306a36Sopenharmony_ci	  If you say yes here you get support for the RTC on the
133762306a36Sopenharmony_ci	  Alphascale asm9260 SoC.
133862306a36Sopenharmony_ci
133962306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
134062306a36Sopenharmony_ci	  will be called rtc-asm9260.
134162306a36Sopenharmony_ci
134262306a36Sopenharmony_ciconfig RTC_DRV_DIGICOLOR
134362306a36Sopenharmony_ci	tristate "Conexant Digicolor RTC"
134462306a36Sopenharmony_ci	depends on ARCH_DIGICOLOR || COMPILE_TEST
134562306a36Sopenharmony_ci	help
134662306a36Sopenharmony_ci	  If you say yes here you get support for the RTC on Conexant
134762306a36Sopenharmony_ci	  Digicolor platforms. This currently includes the CX92755 SoC.
134862306a36Sopenharmony_ci
134962306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
135062306a36Sopenharmony_ci	  will be called rtc-digicolor.
135162306a36Sopenharmony_ci
135262306a36Sopenharmony_ciconfig RTC_DRV_IMXDI
135362306a36Sopenharmony_ci	tristate "Freescale IMX DryIce Real Time Clock"
135462306a36Sopenharmony_ci	depends on ARCH_MXC
135562306a36Sopenharmony_ci	depends on OF
135662306a36Sopenharmony_ci	help
135762306a36Sopenharmony_ci	   Support for Freescale IMX DryIce RTC
135862306a36Sopenharmony_ci
135962306a36Sopenharmony_ci	   This driver can also be built as a module, if so, the module
136062306a36Sopenharmony_ci	   will be called "rtc-imxdi".
136162306a36Sopenharmony_ci
136262306a36Sopenharmony_ciconfig RTC_DRV_FSL_FTM_ALARM
136362306a36Sopenharmony_ci	tristate "Freescale FlexTimer alarm timer"
136462306a36Sopenharmony_ci	depends on ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
136562306a36Sopenharmony_ci	help
136662306a36Sopenharmony_ci	   For the FlexTimer in LS1012A, LS1021A, LS1028A, LS1043A, LS1046A,
136762306a36Sopenharmony_ci	   LS1088A, LS208xA, we can use FTM as the wakeup source.
136862306a36Sopenharmony_ci
136962306a36Sopenharmony_ci	   Say y here to enable FTM alarm support. The FTM alarm provides
137062306a36Sopenharmony_ci	   alarm functions for wakeup system from deep sleep.
137162306a36Sopenharmony_ci
137262306a36Sopenharmony_ci	   This driver can also be built as a module, if so, the module
137362306a36Sopenharmony_ci	   will be called "rtc-fsl-ftm-alarm".
137462306a36Sopenharmony_ci
137562306a36Sopenharmony_ciconfig RTC_DRV_MESON
137662306a36Sopenharmony_ci	tristate "Amlogic Meson RTC"
137762306a36Sopenharmony_ci	depends on (ARM && ARCH_MESON) || COMPILE_TEST
137862306a36Sopenharmony_ci	select REGMAP_MMIO
137962306a36Sopenharmony_ci	help
138062306a36Sopenharmony_ci	   Support for the RTC block on the Amlogic Meson6, Meson8, Meson8b
138162306a36Sopenharmony_ci	   and Meson8m2 SoCs.
138262306a36Sopenharmony_ci
138362306a36Sopenharmony_ci	   This driver can also be built as a module, if so, the module
138462306a36Sopenharmony_ci	   will be called "rtc-meson".
138562306a36Sopenharmony_ci
138662306a36Sopenharmony_ciconfig RTC_DRV_MESON_VRTC
138762306a36Sopenharmony_ci	tristate "Amlogic Meson Virtual RTC"
138862306a36Sopenharmony_ci	depends on ARCH_MESON || COMPILE_TEST
138962306a36Sopenharmony_ci	default m if ARCH_MESON
139062306a36Sopenharmony_ci	help
139162306a36Sopenharmony_ci	  If you say yes here you will get support for the
139262306a36Sopenharmony_ci	  Virtual RTC of Amlogic SoCs.
139362306a36Sopenharmony_ci
139462306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
139562306a36Sopenharmony_ci	  will be called rtc-meson-vrtc.
139662306a36Sopenharmony_ci
139762306a36Sopenharmony_ciconfig RTC_DRV_OMAP
139862306a36Sopenharmony_ci	tristate "TI OMAP Real Time Clock"
139962306a36Sopenharmony_ci	depends on ARCH_OMAP || ARCH_DAVINCI || COMPILE_TEST
140062306a36Sopenharmony_ci	depends on OF
140162306a36Sopenharmony_ci	depends on PINCTRL
140262306a36Sopenharmony_ci	select GENERIC_PINCONF
140362306a36Sopenharmony_ci	help
140462306a36Sopenharmony_ci	  Say "yes" here to support the on chip real time clock
140562306a36Sopenharmony_ci	  present on TI OMAP1, AM33xx, DA8xx/OMAP-L13x, AM43xx and DRA7xx.
140662306a36Sopenharmony_ci
140762306a36Sopenharmony_ci	  This driver can also be built as a module, if so, module
140862306a36Sopenharmony_ci	  will be called rtc-omap.
140962306a36Sopenharmony_ci
141062306a36Sopenharmony_ciconfig RTC_DRV_S3C
141162306a36Sopenharmony_ci	tristate "Samsung S3C series SoC RTC"
141262306a36Sopenharmony_ci	depends on ARCH_EXYNOS || ARCH_S3C64XX || ARCH_S5PV210 || \
141362306a36Sopenharmony_ci		   COMPILE_TEST
141462306a36Sopenharmony_ci	help
141562306a36Sopenharmony_ci	  RTC (Realtime Clock) driver for the clock inbuilt into the
141662306a36Sopenharmony_ci	  Samsung S3C64XX series of SoCs. This can provide periodic
141762306a36Sopenharmony_ci	  interrupt rates from 1Hz to 64Hz for user programs, and
141862306a36Sopenharmony_ci	  wakeup from Alarm.
141962306a36Sopenharmony_ci
142062306a36Sopenharmony_ci	  This driver can also be build as a module. If so, the module
142162306a36Sopenharmony_ci	  will be called rtc-s3c.
142262306a36Sopenharmony_ci
142362306a36Sopenharmony_ciconfig RTC_DRV_EP93XX
142462306a36Sopenharmony_ci	tristate "Cirrus Logic EP93XX"
142562306a36Sopenharmony_ci	depends on ARCH_EP93XX || COMPILE_TEST
142662306a36Sopenharmony_ci	help
142762306a36Sopenharmony_ci	  If you say yes here you get support for the
142862306a36Sopenharmony_ci	  RTC embedded in the Cirrus Logic EP93XX processors.
142962306a36Sopenharmony_ci
143062306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
143162306a36Sopenharmony_ci	  will be called rtc-ep93xx.
143262306a36Sopenharmony_ci
143362306a36Sopenharmony_ciconfig RTC_DRV_SA1100
143462306a36Sopenharmony_ci	tristate "SA11x0/PXA2xx/PXA910"
143562306a36Sopenharmony_ci	depends on ARCH_SA1100 || ARCH_PXA || ARCH_MMP
143662306a36Sopenharmony_ci	help
143762306a36Sopenharmony_ci	  If you say Y here you will get access to the real time clock
143862306a36Sopenharmony_ci	  built into your SA11x0 or PXA2xx CPU.
143962306a36Sopenharmony_ci
144062306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
144162306a36Sopenharmony_ci	  module will be called rtc-sa1100.
144262306a36Sopenharmony_ci
144362306a36Sopenharmony_ciconfig RTC_DRV_SH
144462306a36Sopenharmony_ci	tristate "SuperH On-Chip RTC"
144562306a36Sopenharmony_ci	depends on SUPERH || ARCH_RENESAS
144662306a36Sopenharmony_ci	help
144762306a36Sopenharmony_ci	  Say Y here to enable support for the on-chip RTC found in
144862306a36Sopenharmony_ci	  most SuperH processors. This RTC is also found in RZ/A SoCs.
144962306a36Sopenharmony_ci
145062306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
145162306a36Sopenharmony_ci	  module will be called rtc-sh.
145262306a36Sopenharmony_ci
145362306a36Sopenharmony_ciconfig RTC_DRV_SUNPLUS
145462306a36Sopenharmony_ci	tristate "Sunplus SP7021 RTC"
145562306a36Sopenharmony_ci	depends on SOC_SP7021
145662306a36Sopenharmony_ci	help
145762306a36Sopenharmony_ci	  Say 'yes' to get support for the real-time clock present in
145862306a36Sopenharmony_ci	  Sunplus SP7021 - a SoC for industrial applications. It provides
145962306a36Sopenharmony_ci	  RTC status check, timer/alarm functionalities, user data
146062306a36Sopenharmony_ci	  reservation with the battery over 2.5V, RTC power status check
146162306a36Sopenharmony_ci	  and battery charge.
146262306a36Sopenharmony_ci
146362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
146462306a36Sopenharmony_ci	  will be called rtc-sunplus.
146562306a36Sopenharmony_ci
146662306a36Sopenharmony_ciconfig RTC_DRV_PL030
146762306a36Sopenharmony_ci	tristate "ARM AMBA PL030 RTC"
146862306a36Sopenharmony_ci	depends on ARM_AMBA
146962306a36Sopenharmony_ci	help
147062306a36Sopenharmony_ci	  If you say Y here you will get access to ARM AMBA
147162306a36Sopenharmony_ci	  PrimeCell PL030 RTC found on certain ARM SOCs.
147262306a36Sopenharmony_ci
147362306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
147462306a36Sopenharmony_ci	  module will be called rtc-pl030.
147562306a36Sopenharmony_ci
147662306a36Sopenharmony_ciconfig RTC_DRV_PL031
147762306a36Sopenharmony_ci	tristate "ARM AMBA PL031 RTC"
147862306a36Sopenharmony_ci	depends on ARM_AMBA
147962306a36Sopenharmony_ci	help
148062306a36Sopenharmony_ci	  If you say Y here you will get access to ARM AMBA
148162306a36Sopenharmony_ci	  PrimeCell PL031 RTC found on certain ARM SOCs.
148262306a36Sopenharmony_ci
148362306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
148462306a36Sopenharmony_ci	  module will be called rtc-pl031.
148562306a36Sopenharmony_ci
148662306a36Sopenharmony_ciconfig RTC_DRV_AT91RM9200
148762306a36Sopenharmony_ci	tristate "AT91RM9200 or some AT91SAM9 RTC"
148862306a36Sopenharmony_ci	depends on ARCH_AT91 || COMPILE_TEST
148962306a36Sopenharmony_ci	depends on OF
149062306a36Sopenharmony_ci	help
149162306a36Sopenharmony_ci	  Driver for the internal RTC (Realtime Clock) module found on
149262306a36Sopenharmony_ci	  Atmel AT91RM9200's and some  AT91SAM9 chips. On AT91SAM9 chips
149362306a36Sopenharmony_ci	  this is powered by the backup power supply.
149462306a36Sopenharmony_ci
149562306a36Sopenharmony_ciconfig RTC_DRV_AT91SAM9
149662306a36Sopenharmony_ci	tristate "AT91SAM9 RTT as RTC"
149762306a36Sopenharmony_ci	depends on ARCH_AT91 || COMPILE_TEST
149862306a36Sopenharmony_ci	depends on OF && HAS_IOMEM
149962306a36Sopenharmony_ci	select MFD_SYSCON
150062306a36Sopenharmony_ci	help
150162306a36Sopenharmony_ci	  Some AT91SAM9 SoCs provide an RTT (Real Time Timer) block which
150262306a36Sopenharmony_ci	  can be used as an RTC thanks to the backup power supply (e.g. a
150362306a36Sopenharmony_ci	  small coin cell battery) which keeps this block and the GPBR
150462306a36Sopenharmony_ci	  (General Purpose Backup Registers) block powered when the device
150562306a36Sopenharmony_ci	  is shutdown.
150662306a36Sopenharmony_ci	  Some AT91SAM9 SoCs provide a real RTC block, on those ones you'd
150762306a36Sopenharmony_ci	  probably want to use the real RTC block instead of the "RTT as an
150862306a36Sopenharmony_ci	  RTC" driver.
150962306a36Sopenharmony_ci
151062306a36Sopenharmony_ciconfig RTC_DRV_AU1XXX
151162306a36Sopenharmony_ci	tristate "Au1xxx Counter0 RTC support"
151262306a36Sopenharmony_ci	depends on MIPS_ALCHEMY
151362306a36Sopenharmony_ci	help
151462306a36Sopenharmony_ci	  This is a driver for the Au1xxx on-chip Counter0 (Time-Of-Year
151562306a36Sopenharmony_ci	  counter) to be used as a RTC.
151662306a36Sopenharmony_ci
151762306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
151862306a36Sopenharmony_ci	  will be called rtc-au1xxx.
151962306a36Sopenharmony_ci
152062306a36Sopenharmony_ciconfig RTC_DRV_RS5C313
152162306a36Sopenharmony_ci	tristate "Ricoh RS5C313"
152262306a36Sopenharmony_ci	depends on SH_LANDISK
152362306a36Sopenharmony_ci	help
152462306a36Sopenharmony_ci	  If you say yes here you get support for the Ricoh RS5C313 RTC chips.
152562306a36Sopenharmony_ci
152662306a36Sopenharmony_ciconfig RTC_DRV_RZN1
152762306a36Sopenharmony_ci	tristate "Renesas RZ/N1 RTC"
152862306a36Sopenharmony_ci	depends on ARCH_RZN1 || COMPILE_TEST
152962306a36Sopenharmony_ci	depends on OF && HAS_IOMEM
153062306a36Sopenharmony_ci	help
153162306a36Sopenharmony_ci	  If you say yes here you get support for the Renesas RZ/N1 RTC.
153262306a36Sopenharmony_ci
153362306a36Sopenharmony_ciconfig RTC_DRV_GENERIC
153462306a36Sopenharmony_ci	tristate "Generic RTC support"
153562306a36Sopenharmony_ci	# Please consider writing a new RTC driver instead of using the generic
153662306a36Sopenharmony_ci	# RTC abstraction
153762306a36Sopenharmony_ci	depends on PARISC || M68K || PPC || SUPERH || COMPILE_TEST
153862306a36Sopenharmony_ci	help
153962306a36Sopenharmony_ci	  Say Y or M here to enable RTC support on systems using the generic
154062306a36Sopenharmony_ci	  RTC abstraction. If you do not know what you are doing, you should
154162306a36Sopenharmony_ci	  just say Y.
154262306a36Sopenharmony_ci
154362306a36Sopenharmony_ciconfig RTC_DRV_PXA
154462306a36Sopenharmony_ci	tristate "PXA27x/PXA3xx"
154562306a36Sopenharmony_ci	depends on ARCH_PXA
154662306a36Sopenharmony_ci	select RTC_DRV_SA1100
154762306a36Sopenharmony_ci	help
154862306a36Sopenharmony_ci	 If you say Y here you will get access to the real time clock
154962306a36Sopenharmony_ci	 built into your PXA27x or PXA3xx CPU. This RTC is actually 2 RTCs
155062306a36Sopenharmony_ci	 consisting of an SA1100 compatible RTC and the extended PXA RTC.
155162306a36Sopenharmony_ci
155262306a36Sopenharmony_ci	 This RTC driver uses PXA RTC registers available since pxa27x
155362306a36Sopenharmony_ci	 series (RDxR, RYxR) instead of legacy RCNR, RTAR.
155462306a36Sopenharmony_ci
155562306a36Sopenharmony_ciconfig RTC_DRV_VT8500
155662306a36Sopenharmony_ci	tristate "VIA/WonderMedia 85xx SoC RTC"
155762306a36Sopenharmony_ci	depends on ARCH_VT8500 || COMPILE_TEST
155862306a36Sopenharmony_ci	help
155962306a36Sopenharmony_ci	  If you say Y here you will get access to the real time clock
156062306a36Sopenharmony_ci	  built into your VIA VT8500 SoC or its relatives.
156162306a36Sopenharmony_ci
156262306a36Sopenharmony_ci
156362306a36Sopenharmony_ciconfig RTC_DRV_SUN4V
156462306a36Sopenharmony_ci	bool "SUN4V Hypervisor RTC"
156562306a36Sopenharmony_ci	depends on SPARC64
156662306a36Sopenharmony_ci	help
156762306a36Sopenharmony_ci	  If you say Y here you will get support for the Hypervisor
156862306a36Sopenharmony_ci	  based RTC on SUN4V systems.
156962306a36Sopenharmony_ci
157062306a36Sopenharmony_ciconfig RTC_DRV_SUN6I
157162306a36Sopenharmony_ci	bool "Allwinner A31 RTC"
157262306a36Sopenharmony_ci	default MACH_SUN6I || MACH_SUN8I
157362306a36Sopenharmony_ci	depends on COMMON_CLK
157462306a36Sopenharmony_ci	depends on ARCH_SUNXI || COMPILE_TEST
157562306a36Sopenharmony_ci	help
157662306a36Sopenharmony_ci	  If you say Y here you will get support for the RTC found in
157762306a36Sopenharmony_ci	  some Allwinner SoCs like the A31 or the A64.
157862306a36Sopenharmony_ci
157962306a36Sopenharmony_ciconfig RTC_DRV_SUNXI
158062306a36Sopenharmony_ci	tristate "Allwinner sun4i/sun7i RTC"
158162306a36Sopenharmony_ci	depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
158262306a36Sopenharmony_ci	help
158362306a36Sopenharmony_ci	  If you say Y here you will get support for the RTC found on
158462306a36Sopenharmony_ci	  Allwinner A10/A20.
158562306a36Sopenharmony_ci
158662306a36Sopenharmony_ciconfig RTC_DRV_STARFIRE
158762306a36Sopenharmony_ci	bool "Starfire RTC"
158862306a36Sopenharmony_ci	depends on SPARC64
158962306a36Sopenharmony_ci	help
159062306a36Sopenharmony_ci	  If you say Y here you will get support for the RTC found on
159162306a36Sopenharmony_ci	  Starfire systems.
159262306a36Sopenharmony_ci
159362306a36Sopenharmony_ciconfig RTC_DRV_MV
159462306a36Sopenharmony_ci	tristate "Marvell SoC RTC"
159562306a36Sopenharmony_ci	depends on ARCH_DOVE || ARCH_MVEBU || COMPILE_TEST
159662306a36Sopenharmony_ci	help
159762306a36Sopenharmony_ci	  If you say yes here you will get support for the in-chip RTC
159862306a36Sopenharmony_ci	  that can be found in some of Marvell's SoC devices, such as
159962306a36Sopenharmony_ci	  the Kirkwood 88F6281 and 88F6192.
160062306a36Sopenharmony_ci
160162306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
160262306a36Sopenharmony_ci	  will be called rtc-mv.
160362306a36Sopenharmony_ci
160462306a36Sopenharmony_ciconfig RTC_DRV_ARMADA38X
160562306a36Sopenharmony_ci	tristate "Armada 38x Marvell SoC RTC"
160662306a36Sopenharmony_ci	depends on ARCH_MVEBU || COMPILE_TEST
160762306a36Sopenharmony_ci	depends on OF
160862306a36Sopenharmony_ci	help
160962306a36Sopenharmony_ci	  If you say yes here you will get support for the in-chip RTC
161062306a36Sopenharmony_ci	  that can be found in the Armada 38x Marvell's SoC device
161162306a36Sopenharmony_ci
161262306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
161362306a36Sopenharmony_ci	  will be called armada38x-rtc.
161462306a36Sopenharmony_ci
161562306a36Sopenharmony_ciconfig RTC_DRV_CADENCE
161662306a36Sopenharmony_ci	tristate "Cadence RTC driver"
161762306a36Sopenharmony_ci	depends on OF && HAS_IOMEM
161862306a36Sopenharmony_ci	help
161962306a36Sopenharmony_ci	  If you say Y here you will get access to Cadence RTC IP
162062306a36Sopenharmony_ci	  found on certain SOCs.
162162306a36Sopenharmony_ci
162262306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
162362306a36Sopenharmony_ci	  module will be called rtc-cadence.
162462306a36Sopenharmony_ci
162562306a36Sopenharmony_ciconfig RTC_DRV_FTRTC010
162662306a36Sopenharmony_ci	tristate "Faraday Technology FTRTC010 RTC"
162762306a36Sopenharmony_ci	depends on HAS_IOMEM
162862306a36Sopenharmony_ci	default ARCH_GEMINI
162962306a36Sopenharmony_ci	help
163062306a36Sopenharmony_ci	  If you say Y here you will get support for the
163162306a36Sopenharmony_ci	  Faraday Technolog FTRTC010 found on e.g. Gemini SoC's.
163262306a36Sopenharmony_ci
163362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
163462306a36Sopenharmony_ci	  will be called rtc-ftrtc010.
163562306a36Sopenharmony_ci
163662306a36Sopenharmony_ciconfig RTC_DRV_PS3
163762306a36Sopenharmony_ci	tristate "PS3 RTC"
163862306a36Sopenharmony_ci	depends on PPC_PS3
163962306a36Sopenharmony_ci	help
164062306a36Sopenharmony_ci	  If you say yes here you will get support for the RTC on PS3.
164162306a36Sopenharmony_ci
164262306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
164362306a36Sopenharmony_ci	  will be called rtc-ps3.
164462306a36Sopenharmony_ci
164562306a36Sopenharmony_ciconfig RTC_DRV_STMP
164662306a36Sopenharmony_ci	tristate "Freescale STMP3xxx/i.MX23/i.MX28 RTC"
164762306a36Sopenharmony_ci	depends on ARCH_MXS || COMPILE_TEST
164862306a36Sopenharmony_ci	select STMP_DEVICE
164962306a36Sopenharmony_ci	help
165062306a36Sopenharmony_ci	  If you say yes here you will get support for the onboard
165162306a36Sopenharmony_ci	  STMP3xxx/i.MX23/i.MX28 RTC.
165262306a36Sopenharmony_ci
165362306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
165462306a36Sopenharmony_ci	  will be called rtc-stmp3xxx.
165562306a36Sopenharmony_ci
165662306a36Sopenharmony_ciconfig RTC_DRV_PCAP
165762306a36Sopenharmony_ci	tristate "PCAP RTC"
165862306a36Sopenharmony_ci	depends on EZX_PCAP
165962306a36Sopenharmony_ci	help
166062306a36Sopenharmony_ci	  If you say Y here you will get support for the RTC found on
166162306a36Sopenharmony_ci	  the PCAP2 ASIC used on some Motorola phones.
166262306a36Sopenharmony_ci
166362306a36Sopenharmony_ciconfig RTC_DRV_MC13XXX
166462306a36Sopenharmony_ci	depends on MFD_MC13XXX
166562306a36Sopenharmony_ci	tristate "Freescale MC13xxx RTC"
166662306a36Sopenharmony_ci	help
166762306a36Sopenharmony_ci	  This enables support for the RTCs found on Freescale's PMICs
166862306a36Sopenharmony_ci	  MC13783 and MC13892.
166962306a36Sopenharmony_ci
167062306a36Sopenharmony_ciconfig RTC_DRV_MPC5121
167162306a36Sopenharmony_ci	tristate "Freescale MPC5121 built-in RTC"
167262306a36Sopenharmony_ci	depends on PPC_MPC512x || PPC_MPC52xx
167362306a36Sopenharmony_ci	help
167462306a36Sopenharmony_ci	  If you say yes here you will get support for the
167562306a36Sopenharmony_ci	  built-in RTC on MPC5121 or on MPC5200.
167662306a36Sopenharmony_ci
167762306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
167862306a36Sopenharmony_ci	  will be called rtc-mpc5121.
167962306a36Sopenharmony_ci
168062306a36Sopenharmony_ciconfig RTC_DRV_JZ4740
168162306a36Sopenharmony_ci	tristate "Ingenic JZ4740 SoC"
168262306a36Sopenharmony_ci	depends on MIPS || COMPILE_TEST
168362306a36Sopenharmony_ci	depends on OF && COMMON_CLK
168462306a36Sopenharmony_ci	help
168562306a36Sopenharmony_ci	  If you say yes here you get support for the Ingenic JZ47xx SoCs RTC
168662306a36Sopenharmony_ci	  controllers.
168762306a36Sopenharmony_ci
168862306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
168962306a36Sopenharmony_ci	  will be called rtc-jz4740.
169062306a36Sopenharmony_ci
169162306a36Sopenharmony_ciconfig RTC_DRV_LOONGSON
169262306a36Sopenharmony_ci	tristate "Loongson On-chip RTC"
169362306a36Sopenharmony_ci	depends on MACH_LOONGSON32 || MACH_LOONGSON64 || COMPILE_TEST
169462306a36Sopenharmony_ci	select REGMAP_MMIO
169562306a36Sopenharmony_ci	help
169662306a36Sopenharmony_ci	  This is a driver for the Loongson on-chip Counter0 (Time-Of-Year
169762306a36Sopenharmony_ci	  counter) to be used as a RTC.
169862306a36Sopenharmony_ci	  It can be found on Loongson-1 series cpu, Loongson-2K series cpu
169962306a36Sopenharmony_ci	  and Loongson LS7A bridge chips.
170062306a36Sopenharmony_ci
170162306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
170262306a36Sopenharmony_ci	  will be called rtc-loongson.
170362306a36Sopenharmony_ci
170462306a36Sopenharmony_ciconfig RTC_DRV_LPC24XX
170562306a36Sopenharmony_ci	tristate "NXP RTC for LPC178x/18xx/408x/43xx"
170662306a36Sopenharmony_ci	depends on ARCH_LPC18XX || COMPILE_TEST
170762306a36Sopenharmony_ci	depends on OF && HAS_IOMEM
170862306a36Sopenharmony_ci	help
170962306a36Sopenharmony_ci	  This enables support for the NXP RTC found which can be found on
171062306a36Sopenharmony_ci	  NXP LPC178x/18xx/408x/43xx devices.
171162306a36Sopenharmony_ci
171262306a36Sopenharmony_ci	  If you have one of the devices above enable this driver to use
171362306a36Sopenharmony_ci	  the hardware RTC. This driver can also be built as a module. If
171462306a36Sopenharmony_ci	  so, the module will be called rtc-lpc24xx.
171562306a36Sopenharmony_ci
171662306a36Sopenharmony_ciconfig RTC_DRV_LPC32XX
171762306a36Sopenharmony_ci	depends on ARCH_LPC32XX || COMPILE_TEST
171862306a36Sopenharmony_ci	tristate "NXP LPC32XX RTC"
171962306a36Sopenharmony_ci	help
172062306a36Sopenharmony_ci	  This enables support for the NXP RTC in the LPC32XX
172162306a36Sopenharmony_ci
172262306a36Sopenharmony_ci	  This driver can also be built as a module. If so, the module
172362306a36Sopenharmony_ci	  will be called rtc-lpc32xx.
172462306a36Sopenharmony_ci
172562306a36Sopenharmony_ciconfig RTC_DRV_PM8XXX
172662306a36Sopenharmony_ci	tristate "Qualcomm PMIC8XXX RTC"
172762306a36Sopenharmony_ci	depends on MFD_PM8XXX || MFD_SPMI_PMIC || COMPILE_TEST
172862306a36Sopenharmony_ci	help
172962306a36Sopenharmony_ci	  If you say yes here you get support for the
173062306a36Sopenharmony_ci	  Qualcomm PMIC8XXX RTC.
173162306a36Sopenharmony_ci
173262306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
173362306a36Sopenharmony_ci	  module will be called rtc-pm8xxx.
173462306a36Sopenharmony_ci
173562306a36Sopenharmony_ciconfig RTC_DRV_TEGRA
173662306a36Sopenharmony_ci	tristate "NVIDIA Tegra Internal RTC driver"
173762306a36Sopenharmony_ci	depends on ARCH_TEGRA || COMPILE_TEST
173862306a36Sopenharmony_ci	help
173962306a36Sopenharmony_ci	  If you say yes here you get support for the
174062306a36Sopenharmony_ci	  Tegra 200 series internal RTC module.
174162306a36Sopenharmony_ci
174262306a36Sopenharmony_ci	  This drive can also be built as a module. If so, the module
174362306a36Sopenharmony_ci	  will be called rtc-tegra.
174462306a36Sopenharmony_ci
174562306a36Sopenharmony_ciconfig RTC_DRV_MXC
174662306a36Sopenharmony_ci	tristate "Freescale MXC Real Time Clock"
174762306a36Sopenharmony_ci	depends on ARCH_MXC || COMPILE_TEST
174862306a36Sopenharmony_ci	depends on HAS_IOMEM
174962306a36Sopenharmony_ci	depends on OF
175062306a36Sopenharmony_ci	help
175162306a36Sopenharmony_ci	   If you say yes here you get support for the Freescale MXC
175262306a36Sopenharmony_ci	   RTC module.
175362306a36Sopenharmony_ci
175462306a36Sopenharmony_ci	   This driver can also be built as a module, if so, the module
175562306a36Sopenharmony_ci	   will be called "rtc-mxc".
175662306a36Sopenharmony_ci
175762306a36Sopenharmony_ciconfig RTC_DRV_MXC_V2
175862306a36Sopenharmony_ci	tristate "Freescale MXC Real Time Clock for i.MX53"
175962306a36Sopenharmony_ci	depends on ARCH_MXC || COMPILE_TEST
176062306a36Sopenharmony_ci	depends on HAS_IOMEM
176162306a36Sopenharmony_ci	depends on OF
176262306a36Sopenharmony_ci	help
176362306a36Sopenharmony_ci	   If you say yes here you get support for the Freescale MXC
176462306a36Sopenharmony_ci	   SRTC module in i.MX53 processor.
176562306a36Sopenharmony_ci
176662306a36Sopenharmony_ci	   This driver can also be built as a module, if so, the module
176762306a36Sopenharmony_ci	   will be called "rtc-mxc_v2".
176862306a36Sopenharmony_ci
176962306a36Sopenharmony_ciconfig RTC_DRV_SNVS
177062306a36Sopenharmony_ci	tristate "Freescale SNVS RTC support"
177162306a36Sopenharmony_ci	select REGMAP_MMIO
177262306a36Sopenharmony_ci	depends on ARCH_MXC || COMPILE_TEST
177362306a36Sopenharmony_ci	depends on HAS_IOMEM
177462306a36Sopenharmony_ci	depends on OF
177562306a36Sopenharmony_ci	help
177662306a36Sopenharmony_ci	   If you say yes here you get support for the Freescale SNVS
177762306a36Sopenharmony_ci	   Low Power (LP) RTC module.
177862306a36Sopenharmony_ci
177962306a36Sopenharmony_ci	   This driver can also be built as a module, if so, the module
178062306a36Sopenharmony_ci	   will be called "rtc-snvs".
178162306a36Sopenharmony_ci
178262306a36Sopenharmony_ciconfig RTC_DRV_BBNSM
178362306a36Sopenharmony_ci	tristate "NXP BBNSM RTC support"
178462306a36Sopenharmony_ci	select REGMAP_MMIO
178562306a36Sopenharmony_ci	depends on ARCH_MXC || COMPILE_TEST
178662306a36Sopenharmony_ci	depends on HAS_IOMEM
178762306a36Sopenharmony_ci	depends on OF
178862306a36Sopenharmony_ci	help
178962306a36Sopenharmony_ci	   If you say yes here you get support for the NXP BBNSM RTC module.
179062306a36Sopenharmony_ci
179162306a36Sopenharmony_ci	   This driver can also be built as a module, if so, the module
179262306a36Sopenharmony_ci	   will be called "rtc-bbnsm".
179362306a36Sopenharmony_ci
179462306a36Sopenharmony_ciconfig RTC_DRV_IMX_SC
179562306a36Sopenharmony_ci	depends on IMX_SCU
179662306a36Sopenharmony_ci	depends on HAVE_ARM_SMCCC
179762306a36Sopenharmony_ci	tristate "NXP i.MX System Controller RTC support"
179862306a36Sopenharmony_ci	help
179962306a36Sopenharmony_ci	   If you say yes here you get support for the NXP i.MX System
180062306a36Sopenharmony_ci	   Controller RTC module.
180162306a36Sopenharmony_ci
180262306a36Sopenharmony_ciconfig RTC_DRV_ST_LPC
180362306a36Sopenharmony_ci	tristate "STMicroelectronics LPC RTC"
180462306a36Sopenharmony_ci	depends on ARCH_STI
180562306a36Sopenharmony_ci	depends on OF
180662306a36Sopenharmony_ci	help
180762306a36Sopenharmony_ci	  Say Y here to include STMicroelectronics Low Power Controller
180862306a36Sopenharmony_ci	  (LPC) based RTC support.
180962306a36Sopenharmony_ci
181062306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the
181162306a36Sopenharmony_ci	  module will be called rtc-st-lpc.
181262306a36Sopenharmony_ci
181362306a36Sopenharmony_ciconfig RTC_DRV_MOXART
181462306a36Sopenharmony_ci	tristate "MOXA ART RTC"
181562306a36Sopenharmony_ci	depends on ARCH_MOXART || COMPILE_TEST
181662306a36Sopenharmony_ci	help
181762306a36Sopenharmony_ci	   If you say yes here you get support for the MOXA ART
181862306a36Sopenharmony_ci	   RTC module.
181962306a36Sopenharmony_ci
182062306a36Sopenharmony_ci	   This driver can also be built as a module. If so, the module
182162306a36Sopenharmony_ci	   will be called rtc-moxart
182262306a36Sopenharmony_ci
182362306a36Sopenharmony_ciconfig RTC_DRV_MT2712
182462306a36Sopenharmony_ci	tristate "MediaTek MT2712 SoC based RTC"
182562306a36Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
182662306a36Sopenharmony_ci	help
182762306a36Sopenharmony_ci	  This enables support for the real time clock built in the MediaTek
182862306a36Sopenharmony_ci	  SoCs for MT2712.
182962306a36Sopenharmony_ci
183062306a36Sopenharmony_ci	  This drive can also be built as a module. If so, the module
183162306a36Sopenharmony_ci	  will be called rtc-mt2712.
183262306a36Sopenharmony_ci
183362306a36Sopenharmony_ciconfig RTC_DRV_MT6397
183462306a36Sopenharmony_ci	tristate "MediaTek PMIC based RTC"
183562306a36Sopenharmony_ci	depends on MFD_MT6397 || COMPILE_TEST
183662306a36Sopenharmony_ci	select IRQ_DOMAIN
183762306a36Sopenharmony_ci	help
183862306a36Sopenharmony_ci	  This selects the MediaTek(R) RTC driver. RTC is part of MediaTek
183962306a36Sopenharmony_ci	  MT6397 PMIC. You should enable MT6397 PMIC MFD before select
184062306a36Sopenharmony_ci	  MediaTek(R) RTC driver.
184162306a36Sopenharmony_ci
184262306a36Sopenharmony_ci	  If you want to use MediaTek(R) RTC interface, select Y or M here.
184362306a36Sopenharmony_ci
184462306a36Sopenharmony_ciconfig RTC_DRV_MT7622
184562306a36Sopenharmony_ci	tristate "MediaTek SoC based RTC"
184662306a36Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
184762306a36Sopenharmony_ci	help
184862306a36Sopenharmony_ci	  This enables support for the real time clock built in the MediaTek
184962306a36Sopenharmony_ci	  SoCs.
185062306a36Sopenharmony_ci
185162306a36Sopenharmony_ci	  This drive can also be built as a module. If so, the module
185262306a36Sopenharmony_ci	  will be called rtc-mt7622.
185362306a36Sopenharmony_ci
185462306a36Sopenharmony_ciconfig RTC_DRV_XGENE
185562306a36Sopenharmony_ci	tristate "APM X-Gene RTC"
185662306a36Sopenharmony_ci	depends on HAS_IOMEM
185762306a36Sopenharmony_ci	depends on ARCH_XGENE || COMPILE_TEST
185862306a36Sopenharmony_ci	help
185962306a36Sopenharmony_ci	  If you say yes here you get support for the APM X-Gene SoC real time
186062306a36Sopenharmony_ci	  clock.
186162306a36Sopenharmony_ci
186262306a36Sopenharmony_ci	  This driver can also be built as a module, if so, the module
186362306a36Sopenharmony_ci	  will be called "rtc-xgene".
186462306a36Sopenharmony_ci
186562306a36Sopenharmony_ciconfig RTC_DRV_PIC32
186662306a36Sopenharmony_ci	tristate "Microchip PIC32 RTC"
186762306a36Sopenharmony_ci	depends on MACH_PIC32
186862306a36Sopenharmony_ci	default y
186962306a36Sopenharmony_ci	help
187062306a36Sopenharmony_ci	   If you say yes here you get support for the PIC32 RTC module.
187162306a36Sopenharmony_ci
187262306a36Sopenharmony_ci	   This driver can also be built as a module. If so, the module
187362306a36Sopenharmony_ci	   will be called rtc-pic32
187462306a36Sopenharmony_ci
187562306a36Sopenharmony_ciconfig RTC_DRV_R7301
187662306a36Sopenharmony_ci	tristate "EPSON TOYOCOM RTC-7301SF/DG"
187762306a36Sopenharmony_ci	select REGMAP_MMIO
187862306a36Sopenharmony_ci	depends on OF && HAS_IOMEM
187962306a36Sopenharmony_ci	help
188062306a36Sopenharmony_ci	   If you say yes here you get support for the EPSON TOYOCOM
188162306a36Sopenharmony_ci	   RTC-7301SF/DG chips.
188262306a36Sopenharmony_ci
188362306a36Sopenharmony_ci	   This driver can also be built as a module. If so, the module
188462306a36Sopenharmony_ci	   will be called rtc-r7301.
188562306a36Sopenharmony_ci
188662306a36Sopenharmony_ciconfig RTC_DRV_STM32
188762306a36Sopenharmony_ci	tristate "STM32 RTC"
188862306a36Sopenharmony_ci	select REGMAP_MMIO
188962306a36Sopenharmony_ci	depends on ARCH_STM32 || COMPILE_TEST
189062306a36Sopenharmony_ci	help
189162306a36Sopenharmony_ci	   If you say yes here you get support for the STM32 On-Chip
189262306a36Sopenharmony_ci	   Real Time Clock.
189362306a36Sopenharmony_ci
189462306a36Sopenharmony_ci	   This driver can also be built as a module, if so, the module
189562306a36Sopenharmony_ci	   will be called "rtc-stm32".
189662306a36Sopenharmony_ci
189762306a36Sopenharmony_ciconfig RTC_DRV_CPCAP
189862306a36Sopenharmony_ci	depends on MFD_CPCAP
189962306a36Sopenharmony_ci	tristate "Motorola CPCAP RTC"
190062306a36Sopenharmony_ci	help
190162306a36Sopenharmony_ci	   Say y here for CPCAP rtc found on some Motorola phones
190262306a36Sopenharmony_ci	   and tablets such as Droid 4.
190362306a36Sopenharmony_ci
190462306a36Sopenharmony_ciconfig RTC_DRV_RTD119X
190562306a36Sopenharmony_ci	bool "Realtek RTD129x RTC"
190662306a36Sopenharmony_ci	depends on ARCH_REALTEK || COMPILE_TEST
190762306a36Sopenharmony_ci	default ARCH_REALTEK
190862306a36Sopenharmony_ci	help
190962306a36Sopenharmony_ci	  If you say yes here, you get support for the RTD1295 SoC
191062306a36Sopenharmony_ci	  Real Time Clock.
191162306a36Sopenharmony_ci
191262306a36Sopenharmony_ciconfig RTC_DRV_ASPEED
191362306a36Sopenharmony_ci	tristate "ASPEED RTC"
191462306a36Sopenharmony_ci	depends on OF
191562306a36Sopenharmony_ci	depends on ARCH_ASPEED || COMPILE_TEST
191662306a36Sopenharmony_ci	help
191762306a36Sopenharmony_ci	  If you say yes here you get support for the ASPEED BMC SoC real time
191862306a36Sopenharmony_ci	  clocks.
191962306a36Sopenharmony_ci
192062306a36Sopenharmony_ci	  This driver can also be built as a module, if so, the module
192162306a36Sopenharmony_ci	  will be called "rtc-aspeed".
192262306a36Sopenharmony_ci
192362306a36Sopenharmony_ciconfig RTC_DRV_TI_K3
192462306a36Sopenharmony_ci	tristate "TI K3 RTC"
192562306a36Sopenharmony_ci	depends on ARCH_K3 || COMPILE_TEST
192662306a36Sopenharmony_ci	select REGMAP_MMIO
192762306a36Sopenharmony_ci	help
192862306a36Sopenharmony_ci	  If you say yes here you get support for the Texas Instruments's
192962306a36Sopenharmony_ci	  Real Time Clock for K3 architecture.
193062306a36Sopenharmony_ci
193162306a36Sopenharmony_ci	  This driver can also be built as a module, if so, the module
193262306a36Sopenharmony_ci	  will be called "rtc-ti-k3".
193362306a36Sopenharmony_ci
193462306a36Sopenharmony_cicomment "HID Sensor RTC drivers"
193562306a36Sopenharmony_ci
193662306a36Sopenharmony_ciconfig RTC_DRV_HID_SENSOR_TIME
193762306a36Sopenharmony_ci	tristate "HID Sensor Time"
193862306a36Sopenharmony_ci	depends on USB_HID
193962306a36Sopenharmony_ci	depends on HID_SENSOR_HUB && IIO
194062306a36Sopenharmony_ci	select HID_SENSOR_IIO_COMMON
194162306a36Sopenharmony_ci	help
194262306a36Sopenharmony_ci	  Say yes here to build support for the HID Sensors of type Time.
194362306a36Sopenharmony_ci	  This drivers makes such sensors available as RTCs.
194462306a36Sopenharmony_ci
194562306a36Sopenharmony_ci	  If this driver is compiled as a module, it will be named
194662306a36Sopenharmony_ci	  rtc-hid-sensor-time.
194762306a36Sopenharmony_ci
194862306a36Sopenharmony_ciconfig RTC_DRV_GOLDFISH
194962306a36Sopenharmony_ci	tristate "Goldfish Real Time Clock"
195062306a36Sopenharmony_ci	depends on HAS_IOMEM
195162306a36Sopenharmony_ci	help
195262306a36Sopenharmony_ci	  Say yes to enable RTC driver for the Goldfish based virtual platform.
195362306a36Sopenharmony_ci
195462306a36Sopenharmony_ci	  Goldfish is a code name for the virtual platform developed by Google
195562306a36Sopenharmony_ci	  for Android emulation.
195662306a36Sopenharmony_ci
195762306a36Sopenharmony_ciconfig RTC_DRV_WILCO_EC
195862306a36Sopenharmony_ci	tristate "Wilco EC RTC"
195962306a36Sopenharmony_ci	depends on WILCO_EC
196062306a36Sopenharmony_ci	default m
196162306a36Sopenharmony_ci	help
196262306a36Sopenharmony_ci	  If you say yes here, you get read/write support for the Real Time
196362306a36Sopenharmony_ci	  Clock on the Wilco Embedded Controller (Wilco is a kind of Chromebook)
196462306a36Sopenharmony_ci
196562306a36Sopenharmony_ci	  This can also be built as a module. If so, the module will
196662306a36Sopenharmony_ci	  be named "rtc_wilco_ec".
196762306a36Sopenharmony_ci
196862306a36Sopenharmony_ciconfig RTC_DRV_MSC313
196962306a36Sopenharmony_ci	tristate "MStar MSC313 RTC"
197062306a36Sopenharmony_ci        depends on ARCH_MSTARV7 || COMPILE_TEST
197162306a36Sopenharmony_ci	help
197262306a36Sopenharmony_ci	  If you say yes here you get support for the Mstar MSC313e On-Chip
197362306a36Sopenharmony_ci	  Real Time Clock.
197462306a36Sopenharmony_ci
197562306a36Sopenharmony_ci	  This driver can also be built as a module, if so, the module
197662306a36Sopenharmony_ci	  will be called "rtc-msc313".
197762306a36Sopenharmony_ci
197862306a36Sopenharmony_ciconfig RTC_DRV_POLARFIRE_SOC
197962306a36Sopenharmony_ci	tristate "Microchip PolarFire SoC built-in RTC"
198062306a36Sopenharmony_ci	depends on ARCH_MICROCHIP_POLARFIRE
198162306a36Sopenharmony_ci	help
198262306a36Sopenharmony_ci	  If you say yes here you will get support for the
198362306a36Sopenharmony_ci	  built-in RTC on Polarfire SoC.
198462306a36Sopenharmony_ci
198562306a36Sopenharmony_ci	  This driver can also be built as a module, if so, the module
198662306a36Sopenharmony_ci	  will be called "rtc-mpfs".
198762306a36Sopenharmony_ci
198862306a36Sopenharmony_ciendif # RTC_CLASS
1989