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

Improve NXP CSI and MIPI_CSI2Rx drivers #76475

Commits on Oct 24, 2024

  1. dts-bindings: video: ov7725: Use video interfaces binding

    Switch to use the new video interfaces binding
    
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    31e9847 View commit details
    Browse the repository at this point in the history
  2. dts-bindings: video: mt9m114: Use video interfaces binding

    Switch to use the new video interfaces binding
    
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    8507244 View commit details
    Browse the repository at this point in the history
  3. dts-bindings: video: ov5640: Use video interfaces binding

    Switch to use the new video interfaces binding
    
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    5af4c2b View commit details
    Browse the repository at this point in the history
  4. dts-bindings: video: mipicsi2rx: Use video interfaces bindings

    Switch to use the new video interfaces bindings
    
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    ac2e131 View commit details
    Browse the repository at this point in the history
  5. dts-bindings: video: csi: Use video interfaces bindings

    Switch to use the new video interfaces bindings
    
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    36be625 View commit details
    Browse the repository at this point in the history
  6. boards: shields: nxp_btb44_ov5640: Add some endpoint properties

    The ov5640 camera driver now supports both MIPI CSI2 (DPHY) and DVP
    modes. It is in MIPI CSI2 mode in this overlay. Add bus-type property
    for this. In this mode, data-lanes property is required as well.
    
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    95c31de View commit details
    Browse the repository at this point in the history
  7. drivers: video: mipi_csi2rx: Get data lanes number from devicetree

    Get number of data lanes from device tree instead of hard-coding it.
    
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    0732cf1 View commit details
    Browse the repository at this point in the history
  8. drivers: video: mipi_csi2rx: Drop sensor device phandle reference

    The peer remote device "sensor_dev" can be retrieved from the
    remote-endpoint-label. Direct reference via phandle is not needed.
    
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    5a2ddea View commit details
    Browse the repository at this point in the history
  9. drivers: video: mipi_csi2rx: Add set_ctrl callback

    Add set_ctrl callback to propagate controls to the sensor.
    
    Signed-off-by: Farah Fliss <[email protected]>
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    0xFarahFl authored and ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    e95d199 View commit details
    Browse the repository at this point in the history
  10. drivers: video: mipi_csi2rx: Set clocks according to pixel rate

    Instead of fixing csi2rx clock frequencies, set them according to the
    pixel rate got from the camera sensor.
    
    Signed-off-by: Trung Hieu Le <[email protected]>
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    trunghieulenxp authored and ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    7528267 View commit details
    Browse the repository at this point in the history
  11. drivers: video: mipi_csi2rx: Add support for changing frame rate

    Add support for changing frame rate.
    
    Signed-off-by: Trung Hieu Le <[email protected]>
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    trunghieulenxp authored and ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    f4bb2da View commit details
    Browse the repository at this point in the history
  12. include: video: Add an utility function to get bytes per pixel

    As getting bytes per pixel of a pixel format is a very common operation,
    add an utility function for it instead of repeating the same codes in
    different drivers.
    
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    9a61086 View commit details
    Browse the repository at this point in the history
  13. drivers: video: csi: Add support for changing frame rate

    Add support for changing frame rate
    
    Signed-off-by: Trung Hieu Le <[email protected]>
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    trunghieulenxp authored and ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    c957768 View commit details
    Browse the repository at this point in the history
  14. drivers: video: csi: Remove obsolete comment

    Remove the obsolete comment about the init order of the CSI and the
    camera sensors (e.g. mt9m114) which is not true anymore.
    
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    c9849af View commit details
    Browse the repository at this point in the history
  15. drivers: video: csi: Drop source device phandle reference

    The peer remote device "source_dev" can be retrieved from the
    remote-endpoint-label. Direct reference via phandle is not needed.
    
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    aea820d View commit details
    Browse the repository at this point in the history
  16. drivers: video: csi: Increase init priority

    The CSI needs to be initialized BEFORE the camera sensor to provide
    clock to the camera sensor. It is now possible to do so as direct
    reference to the sensor via phandle is now removed. There will be
    no check failure on the init order anymore when compiling.
    
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    361c47f View commit details
    Browse the repository at this point in the history
  17. drivers: video: csi: Add NXP copyright

    The CSI is an NXP IP and the driver has been very much changed
    by NXP, so add NXP copyright to it.
    
    Signed-off-by: Phi Bang Nguyen <[email protected]>
    ngphibang committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    d07370c View commit details
    Browse the repository at this point in the history