msm: camera: config: Add Support for monaco target

Add camera config support for MONACO target.

CRs-Fixed: 2918290
Change-Id: I98ff2a0d540aa6a4fb5a31a8d26f7abe0750918d
Signed-off-by: Amit Somani <amitsm@codeaurora.org>
This commit is contained in:
Amit Somani 2021-02-08 19:22:07 +05:30 committed by Gerrit - the friendly Code Review server
parent e182f855ab
commit 4c9ba2b362
3 changed files with 28 additions and 0 deletions

View File

@ -14,6 +14,10 @@ ifeq ($(CONFIG_ARCH_BENGAL), y)
include $(srctree)/techpack/camera/config/bengalcamera.conf include $(srctree)/techpack/camera/config/bengalcamera.conf
endif endif
ifeq ($(CONFIG_ARCH_MONACO), y)
include $(srctree)/techpack/camera/config/monacocamera.conf
endif
ifeq ($(CONFIG_ARCH_LAHAINA), y) ifeq ($(CONFIG_ARCH_LAHAINA), y)
include $(srctree)/techpack/camera/config/lahainacamera.conf include $(srctree)/techpack/camera/config/lahainacamera.conf
endif endif
@ -45,6 +49,11 @@ LINUXINCLUDE += \
-include $(srctree)/techpack/camera/config/bengalcameraconf.h -include $(srctree)/techpack/camera/config/bengalcameraconf.h
endif endif
ifeq ($(CONFIG_ARCH_MONACO), y)
LINUXINCLUDE += \
-include $(srctree)/techpack/camera/config/monacocameraconf.h
endif
ifeq ($(CONFIG_ARCH_LAHAINA), y) ifeq ($(CONFIG_ARCH_LAHAINA), y)
LINUXINCLUDE += \ LINUXINCLUDE += \
-include $(srctree)/techpack/camera/config/lahainacameraconf.h -include $(srctree)/techpack/camera/config/lahainacameraconf.h

8
config/monacocamera.conf Normal file
View File

@ -0,0 +1,8 @@
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2019,2021 The Linux Foundation. All rights reserved.
export CONFIG_SPECTRA_CAMERA=y
export CONFIG_SPECTRA_TFE=y
export CONFIG_SPECTRA_ISP=y
export CONFIG_SPECTRA_SENSOR=y
export CONFIG_SPECTRA_OPE=y

11
config/monacocameraconf.h Normal file
View File

@ -0,0 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2019-2021, The Linux Foundation. All rights reserved.
*/
#define CONFIG_SPECTRA_CAMERA 1
#define CONFIG_SPECTRA_TFE 1
#define CONFIG_SPECTRA_ISP 1
#define CONFIG_SPECTRA_SENSOR 1
#define CONFIG_SPECTRA_OPE 1