:: Re: [maemo-leste] [PATCH] power: su…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Sicelo
Päiväys:  
Vastaanottaja: Sebastian Reichel
Kopio: linux-pm, maemo-leste, pali
Aihe: Re: [maemo-leste] [PATCH] power: supply: bq2415x_charger: report online status
Good Day

On Wed, Feb 28, 2024 at 01:00:20AM +0100, Sebastian Reichel wrote:
> > >
> > > 011 - Poor input source or VBUS < UVLO
> > >
> > Absolutely, yes. This particular state, which is a fault condition, clearly
> > indicates VBUS is present.
>
> I assumed this might be set for a disconnected charger, considering
> that no input source is a poor input source / 0V is < UVLO.


The meaning of that one can be phrased as: you are supplying VBUS, but
it is not high enough for the chip to sustain charging.

> > However, looking at them more closely seems to suggest I should respin the
> > patch to also report VBUS online if a fault is reported instead of only
> > during charging and charge full states.
>
> Right, so you can just check for BQ2415X_CHARGE_STATUS != 0.


Thanks. v2 sent.

Regards,
Sicelo