On Mo, 2020-12-21 at 09:33 +0100, H. Nikolaus Schaller wrote:
That directory doesn't exist on my system:
root@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@5a0 drwxr-xr-x 2 root root 0 Jan 1 1970 dummy-scm_conf@0
Could it be that it has a different name / ID
Am 20.12.2020 um 21:54 schrieb Michael Mrozek EvilDragon@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@letux:~# fgrep 5: /sys/kernel/debug/regmap/1-006b/registers 5: 8a root@letux:~#
If you see 9x, ax, bx the watchdog timer is enabled for 40, 80, 120 seconds.
BR, Nikolaus