Skip to content

Commit 0144a2b

Browse files
1991Joyzoubroonie
authored andcommitted
regulator: pf9453: remove low power mode
Remove low power mode support to align with the Rev.1.0 -- 25 June 2025 datasheet, which no longer support this feature. Datasheet is available at https://www.nxp.com/docs/en/data-sheet/PF9453.pdf. Signed-off-by: Joy Zou <joy.zou@nxp.com> Link: https://patch.msgid.link/20251103-b4-next-pf9453-v1-2-a025d536eee1@nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent a2d4691 commit 0144a2b

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

drivers/regulator/pf9453-regulator.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ enum {
119119
#define LDO_ENMODE_ONREQ_STBY_DPSTBY 0x03
120120

121121
/* PF9453_REG_BUCK1_CTRL bits */
122-
#define BUCK1_LPMODE 0x30
123122
#define BUCK1_AD 0x08
124123
#define BUCK1_FPWM 0x04
125124
#define BUCK1_ENMODE_MASK GENMASK(1, 0)
@@ -130,19 +129,16 @@ enum {
130129
#define BUCK2_RAMP_12P5MV 0x1
131130
#define BUCK2_RAMP_6P25MV 0x2
132131
#define BUCK2_RAMP_3P125MV 0x3
133-
#define BUCK2_LPMODE 0x30
134132
#define BUCK2_AD 0x08
135133
#define BUCK2_FPWM 0x04
136134
#define BUCK2_ENMODE_MASK GENMASK(1, 0)
137135

138136
/* PF9453_REG_BUCK3_CTRL bits */
139-
#define BUCK3_LPMODE 0x30
140137
#define BUCK3_AD 0x08
141138
#define BUCK3_FPWM 0x04
142139
#define BUCK3_ENMODE_MASK GENMASK(1, 0)
143140

144141
/* PF9453_REG_BUCK4_CTRL bits */
145-
#define BUCK4_LPMODE 0x30
146142
#define BUCK4_AD 0x08
147143
#define BUCK4_FPWM 0x04
148144
#define BUCK4_ENMODE_MASK GENMASK(1, 0)
@@ -535,14 +531,6 @@ static int buck_set_dvs(const struct regulator_desc *desc,
535531
}
536532
}
537533

538-
if (ret == 0) {
539-
struct pf9453_regulator_desc *regulator = container_of(desc,
540-
struct pf9453_regulator_desc, desc);
541-
542-
/* Enable DVS control through PMIC_STBY_REQ for this BUCK */
543-
ret = pf9453_pmic_write(pf9453, regulator->desc.enable_reg,
544-
BUCK2_LPMODE, BUCK2_LPMODE);
545-
}
546534
return ret;
547535
}
548536

0 commit comments

Comments
 (0)