Re: [PATCH v2] New Nokia RX-51 power supply battery driver

From: Pali Rohár
Date: Mon Nov 19 2012 - 07:18:25 EST


On Sunday 18 November 2012 15:12:40 Anton Vorontsov wrote:
> On Wed, Oct 31, 2012 at 10:48:40AM +0100, Pali RohÃr wrote:
> > Hello, I fixed style issues and added it to Makefile and
> > Kconfig.
> >
> > power_supply: Add Nokia RX-51 battery driver
> >
> > This driver exporting battery design capacity, temperature
> > and voltage for battery in Nokia RX-51. This driver is
> > needed for open source battery management on Nokia RX-51
> > (N900).
> >
> > Signed-off-by: Pali RohÃr <pali.rohar@xxxxxxxxx>
>
> Looks great, thank you! This is now in the battery git tree.
>
> p.s.
>
> fwiw, I added the N900 reference to the user-visible Kconfig
> text:
>
> config BATTERY_RX51
> - tristate "Nokia RX-51 battery driver"
> + tristate "Nokia RX-51 (N900) battery driver"
> depends on TWL4030_MADC
> help
> - Say Y here to enable support for battery information on
> Nokia RX-51. + Say Y here to enable support for battery
> information on Nokia + RX-51, also known as N900 tablet.

Ok. Here is missing patch which register this driver in Nokia N900 board code. Without it driver is not loaded.