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

dts: ov5647 Fix link frequency and media: i2c: ov5647: Add checks for link frequency #6431

Closed
wants to merge 5 commits into from

Commits on Oct 22, 2024

  1. dts: ov5647: Fix incorrect link frequency

    Updated the link frequency from 297000000 to the
    correct values of 218500000 and 208333000
    
    Link frequency 297000000  was not used in the driver and was incorrect.
    
    Signed-off-by: Dominik Bajec <[email protected]>
    Bajec committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    68d0631 View commit details
    Browse the repository at this point in the history
  2. media: i2c: ov5647: Add checks for link frequency

    Added validation for the `link-frequency` property in the driver. The new checks ensure that:
    - The link-frequency property is present in the device tree
    - The number of link frequencies matches the ov5647_link_freqs array size
    - The link frequencies in the device tree match the supported values in ov5647_link_freqs array
    
    These checks help avoid misconfigurations and prevent runtime errors due to incorrect declarations
    
    Signed-off-by: Dominik Bajec <[email protected]>
    Bajec committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    25c0edc View commit details
    Browse the repository at this point in the history
  3. media: i2c: ov5647: Add checks for link frequency

    Added validation for the link-frequency in the driver.
    The new checks ensure that:
    - The link-frequency property is present in the device tree
    - The number of link frequencies matches the ov5647_link_freqs array size
    - The link frequencies in the device tree match the supported
      values in ov5647_link_freqs array
    
    These checks help avoid misconfigurations and prevent
    runtime errors due to incorrect declarations
    
    Signed-off-by: Dominik Bajec <[email protected]>
    Bajec committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    2f31f9c View commit details
    Browse the repository at this point in the history
  4. dts: ov5647: Fix incorrect link frequency

    Updated the link frequency from 297000000 to the
    correct values of 218500000 and 208333000
    
    Link frequency 297000000  was not used in the driver and was incorrect.
    
    Signed-off-by: Dominik Bajec <[email protected]>
    Bajec committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    c2e44e1 View commit details
    Browse the repository at this point in the history
  5. dts: ov5647: Fix incorrect link frequency

    Updated the link frequency from 297000000 to the
    correct values of 218500000 and 208333000
    
    Link frequency 297000000  was not used in the driver and was incorrect.
    
    Signed-off-by: Dominik Bajec <[email protected]>
    Bajec committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    ae7a94a View commit details
    Browse the repository at this point in the history