msm: camera: icp: Add OFE Kernel Driver
Create OFE HW layer which contains device, soc, and core files. Device file provides the prob functionality and OFE dev interface to ICP HW MGR. Core file provides HW related functionalities such as PC, reset, init/deinit hw, etc. Soc file provides intermediate functions to utilize camera soc APIs such as DT parsing, Clock update, etc. Modify Kbuild to include compilation of the source files. Update camera main file to invoke ofe init module function during camera module init. Update camera main header file to allow CRM to match OFE driver for component bind. Update OFE HW register addresses such as power status/power ctrl, reset, irq, etc. CRs-Fixed: 3266673 Change-Id: I97efe095801b1b42e9de07aeba6f26112cb8f92b Signed-off-by: Sokchetra Eung <quic_eung@quicinc.com>
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "cam_icp_v2_dev.h"
|
||||
#include "ipe_core.h"
|
||||
#include "bps_core.h"
|
||||
#include "ofe_core.h"
|
||||
#include "cam_icp_subdev.h"
|
||||
|
||||
#include "jpeg_dma_core.h"
|
||||
@@ -128,6 +129,7 @@ static const struct camera_submodule_component camera_icp[] = {
|
||||
{&cam_icp_v2_init_module, &cam_icp_v2_exit_module},
|
||||
{&cam_ipe_init_module, &cam_ipe_exit_module},
|
||||
{&cam_bps_init_module, &cam_bps_exit_module},
|
||||
{&cam_ofe_init_module, &cam_ofe_exit_module},
|
||||
{&cam_icp_init_module, &cam_icp_exit_module},
|
||||
#endif
|
||||
};
|
||||
|
Reference in New Issue
Block a user