thp7312.rst 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. .. SPDX-License-Identifier: GPL-2.0-only
  2. THine THP7312 ISP driver
  3. ========================
  4. The THP7312 driver implements the following driver-specific controls:
  5. ``V4L2_CID_THP7312_LOW_LIGHT_COMPENSATION``
  6. Enable/Disable auto-adjustment, based on lighting conditions, of the frame
  7. rate when auto-exposure is enabled.
  8. ``V4L2_CID_THP7312_AUTO_FOCUS_METHOD``
  9. Set method of auto-focus. Only takes effect when auto-focus is enabled.
  10. .. flat-table::
  11. :header-rows: 0
  12. :stub-columns: 0
  13. :widths: 1 4
  14. * - ``0``
  15. - Contrast-based auto-focus
  16. * - ``1``
  17. - PDAF
  18. * - ``2``
  19. - Hybrid of contrast-based and PDAF
  20. Supported values for the control depend on the camera sensor module
  21. connected to the THP7312. If the module doesn't have a focus lens actuator,
  22. this control will not be exposed by the THP7312 driver. If the module has a
  23. controllable focus lens but the sensor doesn't support PDAF, only the
  24. contrast-based auto-focus value will be valid. Otherwise all values for the
  25. controls will be supported.
  26. ``V4L2_CID_THP7312_NOISE_REDUCTION_AUTO``
  27. Enable/Disable auto noise reduction.
  28. ``V4L2_CID_THP7312_NOISE_REDUCTION_ABSOLUTE``
  29. Set the noise reduction strength, where 0 is the weakest and 10 is the
  30. strongest.