Lubomir Rintel | 0c3d931 | 2019-05-13 09:56:37 +0200 | [diff] [blame] | 1 | config OLPC_EC |
Lubomir Rintel | 231c0c2 | 2019-05-13 09:56:38 +0200 | [diff] [blame] | 2 | select REGULATOR |
Lubomir Rintel | 0c3d931 | 2019-05-13 09:56:37 +0200 | [diff] [blame] | 3 | bool |
| 4 | |
Lubomir Rintel | 4e6d273 | 2019-05-29 10:34:05 +0200 | [diff] [blame] | 5 | menuconfig 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 | |
| 14 | if OLPC_XO175 |
| 15 | |
Lubomir Rintel | 0c3d931 | 2019-05-13 09:56:37 +0200 | [diff] [blame] | 16 | config OLPC_XO175_EC |
| 17 | tristate "OLPC XO 1.75 Embedded Controller" |
YueHaibing | ad04ca7 | 2019-05-28 17:28:05 +0800 | [diff] [blame] | 18 | depends on SPI_SLAVE |
YueHaibing | cdaf018 | 2019-05-28 17:28:06 +0800 | [diff] [blame] | 19 | depends on INPUT |
Lubomir Rintel | af21f32 | 2019-05-29 10:34:04 +0200 | [diff] [blame] | 20 | depends on POWER_SUPPLY |
Lubomir Rintel | 0c3d931 | 2019-05-13 09:56:37 +0200 | [diff] [blame] | 21 | 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 Rintel | 4e6d273 | 2019-05-29 10:34:05 +0200 | [diff] [blame] | 28 | |
| 29 | endif # OLPC_XO175 |