Platform: OLPC: Add XO-1.75 EC driver
authorLubomir Rintel <lkundrak@v3.sk>
Mon, 13 May 2019 07:56:37 +0000 (09:56 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 20 May 2019 14:27:08 +0000 (17:27 +0300)
commit0c3d931b3ab9efeea4948b5373c62095449d0101
tree58c0832bb5891d24359edaba99d8b97990edf9aa
parent8097548f3af9ec990169574ad9d874052b78bff8
Platform: OLPC: Add XO-1.75 EC driver

It's based off the driver from the OLPC kernel sources. Somewhat
modernized and cleaned up, for better or worse.

Modified to plug into the olpc-ec driver infrastructure (so that battery
interface and debugfs could be reused) and the SPI slave framework.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
arch/x86/Kconfig
drivers/platform/Kconfig
drivers/platform/Makefile
drivers/platform/olpc/Kconfig [new file with mode: 0644]
drivers/platform/olpc/Makefile
drivers/platform/olpc/olpc-xo175-ec.c [new file with mode: 0644]
include/linux/olpc-ec.h