[Letux-kernel] Pyra charging

H. Nikolaus Schaller hns at goldelico.com
Mon Dec 21 09:33:37 CET 2020


> Am 20.12.2020 um 21:54 schrieb Michael Mrozek <EvilDragon at openpandora.org>:
> 
> So if I want to limit the 3A input to 1A, it works - but 30 - 60
> seconds later, there's a KERNEL UDEV event reported - and it's back to
> 3A.
> 
> It's the same for the USB FTDI port as well. I can increase the limit -
> but it's being reset.

> So we need to find out what causes that reset. Is it the driver?
> What else could it be?

It could be the watchdog inside the bq24297. If that one expires it
resets the chip and starts redetection of the power supply.

But I think we disable it in u-boot and the kernel driver.

Please check with

root at letux:~# fgrep 5: /sys/kernel/debug/regmap/1-006b/registers
5: 8a
root at letux:~# 

If you see 9x, ax, bx the watchdog timer is enabled for 40, 80, 120 seconds.

BR,
Nikolaus



More information about the Letux-kernel mailing list