[Letux-kernel] Pyra charging
Michael Mrozek
EvilDragon at openpandora.org
Mon Dec 21 21:03:25 CET 2020
On Mo, 2020-12-21 at 09:33 +0100, H. Nikolaus Schaller wrote:
That directory doesn't exist on my system:
root at evild-pyra:/sys/kernel/debug/regmap# ls -l
total 0
drwxr-xr-x 2 root root 0 Jan 1 1970 0-0008
drwxr-xr-x 2 root root 0 Jan 1 1970 0-0048
drwxr-xr-x 2 root root 0 Jan 1 1970 0-0049
drwxr-xr-x 2 root root 0 Jan 1 1970 0-004a
drwxr-xr-x 2 root root 0 Jan 1 1970 0-004b
drwxr-xr-x 2 root root 0 Dec 21 20:59 1-004f
drwxr-xr-x 2 root root 0 Jan 1 1970 2-0029
drwxr-xr-x 2 root root 0 Jan 1 1970 2-0076
drwxr-xr-x 2 root root 0 Jan 1 1970 3-0064
drwxr-xr-x 2 root root 0 Jan 1 1970 4-0022
drwxr-xr-x 2 root root 0 Jan 1 1970 4-0064
drwxr-xr-x 2 root root 0 Jan 1 1970 dummy-omap5_padconf_global at 5a0
drwxr-xr-x 2 root root 0 Jan 1 1970 dummy-scm_conf at 0
Could it be that it has a different name / ID
> > 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
>
--
Mit freundlichen Grüßen,
Michael Mrozek
-----------------------
OpenPandora GmbH
Geschäftsführer: Michael Mrozek
Schäffbräustr. 11
85049 Ingolstadt
Deutschland
Tel.: 0841 / 990 5548
http://www.openpandora.de/
HRB 4879, Amtsgericht Ingolstadt
-----------------------
eMail: mrozek at openpandora.org
More information about the Letux-kernel
mailing list