On Wed, 10 Feb 2021 at 00:52, Ricardo Rivera-MatosACK, this patch is meant to implement changes brought on by a new datasheet revision. The revision tweaked the register step size and offset values to improve the accuracy. I can rebase and reword the patch if that works for you.
<r-rivera-matos@xxxxxx> wrote:
fix: corrects various register step size and offset valuesThanks for the patch.
fix: corrects bq25980_get_input_curr_lim() and bq25980_set_input_curr_lim()
fix: corrects bq25980_get_const_charge_curr() and bq25980_set_const_charge_curr()
fix: corrects BQ25960_BATOVP_MIN_uV, BQ25960_BATOVP_OFFSET_uV,
BQ25960_BATOVP_STEP_uV, and BQ25960_BATOVP_MAX_uV
fix: corrects busocp_sc_min and busocp_byp_min members
fix: removes unnecessary polarity check from bq25980_get_adc_ibus()
fix: removes unnecessary polarity check from bq25980_get_adc_ibat()
fix: clamps ibat_adc to match datasheet change
Only one fix at a time and please exactly describe what is being fixed
using proper sentences (starting with capital letter, ending with a
full stop... and usually description needs multiple of such
sentences). You add here multiple changes without proper description
of a problem being fixed. This is not the correct style of a patch.
Best Regards,
Best regards,
Krzysztof