xref: /linux/drivers/platform/x86/intel/atomisp2/Kconfig (revision 3ca3af7d1f230d1f93ba4cd8cd9d054870f2406f)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Intel x86 Platform Specific Drivers
4#
5
6config INTEL_ATOMISP2_PDX86
7	bool
8
9config INTEL_ATOMISP2_LED
10	tristate "Intel AtomISP v2 camera LED driver"
11	depends on GPIOLIB && LEDS_GPIO
12	select INTEL_ATOMISP2_PDX86
13	help
14	  Many Bay Trail and Cherry Trail devices come with a camera attached
15	  to Intel's Image Signal Processor. Linux currently does not have a
16	  driver for these, so they do not work as a camera. Some of these
17	  camera's have a LED which is controlled through a GPIO.
18
19	  Some of these devices have a firmware issue where the LED gets turned
20	  on at boot. This driver will turn the LED off at boot and also allows
21	  controlling the LED (repurposing it) through the sysfs LED interface.
22
23	  Which GPIO is attached to the LED is usually not described in the
24	  ACPI tables, so this driver contains per-system info about the GPIO
25	  inside the driver, this means that this driver only works on systems
26	  the driver knows about.
27
28	  To compile this driver as a module, choose M here: the module
29	  will be called intel_atomisp2_led.
30
31config INTEL_ATOMISP2_PM
32	tristate "Intel AtomISP v2 dummy / power-management driver"
33	depends on PCI && IOSF_MBI && PM
34	depends on !INTEL_ATOMISP
35	select INTEL_ATOMISP2_PDX86
36	help
37	  Power-management driver for Intel's Image Signal Processor found on
38	  Bay Trail and Cherry Trail devices. This dummy driver's sole purpose
39	  is to turn the ISP off (put it in D3) to save power and to allow
40	  entering of S0ix modes.
41
42	  To compile this driver as a module, choose M here: the module
43	  will be called intel_atomisp2_pm.
44