Commit b432a01c authored by Sergei Ovchinnikov's avatar Sergei Ovchinnikov Committed by Fabio Baltieri
Browse files

drivers: regulator: npm1300: add reference to anomaly 38



Added reference to nPM1300 anomaly 38 replacing generic "LDO bug"

Signed-off-by: default avatarSergei Ovchinnikov <sergei.ovchinnikov@nordicsemi.no>
parent b5ba50c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -673,7 +673,7 @@ static DEVICE_API(regulator, api) = {
		.enable_gpios = GPIO_DT_SPEC_GET_OR(node_id, enable_gpios, {0}),                   \
		.retention_gpios = GPIO_DT_SPEC_GET_OR(node_id, retention_gpios, {0}),             \
		.pwm_gpios = GPIO_DT_SPEC_GET_OR(node_id, pwm_gpios, {0}),                         \
		.ldo_disable_workaround = DT_PROP(node_id, nordic_ldo_disable_workaround)};        \
		.ldo_disable_workaround = DT_PROP(node_id, nordic_anomaly38_disable_workaround)};  \
                                                                                                   \
	DEVICE_DT_DEFINE(node_id, regulator_npm1300_init, NULL, &data_##id, &config_##id,          \
			 POST_KERNEL, CONFIG_REGULATOR_NPM1300_INIT_PRIORITY, &api);
+3 −2
Original line number Diff line number Diff line
@@ -97,11 +97,12 @@ child-binding:
      description: |
        Soft start current limit in microamps.

    nordic,ldo-disable-workaround:
    nordic,anomaly38-disable-workaround:
      type: boolean
      description: |
        Disable the SW workaround for LDO bug.
        Disable the SW workaround for nPM1300 anomaly #38.
        When nPM1300 is in ULP mode, LDO is supplied from VSYS and
        then LDO is enabled, it can take long time until the LDO
        output has reached its target voltage. To avoid this, an i2c
        read is performed shortly after an LDO is enabled.
        See nPM1300 Errata manual for more details.