06 Oct, 2012

10 commits


02 Oct, 2012

2 commits

  • In order to reuse the FIMC-LITE module on Exynos4 and Exynos5
    SoC introduce a set of callbacks for the media pipeline control
    from within FIMC/FIMC-LITE video node. It lets us avoid symbol
    dependencies between FIMC-LITE and the whole media device driver,
    which simplifies the initialization sequences and doesn't
    introduce issues preventing common kernel image for exynos4 and
    exynos5 SoCs.
    This patch also corrects following build errors:
    drivers/built-in.o: In function `buffer_queue':
    drivers/media/video/s5p-fimc/fimc-lite.c:414: undefined reference
    to `fimc_pipeline_s_stream'
    drivers/built-in.o: In function `fimc_lite_resume':
    drivers/media/video/s5p-fimc/fimc-lite.c:1518: undefined reference
    to `fimc_pipeline_initialize'
    drivers/built-in.o: In function `fimc_lite_suspend':
    drivers/media/video/s5p-fimc/fimc-lite.c:1544: undefined reference
    to `fimc_pipeline_shutdown'
    when only CONFIG_VIDEO_EXYNOS_FIMC_LITE is selected, without
    CONFIG_VIDEO_S5P_FIMC.

    Reported-by: Sachin Kamat
    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Kyungmin Park
    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     
  • With a filter function you can control more precisely which controls
    are added. This is useful in particular for radio device nodes for
    combined TV/Radio cards where you want to show just the radio-specific
    controls and not controls like brightness.

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

    Hans Verkuil
     

27 Sep, 2012

2 commits

  • This replaces BUG_ON() calls with WARN_ON(), and returns
    EINVAL if some parameter is NULL, as suggested by Jonathan and Mauro.
    The BUG_ON() call is too drastic to be used in this case.
    See the full discussion here:
    http://www.spinics.net/lists/linux-media/msg52462.html

    Signed-off-by: Ezequiel Garcia
    Signed-off-by: Mauro Carvalho Chehab

    Ezequiel Garcia
     
  • This patch adds driver for Samsung S5K4ECGX image sensor with an
    embedded SoC ISP. The driver only implements preview operation mode
    and still capture (snapshot) and face detection features are missing
    now. Following controls are supported: contrast, saturation,
    brightness, sharpness.

    Signed-off-by: Sangwook Lee
    Reviewed-by: Sylwester Nawrocki
    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Mauro Carvalho Chehab

    Sangwook Lee
     

26 Sep, 2012

10 commits


18 Sep, 2012

1 commit


14 Sep, 2012

7 commits

  • Signed-off-by: Laurent Pinchart
    Acked-by: Sakari Ailus
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • These helper functions get and set a 64-bit control's value from within
    a driver. They are similar to v4l2_ctrl_[gs]_ctrl() but operate on
    64-bit integer controls instead of 32-bit controls.

    Signed-off-by: Laurent Pinchart
    Acked-by: Hans Verkuil
    Acked-by: Sakari Ailus
    Signed-off-by: Mauro Carvalho Chehab

    Laurent Pinchart
     
  • Initial version of this driver.

    The full datasheets are available from the Analog Devices website:

    http://ez.analog.com/docs/DOC-1741

    Not all features of the receiver are supported by this driver for various
    reasons. Most notably:

    - No CEC support (the CEC API needs a lot more discussion)
    - No HDCP repeater support (we don't use that either)

    I'm sure that there are more things missing, but this driver does work
    well for our hardware.

    Note that I am using the register addresses instead of register names: the
    datasheet containing the register descriptions is organized by register
    address. Using names would make the datasheet lookup very hard. An attempt
    was made to try and document what is being done when registers are used
    instead.

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

    Hans Verkuil
     
  • Initial version of this driver.

    The full datasheets are available from the Analog Devices website:

    http://ez.analog.com/docs/DOC-1545

    Not all features of the receiver are supported by this driver for various
    reasons. Most notably:

    - No CEC support (the CEC API needs a lot more discussion)
    - Only port A of the four HDMI input ports is implemented (our hardware only
    uses that port)
    - No HDCP repeater support (we don't use that either)

    And since there are some 600-odd pages of datasheet for this single device,
    I'm sure that there are many more things missing, but this driver does work
    well for our hardware.

    Note that I am using the register addresses instead of register names: the
    datasheet containing the register descriptions is organized by register
    address. Using names would make the datasheet lookup very hard. An attempt
    was made to try and document what is being done when registers are used
    instead.

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

    Hans Verkuil
     
  • These two helper functions detect whether the analog video timings detected
    by the video receiver match the VESA CVT or GTF standards.

    They basically do the inverse of the CVT and GTF modeline calculations.

    This patch also adds a helper function that will determine the aspect ratio
    based on the provided EDID values. This aspect ratio can be given to the GTF
    helper function.

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

    Hans Verkuil
     
  • Add the v4l_match_dv_timings function that can be used to compare two
    v4l2_dv_timings structs.

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

    Hans Verkuil
     
  • Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

16 Aug, 2012

2 commits


14 Aug, 2012

2 commits

  • This is the driver for the IR transmitter diode found on the Nokia
    N900 (also known as RX51) device. The driver is mostly the same as
    found in the original 2.6.28 based kernel that comes with the device.

    The following modifications have been made compared to the original
    driver version:

    - Adopt to the changes that has happen in the kernel during the past
    five years, such as the change in the include paths

    - The OMAP DM-timers require much more care nowadays. The timers need
    to be enabled and disabled or otherwise many actions fail. Timers
    must not be freed without first stopping them or otherwise the timer
    cannot be requested again.

    The code has been tested with sending IR codes with N900 device
    running Debian userland. The device receiving the codes was Anysee
    DVB-C USB receiver.

    Signed-off-by: Timo Kokkonen
    Cc: Tony Lindgren
    Cc: linux-omap@vger.kernel.org
    Cc: Sakari Ailus
    Signed-off-by: Mauro Carvalho Chehab

    Timo Kokkonen
     
  • This callback were meant to allow overriding a FE callback, before its
    call, but it is not really needed, as the callback can be intercepted
    after tuner attachment.

    Worse than that, only DVBv3 calls are intercepted this way, so a DVBv5
    application will produce different effects than a DVBv3 one.

    So, get rid of it.

    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Antti Palosaari
    Reviewed-by: Antti Palosaari

    Mauro Carvalho Chehab
     

12 Aug, 2012

3 commits


10 Aug, 2012

1 commit