xref: /linux/Documentation/userspace-api/media/drivers/mali-c55.rst (revision 84318277d6334c6981ab326d4acc87c6a6ddc9b8)
1.. SPDX-License-Identifier: GPL-2.0-only
2
3Arm Mali-C55 ISP driver
4=======================
5
6The Arm Mali-C55 ISP driver implements a single driver-specific control:
7
8``V4L2_CID_MALI_C55_CAPABILITIES (bitmask)``
9    Detail the capabilities of the ISP by giving detail about the fitted blocks.
10
11    .. flat-table:: Bitmask meaning definitions
12	:header-rows: 1
13	:widths: 2 4 8
14
15	* - Bit
16	  - Macro
17	  - Meaning
18        * - 0
19          - MALI_C55_PONG
20          - Pong configuration space is fitted in the ISP
21        * - 1
22          - MALI_C55_WDR
23          - WDR Framestitch, offset and gain is fitted in the ISP
24        * - 2
25          - MALI_C55_COMPRESSION
26          - Temper compression is fitted in the ISP
27        * - 3
28          - MALI_C55_TEMPER
29          - Temper is fitted in the ISP
30        * - 4
31          - MALI_C55_SINTER_LITE
32          - Sinter Lite is fitted in the ISP instead of the full Sinter version
33        * - 5
34          - MALI_C55_SINTER
35          - Sinter is fitted in the ISP
36        * - 6
37          - MALI_C55_IRIDIX_LTM
38          - Iridix local tone mappine is fitted in the ISP
39        * - 7
40          - MALI_C55_IRIDIX_GTM
41          - Iridix global tone mapping is fitted in the ISP
42        * - 8
43          - MALI_C55_CNR
44          - Colour noise reduction is fitted in the ISP
45        * - 9
46          - MALI_C55_FRSCALER
47          - The full resolution pipe scaler is fitted in the ISP
48        * - 10
49          - MALI_C55_DS_PIPE
50          - The downscale pipe is fitted in the ISP
51
52    The Mali-C55 ISP can be configured in a number of ways to include or exclude
53    blocks which may not be necessary. This control provides a way for the
54    driver to communicate to userspace which of the blocks are fitted in the
55    design.