BQ25895: Disable BC1.2 and Set IINLIM to Max Value
We should likely also do this in the kernel:
- Set the lower four bits of 0x02 to zero (HVDCP_EN, MAXC_EN, FORCE_DPDM, and AUTO_DPDM_EN)
- After setting the lower four bits of 0x02 to zero then set FORCE_ICO to 1, MSB of 0x09 (must happen after setting lower four bits of 0x02 to zero and not before it)
- Set IINLIM[5:0]=111111 (3.25A), lower 6 bits of register 0x00 to all 1
It may be necessary to set FORCE_ICO to 1 each time a USB source is plugged in (if ICO_OPTIMIZED is still zero).
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information