From: Daniel Drake Date: Tue, 27 Mar 2012 15:07:40 +0000 (+0100) Subject: x86/olpc: Add debugfs interface for EC commands X-Git-Tag: v3.4-rc1~43^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3c8121b8724c3d496dc00201ab40e8313edcf0d;p=pandora-kernel.git 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: Daniel Drake Acked-by: Paul Fox Cc: "H. Peter Anvin" Cc: Andres Salomon Link: http://lkml.kernel.org/r/20120327150740.667D09D401E@zog.reactivated.net Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed