mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 07:24:39 +08:00
ff5430de70
Typical video devices like camera sensors require an external clock source. Many such devices cannot even access their hardware registers without a running clock. These clock sources should be controlled by their consumers. This should be performed, using the generic clock framework. Unfortunately so far only very few systems have been ported to that framework. This patch adds a set of temporary helpers, mimicking the generic clock API, to V4L2. Platforms, adopting the clock API, should switch to using it. Eventually this temporary API should be removed. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
#
|
|
# Makefile for the V4L2 core
|
|
#
|
|
|
|
tuner-objs := tuner-core.o
|
|
|
|
videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \
|
|
v4l2-event.o v4l2-ctrls.o v4l2-subdev.o v4l2-clk.o
|
|
ifeq ($(CONFIG_COMPAT),y)
|
|
videodev-objs += v4l2-compat-ioctl32.o
|
|
endif
|
|
ifeq ($(CONFIG_OF),y)
|
|
videodev-objs += v4l2-of.o
|
|
endif
|
|
|
|
obj-$(CONFIG_VIDEO_V4L2) += videodev.o
|
|
obj-$(CONFIG_VIDEO_V4L2_INT_DEVICE) += v4l2-int-device.o
|
|
obj-$(CONFIG_VIDEO_V4L2) += v4l2-common.o
|
|
|
|
obj-$(CONFIG_VIDEO_TUNER) += tuner.o
|
|
|
|
obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o
|
|
|
|
obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o
|
|
obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o
|
|
obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o
|
|
obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o
|
|
obj-$(CONFIG_VIDEOBUF_DVB) += videobuf-dvb.o
|
|
|
|
obj-$(CONFIG_VIDEOBUF2_CORE) += videobuf2-core.o
|
|
obj-$(CONFIG_VIDEOBUF2_MEMOPS) += videobuf2-memops.o
|
|
obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o
|
|
obj-$(CONFIG_VIDEOBUF2_DMA_CONTIG) += videobuf2-dma-contig.o
|
|
obj-$(CONFIG_VIDEOBUF2_DMA_SG) += videobuf2-dma-sg.o
|
|
|
|
ccflags-y += -I$(srctree)/drivers/media/dvb-core
|
|
ccflags-y += -I$(srctree)/drivers/media/dvb-frontends
|
|
ccflags-y += -I$(srctree)/drivers/media/tuners
|
|
|