xref: /OK3568_Linux_fs/kernel/drivers/platform/olpc/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig OLPC_EC
2*4882a593Smuzhiyun	select REGULATOR
3*4882a593Smuzhiyun	bool
4*4882a593Smuzhiyun
5*4882a593Smuzhiyunmenuconfig OLPC_XO175
6*4882a593Smuzhiyun	bool "Platform support for OLPC XO 1.75 hardware"
7*4882a593Smuzhiyun	depends on ARCH_MMP || COMPILE_TEST
8*4882a593Smuzhiyun	help
9*4882a593Smuzhiyun	  Say Y here to get to see options for the ARM-based OLPC platform.
10*4882a593Smuzhiyun	  This option alone does not add any kernel code.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun	  Unless you have an OLPC XO laptop, you will want to say N.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunif OLPC_XO175
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunconfig OLPC_XO175_EC
17*4882a593Smuzhiyun	tristate "OLPC XO 1.75 Embedded Controller"
18*4882a593Smuzhiyun	depends on SPI_SLAVE
19*4882a593Smuzhiyun	depends on INPUT
20*4882a593Smuzhiyun	depends on POWER_SUPPLY
21*4882a593Smuzhiyun	select OLPC_EC
22*4882a593Smuzhiyun	help
23*4882a593Smuzhiyun	  Include support for the OLPC XO Embedded Controller (EC). The EC
24*4882a593Smuzhiyun	  provides various platform services, including support for the power,
25*4882a593Smuzhiyun	  button, restart, shutdown and battery charging status.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun	  Unless you have an OLPC XO laptop, you will want to say N.
28*4882a593Smuzhiyun
29*4882a593Smuzhiyunendif # OLPC_XO175
30