xref: /openbmc/linux/drivers/platform/olpc/Kconfig (revision af21f32c)
1config OLPC_EC
2	select REGULATOR
3	bool
4
5config OLPC_XO175_EC
6	tristate "OLPC XO 1.75 Embedded Controller"
7	depends on ARCH_MMP || COMPILE_TEST
8	depends on SPI_SLAVE
9	depends on INPUT
10	depends on POWER_SUPPLY
11	select OLPC_EC
12	help
13	  Include support for the OLPC XO Embedded Controller (EC). The EC
14	  provides various platform services, including support for the power,
15	  button, restart, shutdown and battery charging status.
16
17	  Unless you have an OLPC XO laptop, you will want to say N.
18