xref: /openbmc/linux/drivers/platform/olpc/Kconfig (revision bbaf1ff0)
1config OLPC_EC
2	select REGULATOR
3	bool
4
5menuconfig 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
16config OLPC_XO175_EC
17	tristate "OLPC XO 1.75 Embedded Controller"
18	depends on SPI_SLAVE
19	depends on INPUT
20	depends on POWER_SUPPLY
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.
28
29endif # OLPC_XO175
30