1. 23 9月, 2017 1 次提交
    • H
      media: cec-gpio: add HDMI CEC GPIO driver · 1e33936d
      Hans Verkuil 提交于
      Add a simple HDMI CEC GPIO driver that sits on top of the cec-pin framework.
      
      While I have heard of SoCs that use the GPIO pin for CEC (apparently an
      early RockChip SoC used that), the main use-case of this driver is to
      function as a debugging tool.
      
      By connecting the CEC line to a GPIO pin on a Raspberry Pi 3 for example
      it turns it into a CEC debugger and protocol analyzer.
      
      With 'cec-ctl --monitor-pin' the CEC traffic can be analyzed.
      
      But of course it can also be used with any hardware project where the
      HDMI CEC line is hooked up to a pull-up gpio line.
      
      In addition this has (optional) support for tracing HPD changes if the
      HPD is connected to a GPIO.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Reviewed-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      1e33936d
  2. 27 8月, 2017 1 次提交
  3. 09 8月, 2017 1 次提交
  4. 20 6月, 2017 3 次提交
  5. 14 6月, 2017 1 次提交
  6. 08 6月, 2017 1 次提交
  7. 06 6月, 2017 1 次提交
  8. 15 4月, 2017 1 次提交
  9. 11 4月, 2017 1 次提交
  10. 10 4月, 2017 2 次提交
  11. 03 3月, 2017 1 次提交
  12. 08 2月, 2017 1 次提交
  13. 17 11月, 2016 1 次提交
  14. 21 10月, 2016 1 次提交
  15. 12 9月, 2016 1 次提交
    • H
      [media] pxa_camera: merge soc_mediabus.c into pxa_camera.c · 34b27b13
      Hans Verkuil 提交于
      Linking soc_mediabus into this driver causes multiple definition linker warnings
      if soc_camera is also enabled:
      
         drivers/media/platform/soc_camera/built-in.o:(___ksymtab+soc_mbus_image_size+0x0): multiple definition of `__ksymtab_soc_mbus_image_size'
         drivers/media/platform/soc_camera/soc_mediabus.o:(___ksymtab+soc_mbus_image_size+0x0): first defined here
      >> drivers/media/platform/soc_camera/built-in.o:(___ksymtab+soc_mbus_samples_per_pixel+0x0): multiple definition of `__ksymtab_soc_mbus_samples_per_pixel'
         drivers/media/platform/soc_camera/soc_mediabus.o:(___ksymtab+soc_mbus_samples_per_pixel+0x0): first defined here
         drivers/media/platform/soc_camera/built-in.o: In function `soc_mbus_config_compatible':
         (.text+0x3840): multiple definition of `soc_mbus_config_compatible'
         drivers/media/platform/soc_camera/soc_mediabus.o:(.text+0x134): first defined here
      
      Since we really don't want to have to use any of the soc-camera code this patch
      copies the relevant code and data structures from soc_mediabus and renames it to pxa_mbus_*.
      
      The large table of formats has been culled a bit, removing formats that are not supported
      by this driver.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Cc: Robert Jarzmik <robert.jarzmik@free.fr>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      34b27b13
  16. 09 9月, 2016 2 次提交
  17. 24 8月, 2016 1 次提交
  18. 22 8月, 2016 1 次提交
  19. 09 7月, 2016 2 次提交
  20. 28 6月, 2016 2 次提交
  21. 17 6月, 2016 1 次提交
  22. 16 6月, 2016 1 次提交
  23. 19 2月, 2016 1 次提交
  24. 01 2月, 2016 1 次提交
  25. 12 8月, 2015 1 次提交
  26. 11 8月, 2015 1 次提交
    • M
      [media] V4L2: platform: Add Renesas R-Car JPEG codec driver · 2c42cdba
      Mikhail Ulyanov 提交于
      Here's the driver for the Renesas R-Car JPEG processing unit.
      
      The driver is implemented within the V4L2 framework as a memory-to-memory
      device.  It presents two video nodes to userspace, one for the encoding part,
      and one for the decoding part.
      
      It was found that the only working mode for encoding is no markers output, so we
      generate markers with software. In the current version of driver we also use
      software JPEG header parsing because with hardware parsing performance is lower
      than desired.
      
      >From a userspace point of view the process is typical (S_FMT, REQBUF,
      optionally QUERYBUF, QBUF, STREAMON, DQBUF) for both the source and destination
      queues. STREAMON can return -EINVAL in case of mismatch of output and capture
      queues format. Also during decoding driver can return buffers if queued
      buffer with JPEG image contains image with inappropriate subsampling (e.g.
      4:2:0 in JPEG and 4:2:2 in capture).  If JPEG image and queue format dimensions
      differ driver will return buffer on QBUF with VB2_BUF_STATE_ERROR flag.
      
      During encoding the available formats are: V4L2_PIX_FMT_NV12M,
      V4L2_PIX_FMT_NV12, V4L2_PIX_FMT_NV16, V4L2_PIX_FMT_NV16M for source and
      V4L2_PIX_FMT_JPEG for destination.
      
      During decoding the available formats are: V4L2_PIX_FMT_JPEG for source and
      V4L2_PIX_FMT_NV12M, V4L2_PIX_FMT_NV16M, V4L2_PIX_FMT_NV12, V4L2_PIX_FMT_NV16
      for destination.
      
      Performance of current version:
      1280x800 NV12 image encoding/decoding
      	decoding ~122 FPS
      	encoding ~191 FPS
      Signed-off-by: NMikhail Ulyanov <mikhail.ulyanov@cogentembedded.com>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      2c42cdba
  27. 10 6月, 2015 1 次提交
  28. 03 4月, 2015 1 次提交
  29. 23 12月, 2014 1 次提交
  30. 17 12月, 2014 1 次提交
  31. 28 10月, 2014 1 次提交
  32. 22 9月, 2014 1 次提交
  33. 03 9月, 2014 2 次提交