Kconfig 1.6 KB

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