1. 27 10月, 2017 1 次提交
    • H
      media: tegra-cec: add Tegra HDMI CEC driver · 9d2d6068
      Hans Verkuil 提交于
      This driver adds support for the Tegra CEC IP. It is based on the
      NVIDIA drivers/misc/tegra-cec driver in their 3.10 kernel.
      
      This has been converted to the CEC framework and cleaned up.
      
      Tested with my Jetson TK1 board. It has also been tested with the
      Tegra X1 in an embedded product.
      
      Note of warning for the Tegra X2: this SoC supports two HDMI outputs,
      but only one CEC adapter and the CEC bus is shared between the
      two outputs. This is a design mistake and the CEC adapter can
      control only one HDMI output. Never hook up both HDMI outputs
      to the CEC bus in a hardware design: this is illegal as per the
      CEC specification.
      
      The CEC bus can be shared between multiple inputs and zero or one
      outputs, but not between multiple outputs.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Acked-by: NThierry Reding <treding@nvidia.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
      9d2d6068
  2. 17 10月, 2017 1 次提交
  3. 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
  4. 27 8月, 2017 1 次提交
  5. 09 8月, 2017 1 次提交
  6. 20 6月, 2017 3 次提交
  7. 14 6月, 2017 1 次提交
  8. 08 6月, 2017 1 次提交
  9. 06 6月, 2017 1 次提交
  10. 15 4月, 2017 1 次提交
  11. 11 4月, 2017 1 次提交
  12. 10 4月, 2017 2 次提交
  13. 03 3月, 2017 1 次提交
  14. 08 2月, 2017 1 次提交
  15. 17 11月, 2016 1 次提交
  16. 21 10月, 2016 1 次提交
  17. 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
  18. 09 9月, 2016 2 次提交
  19. 24 8月, 2016 1 次提交
  20. 22 8月, 2016 1 次提交
  21. 09 7月, 2016 2 次提交
  22. 28 6月, 2016 2 次提交
  23. 17 6月, 2016 1 次提交
  24. 16 6月, 2016 1 次提交
  25. 19 2月, 2016 1 次提交
  26. 01 2月, 2016 1 次提交
  27. 12 8月, 2015 1 次提交
  28. 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
  29. 10 6月, 2015 1 次提交
  30. 03 4月, 2015 1 次提交
  31. 23 12月, 2014 1 次提交
  32. 17 12月, 2014 1 次提交
  33. 28 10月, 2014 1 次提交
  34. 22 9月, 2014 1 次提交