Gmane
From: Michal Panczyk <mpanczyk@...>
Subject: Re: Some h2200 kernel patches
Newsgroups: gmane.comp.handhelds.linux.kernel
Date: 2007-04-19 22:29:24 GMT (1 year, 24 weeks, 4 days, 1 hour and 58 minutes ago)
Ok.
Here's what I have done:

I have abandoned changes in h2200_battery.c and unselected it in .conifg
I have added ds2760_battery to defconfig - I am not sure if that's ok
but I thought that would be safer.

Finally - I have modified the h2200.c file:
I have treated the hx4700.c as template and added some code informing
the ds2760_battery about the h2200 battery parameters.

I am not sure if the "amount" of code is enough.
I don't have hx4700 and I have not found any information (parameters)
about h2200 backup battery - I have skipped it....
Aslo I am not sure if I added it in the right place - after hwuart
stuff and before "Initialisation ".
I am not sure if something like ".parent = &h2200_hamcop.dev," is
needed or not ....

The kernel compiles but I would like to get some comments before I
load it in to my h2200....

Michal

On 4/19/07, Matt Reimer <mattjreimer@...> wrote:
> On 4/19/07, Michal Panczyk <mpanczyk@...> wrote:
> > Just to clarify the goal for h2200 battery monitoring :
> > Move the battery handling to arch/arm/mach-pxa/h2200/h2200.c ?
> > Or maybe substitute h2200_battery.c with ds2760_battery.c ?
> >
> > The second one works (compiles) fine out of the box.
> > The first goal would take me a "little" bit more than 2-3 hours...
> >
> > if it is ok what next ?
>
> The goal is to make h2200 use the new ds2760_battery method. One of
> the other ports like hx4700 could be used as a template. This should
> be pretty straightforward. Then we'll delete h2200_battery.c.
>
> Matt
>
Attachment (h2200.c.patch): application/octet-stream, 1536 bytes
Attachment (h2200_deconfig.patch): application/octet-stream, 9 KiB
_______________________________________________
Kernel-discuss mailing list
Kernel-discuss@...
https://handhelds.org/mailman/listinfo/kernel-discuss