123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439 |
- # SPDX-License-Identifier: GPL-2.0-only
- ifeq ($(CONFIG_QCOM_CAMERA_DEBUG), y)
- $(info "CAMERA_KERNEL_ROOT is: $(CAMERA_KERNEL_ROOT)")
- $(info "KERNEL_ROOT is: $(KERNEL_ROOT)")
- endif
- # Include Architecture configurations
- ifeq ($(CONFIG_ARCH_CLIFFS), y)
- include $(CAMERA_KERNEL_ROOT)/config/cliffs.mk
- endif
- ifeq ($(CONFIG_ARCH_WAIPIO), y)
- include $(CAMERA_KERNEL_ROOT)/config/waipio.mk
- endif
- ifeq ($(CONFIG_ARCH_LAHAINA), y)
- include $(CAMERA_KERNEL_ROOT)/config/lahaina.mk
- endif
- ifeq ($(CONFIG_ARCH_KONA), y)
- include $(CAMERA_KERNEL_ROOT)/config/kona.mk
- endif
- ifeq ($(CONFIG_ARCH_BENGAL), y)
- include $(CAMERA_KERNEL_ROOT)/config/holi.mk
- endif
- ifeq ($(CONFIG_ARCH_HOLI), y)
- include $(CAMERA_KERNEL_ROOT)/config/holi.mk
- endif
- ifeq ($(CONFIG_ARCH_LITO), y)
- include $(CAMERA_KERNEL_ROOT)/config/lito.mk
- endif
- ifeq ($(CONFIG_ARCH_SHIMA), y)
- include $(CAMERA_KERNEL_ROOT)/config/shima.mk
- endif
- ifeq ($(CONFIG_ARCH_DIWALI), y)
- include $(CAMERA_KERNEL_ROOT)/config/diwali.mk
- endif
- ifeq ($(CONFIG_ARCH_CAPE), y)
- include $(CAMERA_KERNEL_ROOT)/config/cape.mk
- endif
- ifeq ($(CONFIG_ARCH_PARROT), y)
- include $(CAMERA_KERNEL_ROOT)/config/parrot.mk
- endif
- # For some targets which have binary compatible gki kernel with another one,
- # we cannot rely on CONFIG_ARCH_* symbol which is defined in Kernel defconfig
- ifeq ($(BOARD_PLATFORM), kalama)
- include $(CAMERA_KERNEL_ROOT)/config/kalama.mk
- endif
- ifeq ($(BOARD_PLATFORM), crow)
- include $(CAMERA_KERNEL_ROOT)/config/crow.mk
- endif
- ifeq ($(BOARD_PLATFORM), pineapple)
- include $(CAMERA_KERNEL_ROOT)/config/pineapple.mk
- endif
- ifeq ($(BOARD_PLATFORM), volcano)
- include $(CAMERA_KERNEL_ROOT)/config/volcano.mk
- endif
- ifneq ($(KBUILD_EXTRA_CONFIGS),)
- include $(KBUILD_EXTRA_CONFIGS)
- endif
- #sensor header path for adaptive mipi
- CAMERA_KERNEL_PATH = $(srctree)/../sm8650-modules/qcom/opensource/camera-kernel
- ifeq ($(CONFIG_SEC_E1Q_PROJECT), y)
- SRC_WIDE_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5kgn3_2_0.h
- SRC_UW_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_imx564_2_0.h
- SRC_TELE_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5k3k1_2_0.h
- SRC_FRONT_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5k3lu_2_0.h
- else ifeq ($(CONFIG_SEC_E2Q_PROJECT), y)
- SRC_WIDE_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5kgn3_2_0.h
- SRC_UW_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_imx564_2_0.h
- SRC_TELE_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5k3k1_2_0.h
- SRC_FRONT_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5k3lu_2_0.h
- else ifeq ($(CONFIG_SEC_E3Q_PROJECT), y)
- SRC_WIDE_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5khp2_2_0.h
- SRC_UW_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_imx564_2_0.h
- SRC_TELE_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_imx754_2_0.h
- SRC_TELE2_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_imx854_2_0.h
- SRC_FRONT_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5k3lu_2_0.h
- else ifeq ($(CONFIG_SEC_Q6Q_PROJECT), y)
- SRC_WIDE_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5kgn3_2_0.h
- SRC_UW_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5k3lu_uw_2_0.h
- SRC_TELE_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5k3k1_2_0.h
- SRC_FRONT_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_imx374_2_0.h
- SRC_FRONT_TOP_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_imx471_2_0.h
- else ifeq ($(CONFIG_SEC_B6Q_PROJECT), y)
- SRC_WIDE_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5kgn3_2_0.h
- SRC_UW_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5k3lu_uw_2_0.h
- SRC_FRONT_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5k3j1_2_0.h
- else ifeq ($(CONFIG_SEC_Q6AQ_PROJECT), y)
- SRC_WIDE_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5khp2_2_0.h
- SRC_UW_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_imx564_2_0.h
- SRC_TELE_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5k3k1_2_0.h
- SRC_FRONT_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_s5k3lu_2_0_q6a.h
- SRC_FRONT_TOP_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/adaptive_mipi/cam_sensor_adaptive_mipi_imx596_2_0.h
- endif
- DST_WIDE_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/cam_sensor_adaptive_mipi_wide_2_0.h
- DST_UW_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/cam_sensor_adaptive_mipi_uw_2_0.h
- DST_TELE_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/cam_sensor_adaptive_mipi_tele_2_0.h
- DST_TELE2_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/cam_sensor_adaptive_mipi_tele2_2_0.h
- DST_FRONT_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/cam_sensor_adaptive_mipi_front_2_0.h
- DST_FRONT_TOP_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_sensor/cam_sensor_adaptive_mipi_front_top_2_0.h
- #Copy sensor header for adaptive mipi
- $(info camera_adaptive_mipi="$(shell cp -f $(SRC_WIDE_FILES) $(DST_WIDE_FILES))")
- $(info camera_adaptive_mipi="$(shell cp -f $(SRC_UW_FILES) $(DST_UW_FILES))")
- $(info camera_adaptive_mipi="$(shell cp -f $(SRC_TELE_FILES) $(DST_TELE_FILES))")
- $(info camera_adaptive_mipi="$(shell cp -f $(SRC_TELE2_FILES) $(DST_TELE2_FILES))")
- $(info camera_adaptive_mipi="$(shell cp -f $(SRC_FRONT_FILES) $(DST_FRONT_FILES))")
- $(info camera_adaptive_mipi="$(shell cp -f $(SRC_FRONT_TOP_FILES) $(DST_FRONT_TOP_FILES))")
- #csiphy header path for cphy tunning
- ifeq ($(CONFIG_SEC_E1Q_PROJECT), y)
- SRC_CPHY_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_csiphy/include/cam_csiphy_2_2_0_hwreg_e1.h
- else ifeq ($(CONFIG_SEC_E2Q_PROJECT), y)
- SRC_CPHY_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_csiphy/include/cam_csiphy_2_2_0_hwreg_e2.h
- else ifeq ($(CONFIG_SEC_E3Q_PROJECT), y)
- SRC_CPHY_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_csiphy/include/cam_csiphy_2_2_0_hwreg_e3.h
- else ifeq ($(CONFIG_SEC_Q6Q_PROJECT), y)
- SRC_CPHY_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_csiphy/include/cam_csiphy_2_2_0_hwreg_q6.h
- else ifeq ($(CONFIG_SEC_B6Q_PROJECT), y)
- SRC_CPHY_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_csiphy/include/cam_csiphy_2_2_0_hwreg_b6.h
- else ifeq ($(CONFIG_SEC_GTS10P_PROJECT), y)
- SRC_CPHY_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_csiphy/include/cam_csiphy_2_2_0_hwreg_gts10.h
- else ifeq ($(CONFIG_SEC_GTS10U_PROJECT), y)
- SRC_CPHY_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_csiphy/include/cam_csiphy_2_2_0_hwreg_gts10.h
- else ifeq ($(CONFIG_SEC_Q6AQ_PROJECT), y)
- SRC_CPHY_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_csiphy/include/cam_csiphy_2_2_0_hwreg_q6a.h
- endif
- DST_CPHY_FILES = $(CAMERA_KERNEL_PATH)/drivers/cam_sensor_module/cam_csiphy/include/cam_csiphy_2_2_0_hwreg.h
- $(info camera_cphy_header="$(shell cp -f $(SRC_CPHY_FILES) $(DST_CPHY_FILES))")
- # List of all camera-kernel headers
- cam_include_dirs := $(shell dirname `find $(CAMERA_KERNEL_ROOT) -name '*.h'` | uniq)
- # Include UAPI headers
- USERINCLUDE += \
- -I$(CAMERA_KERNEL_ROOT)/include/uapi/
- # Include Kernel headers
- LINUXINCLUDE += \
- -I$(KERNEL_ROOT) \
- $(addprefix -I,$(cam_include_dirs)) \
- -I$(CAMERA_KERNEL_ROOT)/include/uapi/camera \
- -I$(CAMERA_KERNEL_ROOT)/
- # Optional include directories
- SYNXVENDORDIR=$(CAMERA_KERNEL_ROOT)/../synx-kernel
- ccflags-$(CONFIG_MSM_GLOBAL_SYNX) += -I$(KERNEL_ROOT)/drivers/media/platform/msm/synx
- ccflags-$(TARGET_SYNX_ENABLE) += -I$(SYNXVENDORDIR)/include/uapi/synx/media
- ccflags-$(TARGET_SYNX_ENABLE) += -I$(SYNXVENDORDIR)/msm/synx
- ccflags-$(TARGET_SYNX_ENABLE) += -DCONFIG_TARGET_SYNX_ENABLE=1
- ccflags-y += -I$(CAMERA_KERNEL_ROOT)/../securemsm-kernel/
- ccflags-y += -I$(CAMERA_KERNEL_ROOT)/../securemsm-kernel/include/
- # After creating lists, add content of 'ccflags-m' variable to 'ccflags-y' one.
- ccflags-y += ${ccflags-m}
- camera-y := \
- drivers/cam_req_mgr/cam_req_mgr_core.o \
- drivers/cam_req_mgr/cam_req_mgr_dev.o \
- drivers/cam_req_mgr/cam_req_mgr_util.o \
- drivers/cam_req_mgr/cam_mem_mgr.o \
- drivers/cam_req_mgr/cam_req_mgr_workq.o \
- drivers/cam_req_mgr/cam_req_mgr_timer.o \
- drivers/cam_req_mgr/cam_req_mgr_debug.o \
- drivers/cam_utils/cam_soc_util.o \
- drivers/cam_utils/cam_packet_util.o \
- drivers/cam_utils/cam_debug_util.o \
- drivers/cam_utils/cam_trace.o \
- drivers/cam_utils/cam_common_util.o \
- drivers/cam_utils/cam_compat.o \
- drivers/cam_core/cam_context.o \
- drivers/cam_core/cam_context_utils.o \
- drivers/cam_core/cam_node.o \
- drivers/cam_core/cam_subdev.o \
- drivers/cam_smmu/cam_smmu_api.o \
- drivers/cam_sync/cam_sync.o \
- drivers/cam_sync/cam_sync_util.o \
- drivers/cam_sync/cam_sync_dma_fence.o \
- drivers/cam_cpas/cpas_top/cam_cpastop_hw.o \
- drivers/cam_cpas/camss_top/cam_camsstop_hw.o \
- drivers/cam_cpas/cam_cpas_soc.o \
- drivers/cam_cpas/cam_cpas_intf.o \
- drivers/cam_cpas/cam_cpas_hw.o \
- drivers/cam_cdm/cam_cdm_soc.o \
- drivers/cam_cdm/cam_cdm_util.o \
- drivers/cam_cdm/cam_cdm_intf.o \
- drivers/cam_cdm/cam_cdm_core_common.o \
- drivers/cam_cdm/cam_cdm_virtual_core.o \
- drivers/cam_cdm/cam_cdm_hw_core.o
- ifeq (,$(filter $(CONFIG_CAM_PRESIL),y m))
- camera-y += drivers/cam_presil/stub/cam_presil_hw_access_stub.o
- camera-y += drivers/cam_utils/cam_io_util.o
- else
- camera-y += drivers/cam_presil/presil/cam_presil_io_util.o
- camera-y += drivers/cam_presil/presil/cam_presil_hw_access.o
- camera-y += drivers/cam_presil/presil_framework_dev/cam_presil_framework_dev.o
- ccflags-y += -DCONFIG_CAM_PRESIL=1
- endif
- camera-$(TARGET_SYNX_ENABLE) += drivers/cam_sync/cam_sync_synx.o
- camera-$(CONFIG_QCOM_CX_IPEAK) += drivers/cam_utils/cam_cx_ipeak.o
- camera-$(CONFIG_QCOM_BUS_SCALING) += drivers/cam_utils/cam_soc_bus.o
- camera-$(CONFIG_INTERCONNECT_QCOM) += drivers/cam_utils/cam_soc_icc.o
- camera-$(CONFIG_SPECTRA_ISP) += \
- drivers/cam_isp/isp_hw_mgr/hw_utils/cam_tasklet_util.o \
- drivers/cam_isp/isp_hw_mgr/hw_utils/cam_isp_packet_parser.o \
- drivers/cam_isp/isp_hw_mgr/hw_utils/irq_controller/cam_irq_controller.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_dev.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_soc.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_common.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_hw_ver1.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_hw_ver2.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_mod.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_lite_mod.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/sfe_hw/cam_sfe_soc.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/sfe_hw/cam_sfe_dev.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/sfe_hw/cam_sfe_core.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/sfe_hw/sfe_top/cam_sfe_top.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/sfe_hw/sfe_bus/cam_sfe_bus.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/sfe_hw/sfe_bus/cam_sfe_bus_rd.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/sfe_hw/sfe_bus/cam_sfe_bus_wr.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/cam_vfe_soc.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/cam_vfe_dev.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/cam_vfe_core.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver2.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_rd_ver1.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver3.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_lite_ver2.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_common.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_ver4.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_ver3.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_top_ver2.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_ver2.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_ver3.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_rdi.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_fe_ver1.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_top/cam_vfe_camif_lite_ver3.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe17x/cam_vfe.o \
- drivers/cam_isp/isp_hw_mgr/cam_isp_hw_mgr.o \
- drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.o \
- drivers/cam_isp/cam_isp_dev.o \
- drivers/cam_isp/cam_isp_context.o
- camera-$(CONFIG_SPECTRA_ICP) += \
- drivers/cam_icp/icp_hw/icp_hw_mgr/cam_icp_hw_mgr.o \
- drivers/cam_icp/icp_hw/ipe_hw/ipe_dev.o \
- drivers/cam_icp/icp_hw/ipe_hw/ipe_core.o \
- drivers/cam_icp/icp_hw/ipe_hw/ipe_soc.o \
- drivers/cam_icp/icp_hw/icp_proc/icp_v1_hw/cam_icp_v1_dev.o \
- drivers/cam_icp/icp_hw/icp_proc/icp_v1_hw/cam_icp_v1_core.o \
- drivers/cam_icp/icp_hw/icp_proc/icp_v2_hw/cam_icp_v2_dev.o \
- drivers/cam_icp/icp_hw/icp_proc/icp_v2_hw/cam_icp_v2_core.o \
- drivers/cam_icp/icp_hw/icp_proc/icp_common/cam_icp_proc_common.o \
- drivers/cam_icp/icp_hw/icp_proc/icp_common/cam_icp_soc_common.o \
- drivers/cam_icp/icp_hw/icp_proc/cam_icp_proc.o \
- drivers/cam_icp/icp_hw/bps_hw/bps_dev.o \
- drivers/cam_icp/icp_hw/bps_hw/bps_core.o \
- drivers/cam_icp/icp_hw/bps_hw/bps_soc.o \
- drivers/cam_icp/icp_hw/ofe_hw/ofe_dev.o \
- drivers/cam_icp/icp_hw/ofe_hw/ofe_core.o \
- drivers/cam_icp/icp_hw/ofe_hw/ofe_soc.o \
- drivers/cam_icp/cam_icp_subdev.o \
- drivers/cam_icp/cam_icp_context.o \
- drivers/cam_icp/hfi.o
- camera-$(CONFIG_SPECTRA_JPEG) += \
- drivers/cam_jpeg/jpeg_hw/jpeg_enc_hw/jpeg_enc_dev.o \
- drivers/cam_jpeg/jpeg_hw/jpeg_enc_hw/jpeg_enc_core.o \
- drivers/cam_jpeg/jpeg_hw/jpeg_enc_hw/jpeg_enc_soc.o \
- drivers/cam_jpeg/jpeg_hw/jpeg_dma_hw/jpeg_dma_dev.o \
- drivers/cam_jpeg/jpeg_hw/jpeg_dma_hw/jpeg_dma_core.o \
- drivers/cam_jpeg/jpeg_hw/jpeg_dma_hw/jpeg_dma_soc.o \
- drivers/cam_jpeg/jpeg_hw/cam_jpeg_hw_mgr.o \
- drivers/cam_jpeg/cam_jpeg_dev.o \
- drivers/cam_jpeg/cam_jpeg_context.o
- camera-$(CONFIG_SPECTRA_FD) += \
- drivers/cam_fd/fd_hw_mgr/fd_hw/cam_fd_hw_dev.o \
- drivers/cam_fd/fd_hw_mgr/fd_hw/cam_fd_hw_core.o \
- drivers/cam_fd/fd_hw_mgr/fd_hw/cam_fd_hw_soc.o \
- drivers/cam_fd/fd_hw_mgr/cam_fd_hw_mgr.o \
- drivers/cam_fd/cam_fd_dev.o \
- drivers/cam_fd/cam_fd_context.o
- camera-$(CONFIG_SPECTRA_LRME) += \
- drivers/cam_lrme/lrme_hw_mgr/lrme_hw/cam_lrme_hw_dev.o \
- drivers/cam_lrme/lrme_hw_mgr/lrme_hw/cam_lrme_hw_core.o \
- drivers/cam_lrme/lrme_hw_mgr/lrme_hw/cam_lrme_hw_soc.o \
- drivers/cam_lrme/lrme_hw_mgr/cam_lrme_hw_mgr.o \
- drivers/cam_lrme/cam_lrme_dev.o \
- drivers/cam_lrme/cam_lrme_context.o
- camera-$(CONFIG_SPECTRA_SENSOR) += \
- drivers/cam_sensor_module/cam_actuator/cam_actuator_dev.o \
- drivers/cam_sensor_module/cam_actuator/cam_actuator_core.o \
- drivers/cam_sensor_module/cam_actuator/cam_actuator_soc.o \
- drivers/cam_sensor_module/cam_cci/cam_cci_dev.o \
- drivers/cam_sensor_module/cam_cci/cam_cci_core.o \
- drivers/cam_sensor_module/cam_cci/cam_cci_soc.o \
- drivers/cam_sensor_module/cam_tpg/cam_tpg_dev.o \
- drivers/cam_sensor_module/cam_tpg/cam_tpg_core.o \
- drivers/cam_sensor_module/cam_tpg/tpg_hw/tpg_hw.o \
- drivers/cam_sensor_module/cam_tpg/tpg_hw/tpg_hw_common.o \
- drivers/cam_sensor_module/cam_tpg/tpg_hw/tpg_hw_v_1_0/tpg_hw_v_1_0.o \
- drivers/cam_sensor_module/cam_tpg/tpg_hw/tpg_hw_v_1_2/tpg_hw_v_1_2.o \
- drivers/cam_sensor_module/cam_tpg/tpg_hw/tpg_hw_v_1_3/tpg_hw_v_1_3.o \
- drivers/cam_sensor_module/cam_tpg/tpg_hw/tpg_hw_v_1_4/tpg_hw_v_1_4.o \
- drivers/cam_sensor_module/cam_csiphy/cam_csiphy_soc.o \
- drivers/cam_sensor_module/cam_csiphy/cam_csiphy_dev.o \
- drivers/cam_sensor_module/cam_csiphy/cam_csiphy_core.o \
- drivers/cam_sensor_module/cam_eeprom/cam_eeprom_dev.o \
- drivers/cam_sensor_module/cam_eeprom/cam_eeprom_core.o \
- drivers/cam_sensor_module/cam_eeprom/cam_eeprom_soc.o \
- drivers/cam_sensor_module/cam_ois/cam_ois_dev.o \
- drivers/cam_sensor_module/cam_ois/cam_ois_core.o \
- drivers/cam_sensor_module/cam_ois/cam_ois_soc.o \
- drivers/cam_sensor_module/cam_sensor/cam_sensor_dev.o \
- drivers/cam_sensor_module/cam_sensor/cam_sensor_core.o \
- drivers/cam_sensor_module/cam_sensor/cam_sensor_soc.o \
- drivers/cam_sensor_module/cam_sensor_io/cam_sensor_io.o \
- drivers/cam_sensor_module/cam_sensor_io/cam_sensor_cci_i2c.o \
- drivers/cam_sensor_module/cam_sensor_io/cam_sensor_qup_i2c.o \
- drivers/cam_sensor_module/cam_sensor_io/cam_sensor_qup_i3c.o \
- drivers/cam_sensor_module/cam_sensor_io/cam_sensor_spi.o \
- drivers/cam_sensor_module/cam_sensor_utils/cam_sensor_util.o \
- drivers/cam_sensor_module/cam_res_mgr/cam_res_mgr.o \
- drivers/cam_sensor_module/cam_flash/cam_flash_dev.o \
- drivers/cam_sensor_module/cam_flash/cam_flash_core.o \
- drivers/cam_sensor_module/cam_flash/cam_flash_soc.o \
- drivers/cam_sensor_module/cam_sensor_module_debug.o
- camera-$(CONFIG_SPECTRA_CUSTOM) += \
- drivers/cam_cust/cam_custom_hw_mgr/cam_custom_hw1/cam_custom_sub_mod_soc.o \
- drivers/cam_cust/cam_custom_hw_mgr/cam_custom_hw1/cam_custom_sub_mod_dev.o \
- drivers/cam_cust/cam_custom_hw_mgr/cam_custom_hw1/cam_custom_sub_mod_core.o \
- drivers/cam_cust/cam_custom_hw_mgr/cam_custom_csid/cam_custom_csid_dev.o \
- drivers/cam_cust/cam_custom_hw_mgr/cam_custom_hw_mgr.o \
- drivers/cam_cust/cam_custom_dev.o \
- drivers/cam_cust/cam_custom_context.o
- camera-$(CONFIG_SPECTRA_OPE) += \
- drivers/cam_ope/cam_ope_subdev.o \
- drivers/cam_ope/cam_ope_context.o \
- drivers/cam_ope/ope_hw_mgr/cam_ope_hw_mgr.o \
- drivers/cam_ope/ope_hw_mgr/ope_hw/ope_dev.o \
- drivers/cam_ope/ope_hw_mgr/ope_hw/ope_soc.o \
- drivers/cam_ope/ope_hw_mgr/ope_hw/ope_core.o \
- drivers/cam_ope/ope_hw_mgr/ope_hw/top/ope_top.o \
- drivers/cam_ope/ope_hw_mgr/ope_hw/bus_rd/ope_bus_rd.o\
- drivers/cam_ope/ope_hw_mgr/ope_hw/bus_wr/ope_bus_wr.o
- camera-$(CONFIG_SPECTRA_CRE) += \
- drivers/cam_cre/cam_cre_hw_mgr/cre_hw/cre_core.o \
- drivers/cam_cre/cam_cre_hw_mgr/cre_hw/cre_soc.o \
- drivers/cam_cre/cam_cre_hw_mgr/cre_hw/cre_dev.o \
- drivers/cam_cre/cam_cre_hw_mgr/cre_hw/top/cre_top.o \
- drivers/cam_cre/cam_cre_hw_mgr/cre_hw/bus_rd/cre_bus_rd.o \
- drivers/cam_cre/cam_cre_hw_mgr/cre_hw/bus_wr/cre_bus_wr.o \
- drivers/cam_cre/cam_cre_hw_mgr/cam_cre_hw_mgr.o \
- drivers/cam_cre/cam_cre_dev.o \
- drivers/cam_cre/cam_cre_context.o
- camera-$(CONFIG_SPECTRA_TFE) += \
- drivers/cam_isp/isp_hw_mgr/isp_hw/ppi_hw/cam_csid_ppi_core.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/ppi_hw/cam_csid_ppi_dev.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/ppi_hw/cam_csid_ppi100.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_hw/cam_tfe_soc.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_hw/cam_tfe_dev.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_hw/cam_tfe_core.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_hw/cam_tfe_bus.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_hw/cam_tfe.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_csid_hw/cam_tfe_csid_dev.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_csid_hw/cam_tfe_csid_soc.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_csid_hw/cam_tfe_csid_core.o \
- drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_csid_hw/cam_tfe_csid.o \
- drivers/cam_isp/isp_hw_mgr/cam_tfe_hw_mgr.o
- camera-$(CONFIG_SAMSUNG_OIS_MCU_STM32) += \
- drivers/cam_sensor_module/cam_ois/cam_ois_mcu_stm32g.o \
- drivers/cam_sensor_module/cam_ois/cam_ois_thread.o \
- drivers/cam_sensor_module/cam_sensor_utils/cam_sysfs_ois_mcu.o
- camera-$(CONFIG_CAMERA_SYSFS_V2) += \
- drivers/cam_sensor_module/cam_actuator/cam_sec_actuator_core.o \
- drivers/cam_sensor_module/cam_eeprom/cam_sec_eeprom_core.o \
- drivers/cam_sensor_module/cam_sensor_utils/cam_sysfs_init.o \
- drivers/cam_sensor_module/cam_sensor_utils/cam_hw_bigdata.o \
- drivers/cam_sensor_module/cam_sensor_utils/cam_clock_data_recovery.o
- camera-$(CONFIG_CAMERA_FRAME_CNT_DBG) += \
- drivers/cam_sensor_module/cam_sensor/cam_sensor_thread.o
- camera-$(CONFIG_SAMSUNG_WACOM_NOTIFIER) += \
- drivers/cam_utils/cam_notifier.o
- camera-$(CONFIG_CAMERA_ADAPTIVE_MIPI) += \
- drivers/cam_sensor_module/cam_sensor/cam_sensor_mipi.o
- camera-$(CONFIG_SENSOR_RETENTION) += \
- drivers/cam_sensor_module/cam_sensor/cam_sensor_retention.o \
- drivers/cam_sensor_module/cam_sensor/cam_sensor_s5khp2.o \
- drivers/cam_sensor_module/cam_sensor/cam_sensor_s5kgn3.o \
- drivers/cam_sensor_module/cam_sensor/cam_sensor_imx854.o \
- camera-$(CONFIG_SEC_KUNIT) += \
- drivers/cam_sensor_module/cam_sensor_utils/kunit_test/cam_hw_bigdata_test.o \
- drivers/cam_sensor_module/cam_sensor_utils/kunit_test/cam_sec_eeprom_core_test.o \
- drivers/cam_sensor_module/cam_sensor_utils/kunit_test/cam_clock_data_recovery_test.o \
- drivers/kunit_test/camera_kunit_main.o \
- GCOV_PROFILE_cam_hw_bigdata.o := $(CONFIG_SEC_KUNIT)
- GCOV_PROFILE_cam_sec_eeprom_core.o := $(CONFIG_SEC_KUNIT)
- GCOV_PROFILE_cam_clock_data_recovery.o := $(CONFIG_SEC_KUNIT)
- camera-y += drivers/camera_main.o
- obj-m += camera.o
- BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/camera.ko
|