All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali.rohar@gmail.com>
To: Pavel Machek <pavel@ucw.cz>, kernel list <linux-kernel@vger.kernel.org>
Cc: linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org,
	aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com,
	patrikbachan@gmail.com, serge@hallyn.com, sre@kernel.org
Subject: Re: 4.5-rc0: n900 battery charging reverts to 100mA, indicator turns back on
Date: Thu, 21 Jan 2016 20:34:07 +0100	[thread overview]
Message-ID: <201601212034.07727@pali> (raw)
In-Reply-To: <20160121184234.GA17679@amd>

[-- Attachment #1: Type: Text/Plain, Size: 914 bytes --]

On Thursday 21 January 2016 19:42:34 Pavel Machek wrote:
> Hi!
> 
> In 4.4, n900 battery charging works. If indicator is turned off, it
> stays off, and if I select 1.8A charge, it sticks. (There may be
> problems after system suspend and resume. But normal operation seems
> to be pretty reliable).

Hm... right, bq2415x driver does not have support for suspend/resume. 
Before suspend registers should be stored and after resume restored, 
plus check charger auto detection.

> In 4.5-rc0 (7fdec82af6a9e190e53d07a1463d2a9ac49a8750) battery
> charging works for few hours. But then indicator (yellow light on
> 3color LED) turns back on, and if I ask for 1.8A charge, it goes
> back to .1A, discharging battery.
> 
> Any ideas?

Look into bq24150a sysfs node what changes. Also if there is something 
in dmesg.

> Best regards,
> 									Pavel


-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: pali.rohar@gmail.com (Pali Rohár)
To: linux-arm-kernel@lists.infradead.org
Subject: 4.5-rc0: n900 battery charging reverts to 100mA, indicator turns back on
Date: Thu, 21 Jan 2016 20:34:07 +0100	[thread overview]
Message-ID: <201601212034.07727@pali> (raw)
In-Reply-To: <20160121184234.GA17679@amd>

On Thursday 21 January 2016 19:42:34 Pavel Machek wrote:
> Hi!
> 
> In 4.4, n900 battery charging works. If indicator is turned off, it
> stays off, and if I select 1.8A charge, it sticks. (There may be
> problems after system suspend and resume. But normal operation seems
> to be pretty reliable).

Hm... right, bq2415x driver does not have support for suspend/resume. 
Before suspend registers should be stored and after resume restored, 
plus check charger auto detection.

> In 4.5-rc0 (7fdec82af6a9e190e53d07a1463d2a9ac49a8750) battery
> charging works for few hours. But then indicator (yellow light on
> 3color LED) turns back on, and if I ask for 1.8A charge, it goes
> back to .1A, discharging battery.
> 
> Any ideas?

Look into bq24150a sysfs node what changes. Also if there is something 
in dmesg.

> Best regards,
> 									Pavel


-- 
Pali Roh?r
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160121/a69c7324/attachment.sig>

  parent reply	other threads:[~2016-01-21 19:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-21 18:42 4.5-rc0: n900 battery charging reverts to 100mA, indicator turns back on Pavel Machek
2016-01-21 18:42 ` Pavel Machek
2016-01-21 19:15 ` Sebastian Reichel
2016-01-21 19:15   ` Sebastian Reichel
2016-01-21 19:41   ` Pavel Machek
2016-01-21 19:41     ` Pavel Machek
2016-01-21 21:14     ` Sebastian Reichel
2016-01-21 21:14       ` Sebastian Reichel
2016-01-21 19:34 ` Pali Rohár [this message]
2016-01-21 19:34   ` Pali Rohár
2016-01-23 12:04   ` Pavel Machek
2016-01-23 12:04     ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201601212034.07727@pali \
    --to=pali.rohar@gmail.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=ivo.g.dimitrov.75@gmail.com \
    --cc=khilman@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=patrikbachan@gmail.com \
    --cc=pavel@ucw.cz \
    --cc=serge@hallyn.com \
    --cc=sre@kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.