Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding the charging systems of these chromebooks #48

Open
alifilhan0 opened this issue Aug 12, 2021 · 7 comments
Open

Regarding the charging systems of these chromebooks #48

alifilhan0 opened this issue Aug 12, 2021 · 7 comments

Comments

@alifilhan0
Copy link

does charging and fuelgauge work on these chromebooks? Specifically the Lenovo Duet chromebook with the MT6358 PMIC? If yes then how?

@apple-corps
Copy link

I believe it charges but I don't know the details.

@apple-corps
Copy link

I assume it uses either a patch or the kernel to provide https://lwn.net/Articles/814498/ .

@apple-corps
Copy link

https://cateee.net/lkddb/web-lkddb/REGULATOR_MT6358.html This is set in the kernel so yes.

@alifilhan0
Copy link
Author

alifilhan0 commented Aug 12, 2021

I know about that, but I don't see any fuel gauge and charging driver. Only the regulator driver which supplies the power to different peripherals right? Like there are drivers for MAX17042 and such...can you confirm that the PMIC doesn't need those drivers I am concerned about? Does the battery percentage show properly and does it detect charging properly?

@apple-corps
Copy link

I think it does but better ask the boss

@alifilhan0
Copy link
Author

alifilhan0 commented Aug 12, 2021

I am sorry for the inconvenience, later found out that there is the EC chip which controls the charging and the power regulation for the tablet, and the power is then distrusted to the peripherals. But it would have been better if I could get a power/charger and fuelgauge driver for mediatek pmic. Is there any way I can ask for such a driver to the mediatek community? I am actually working to get a mainline kernel on a mediatek device with only a mediatek pmic as the charging hardware. Till now I could write a regulator driver for the chip but the other drivers are missing.

@apple-corps
Copy link

@alifilhan0 I have no idea. @Maccraft123 might have some advice as this is her source tree. Otherwise maybe reach out to the linux kernel community or perhaps a mediatek mailing list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants