Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera fixups for 6.6 #5613

Merged
merged 6 commits into from
Sep 25, 2023
Merged

Camera fixups for 6.6 #5613

merged 6 commits into from
Sep 25, 2023

Commits on Sep 22, 2023

  1. media: bcm2835-unicam: Fix up async notifier usage

    Fixes "8a090fc3e549 bcm2835-unicam: hacks to allow it to build"
    6by9 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    9fa1e58 View commit details
    Browse the repository at this point in the history
  2. media: i2c: imx219: make HBLANK r/w to allow longer exposures

    The HBLANK control was read-only, and always configured such
    that the sensor HTS register was 3448. This limited the maximum
    exposure time that could be achieved to around 1.26 secs.
    
    Make HBLANK read/write so that the line time can be extended,
    and thereby allow longer exposures (and slower frame rates).
    Retain the overall HTS setting when changing modes rather than
    resetting it to a default.
    
    Signed-off-by: Dave Stevenson <[email protected]>
    6by9 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    5d2cbe4 View commit details
    Browse the repository at this point in the history
  3. media: imx219: Advertise embedded data node on media pad 1

    This commit updates the imx219 driver to adverise support for embedded
    data streams.  This can then be used by the bcm2835-unicam driver, which
    has recently been updated to expose the embedded data stream to
    userland.
    
    The imx219 sensor subdevice overloads the media pad to differentiate
    between image stream (pad 0) and embedded data stream (pad 1) when
    performing the v4l2_subdev_pad_ops functions.
    
    Signed-off-by: Naushir Patuck <[email protected]>
    Signed-off-by: Dave Stevenson <[email protected]>
    naushir authored and 6by9 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    d86e6b2 View commit details
    Browse the repository at this point in the history
  4. media: i2c: imx219: Scale the pixel clock rate for the 640x480 mode

    The 640x480 mode uses a special binning mode for high framerate operation where
    the pixel rate is effectively doubled. Account for this when setting up the
    pixel clock rate, and applying the vblank and exposure controls.
    
    Signed-off-by: Naushir Patuck <[email protected]>
    naushir authored and 6by9 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    fe7adbf View commit details
    Browse the repository at this point in the history
  5. media: i2c: imx219: fix binning and rate_factor for 480p and 1232p

    At a high FPS with RAW10, there is frame corruption for 480p because the
    rate_factor of 2 is used with the normal 2x2 bining [1]. This commit
    ties the rate_factor to the selected binning mode. For the 480p mode,
    analog 2x2 binning mode with a rate_factor of 2 is always used. For the
    1232p mode the normal 2x2 binning mode is used for RAW10 while analog
    2x2 binning mode is used for RAW8.
    
    [1] raspberrypi#5493
    
    Signed-off-by: Vinay Varma <[email protected]>
    Reworked due to upstream changes
    Signed-off-by: Dave Stevenson <[email protected]>
    vvarma authored and 6by9 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    90eea84 View commit details
    Browse the repository at this point in the history
  6. fixup video-mux

    Signed-off-by: Dave Stevenson <[email protected]>
    6by9 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    79fa290 View commit details
    Browse the repository at this point in the history