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

英雄帖:Linux PMBus driver for the AVS controller in 3A6000+ #37

Open
xen0n opened this issue Jan 14, 2024 · 2 comments
Open

英雄帖:Linux PMBus driver for the AVS controller in 3A6000+ #37

xen0n opened this issue Jan 14, 2024 · 2 comments
Labels
AREA: Kernel 英雄帖 Volunteers welcome!

Comments

@xen0n
Copy link
Member

xen0n commented Jan 14, 2024

According to the 3A6000 register usage manual, Section 15.4, there is an AVS controller from which voltage, current and temperature parameters of the different power domains could be read out (and possibly manipulated). This makes it prime candidate and low-hanging fruit to write a driver in drivers/hwmon/pmbus.

There is already a user-space equivalent done by @naivekun that can be used as a reference.

@naivekun
Copy link

Also, C code can be used here.
https://github.com/naivekun/LoongsonOverclockPkg/blob/master/LoongsonOverclockPkg/Library/LS3A6KPackageControlLib/PackageControl.c

@xry111
Copy link
Member

xry111 commented Jan 21, 2024

Btw can we make a cpufreq driver for power-saving and/or overclocking?

@xen0n xen0n added the 英雄帖 Volunteers welcome! label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AREA: Kernel 英雄帖 Volunteers welcome!
Projects
None yet
Development

No branches or pull requests

3 participants