power_supply: max77693: Make min/max charging current limit configurable
Adds two new properties, "maxim,min-charge-microamps" and "maxim,max-charge-microamps", that control the minimum/maximum current allowed for charging. By default, use the default min/max values for 0.5A (500000 uA).
Also make the Galaxy Tab 3 8.0 use those values.
(Note that this does not update dt-bindings to include the new values; if I should add that too, let me know.)
Merge request reports
Activity
Checked the code:
regulator-min/max-microamp
set the constraints (see [1]), which are checked when callingregulator_set_current_limit
, see [2] [3]. So changing these values will only constrain the values passed to set_current_limit.Unless you mean that the charger driver should read those constraints and use them for the charging limit configuration, which I suppose probably makes more sense than the approach I tried.
mentioned in merge request !15 (closed)
Closing in favor of !15 (closed).