[Meego-kernel] [PATCH] mrst.c changes for Intel MSIC battery driver...

Pallala, Ramakrishna ramakrishna.pallala at intel.com
Tue Dec 7 21:26:27 PST 2010


Hi Alan/Arjan,

> > +#define BATT_INTR_SRAM_ADDR	0xFFFF7FC3
> > +#define BATT_OCV_SRAM_ADDR	0xFFFF3008
> 
> These should be coming from the firmware not hardcoded.
>

Battery driver is platform device. I believe for PCI devices we can get the address
from PCI configuration. Correct me if I am wrong.
And in battery we have two different addresses to map. How can I get these addresses from FW.

Can you suggest any method pass these addresses from FW to Driver.

Thanks,
Ram




More information about the MeeGo-kernel mailing list