msm: camera: config: Enable camera drivers for qcs610
Add camera config files for target qcs610. Change-Id: I4fefaa0254aa8267b4375bb4270f286f46ec7997 Signed-off-by: Zhenlin Lian <quic_zlian@quicinc.com>
This commit is contained in:
Родитель
c9f9bce593
Коммит
ce9b4b3f12
9
Makefile
9
Makefile
|
@ -38,6 +38,10 @@ ifeq ($(CONFIG_ARCH_YUPIK), y)
|
|||
include $(srctree)/techpack/camera/config/yupikcamera.conf
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_SM6150), y)
|
||||
include $(srctree)/techpack/camera/config/sm6150camera.conf
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_KONA), y)
|
||||
LINUXINCLUDE += \
|
||||
-include $(srctree)/techpack/camera/config/konacameraconf.h
|
||||
|
@ -83,6 +87,11 @@ LINUXINCLUDE += \
|
|||
-include $(srctree)/techpack/camera/config/yupikcameraconf.h
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_SM6150), y)
|
||||
LINUXINCLUDE += \
|
||||
-include $(srctree)/techpack/camera/config/sm6150cameraconf.h
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
ifneq (,$(filter $(CONFIG_SPECTRA_CAMERA), y m))
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
# Copyright (c) 2021, The Linux Foundation. All rights reserved.
|
||||
|
||||
ifeq ($(CONFIG_QGKI),y)
|
||||
export CONFIG_SPECTRA_CAMERA=m
|
||||
$(info "QGKI Spectra Camera Building as DLKM")
|
||||
else
|
||||
export CONFIG_SPECTRA_CAMERA=m
|
||||
$(info "GKI Spectra Camera Building as DLKM")
|
||||
endif
|
||||
|
||||
ifneq (,$(filter $(CONFIG_SPECTRA_CAMERA), y m))
|
||||
export CONFIG_SPECTRA_ISP=y
|
||||
export CONFIG_SPECTRA_SENSOR=y
|
||||
export CONFIG_SPECTRA_ICP=y
|
||||
export CONFIG_SPECTRA_JPEG=y
|
||||
export CONFIG_SPECTRA_CUSTOM=y
|
||||
endif
|
|
@ -0,0 +1,12 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
|
||||
#define CONFIG_SPECTRA_CAMERA 1
|
||||
#define CONFIG_SPECTRA_ISP 1
|
||||
#define CONFIG_SPECTRA_SENSOR 1
|
||||
#define CONFIG_SPECTRA_ICP 1
|
||||
#define CONFIG_SPECTRA_JPEG 1
|
||||
#define CONFIG_SPECTRA_CUSTOM 1
|
Загрузка…
Ссылка в новой задаче