Skip to content

drivers: mipi_dbi: spi: add tearing effect support #92054

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

cdrask
Copy link
Contributor

@cdrask cdrask commented Jun 23, 2025

Add tearing effect support for better display synchronization. This
allows users to configure an external interrupt on falling/rising edges
of the gpio connected to the display controllers tearing effect pin.
See dt-bindings/mipi_dbi/mipi_dbi.h for details of how this works for
mipi_dbi display interfaces.

@cdrask cdrask force-pushed the tearing_effect_support_mipi_dbi_spi_display_driver branch 4 times, most recently from a37deab to 5d9f05f Compare June 25, 2025 16:04
cdrask added 3 commits June 25, 2025 19:38
Add tearing effect support for better display synchronization. This
allows users to configure an external interrupt on falling/rising edges
of the gpio connected to the display controllers tearing effect pin.
See dt-bindings/mipi_dbi/mipi_dbi.h for details of how this works for
mipi_dbi display interfaces.

Signed-off-by: Christian Rask <christianrask2@gmail.com>
Add tearing effect support for better display synchronization. If
tearing effect is configured in the mipi_dbi device, the display
controller configures its tearing effect register.
Display orientation configuration is updated to also rotated the
direction of the display pixel vertical scanline, such that scan order
matches the display orientation.

Signed-off-by: Christian Rask <christianrask2@gmail.com>
Add tearing effect configuration of the spi display. The falling edge
of the tearing signal is chosen because the spi bandwidth is lower than
the display refresh rate at 60fps.

Signed-off-by: Christian Rask <christianrask2@gmail.com>
@cdrask cdrask force-pushed the tearing_effect_support_mipi_dbi_spi_display_driver branch from 5d9f05f to 3a7291f Compare June 25, 2025 17:38
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants