Skip to content
Commit a3c8121b authored by Daniel Drake's avatar Daniel Drake Committed by Ingo Molnar
Browse files

x86/olpc: Add debugfs interface for EC commands



Add a debugfs interface for sending commands to the OLPC
Embedded Controller (EC) and reading the responses.  The EC
provides functionality for machine identification, battery and
AC control, wakeup control, etc.

Having a debugfs interface available is useful for EC
development and debugging.

Based on code by Paul Fox (who also approves of the end result).

Signed-off-by: default avatarDaniel Drake <dsd@laptop.org>
Acked-by: default avatarPaul Fox <pgf@laptop.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Andres Salomon <dilinger@queued.net>
Link: http://lkml.kernel.org/r/20120327150740.667D09D401E@zog.reactivated.net


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 90e24014
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment