1*a3c8121bSDaniel DrakeWhat:		/sys/kernel/debug/olpc-ec/cmd
2*a3c8121bSDaniel DrakeDate:		Dec 2011
3*a3c8121bSDaniel DrakeKernelVersion:	3.4
4*a3c8121bSDaniel DrakeContact:	devel@lists.laptop.org
5*a3c8121bSDaniel DrakeDescription:
6*a3c8121bSDaniel Drake
7*a3c8121bSDaniel DrakeA generic interface for executing OLPC Embedded Controller commands and
8*a3c8121bSDaniel Drakereading their responses.
9*a3c8121bSDaniel Drake
10*a3c8121bSDaniel DrakeTo execute a command, write data with the format: CC:N A A A A
11*a3c8121bSDaniel DrakeCC is the (hex) command, N is the count of expected reply bytes, and A A A A
12*a3c8121bSDaniel Drakeare optional (hex) arguments.
13*a3c8121bSDaniel Drake
14*a3c8121bSDaniel DrakeTo read the response (if any), read from the generic node after executing
15*a3c8121bSDaniel Drakea command. Hex reply bytes will be returned, *whether or not* they came from
16*a3c8121bSDaniel Drakethe immediately previous command.
17