-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Wrong parameter name in BQ32000 i2c-rtc overlay #6291
Comments
You are totally correct - the bq32k driver is looking for the generic trickle-resistor-ohms property, not the abracon vendor-specific one. However the 5.15 tree is now unsupported by Raspberry Pi. We can fix up our current 6.6 tree and later supported branches (currently 6.10 and 6.11), but will be reluctant to backport. |
You should just be able to copy the overlay from the 6.6 tree when it's ready, but you could also just use your fixed version - it's your choice. |
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Fixed in rpi-6.6.y by 05e3687. |
Thank you for your quick response. I'm glad that solved the problem. |
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
The DT property for the BQ32000 controlled by trickle-resistor-ohms parameter should be "trickle-resistor-ohms", not "abracon,tc-resistor". See: #6291 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Describe the bug
I've had some trouble trying to enable trickle charge in a bq32000 (the driver loaded but it didn't recognize the trickle-resistor-ohms parameter, so it won't charge the supercap) and I think it's an issue with the i2c-rtc.dts.
I believe this change should be done:
i2c-rtc-common.dtsi - line 343
"trickle-resistor-ohms" instead of "abracon,tc-resistor"
I've tested it recompiling and loading the .dtbo and seems to be fine now, but I'm still not sure enough to create a PR, so I leave the comment here in case you could check it out, thank you. I'm sorry if this is not the correct way to suggest changes but this is my first time I create an issue.
Steps to reproduce the behaviour
Try to load i2c-rtc overlay for a bq32000 in config.txt.
Then, if you check via dmesg, the driver will load, but if you are using a supercap, the parameter "tricle-resistor-ohms" needed for the driver won't be passed to it, so the supercap won't charge.
Device (s)
Raspberry Pi CM4
System
Using kernel version 5.15.84-v7l+
Raspberry Pi OS lite based on Debian 11 bullseye
Logs
The dmesg oytput is:
but it should be:
Additional context
No response
The text was updated successfully, but these errors were encountered: