7 #define TPS65090_I2C_ADDR 0x48
@ TPS65090_ST1_STATE_MASK
@ TPS65090_ST1_STATE_SHIFT
int tps65090_set_charge_enable(unsigned int bus, int enable)
Enable / disable the battery charger.
int tps65090_fet_disable(unsigned int bus, enum fet_id fet_id)
Disable FET.
int tps65090_fet_enable(unsigned int bus, enum fet_id fet_id)
Enable FET.
int tps65090_is_charging(unsigned int bus)
Check whether we have enabled battery charging.
int tps65090_get_status(unsigned int bus)
Return the value of the status register.
int tps65090_fet_is_enabled(unsigned int bus, enum fet_id fet_id)
Is FET enabled?