msm: camera: icp: Rename A5 and LX7
Rename all instances of a5 and lx7 to icp_v1 and icp_v2 respectively. Remove all mentions of lx7 or a5 in icp_hw_mgr. Relocate lx7_hw and a5_hw directories to a new directory - icp_proc which contains a new file to provide related a5 or lx7 interfaces to icp_hw_mgr. Thus, icp_hw_mgr is agnostic to icp proc. Place common functions and common global constant into icp_proc_common file. Remove a5/lx7 soc files and create a common soc file for both. Modify kbuild file to account for directory or file changes. CRs-Fixed: 3162183 Change-Id: I7e0cfd2a2917f129097a517af3bd39578f85293d Signed-off-by: sokchetra eung <quic_eung@quicinc.com>
This commit is contained in:

gecommit door
Camera Software Integration

bovenliggende
b2d3d9c6ac
commit
9c730e3b84
@@ -1,6 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2019-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
#include <linux/module.h>
|
||||
#include <linux/build_bug.h>
|
||||
@@ -26,8 +27,8 @@
|
||||
#include "cam_tpg_dev.h"
|
||||
#include "cam_flash_dev.h"
|
||||
|
||||
#include "a5_core.h"
|
||||
#include "lx7_dev.h"
|
||||
#include "cam_icp_v1_dev.h"
|
||||
#include "cam_icp_v2_dev.h"
|
||||
#include "ipe_core.h"
|
||||
#include "bps_core.h"
|
||||
#include "cam_icp_subdev.h"
|
||||
@@ -118,8 +119,8 @@ static const struct camera_submodule_component camera_sensor[] = {
|
||||
|
||||
static const struct camera_submodule_component camera_icp[] = {
|
||||
#ifdef CONFIG_SPECTRA_ICP
|
||||
{&cam_a5_init_module, &cam_a5_exit_module},
|
||||
{&cam_lx7_init_module, &cam_lx7_exit_module},
|
||||
{&cam_icp_v1_init_module, &cam_icp_v1_exit_module},
|
||||
{&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_icp_init_module, &cam_icp_exit_module},
|
||||
|
Verwijs in nieuw issue
Block a user