Android power and battery management on i.MX8mm(Android 9)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Android power and battery management on i.MX8mm(Android 9)

1,495 次查看
codebuger
Contributor I

We are developing on new i.MX8mm board with Android 9 BSP.

Now we have implemented the driver of battery.ko and charger.ko instead of 

default dummy_battery.ko which is used on  imx8mm evk board(disabled dummy_battery)

The healthd daemon  working  looks good,  but charging dose not work.

 

 About Transplant Method, is there other need to be aware? 

标签 (1)
0 项奖励
回复
2 回复数

1,475 次查看
codebuger
Contributor I

Hi  igorpadykov

The linux driver of charger.ko is provided by maker and it looks working well. 

What about the andriod charger driver part.

for example, when using mediatek‘s andriod, we can find Interface function at following file: 

${kernel-source}/drivers/power/mediatek/switch_charging.c

0 项奖励
回复

1,483 次查看
igorpadykov
NXP Employee
NXP Employee

Hi codebuger

 

for charging one can look at linux charger functions

 

https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/usb/chipidea/usbmisc_imx.c?id=2a8e...

 

Best regards
igor

0 项奖励
回复