Skip to content

Commit 6fb4d8f

Browse files
Sergei OvchinnikovChromeos LUCI
authored andcommitted
drivers: regulator: npm1300: add reference to anomaly 38
Added reference to nPM1300 anomaly 38 replacing generic "LDO bug" (cherry picked from commit b432a01) Original-Signed-off-by: Sergei Ovchinnikov <[email protected]> GitOrigin-RevId: b432a01 Cr-Build-Id: 8722485936012132001 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8722485936012132001 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: Icbf6fe4640badb9835e55051db75fc9c8d8b0920 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6281752 Commit-Queue: ChromeOS Prod (Robot) <[email protected]> Tested-by: ChromeOS Prod (Robot) <[email protected]> Bot-Commit: ChromeOS Prod (Robot) <[email protected]>
1 parent 75fabee commit 6fb4d8f

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)