-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
API: peci: Add Platform Environment Control Interface API #22575
Conversation
All checks are passing now. Tip: The bot edits this comment instead of posting a new one, so you can check the comment's history to see earlier messages. |
aa3b157
to
63812d4
Compare
3b7e0cf
to
0b372d2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See notes about system calls. Have a look at other driver _handlers.c files for examples. Please contact me if you're unsure what needs to be done.
@andrewboie peci_handlers.c updated based on can_handlers.c as requested |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this build? didn't see a change to gen_kobject_list.py to add the peci API type.
|
0209f1c
to
06871aa
Compare
Add Platform Environment Control Interface API This API defines following calls: - peci_configure - peci_enable - peci_disable - peci_transaction Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
Add PECI API documentation Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
Define PECI_XEC feature. Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
Add the Kconfig for generic PECI drivers. Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
Add generic device tree bindings for PECI devices Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
Add device for PECI driver for MEC family Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK leave handlers out for now, but please file a GH enhancement for them.
Add PECI driver that support PECI API. Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
Sample code that showcase PECI API get device CPU information then monitors temperature. Verified in Modular MEC1501 connected to computer (PECI host). Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
Enable PECI block for MEC15 boards. Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
|
Platform Environment Control Interface, abbreviated as PECI, is a thermal management standard introduced in 2006, while the spec allows to retrieve temperature it also allows to retrieve additional information and/or update other properties involved in thermal management.
API: peci: Add Platform Environment Control Interface API