]> git.ipfire.org Git - thirdparty/u-boot.git/commit
power: regulator: pfuze100: support non-independent mode
authorPeng Fan <peng.fan@nxp.com>
Sat, 18 Apr 2026 12:37:34 +0000 (20:37 +0800)
committerPeng Fan <peng.fan@nxp.com>
Wed, 6 May 2026 02:20:30 +0000 (10:20 +0800)
commite015bc1b8d3d9974494581eec1321e59ffe2b355
tree67eeaa676f6900714b9bbfbf074e757cf406df1c
parentb7b7aa741f9dd37a25cf44f3a2771ec9bfd497dc
power: regulator: pfuze100: support non-independent mode

Some BUCKs could work in single/dual phase mode, not in independent
mode. In single/dual phase mode, registers of both regulators,
must be identically set. So configure mode and value for both BUCKs.

CONF registers are not touched, leave them as default OTP settings.

PFUZE100/200 SW3A/B, could work in single/dual phase mode, so introduce
a new macro by adding a pointer to the SW3B descriptor.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/power/regulator/pfuze100.c