File tree Expand file tree Collapse file tree 7 files changed +755
-0
lines changed
include/zephyr/dt-bindings/regulator Expand file tree Collapse file tree 7 files changed +755
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ zephyr_library_sources(regulator_common.c)
7
7
zephyr_library_sources_ifdef (CONFIG_REGULATOR_FAKE regulator_fake.c )
8
8
zephyr_library_sources_ifdef (CONFIG_REGULATOR_FIXED regulator_fixed.c )
9
9
zephyr_library_sources_ifdef (CONFIG_REGULATOR_NPM1100 regulator_npm1100.c )
10
+ zephyr_library_sources_ifdef (CONFIG_REGULATOR_NPM1300 regulator_npm1300.c )
10
11
zephyr_library_sources_ifdef (CONFIG_REGULATOR_NPM6001 regulator_npm6001.c )
11
12
zephyr_library_sources_ifdef (CONFIG_REGULATOR_PCA9420 regulator_pca9420.c )
12
13
zephyr_library_sources_ifdef (CONFIG_REGULATOR_SHELL regulator_shell.c )
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ source "subsys/logging/Kconfig.template.log_config"
23
23
source "drivers/regulator/Kconfig.fake"
24
24
source "drivers/regulator/Kconfig.fixed"
25
25
source "drivers/regulator/Kconfig.npm1100"
26
+ source "drivers/regulator/Kconfig.npm1300"
26
27
source "drivers/regulator/Kconfig.npm6001"
27
28
source "drivers/regulator/Kconfig.pca9420"
28
29
source "drivers/regulator/Kconfig.rpi_pico"
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2023 Nordic Semiconductor ASA
2
+ # SPDX -License-Identifier: Apache-2.0
3
+
4
+ config REGULATOR_NPM1300
5
+ bool "nPM1300 PMIC regulator driver"
6
+ default y
7
+ depends on DT_HAS_NORDIC_NPM1300_REGULATOR_ENABLED
8
+ select I2C
9
+ help
10
+ Enable the Nordic nPM1300 PMIC regulator driver
11
+
12
+ if REGULATOR_NPM1300
13
+
14
+ config REGULATOR_NPM1300_COMMON_INIT_PRIORITY
15
+ int "nPM1300 regulator driver init priority (common part)"
16
+ default 75
17
+ help
18
+ Init priority for the Nordic nPM1300 regulator driver (common part).
19
+ It must be greater than I2C init priority.
20
+
21
+ config REGULATOR_NPM1300_INIT_PRIORITY
22
+ int "nPM1300 regulator driver init priority"
23
+ default 76
24
+ help
25
+ Init priority for the Nordic nPM1300 regulator driver. It must be
26
+ greater than REGULATOR_NPM1300_COMMON_INIT_PRIORITY.
27
+
28
+ endif
You can’t perform that action at this time.
0 commit comments