Skip to contentSkip to conversation

mx28 battery charger support

DISCUSSION Alexandre Belloni 3 participants 3 messages Sep 2, 2014 – Sep 3, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

I'm having a look at the battery charger on i.mx28. Is there any mainline driver or any attempt at mainlining a driver? The IP is not documented in the i.MX28 Applications Processor Reference Manual but there is an existing driver in the Linux 2.6.35 sources from Freescale [1].

I would love not being stuck with such an old version ;)

[1] http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/power/mxs?h=imx_2.6.35_maintain

Regards,

Signature · 3 lines
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#1 lore raw

Hi Alexandre,

Quoted 10 lines · Alexandre Belloni

Hi,

I'm having a look at the battery charger on i.mx28. Is there any mainline driver or any attempt at mainlining a driver? The IP is not documented in the i.MX28 Applications Processor Reference Manual but there is an existing driver in the Linux 2.6.35 sources from Freescale [1].

I would love not being stuck with such an old version ;)

[1] http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/power/mxs?h=imx_2.6.35_maintain

I haven't seen any patches for upstreaming the battery charger on mxs yet..

In this discussion Robert Schwebel reports to be using a mainline kernel with the battery charger driver on mx23:
https://community.freescale.com/thread/312468

Adding Robert in case he could comment on this.

Regards,

Fabio Estevam

#2 lore raw

Hi Fabio,

Quoted 10 lines · Fabio Estevam
Quoted 8 lines · Alexandre Belloni

I'm having a look at the battery charger on i.mx28. Is there any mainline driver or any attempt at mainlining a driver? The IP is not documented in the i.MX28 Applications Processor Reference Manual but there is an existing driver in the Linux 2.6.35 sources from Freescale [1].

I would love not being stuck with such an old version ;)

[1] http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/power/mxs?h=imx_2.6.35_maintain

Quoted 7 lines

I haven't seen any patches for upstreaming the battery charger on mxs yet..

In this discussion Robert Schwebel reports to be using a mainline kernel with the battery charger driver on mx23:
https://community.freescale.com/thread/312468

Adding Robert in case he could comment on this.

Unfortunately, we don't have a mainline-quality driver yet. We made an ugly hack at that time that worked somehow, but then our project time went out and the driver was left in the customer BSP in its current state.

I can see if we can split out the patches, but mit could need some time, as I'm on holiday.

rsc

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |