10 Oct, 2016

1 commit

  • Move blackfin gptimers-example to samples and remove it from Documentation
    Makefile. Update samples Kconfig and Makefile to build gptimers-example.

    blackfin is the last CONFIG_BUILD_DOCSRC target in Documentation/Makefile.
    Hence this patch also includes changes to remove CONFIG_BUILD_DOCSRC from
    Makefile and lib/Kconfig.debug and updates VIDEO_PCI_SKELETON dependency
    on BUILD_DOCSRC.

    Documentation/Makefile is not deleted to avoid braking make htmldocs and
    make distclean.

    Acked-by: Michal Marek
    Acked-by: Jonathan Corbet
    Reviewed-by: Kees Cook
    Reported-by: Valentin Rothberg
    Reported-by: Paul Gortmaker
    Signed-off-by: Shuah Khan

    Shuah Khan
     

01 Feb, 2016

1 commit

  • em28xx selects VIDEO_TUNER, which has a dependency on MEDIA_TUNER,
    so we get a Kconfig warning if that is disabled:

    warning: (VIDEO_PVRUSB2 && VIDEO_USBVISION && VIDEO_GO7007 && VIDEO_AU0828_V4L2 && VIDEO_CX231XX && VIDEO_TM6000 && VIDEO_EM28XX && VIDEO_IVTV && VIDEO_MXB && VIDEO_CX18 && VIDEO_CX23885 && VIDEO_CX88 && VIDEO_BT848 && VIDEO_SAA7134 && VIDEO_SAA7164) selects VIDEO_TUNER which has unmet direct dependencies (MEDIA_SUPPORT && MEDIA_TUNER)

    VIDEO_TUNER does not actually depend on MEDIA_TUNER, and the
    dependency does nothing except cause the above warning, so let's
    remove it.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Mauro Carvalho Chehab

    Arnd Bergmann
     

23 Oct, 2015

