[lkml]   [2020]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v3 1/8] power: supply: axp20x_ac_power: Fix reporting online status
On Mon, Jan 13, 2020 at 11:53 AM Samuel Holland <> wrote:
> AXP803/AXP813 have a flag that enables/disables the AC power supply
> input. This flag does not affect the status bits in PWR_INPUT_STATUS.
> Its effect can be verified by checking the battery charge/discharge
> state (bit 2 of PWR_INPUT_STATUS), or by examining the current draw on
> the AC input.
> Take this flag into account when getting the ONLINE property of the AC
> input, on PMICs where this flag is present.
> Fixes: 7693b5643fd2 ("power: supply: add AC power supply driver for AXP813")
> Cc:
> Signed-off-by: Samuel Holland <>

Reviewed-by: Chen-Yu Tsai <>

 \ /
  Last update: 2020-01-13 05:05    [W:0.045 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site