[U-Boot] Fwd: axp209 driver bug report

Pierre-louis Boyer pierrelouis.boyer at gmail.com
Thu Jul 18 15:45:04 UTC 2019


https://gitlab.denx.de/u-boot/u-boot/blob/master/drivers/power/axp209.c
     pmic_bus_write(AXP209_SHUTDOWN, AXP209_POWEROFF);

Should be replaced by

      pmic_bus_setbits(AXP209_SHUTDOWN, AXP209_POWEROFF);

Because currently uboot write 1000 0000 in REG32 instead of just writing 1
in bit 7.
Overwriting over settings such as battery detection enable.


More information about the U-Boot mailing list