Line data Source code
1 0 : /*
2 : * Copyright (c) 2023 Grinn
3 : *
4 : * SPDX-License-Identifier: Apache-2.0
5 : */
6 :
7 : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_MAX20335_H_
8 : #define ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_MAX20335_H_
9 :
10 : /**
11 : * @defgroup regulator_max20335 MAX20335 Devicetree helpers.
12 : * @ingroup regulator_interface
13 : * @{
14 : */
15 :
16 : /**
17 : * @name MAX20335 Regulator modes
18 : * @{
19 : */
20 : /** LDO mode */
21 1 : #define MAX20335_LDO_MODE 0
22 : /** Load switch mode */
23 1 : #define MAX20335_LOAD_SWITCH_MODE 1
24 : /** @} */
25 :
26 : /** @} */
27 :
28 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_REGULATOR_MAX20335_H_*/
|