From: Sebastian Reichel <sre@ring0.de>
To: "Pali Rohár" <pali.rohar@gmail.com>
Cc: Jenny TC <jenny.tc@intel.com>,
Anton Vorontsov <anton.vorontsov@linaro.org>,
linux-kernel@vger.kernel.org
Subject: Re: N900 DT
Date: Sat, 26 Oct 2013 02:25:02 +0200 [thread overview]
Message-ID: <20131026002500.GA16970@earth.universe> (raw)
In-Reply-To: <201310252039.41026@pali>
[-- Attachment #1: Type: text/plain, Size: 1550 bytes --]
Hi Pali,
On Fri, Oct 25, 2013 at 08:39:40PM +0200, Pali Rohár wrote:
> Now I found this patch and it looks like it will be in mainline
> kernel. And after that it could be simple to listen for needed
> events from isp driver in my bq driver (without touching isp).
>
> https://lkml.org/lkml/2013/7/25/204
>
> Can you look at isp1704 driver for DT support? I think that only
> one gpio needs to be passed to driver from board data.
I had a quick overview over Jenny's patchset [0] (the patch you
referenced is part of a bigger patchset). I don't think the
scenario found in the Nokia N900 is covered by it, but probably
now is the time to change it :)
So for everybody new to this thread:
Multiple chips are involved in the charging of the Nokia N900
battery:
bq27200: This chip is used for reading battery status. AFAIK
it's not directly involved in charging the battery.
bq24150a: This chip takes care of actually charging the battery.
It has no clue about USB related stuff. The maximum
current it draws can be configured, though.
isp1704: USB charger detector. This chip is used to detect how
much current may be used by the bq24150a chip.
rx51-temp: Analog temperature sensor for the battery, which is
connected via an analog-digital-converter.
The question is how to connected these driver with each other
if device tree is used to boot the system. Any suggestions?
[0] http://thread.gmane.org/gmane.linux.kernel/1377608
-- Sebastian
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next parent reply other threads:[~2013-10-26 0:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201310240806.49340@pali>
[not found] ` <20131024085155.GB28938@earth.universe>
[not found] ` <201310252039.41026@pali>
2013-10-26 0:25 ` Sebastian Reichel [this message]
2013-10-26 13:27 ` N900 DT Pali Rohár
2013-10-28 3:01 ` Tc, Jenny
2013-10-28 6:26 ` Anton Vorontsov
2013-11-05 12:00 ` gitorious v3.12-rc1-n900 tree Pavel Machek
2013-11-05 12:35 ` Pali Rohár
2013-11-05 23:12 ` Pavel Machek
2013-11-06 22:42 ` Pavel Machek
2013-11-11 21:30 ` Pali Rohár
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=20131026002500.GA16970@earth.universe \
--to=sre@ring0.de \
--cc=anton.vorontsov@linaro.org \
--cc=jenny.tc@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pali.rohar@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).