1# Copyright (c) 2024, Gergo Vari <work@gergovari.com>
2#
3# SPDX-License-Identifier: Apache-2.0
4#
5
6config RTC_DS3231
7	bool "Maxim DS3231 RTC/TCXO"
8	default y
9	depends on DT_HAS_MAXIM_DS3231_MFD_ENABLED
10	depends on DT_HAS_MAXIM_DS3231_RTC_ENABLED
11	select I2C
12	select MFD
13	help
14	  Enable RTC driver based on Maxim DS3231 I2C device.
15
16config RTC_DS3231_INIT_PRIORITY
17	int "DS3231 RTC driver initialization priority"
18	depends on RTC_DS3231
19	default 86
20	help
21	  Initialization priority for the DS3231 RTC driver. It must be
22	  greater than the I2C controller init priority and the mfd driver
23	  init priority.
24