Nick Crews
b787bb126c
platform/chrome: wilco_ec: Add support for raw commands in debugfs
...
Add a debugfs attribute that allows sending raw commands to the EC.
This is useful for development and debug but should not be enabled
in a production environment.
To test:
Get the EC firmware build date
First send the request command
> echo 00 f0 38 00 03 00 > raw
Then read the result. "12/21/18" is in the middle of the response
> cat raw
00 31 32 2f 32 31 2f 31 38 00 00 0f 01 00 01 00 .12/21/18.......
Get the EC firmware build date
First send the request command
> echo 00 f0 38 00 03 00 > raw
Then read the result. "12/21/18" is in the middle of the response
> cat raw
00 31 32 2f 32 31 2f 31 38 00 00 0f 01 00 01 00 .12/21/18.......
Signed-off-by: Duncan Laurie <dlaurie@google.com >
Signed-off-by: Nick Crews <ncrews@chromium.org >
[Fix off-by-one error in wilco_ec/debugfs.c]
Reported-by: Dan Carpenter <dan.carpenter@oracle.com >
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
2019-02-21 21:36:21 +01:00
..
2018-07-18 10:10:23 +02:00
2018-07-30 08:38:06 -04:00
2018-07-18 10:10:23 +02:00
2018-10-31 16:11:40 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-07-02 23:05:14 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-14 10:28:13 -08:00
2018-01-01 19:40:50 +01:00
2018-05-20 18:59:34 -04:00
2017-11-02 11:10:55 +01:00
2018-03-20 10:16:26 -07:00
2018-03-20 10:16:26 -07:00
2018-05-17 12:44:06 +02:00
2017-11-02 11:10:55 +01:00
2018-11-28 12:41:31 +00:00
2018-11-24 20:07:22 +05:30
2018-10-02 20:11:00 +05:30
2017-11-02 11:10:55 +01:00
2018-09-11 12:06:39 +05:30
2017-11-02 11:10:55 +01:00
2018-02-22 10:53:59 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-09-10 19:58:49 +02:00
2018-11-26 16:45:10 +05:30
2018-05-28 09:45:27 +02:00
2018-03-19 01:50:28 +01:00
2018-10-29 15:37:33 -07:00
2018-10-08 11:40:43 +02:00
2017-12-31 00:09:39 +01:00
2018-05-17 16:27:09 +02:00
2018-06-25 15:12:42 +02:00
2018-05-17 16:27:52 +02:00
2018-08-24 14:46:43 +02:00
2018-05-17 16:27:58 +02:00
2018-05-17 16:27:58 +02:00
2017-11-28 22:49:30 +01:00
2018-05-17 16:27:59 +02:00
2018-08-26 17:45:25 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-08 21:33:30 -08:00
2018-05-12 15:38:40 -07:00
2017-11-02 11:10:55 +01:00
2018-12-17 08:26:24 +01:00
2017-11-02 11:10:55 +01:00
2018-12-17 08:26:24 +01:00
2018-12-17 08:26:24 +01:00
2017-11-02 11:10:55 +01:00
2018-06-18 21:28:44 +02:00
2017-11-02 11:10:55 +01:00
2018-07-10 15:39:27 +05:30
2018-05-02 14:58:30 +05:30
2017-11-22 20:46:06 -10:00
2018-03-02 21:51:41 +01:00
2018-07-18 10:10:12 +02:00
2018-05-20 18:58:27 -04:00
2018-09-20 13:07:55 +02:00
2018-12-16 15:13:21 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-19 16:19:25 +05:30
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-07-09 23:01:34 -07:00
2017-11-02 11:10:55 +01:00
2018-10-08 11:40:43 +02:00
2017-11-02 11:10:55 +01:00
2018-06-15 18:10:01 -03:00
2018-09-14 13:54:02 +03:00
2017-12-21 18:09:18 -08:00
2018-09-11 17:37:15 +01:00
2017-11-02 11:10:55 +01:00
2018-04-18 11:11:23 +08:00
2018-02-14 10:28:12 -08:00
2018-01-08 15:38:06 +00:00
2018-11-16 18:32:33 +00:00
2017-11-02 11:10:55 +01:00
2018-04-24 10:44:25 +01:00
2018-04-20 10:14:27 -07:00
2018-09-24 12:16:54 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-12 12:40:04 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-02-21 21:36:21 +01:00