xref: /linux/drivers/platform/chrome/Kconfig (revision 23ecee32b91cf732226bd7a3ee9fa7a9127645ab)
1ab043105SOlof Johansson#
2ab043105SOlof Johansson# Platform support for Chrome OS hardware (Chromebooks and Chromeboxes)
3ab043105SOlof Johansson#
4ab043105SOlof Johansson
5ab043105SOlof Johanssonmenuconfig CHROME_PLATFORMS
6ab043105SOlof Johansson	bool "Platform support for Chrome hardware"
7*23ecee32SThierry Reding	depends on X86 || ARM || ARM64 || COMPILE_TEST
8ab043105SOlof Johansson	---help---
9ab043105SOlof Johansson	  Say Y here to get to see options for platform support for
10ab043105SOlof Johansson	  various Chromebooks and Chromeboxes. This option alone does
11ab043105SOlof Johansson	  not add any kernel code.
12ab043105SOlof Johansson
13ab043105SOlof Johansson	  If you say N, all options in this submenu will be skipped and disabled.
14ab043105SOlof Johansson
15ab043105SOlof Johanssonif CHROME_PLATFORMS
16ab043105SOlof Johansson
17ab043105SOlof Johanssonconfig CHROMEOS_LAPTOP
18ab043105SOlof Johansson	tristate "Chrome OS Laptop"
19e7c256fbSBill Richardson	depends on I2C && DMI && X86
20ab043105SOlof Johansson	---help---
21ab043105SOlof Johansson	  This driver instantiates i2c and smbus devices such as
22ab043105SOlof Johansson	  light sensors and touchpads.
23ab043105SOlof Johansson
24ab043105SOlof Johansson	  If you have a supported Chromebook, choose Y or M here.
25ab043105SOlof Johansson	  The module will be called chromeos_laptop.
26ab043105SOlof Johansson
279742e127SOlof Johanssonconfig CHROMEOS_PSTORE
289742e127SOlof Johansson	tristate "Chrome OS pstore support"
29e7c256fbSBill Richardson	depends on X86
309742e127SOlof Johansson	---help---
319742e127SOlof Johansson	  This module instantiates the persistent storage on x86 ChromeOS
329742e127SOlof Johansson	  devices. It can be used to store away console logs and crash
339742e127SOlof Johansson	  information across reboots.
349742e127SOlof Johansson
359742e127SOlof Johansson	  The range of memory used is 0xf00000-0x1000000, traditionally
369742e127SOlof Johansson	  the memory used to back VGA controller memory.
379742e127SOlof Johansson
389742e127SOlof Johansson	  If you have a supported Chromebook, choose Y or M here.
399742e127SOlof Johansson	  The module will be called chromeos_pstore.
409742e127SOlof Johansson
41e7c256fbSBill Richardsonconfig CROS_EC_CHARDEV
42e7c256fbSBill Richardson        tristate "Chrome OS Embedded Controller userspace device interface"
4375529a9dSJavier Martinez Canillas        depends on MFD_CROS_EC
44e7c256fbSBill Richardson        ---help---
45e7c256fbSBill Richardson          This driver adds support to talk with the ChromeOS EC from userspace.
46e7c256fbSBill Richardson
47e7c256fbSBill Richardson          If you have a supported Chromebook, choose Y or M here.
48e7c256fbSBill Richardson          The module will be called cros_ec_dev.
499742e127SOlof Johansson
50ec2f33abSBill Richardsonconfig CROS_EC_LPC
51ec2f33abSBill Richardson        tristate "ChromeOS Embedded Controller (LPC)"
5275529a9dSJavier Martinez Canillas        depends on MFD_CROS_EC && (X86 || COMPILE_TEST)
53ec2f33abSBill Richardson        help
54ec2f33abSBill Richardson          If you say Y here, you get support for talking to the ChromeOS EC
55ec2f33abSBill Richardson          over an LPC bus. This uses a simple byte-level protocol with a
56ec2f33abSBill Richardson          checksum. This is used for userspace access only. The kernel
57ec2f33abSBill Richardson          typically has its own communication methods.
58ec2f33abSBill Richardson
59ec2f33abSBill Richardson          To compile this driver as a module, choose M here: the
60ec2f33abSBill Richardson          module will be called cros_ec_lpc.
61ec2f33abSBill Richardson
62062476f2SJavier Martinez Canillasconfig CROS_EC_PROTO
63062476f2SJavier Martinez Canillas        bool
64062476f2SJavier Martinez Canillas        help
65062476f2SJavier Martinez Canillas          ChromeOS EC communication protocol helpers.
66062476f2SJavier Martinez Canillas
67ab043105SOlof Johanssonendif # CHROMEOS_PLATFORMS
68