OLPC: create a generic OLPC EC driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/29 patches 1 replyIn review
- v1 posting 1/20 of 9 patches 0 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | Platform: OLPC: add a stub to drivers/platform/ for the OLPC EC driverarch/ arch/ drivers/ +2 more | +51 | 0 replies | |
| 2/9 | drivers: OLPC: update various drivers to include olpc-ec.harch/ arch/ arch/ +6 more | +8 | 0 replies | |
| 3/9 | Platform: OLPC: allow EC cmd to be overridden, and create a workqueue to call itdrivers/ include/ | +116 | 0 replies | |
| 4/9 | Platform: OLPC: turn EC driver into a platform_driverdrivers/ include/ | +54 | 0 replies | |
| 5/9 | Platform: OLPC: add a suspended flag to the EC driverdrivers/ | +45 | 0 replies | |
| 6/9 | x86: OLPC: switch over to using new EC driver on x86arch/ arch/ drivers/ | +27 | 0 replies | |
| 7/9 | Platform: OLPC: move debugfs support from x86 EC driverarch/ drivers/ | +117 | 0 replies | |
| 8/9 | Platform: OLPC: move global variables into priv structdrivers/ | +28 | 0 replies | |
| 9/9 | x86: OLPC: move s/r-related EC cmds to EC driverarch/ arch/ | +36 | 0 replies |
Reviews trailers per patch
None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Thomas Gleixner |
|---|---|
| Series | R-b |
| 1/9 | |
| 2/9 | |
| 3/9 | |
| 4/9 | |
| 5/9 | |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH RESEND 0/9] OLPC: create a generic OLPC EC driver
The OLPC EC (Embedded Controller) code that is currently upstream is x86-only, originally written for the XO-1. Since then, we've had the XO-1.5 (also x86), and XO-1.75 (arm-based) enter mass production. The 1.75 uses a vastly different EC protocol, and future hardware revisions are likely to change it even further.
However, the drivers do share quite a bit of code, so it makes sense to have a platform-agnostic driver that calls into platform-specific hooks for each XO's EC driver. This is the first stab and creating such a beast (with further patches pending). Aside from the lack of code duplication, this is helpful for fixing bugs in one place (for example, we fixed an EC suspend/resume bug in 1.75 that I've just seen happen on 1.5 without these patches. With these patches, the problem goes away).
These patches are against Linus's current HEAD; let me know if they don't apply somewhere, and I'll happily redo them against the -next tree. I'm assuming that these changes (which touch places like x86, wireless, and staging) should go through either the x86 tree, or through akpm's tree.
Alternatively, if the reviews are positive and I can get SOBs from the relevant maintainers, I can set up a platform-olpc tree somewhere and request a pull from Linus.