1# Copyright (c) 2023 Grinn
2# SPDX-License-Identifier: Apache-2.0
3
4config REGULATOR_MAX20335
5	bool "MAX20335 PMIC regulator driver"
6	default y
7	depends on DT_HAS_MAXIM_MAX20335_REGULATOR_ENABLED
8	select I2C
9	select MFD
10	help
11	  Enable the Maxim MAX20335 PMIC regulator driver
12
13if REGULATOR_MAX20335
14
15config REGULATOR_MAXIM_MAX20335_COMMON_INIT_PRIORITY
16	int "MAX20335 regulator driver init priority (common part)"
17	default 86
18	help
19	  Init priority for the Maxim MAX20335 regulator driver
20	  (common part). It must be greater than I2C and MFD init priority.
21
22config REGULATOR_MAXIM_MAX20335_INIT_PRIORITY
23	int "MAX20335 regulator driver init priority"
24	default 87
25	help
26	  Init priority for the Maxim MAX20335 regulator driver. It must be
27	  greater than REGULATOR_MAXIM_MAX20335_COMMON_INIT_PRIORITY
28
29endif
30