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@xxxxxxxxxxxx> > --- [snip] > +/* > + * Bit Feild of LTM_GAIN_MAP: LTM_TRAN_WGT_TYPE > + * MTK_CAM_LTM_GAIN_MAP_LTM_TRAN_WGT_TYPE: [12, 13] > + * type of tran weight > + */ > +#define MTK_CAM_LTM_GAIN_MAP_LTM_TRAN_WGT_TYPE_MASK 0x00003000 MTK_CAM_LTM_GAIN_MAP_LTM_TRAN_WGT_TYPE_MASK is useless, so drop it. Regards, CK > +#define MTK_CAM_LTM_GAIN_MAP_LTM_TRAN_WGT_TYPE_SHIFT 12 > +