162306a36Sopenharmony_ciWhat:		/sys/kernel/debug/olpc-ec/cmd
262306a36Sopenharmony_ciDate:		Dec 2011
362306a36Sopenharmony_ciKernelVersion:	3.4
462306a36Sopenharmony_ciContact:	devel@lists.laptop.org
562306a36Sopenharmony_ciDescription:
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciA generic interface for executing OLPC Embedded Controller commands and
862306a36Sopenharmony_cireading their responses.
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciTo execute a command, write data with the format: CC:N A A A A
1162306a36Sopenharmony_ciCC is the (hex) command, N is the count of expected reply bytes, and A A A A
1262306a36Sopenharmony_ciare optional (hex) arguments.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciTo read the response (if any), read from the generic node after executing
1562306a36Sopenharmony_cia command. Hex reply bytes will be returned, *whether or not* they came from
1662306a36Sopenharmony_cithe immediately previous command.
17