1. 16 8月, 2018 1 次提交
    • A
      media: platform: cros-ec-cec: Fix dependency on MFD_CROS_EC · f863ae59
      Arnd Bergmann 提交于
      Without the MFD driver, we run into a link error:
      
      drivers/media/platform/cros-ec-cec/cros-ec-cec.o: In function `cros_ec_cec_transmit':
      cros-ec-cec.c:(.text+0x474): undefined reference to `cros_ec_cmd_xfer_status'
      drivers/media/platform/cros-ec-cec/cros-ec-cec.o: In function `cros_ec_cec_set_log_addr':
      cros-ec-cec.c:(.text+0x60b): undefined reference to `cros_ec_cmd_xfer_status'
      drivers/media/platform/cros-ec-cec/cros-ec-cec.o: In function `cros_ec_cec_adap_enable':
      cros-ec-cec.c:(.text+0x77d): undefined reference to `cros_ec_cmd_xfer_status'
      
      As we can compile-test all the dependency, the extra '| COMPILE_TEST' is
      not needed to get the build coverage, and we can simply turn MFD_CROS_EC
      into a hard dependency to make it build in all configurations.
      
      Fixes: cd70de2d ("media: platform: Add ChromeOS EC CEC driver")
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      f863ae59
  2. 02 8月, 2018 1 次提交
  3. 25 7月, 2018 2 次提交
  4. 13 7月, 2018 1 次提交
  5. 27 6月, 2018 1 次提交
  6. 29 5月, 2018 2 次提交
  7. 26 5月, 2018 1 次提交
  8. 16 5月, 2018 1 次提交
  9. 05 5月, 2018 1 次提交
    • A
      media: drivers: media: platform: make VIDEO_VIU depend on I2C · 530d4738
      Anders Roxell 提交于
      Commit 7378f114 ("media: omap2: omapfb: allow building it with
      COMPILE_TEST") broke compilation without CONFIG_I2C selected.
      drivers/media/platform/fsl-viu.c: In function ‘viu_of_probe’:
      drivers/media/platform/fsl-viu.c:1452:7: error: implicit declaration of function ‘i2c_get_adapter’; did you mean ‘i2c_lock_adapter’? [-Werror=implicit-function-declaration]
        ad = i2c_get_adapter(0);
             ^~~~~~~~~~~~~~~
             i2c_lock_adapter
      drivers/media/platform/fsl-viu.c:1452:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
        ad = i2c_get_adapter(0);
           ^
      drivers/media/platform/fsl-viu.c:1534:2: error: implicit declaration of function ‘i2c_put_adapter’; did you mean ‘i2c_lock_adapter’? [-Werror=implicit-function-declaration]
        i2c_put_adapter(ad);
        ^~~~~~~~~~~~~~~
        i2c_lock_adapter
      
      Added I2C dependency in order to make all configurations work again.
      Signed-off-by: NAnders Roxell <anders.roxell@linaro.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab+samsung@kernel.org>
      530d4738
  10. 20 4月, 2018 2 次提交
  11. 17 4月, 2018 2 次提交
  12. 26 3月, 2018 2 次提交
  13. 06 3月, 2018 1 次提交
  14. 26 2月, 2018 1 次提交
  15. 05 1月, 2018 1 次提交
  16. 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
  17. 17 10月, 2017 1 次提交
  18. 24 9月, 2017 1 次提交
    • G
      media: platform: VIDEO_QCOM_CAMSS should depend on HAS_DMA · db6321a1
      Geert Uytterhoeven 提交于
      If NO_DMA=y:
      
          warning: (TOUCHSCREEN_SUR40 && VIDEO_TW68 && VIDEO_CX23885 && VIDEO_CX25821 && VIDEO_CX88 && VIDEO_SAA7134 && VIDEO_COBALT && VIDEO_QCOM_CAMSS) selects VIDEOBUF2_DMA_SG which has unmet direct dependencies (MEDIA_SUPPORT && HAS_DMA)
      
      and
      
          ERROR: "bad_dma_ops" [drivers/media/v4l2-core/videobuf2-dma-sg.ko] undefined!
          ERROR: "bad_dma_ops" [drivers/media/platform/qcom/camss-8x16/qcom-camss.ko] undefined!
      
      VIDEO_QCOM_CAMSS selects VIDEOBUF2_DMA_SG, which bypasses its dependency
      on HAS_DMA.  Make VIDEO_QCOM_CAMSS depend on HAS_DMA to fix this.
      
      Fixes: f5c07494 ("media: camss: Enable building")
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      db6321a1
  19. 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
  20. 27 8月, 2017 1 次提交
  21. 09 8月, 2017 1 次提交
  22. 26 7月, 2017 1 次提交
  23. 21 7月, 2017 1 次提交
  24. 20 7月, 2017 2 次提交
  25. 20 6月, 2017 4 次提交
  26. 14 6月, 2017 1 次提交
  27. 06 6月, 2017 2 次提交
  28. 05 6月, 2017 2 次提交
  29. 19 4月, 2017 1 次提交
    • H
      [media] cec: Kconfig cleanup · 56a263aa
      Hans Verkuil 提交于
      The Kconfig options for the CEC subsystem were a bit messy. In
      addition there were two cec sources (cec-edid.c and cec-notifier.c)
      that were outside of the media/cec directory, which was weird.
      
      Move those sources to media/cec as well.
      
      The cec-edid and cec-notifier functionality is now part of the cec
      module and these are no longer separate modules.
      
      Also remove the MEDIA_CEC_EDID config option and include it with the
      main CEC config option (which defined CEC_EDID anyway).
      
      Added static inlines to cec-edid.h for dummy functions when CEC_CORE
      isn't defined.
      
      CEC drivers should now depend on CEC_CORE.
      
      CEC drivers that need the cec-notifier functionality must explicitly
      select CEC_NOTIFIER.
      
      The s5p-cec and stih-cec drivers depended on VIDEO_DEV instead of
      CEC_CORE, fix that as well.
      Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
      Acked-by: NBenjamin Gaignard <benjamin.gaignard@linaro.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
      56a263aa