Skip to content

ARM: dts: Fix camera sync parameters #6184

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

Merged
merged 1 commit into from
May 22, 2024
Merged

Conversation

pelwell
Copy link
Contributor

@pelwell pelwell commented May 22, 2024

The camera sync parameter declarations include are invalid in that they have both embedded string values and following cell values. The intention here was to use the cell values, but the embedded "0" was not removed as it should have been.

The implication of this mistake is that inverted sync flags would be ignored because the 0 value corresponds to GPIO_ACTIVE_HIGH. The extra cell value would be treated as the start of another override, but then ignored because the end of the parameter is reached.

These errors should have been picked up by the automated checks, but the base dts files weren't subjected to the same validation. This has now been corrected.

The camera sync parameter declarations include are invalid in that they
have both embedded string values and following cell values. The
intention here was to use the cell values, but the embedded "0" was
not removed as it should have been.

The implication of this mistake is that inverted sync flags would be
ignored because the 0 value corresponds to GPIO_ACTIVE_HIGH. The
extra cell value would be treated as the start of another override,
but then ignored because the end of the parameter is reached.

These errors should have been picked up by the automated checks, but
the base dts files weren't subjected to the same validation. This has
now been corrected.

Signed-off-by: Phil Elwell <[email protected]>
@pelwell
Copy link
Contributor Author

pelwell commented May 22, 2024

@6by9 FYI the inverted sync parameters introduced by #6088 were almost certainly broken.

@pelwell pelwell merged commit a59df15 into raspberrypi:rpi-6.6.y May 22, 2024
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request May 24, 2024
See: raspberrypi/linux#6180

kernel: drivers: staging: bcm2835-isp: Respect caller's stride value
See: raspberrypi/linux#5960

kernel: drivers: pcie-brcmstb: add best-effort workaround for QoS bug on bcm2712
See: raspberrypi/linux#6183

kernel: ARM: dts: Fix camera sync parameters
See: raspberrypi/linux#6184

kernel: Add association between DRM panels and backlight where defined
See: raspberrypi/linux#6177
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request May 24, 2024
See: raspberrypi/linux#6180

kernel: drivers: staging: bcm2835-isp: Respect caller's stride value
See: raspberrypi/linux#5960

kernel: drivers: pcie-brcmstb: add best-effort workaround for QoS bug on bcm2712
See: raspberrypi/linux#6183

kernel: ARM: dts: Fix camera sync parameters
See: raspberrypi/linux#6184

kernel: Add association between DRM panels and backlight where defined
See: raspberrypi/linux#6177
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant