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:
@@ -53,6 +53,7 @@ extern struct platform_driver cam_icp_v2_driver;
|
||||
extern struct platform_driver cam_ipe_driver;
|
||||
extern struct platform_driver cam_bps_driver;
|
||||
extern struct platform_driver cam_icp_driver;
|
||||
extern struct platform_driver cam_ofe_driver;
|
||||
#endif
|
||||
#ifdef CONFIG_SPECTRA_OPE
|
||||
extern struct platform_driver cam_ope_driver;
|
||||
@@ -124,6 +125,7 @@ static struct platform_driver *const cam_component_platform_drivers[] = {
|
||||
&cam_ipe_driver,
|
||||
&cam_bps_driver,
|
||||
&cam_icp_driver,
|
||||
&cam_ofe_driver,
|
||||
#endif
|
||||
#ifdef CONFIG_SPECTRA_OPE
|
||||
&cam_ope_driver,
|
||||
|
Reference in New Issue
Block a user