bq25890_charger: Don't enable OTG on unplugged USB
This adds POWER_SUPPLY_PRESENT property to tps65982 driver, and makes bq25890 use it to tell whether something is plugged in.
Fixes #337 (closed), #153 (closed)
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this page for instructions on how to get full permissions. Sorry for the inconvenience.
This adds POWER_SUPPLY_PRESENT property to tps65982 driver, and makes bq25890 use it to tell whether something is plugged in.
Fixes #337 (closed), #153 (closed)