Skip to content

Commit 96ff9a5

Browse files
committed
[nrf fromtree] drivers: regulator: npm1300: add reference to anomaly 38
Added reference to nPM1300 anomaly 38 replacing generic "LDO bug" Signed-off-by: Sergei Ovchinnikov <[email protected]> (cherry picked from commit b432a01)
1 parent 0d186d9 commit 96ff9a5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

drivers/regulator/regulator_npm1300.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ static DEVICE_API(regulator, api) = {
673673
.enable_gpios = GPIO_DT_SPEC_GET_OR(node_id, enable_gpios, {0}), \
674674
.retention_gpios = GPIO_DT_SPEC_GET_OR(node_id, retention_gpios, {0}), \
675675
.pwm_gpios = GPIO_DT_SPEC_GET_OR(node_id, pwm_gpios, {0}), \
676-
.ldo_disable_workaround = DT_PROP(node_id, nordic_ldo_disable_workaround)}; \
676+
.ldo_disable_workaround = DT_PROP(node_id, nordic_anomaly38_disable_workaround)}; \
677677
\
678678
DEVICE_DT_DEFINE(node_id, regulator_npm1300_init, NULL, &data_##id, &config_##id, \
679679
POST_KERNEL, CONFIG_REGULATOR_NPM1300_INIT_PRIORITY, &api);

dts/bindings/regulator/nordic,npm1300-regulator.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,12 @@ child-binding:
9797
description: |
9898
Soft start current limit in microamps.
9999
100-
nordic,ldo-disable-workaround:
100+
nordic,anomaly38-disable-workaround:
101101
type: boolean
102102
description: |
103-
Disable the SW workaround for LDO bug.
103+
Disable the SW workaround for nPM1300 anomaly #38.
104104
When nPM1300 is in ULP mode, LDO is supplied from VSYS and
105105
then LDO is enabled, it can take long time until the LDO
106106
output has reached its target voltage. To avoid this, an i2c
107107
read is performed shortly after an LDO is enabled.
108+
See nPM1300 Errata manual for more details.

0 commit comments

Comments
 (0)