techpack: camera: Haydn is special

Change-Id: I8f75769da498aebdcd79c44ba521a3ce5927a993
This commit is contained in:
Arian 2022-10-22 23:49:52 +02:00 committed by Giovanni Ricca
parent f1c63607d6
commit 54789f8c2a
No known key found for this signature in database
3 changed files with 10 additions and 0 deletions

View File

@ -92,6 +92,11 @@ LINUXINCLUDE += \
-include $(srctree)/techpack/camera/config/sm6150cameraconf.h
endif
ifeq ($(TARGET_PRODUCT), haydn)
LINUXINCLUDE += \
-include $(srctree)/techpack/camera/config/haydncameraconf.h
endif
endif
ifneq (,$(filter $(CONFIG_SPECTRA_CAMERA), y m))

View File

@ -0,0 +1 @@
#define TARGET_PRODUCT_HAYDN 1

View File

@ -43,7 +43,11 @@
* It includes both session and device handles
*/
#define CAM_REQ_MGR_MAX_HANDLES 64
#ifdef TARGET_PRODUCT_HAYDN
#define CAM_REQ_MGR_MAX_HANDLES_V2 192
#else
#define CAM_REQ_MGR_MAX_HANDLES_V2 256
#endif
#define MAX_LINKS_PER_SESSION 2
/* V4L event type which user space will subscribe to */