WSL2-Linux-Kernel/arch/x86/platform/olpc
Daniel Drake a3c8121b87 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 <dsd@laptop.org>
Acked-by: Paul 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: Ingo Molnar <mingo@kernel.org>
2012-03-27 20:54:52 +02:00
..
Makefile x86, olpc: Add XO-1.5 SCI driver 2011-07-06 14:44:43 -07:00
olpc-xo1-pm.c x86: Fix files explicitly requiring export.h for EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:30:35 -04:00
olpc-xo1-rtc.c x86, olpc: Add XO-1 RTC driver 2011-07-06 14:44:42 -07:00
olpc-xo1-sci.c x86, olpc-xo1-sci: Propagate power supply/battery events 2011-07-06 14:44:40 -07:00
olpc-xo15-sci.c x86/olpc/xo15/sci: Enable lid close wakeup control 2012-03-06 09:57:11 +01:00
olpc.c x86/olpc: Add debugfs interface for EC commands 2012-03-27 20:54:52 +02:00
olpc_dt.c x86, olpc: Add missing elements to device tree 2011-07-06 14:44:19 -07:00
olpc_ofw.c x86, olpc: Add OLPC device-tree support 2010-12-15 17:11:30 -08:00
xo1-wakeup.S x86, olpc: Add XO-1 suspend/resume support 2011-07-06 14:44:32 -07:00