[PATCH v1 06/10] media: platform: mediatek: add isp_7x utility

CK Hu (胡俊光) ck.hu at mediatek.com
Tue Nov 5 19:48:08 PST 2024


Hi, Shu-hsiang:

On Wed, 2024-10-09 at 19:15 +0800, Shu-hsiang Yang wrote:
> Introduces utility files for the MediaTek ISP7.x camsys driver. These
> utilities provide essential platform definitions, debugging tools, and
> management functions to support ISP operations and SCP communication.
> Key functionalities include:
> 1.Hardware pipeline and register definitions for managing image
> processing modules.
> 2.DMA debugging utilities and buffer management functions.
> 3.Definitions of supported image formats for proper data handling.
> 4.IPI and SCP communication structures for module state management and
> configuring ISP.
> 5.Metadata parameters for configuring image processing.
> 
> Signed-off-by: Shu-hsiang Yang <Shu-hsiang.Yang at mediatek.com>
> ---

[snip]

> +/* CAMSYS_RAW 0x1a03 */
> +#define OFFSET_OBC_R1_R_SUM_L				0x1178
> +#define OFFSET_OBC_R1_R_SUM_H				0x117c
> +#define OFFSET_OBC_R1_B_SUM_L				0x1180
> +#define OFFSET_OBC_R1_B_SUM_H				0x1184
> +#define OFFSET_OBC_R1_GR_SUM_L				0x1188
> +#define OFFSET_OBC_R1_GR_SUM_H				0x118c
> +#define OFFSET_OBC_R1_GB_SUM_L				0x1190
> +#define OFFSET_OBC_R1_GB_SUM_H				0x1194
> +#define OFFSET_OBC_R1_ACT_WIN_X				0x1198

OFFSET_OBC_R1_ACT_WIN_X is useless, so drop it.

Regards,
CK

> +#define OFFSET_OBC_R1_ACT_WIN_Y				0x119c
> +



More information about the linux-arm-kernel mailing list