[PATCH 0/3] rockchip: rk8xx: fix broken [np]ldo callbacks

Quentin Schulz foss+uboot at 0leil.net
Wed Jun 5 11:33:20 CEST 2024


This is for master branch, merge ASAP as it's known to break at least
Chromebook Jerry.

@Simon, can you please check that this fixes your CB?

The wrong udevice was passed to the functions, making them call the
pmic callbacks on the parent of the pmic udevice instead of the pmic
udevice itself.

While at it, ensure consistency by having all internal functions use
pmic udevice instead of the regulator udevice.

Finally, clarify operator precedence in ternary condition as reported by
my linter.

Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
---
Quentin Schulz (3):
      regulator: rk8xx: fix incorrect device used for _ldo_[sg]et_suspend_value
      regulator: rk8xx: pass pmic udevice instead of regulator to all internal functions
      regulator: rk8xx: clarify operator precedence

 drivers/power/regulator/rk8xx.c | 54 ++++++++++++++++++++---------------------
 1 file changed, 27 insertions(+), 27 deletions(-)
---
base-commit: c0ea27bccfb7d2d37fd36806ac2a2f7389099420
change-id: 20240605-pmic-rk8xx-52f2286be334

Best regards,
-- 
Quentin Schulz <quentin.schulz at cherry.de>



More information about the U-Boot mailing list