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:
@@ -218,6 +218,12 @@ enum cam_camnoc_slave_error_codes {
|
||||
* @CAM_CAMNOC_IRQ_IPE_BPS_UBWC_ENCODE_ERROR: Triggered if any error detected
|
||||
* in the IPE/BPS UBWC encoder
|
||||
* instance
|
||||
* @CAM_CAMNOC_IRQ_OFE_WR_UBWC_DECODE_ERROR : Triggered if any error detected
|
||||
* in the OFE write UBWC decoder
|
||||
* instance
|
||||
* @CAM_CAMNOC_IRQ_OFE_RD_UBWC_DECODE_ERROR : Triggered if any error detected
|
||||
* in the OFE read UBWC decoder
|
||||
* instance
|
||||
* @CAM_CAMNOC_IRQ_AHB_TIMEOUT : Triggered when the QHS_ICP slave
|
||||
* times out after 4000 AHB cycles
|
||||
*/
|
||||
@@ -237,6 +243,8 @@ enum cam_camnoc_irq_type {
|
||||
CAM_CAMNOC_IRQ_IPE1_UBWC_DECODE_ERROR,
|
||||
CAM_CAMNOC_IRQ_IPE_BPS_UBWC_DECODE_ERROR,
|
||||
CAM_CAMNOC_IRQ_IPE_BPS_UBWC_ENCODE_ERROR,
|
||||
CAM_CAMNOC_IRQ_OFE_WR_UBWC_DECODE_ERROR,
|
||||
CAM_CAMNOC_IRQ_OFE_RD_UBWC_DECODE_ERROR,
|
||||
CAM_CAMNOC_IRQ_AHB_TIMEOUT,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user