Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Intel x86 Platform Specific Drivers
0004 #
0005 
0006 config INTEL_ATOMISP2_PDX86
0007         bool
0008 
0009 config INTEL_ATOMISP2_LED
0010         tristate "Intel AtomISP v2 camera LED driver"
0011         depends on GPIOLIB && LEDS_GPIO
0012         select INTEL_ATOMISP2_PDX86
0013         help
0014           Many Bay Trail and Cherry Trail devices come with a camera attached
0015           to Intel's Image Signal Processor. Linux currently does not have a
0016           driver for these, so they do not work as a camera. Some of these
0017           camera's have a LED which is controlled through a GPIO.
0018 
0019           Some of these devices have a firmware issue where the LED gets turned
0020           on at boot. This driver will turn the LED off at boot and also allows
0021           controlling the LED (repurposing it) through the sysfs LED interface.
0022 
0023           Which GPIO is attached to the LED is usually not described in the
0024           ACPI tables, so this driver contains per-system info about the GPIO
0025           inside the driver, this means that this driver only works on systems
0026           the driver knows about.
0027 
0028           To compile this driver as a module, choose M here: the module
0029           will be called intel_atomisp2_led.
0030 
0031 config INTEL_ATOMISP2_PM
0032         tristate "Intel AtomISP v2 dummy / power-management driver"
0033         depends on PCI && IOSF_MBI && PM
0034         depends on !INTEL_ATOMISP
0035         select INTEL_ATOMISP2_PDX86
0036         help
0037           Power-management driver for Intel's Image Signal Processor found on
0038           Bay Trail and Cherry Trail devices. This dummy driver's sole purpose
0039           is to turn the ISP off (put it in D3) to save power and to allow
0040           entering of S0ix modes.
0041 
0042           To compile this driver as a module, choose M here: the module
0043           will be called intel_atomisp2_pm.