Skip to content

Commit

Permalink
ARL platform Beta release on 2024-07-18
Browse files Browse the repository at this point in the history
Signed-off-by: Hao Yao <hao.yao@intel.com>
  • Loading branch information
hao-yao committed Jul 18, 2024
1 parent aecec2a commit 6d9f0f6
Show file tree
Hide file tree
Showing 40 changed files with 1,671 additions and 379 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ version_lt = $(shell \
KV_IVSC := 6.6.0
KV_IPU_BRIDGE := 6.6.0
KV_OV2740 := 6.8.0
KV_OV05C10 := 6.8.0

KERNEL_SRC ?= /lib/modules/$(KERNELRELEASE)/build
MODSRC := $(shell pwd)
Expand Down Expand Up @@ -88,6 +89,11 @@ ifeq ($(call version_lt,$(KERNEL_VERSION),$(KV_OV2740)),true)
export CONFIG_VIDEO_OV2740 = m
export CONFIG_VIDEO_GC5035 = m
endif

ifeq ($(call version_lt,$(KERNEL_VERSION),$(KV_OV05C10)),false)
export CONFIG_VIDEO_OV05C10 = m
endif

obj-y += drivers/media/i2c/

ifeq ($(call version_lt,$(KERNEL_VERSION),$(KV_IVSC)),true)
Expand Down
7 changes: 7 additions & 0 deletions dkms.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ version_lt() {
KERNEL_VERSION=$(echo ${kernelver} | sed 's/[^0-9.]*\([0-9.]*\).*/\1/')
KV_IVSC=6.6.0
KV_OV2740=6.8.0
KV_OV05C10=6.8.0

BUILT_MODULE_NAME[0]="intel-ipu6"
BUILT_MODULE_LOCATION[0]="drivers/media/pci/intel/ipu6"
Expand Down Expand Up @@ -78,6 +79,12 @@ BUILT_MODULE_LOCATION[10]="drivers/media/i2c"
DEST_MODULE_LOCATION[10]="/updates"


if ! version_lt ${KERNEL_VERSION} ${KV_OV05C10}; then
BUILT_MODULE_NAME[11]="ov05c10"
BUILT_MODULE_LOCATION[11]="drivers/media/i2c"
DEST_MODULE_LOCATION[11]="/updates"
fi

if version_lt ${KERNEL_VERSION} ${KV_OV2740}; then
BUILT_MODULE_NAME[11]="ov2740"
BUILT_MODULE_LOCATION[11]="drivers/media/i2c"
Expand Down
1 change: 1 addition & 0 deletions drivers/media/i2c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ obj-$(CONFIG_VIDEO_OV01A1S) += ov01a1s.o
obj-$(CONFIG_VIDEO_OV01A10) += ov01a10.o
obj-$(CONFIG_VIDEO_OV02C10) += ov02c10.o
obj-$(CONFIG_VIDEO_OV02E10) += ov02e10.o
obj-$(CONFIG_VIDEO_OV05C10) += ov05c10.o
obj-$(CONFIG_VIDEO_OV2740) += ov2740.o
obj-$(CONFIG_VIDEO_HM2170) += hm2170.o
obj-$(CONFIG_VIDEO_HM2170) += hm2172.o
Expand Down
Loading

0 comments on commit 6d9f0f6

Please sign in to comment.