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

drm: rp1: dpi: Add support for MEDIA_BUS_FMT_RGB565_1X24_CPADHI #6132

Merged
merged 1 commit into from Apr 30, 2024

Conversation

njhollinghurst
Copy link
Contributor

This new format corresponds to the Raspberry Pi legacy DPI mode 3. This should enable it to work on Raspberry Pi 5.

I suppose I should test it before merging!

XXX we still don't have a way to get DPI mode 4. RGB666_1X24_CPADHI will put the bits in the right places, a named pinctrl is defined for Raspberry Pi 5 / RP1, but no pinctrl is defined for earlier Raspberry Pi models.

This new format corresponds to the Raspberry Pi legacy DPI mode 3.

Signed-off-by: Nick Hollinghurst <nick.hollinghurst@raspberrypi.com>
@6by9
Copy link
Contributor

6by9 commented Apr 29, 2024

LGTM

XXX we still don't have a way to get DPI mode 4. RGB666_1X24_CPADHI will put the bits in the right places, a named pinctrl is defined for Raspberry Pi 5 / RP1, but no pinctrl is defined for earlier Raspberry Pi models.

I haven't heard anyone complain that mode 4 is missing from vc4 and rp1 kernel drivers. Selecting RGB666_1X24_CPADHI and amending the pinctrl is the way to do it, but it's not high on my priority list.

@njhollinghurst
Copy link
Contributor Author

A quick test using VGA666 board, kmstest and poking around with an oscilloscope suggests it's doing the expected things.

@njhollinghurst njhollinghurst marked this pull request as ready for review April 30, 2024 19:00
@pelwell pelwell merged commit 7c145d6 into raspberrypi:rpi-6.6.y Apr 30, 2024
12 checks passed
popcornmix added a commit to raspberrypi/firmware that referenced this pull request May 3, 2024
kernel: DSI0 colour swap fixes
See: raspberrypi/linux#6094

kernel: overlays: Add overlay for the Pineboards Hat Ai!
See: raspberrypi/linux#6126

kernel: drm: rp1: dpi: Add support for MEDIA_BUS_FMT_RGB565_1X24_CPADHI
See: raspberrypi/linux#6132
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this pull request May 3, 2024
kernel: DSI0 colour swap fixes
See: raspberrypi/linux#6094

kernel: overlays: Add overlay for the Pineboards Hat Ai!
See: raspberrypi/linux#6126

kernel: drm: rp1: dpi: Add support for MEDIA_BUS_FMT_RGB565_1X24_CPADHI
See: raspberrypi/linux#6132
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.

None yet

3 participants