Re: [PATCH 4/4] RX-51: Add platform function and data for bq24150a charger

2013-09-24 Thread Pali Rohár
On Monday 23 September 2013 22:47:15 Sebastian Reichel wrote: On Mon, Sep 23, 2013 at 10:06:46PM +0200, Pali Rohár wrote: On Monday 23 September 2013 22:00:09 Sebastian Reichel wrote: On Mon, Sep 23, 2013 at 09:16:18PM +0200, Pali Rohár wrote: It is not as simple as it looks. This is

Re: [PATCH 4/4] RX-51: Add platform function and data for bq24150a charger

2013-09-24 Thread Sebastian Reichel
Hi, On Tue, Sep 24, 2013 at 07:05:47PM +0200, Pali Rohár wrote: No, isp1704 driver is doing fastcharger detection (and then export charger type via sysfs power supply) based on musb usb events. Real charging (enabling/disabling and setting properties) is done by bq24150a chip which has

Re: [PATCH 4/4] RX-51: Add platform function and data for bq24150a charger

2013-09-23 Thread Tony Lindgren
* Pali Rohár pali.ro...@gmail.com [130920 12:29]: On Sunday 08 September 2013 10:50:39 Pali Rohár wrote: This patch will register bq24150a charger in RX-51 board data. Patch also adding platform function between isp1704 and bq2415x drivers for detecting charger type. So finally

Re: [PATCH 4/4] RX-51: Add platform function and data for bq24150a charger

2013-09-23 Thread Pali Rohár
Hello, On Monday 23 September 2013 20:03:00 you wrote: * Pali Rohár pali.ro...@gmail.com [130920 12:29]: On Sunday 08 September 2013 10:50:39 Pali Rohár wrote: This patch will register bq24150a charger in RX-51 board data. Patch also adding platform function between isp1704 and

Re: [PATCH 4/4] RX-51: Add platform function and data for bq24150a charger

2013-09-23 Thread Sebastian Reichel
On Mon, Sep 23, 2013 at 09:16:18PM +0200, Pali Rohár wrote: It is not as simple as it looks. This is reason why I submited this patch long time after I submited bq2415x driver. Problem is that for rx51 is needed specific function which connect to two drivers (bq2415x and isp1704) plus it

Re: [PATCH 4/4] RX-51: Add platform function and data for bq24150a charger

2013-09-23 Thread Pali Rohár
On Monday 23 September 2013 22:00:09 Sebastian Reichel wrote: On Mon, Sep 23, 2013 at 09:16:18PM +0200, Pali Rohár wrote: It is not as simple as it looks. This is reason why I submited this patch long time after I submited bq2415x driver. Problem is that for rx51 is needed specific

Re: [PATCH 4/4] RX-51: Add platform function and data for bq24150a charger

2013-09-23 Thread Sebastian Reichel
On Mon, Sep 23, 2013 at 10:06:46PM +0200, Pali Rohár wrote: On Monday 23 September 2013 22:00:09 Sebastian Reichel wrote: On Mon, Sep 23, 2013 at 09:16:18PM +0200, Pali Rohár wrote: It is not as simple as it looks. This is reason why I submited this patch long time after I submited

Re: [PATCH 4/4] RX-51: Add platform function and data for bq24150a charger

2013-09-23 Thread Tony Lindgren
* Sebastian Reichel s...@ring0.de [130923 13:55]: On Mon, Sep 23, 2013 at 10:06:46PM +0200, Pali Rohár wrote: On Monday 23 September 2013 22:00:09 Sebastian Reichel wrote: On Mon, Sep 23, 2013 at 09:16:18PM +0200, Pali Rohár wrote: It is not as simple as it looks. This is reason why I

Re: [PATCH 4/4] RX-51: Add platform function and data for bq24150a charger

2013-09-23 Thread Pavel Machek
Hi! No, isp1704 is power supply driver and export data via power supply (sysfs) interface. It is not regulator but charger driver. well it does not charge the battery directly, but just provides a power line with 5 Volt and a specified amount of current to the system, doesn't it? I

Re: [PATCH 4/4] RX-51: Add platform function and data for bq24150a charger

2013-09-20 Thread Pali Rohár
On Sunday 08 September 2013 10:50:39 Pali Rohár wrote: This patch will register bq24150a charger in RX-51 board data. Patch also adding platform function between isp1704 and bq2415x drivers for detecting charger type. So finally charging battery on Nokia N900 (RX-51) working automatically

Re: [PATCH 4/4] RX-51: Add platform function and data for bq24150a charger

2013-09-09 Thread Sebastian Reichel
Hi Pali, On Sun, Sep 08, 2013 at 10:50:39AM +0200, Pali Rohár wrote: This patch will register bq24150a charger in RX-51 board data. Patch also adding platform function between isp1704 and bq2415x drivers for detecting charger type. So finally charging battery on Nokia N900 (RX-51) working

[PATCH 4/4] RX-51: Add platform function and data for bq24150a charger

2013-09-08 Thread Pali Rohár
This patch will register bq24150a charger in RX-51 board data. Patch also adding platform function between isp1704 and bq2415x drivers for detecting charger type. So finally charging battery on Nokia N900 (RX-51) working automatically without any proprietary Nokia bits in userspace.