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