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?
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
Hi codebuger
for charging one can look at linux charger functions
Best regards
igor