162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci# 362306a36Sopenharmony_ci# Intel x86 Platform Specific Drivers 462306a36Sopenharmony_ci# 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciconfig INTEL_ATOMISP2_PDX86 762306a36Sopenharmony_ci bool 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciconfig INTEL_ATOMISP2_LED 1062306a36Sopenharmony_ci tristate "Intel AtomISP v2 camera LED driver" 1162306a36Sopenharmony_ci depends on GPIOLIB && LEDS_GPIO 1262306a36Sopenharmony_ci select INTEL_ATOMISP2_PDX86 1362306a36Sopenharmony_ci help 1462306a36Sopenharmony_ci Many Bay Trail and Cherry Trail devices come with a camera attached 1562306a36Sopenharmony_ci to Intel's Image Signal Processor. Linux currently does not have a 1662306a36Sopenharmony_ci driver for these, so they do not work as a camera. Some of these 1762306a36Sopenharmony_ci camera's have a LED which is controlled through a GPIO. 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci Some of these devices have a firmware issue where the LED gets turned 2062306a36Sopenharmony_ci on at boot. This driver will turn the LED off at boot and also allows 2162306a36Sopenharmony_ci controlling the LED (repurposing it) through the sysfs LED interface. 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ci Which GPIO is attached to the LED is usually not described in the 2462306a36Sopenharmony_ci ACPI tables, so this driver contains per-system info about the GPIO 2562306a36Sopenharmony_ci inside the driver, this means that this driver only works on systems 2662306a36Sopenharmony_ci the driver knows about. 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci To compile this driver as a module, choose M here: the module 2962306a36Sopenharmony_ci will be called intel_atomisp2_led. 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ciconfig INTEL_ATOMISP2_PM 3262306a36Sopenharmony_ci tristate "Intel AtomISP v2 dummy / power-management driver" 3362306a36Sopenharmony_ci depends on PCI && IOSF_MBI && PM 3462306a36Sopenharmony_ci depends on !INTEL_ATOMISP 3562306a36Sopenharmony_ci select INTEL_ATOMISP2_PDX86 3662306a36Sopenharmony_ci help 3762306a36Sopenharmony_ci Power-management driver for Intel's Image Signal Processor found on 3862306a36Sopenharmony_ci Bay Trail and Cherry Trail devices. This dummy driver's sole purpose 3962306a36Sopenharmony_ci is to turn the ISP off (put it in D3) to save power and to allow 4062306a36Sopenharmony_ci entering of S0ix modes. 4162306a36Sopenharmony_ci 4262306a36Sopenharmony_ci To compile this driver as a module, choose M here: the module 4362306a36Sopenharmony_ci will be called intel_atomisp2_pm. 44