1 commit

  • Fixes the following randconfig problem:

    drivers/built-in.o: In function `v4l2_flash_release':
    (.text+0x12204f): undefined reference to `v4l2_async_unregister_subdev'
    drivers/built-in.o: In function `v4l2_flash_release':
    (.text+0x122057): undefined reference to `v4l2_ctrl_handler_free'
    drivers/built-in.o: In function `v4l2_flash_close':
    v4l2-flash-led-class.c:(.text+0x12208f): undefined reference to `v4l2_fh_is_singular'
    v4l2-flash-led-class.c:(.text+0x1220c8): undefined reference to `__v4l2_ctrl_s_ctrl'
    drivers/built-in.o: In function `v4l2_flash_open':
    v4l2-flash-led-class.c:(.text+0x12227f): undefined reference to `v4l2_fh_is_singular'
    drivers/built-in.o: In function `v4l2_flash_init_controls':
    v4l2-flash-led-class.c:(.text+0x12274e): undefined reference to `v4l2_ctrl_handler_init_class'
    v4l2-flash-led-class.c:(.text+0x122797): undefined reference to `v4l2_ctrl_new_std_menu'
    v4l2-flash-led-class.c:(.text+0x1227e0): undefined reference to `v4l2_ctrl_new_std'
    v4l2-flash-led-class.c:(.text+0x122826): undefined reference to `v4l2_ctrl_handler_setup'
    v4l2-flash-led-class.c:(.text+0x122839): undefined reference to `v4l2_ctrl_handler_free'
    drivers/built-in.o: In function `v4l2_flash_init':
    (.text+0x1228e2): undefined reference to `v4l2_subdev_init'
    drivers/built-in.o: In function `v4l2_flash_init':
    (.text+0x12293b): undefined reference to `v4l2_async_register_subdev'
    drivers/built-in.o: In function `v4l2_flash_init':
    (.text+0x122949): undefined reference to `v4l2_ctrl_handler_free'
    drivers/built-in.o:(.rodata+0x20ef8): undefined reference to `v4l2_subdev_queryctrl'
    drivers/built-in.o:(.rodata+0x20f10): undefined reference to `v4l2_subdev_querymenu'

    Signed-off-by: Jacek Anaszewski
    Reported-by: kbuild test robot
    Cc: Sakari Ailus
    Cc: Hans Verkuil

    Jacek Anaszewski
     

17 Aug, 2015

1 commit


02 Jul, 2015

1 commit

  • Pull LED subsystem updates from Bryan Wu:
    "In this cycle, we finished to merge patches for LED Flash class
    driver.

    Other than that we have some bug fixes and new drivers for LED
    controllers"

    * 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/linux-leds: (33 commits)
    leds:lp55xx: fix firmware loading error
    leds: fix max77693-led build errors
    leds: fix aat1290 build errors
    leds: aat1290: pass flags parameter to devm_gpiod_get
    leds: ktd2692: pass flags parameter to devm_gpiod_get
    drivers/leds: don't use module_init in non-modular leds-cobalt-raq.c
    leds: aat1290: add support for V4L2 Flash sub-device
    DT: aat1290: Document handling external strobe sources
    leds: max77693: add support for V4L2 Flash sub-device
    media: Add registration helpers for V4L2 flash sub-devices
    v4l: async: Add a pointer to of_node to struct v4l2_subdev, match it
    Documentation: leds: Add description of v4l2-flash sub-device
    leds: add BCM6358 LED driver
    leds: add DT binding for BCM6358 LED controller
    leds: fix brightness changing when software blinking is active
    Documentation: leds-lp5523: describe master fader attributes
    leds: lp5523: add master_fader support
    leds: leds-gpio: Allow compile test if !GPIOLIB
    leds: leds-gpio: Add missing #include
    gpiolib: Add missing dummies for the unified device properties interface
    ...

    Linus Torvalds
     

23 Jun, 2015

1 commit

  • This patch adds helper functions for registering/unregistering
    LED Flash class devices as V4L2 sub-devices. The functions should
    be called from the LED subsystem device driver. In case the
    support for V4L2 Flash sub-devices is disabled in the kernel
    config the functions' empty versions will be used.

    Signed-off-by: Jacek Anaszewski
    Acked-by: Kyungmin Park
    Cc: Sakari Ailus
    Cc: Hans Verkuil
    Signed-off-by: Bryan Wu

    Jacek Anaszewski
     

01 May, 2015

1 commit

  • If NO_DMA=y:

    ERROR: "dma_unmap_sg" [drivers/media/v4l2-core/videobuf2-dma-sg.ko] undefined!
    ERROR: "dma_map_sg" [drivers/media/v4l2-core/videobuf2-dma-sg.ko] undefined!
    ERROR: "dma_sync_sg_for_cpu" [drivers/media/v4l2-core/videobuf2-dma-sg.ko] undefined!

    VIDEOBUF2_DMA_SG cannot be enabled manually by the user, it's always
    selected automatically by drivers that need it. Several of those drivers
    already have an explicit dependency on HAS_DMA.

    Make VIDEOBUF2_DMA_SG depend on HAS_DMA. This makes it easier to find
    drivers that select VIDEOBUF2_DMA_SG without depending on HAS_DMA, as
    Kconfig will give a warning.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Geert Uytterhoeven
     

26 Sep, 2014

1 commit

  • Currently arm64 does not support PCI but it does support v4l2. Since the
    PCI skeleton driver is built unconditionally as a module with no dependency
    on PCI this causes build failures for arm64 allmodconfig. Fix this by
    defining a symbol VIDEO_PCI_SKELETON for the skeleton and conditionalising
    the build on that.

    Signed-off-by: Mark Brown
    Signed-off-by: Randy Dunlap [added VIDEO dependencies]
    Signed-off-by: Jiri Kosina

    Mark Brown
     

17 Apr, 2014

1 commit


20 Dec, 2013

1 commit

  • The omap24xx driver and the tcm825x sensor driver are the only two
    remaining drivers to still use the old deprecated v4l2-int-device API.

    Nobody maintains these drivers anymore. But unfortunately the v4l2-int-device
    API is used by out-of-tree drivers (MXC platform). This is a very bad situation
    since as long as this deprecated API stays in the kernel there is no reason for
    those out-of-tree drivers to convert.

    This patch moves v4l2-int-device and the two drivers that depend on it to
    staging in preparation for their removal.

    If someone would be interested in getting these drivers to work, then start with
    this since it's not very far from the state where they used to work:

    The branch is n800-cam. Porting to up-to-date APIs can then be done. David
    might have done some work in that area, so check with him first.

    Signed-off-by: Hans Verkuil
    Cc: Sakari Ailus
    Cc: David Cohen
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

19 Mar, 2013

1 commit

  • m68k/sun3:
    drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_mmap’:
    drivers/media/v4l2-core/videobuf2-dma-contig.c:204: error: implicit declaration of function ‘dma_mmap_coherent’
    drivers/media/v4l2-core/videobuf2-dma-contig.c: In function ‘vb2_dc_get_base_sgt’:
    drivers/media/v4l2-core/videobuf2-dma-contig.c:387: error: implicit declaration of function ‘dma_get_sgtable’
    Make VIDEOBUF2_DMA_CONTIG and VIDEO_SH_VEU (which selects the former and
    doesn't have a platform dependency) depend on HAS_DMA to fix this.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Mauro Carvalho Chehab

    Geert Uytterhoeven
     

06 Jan, 2013

1 commit


26 Nov, 2012

3 commits

  • This patch adds support for importing DMABUF files for
    vmalloc allocator in Videobuf2.

    Signed-off-by: Tomasz Stanislawski
    Signed-off-by: Kyungmin Park
    Acked-by: Laurent Pinchart
    Acked-by: Hans Verkuil
    Tested-by: Mauro Carvalho Chehab
    Signed-off-by: Mauro Carvalho Chehab

    Tomasz Stanislawski
     
  • This patch makes changes for adding dma-contig as a dma_buf user. It provides
    function implementations for the {attach, detach, map, unmap}_dmabuf()
    mem_ops of DMABUF memory type.
    [author of the original patch]
    [integration with refactored dma-contig allocator]

    Signed-off-by: Sumit Semwal
    Signed-off-by: Sumit Semwal
    Signed-off-by: Tomasz Stanislawski
    Acked-by: Laurent Pinchart
    Tested-by: Mauro Carvalho Chehab
    Signed-off-by: Mauro Carvalho Chehab

    Sumit Semwal
     
  • This patch adds support for DMABUF memory type in videobuf2. It calls relevant
    APIs of dma_buf for v4l reqbuf / qbuf / dqbuf operations.
    For this version, the support is for videobuf2 as a user of the shared buffer;
    so the allocation of the buffer is done outside of V4L2. [A sample allocator of
    dma-buf shared buffer is given at [1]]
    [1]: Rob Clark's DRM:
    https://github.com/robclark/kernel-omap4/commits/drmplane-dmabuf
    [original work in the PoC for buffer sharing]

    Signed-off-by: Tomasz Stanislawski
    Signed-off-by: Sumit Semwal
    Signed-off-by: Sumit Semwal
    Acked-by: Laurent Pinchart
    Acked-by: Hans Verkuil
    Tested-by: Mauro Carvalho Chehab
    Signed-off-by: Mauro Carvalho Chehab

    Sumit Semwal
     

21 Aug, 2012

1 commit

  • - get rid of ridden V4L2_COMMON symbol

    This symbol is not needed anymore; it can be folded with V4L2
    one, simplifying the Kconfig a little bit;

    - Comment why some Kconfig items are needed;

    - Remove if test for MEDIA_CAMERA_SUPPORT, replacing it by
    depends on.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

16 Aug, 2012

1 commit


14 Aug, 2012

1 commit