blob: 919b489e24e87f8dfbfe6708b5aeeb15723a28f1 [file] [log] [blame]
Lubomir Rintel0c3d9312019-05-13 09:56:37 +02001config OLPC_EC
Lubomir Rintel231c0c22019-05-13 09:56:38 +02002 select REGULATOR
Lubomir Rintel0c3d9312019-05-13 09:56:37 +02003 bool
4
Lubomir Rintel4e6d2732019-05-29 10:34:05 +02005menuconfig OLPC_XO175
6 bool "Platform support for OLPC XO 1.75 hardware"
7 depends on ARCH_MMP || COMPILE_TEST
8 help
9 Say Y here to get to see options for the ARM-based OLPC platform.
10 This option alone does not add any kernel code.
11
12 Unless you have an OLPC XO laptop, you will want to say N.
13
14if OLPC_XO175
15
Lubomir Rintel0c3d9312019-05-13 09:56:37 +020016config OLPC_XO175_EC
17 tristate "OLPC XO 1.75 Embedded Controller"
YueHaibingad04ca72019-05-28 17:28:05 +080018 depends on SPI_SLAVE
YueHaibingcdaf0182019-05-28 17:28:06 +080019 depends on INPUT
Lubomir Rintelaf21f322019-05-29 10:34:04 +020020 depends on POWER_SUPPLY
Lubomir Rintel0c3d9312019-05-13 09:56:37 +020021 select OLPC_EC
22 help
23 Include support for the OLPC XO Embedded Controller (EC). The EC
24 provides various platform services, including support for the power,
25 button, restart, shutdown and battery charging status.
26
27 Unless you have an OLPC XO laptop, you will want to say N.
Lubomir Rintel4e6d2732019-05-29 10:34:05 +020028
29endif # OLPC_XO175