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