A way to disable blinking red led?

Nope.

The red LED is connected to both SoC (which can be controlled via /sys/class/leds) and to BQ25895’s (charging controller’s) STAT pin; it works in an “OR” fashion. Currently our software does not try to drive the red LED in any way, so all you see is the result of STAT pin activity.

STAT pin can be disabled by setting bit 6 (STAT_DIS) of register 07 to 1:

$ sudo i2cget -f -y 3 0x6a 0x07
0x8d
$ sudo i2cset -f -y 3 0x6a 0x07 0xcd

Datasheet: https://www.ti.com/product/BQ25895

Make sure to know exactly what you’re doing when fiddling with charging controller’s I2C registers; setting wrong values can be dangerous.

8 Likes