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