Skip to content

KMS VGA666 overlay - #4141

Merged
pelwell merged 4 commits into
raspberrypi:rpi-5.10.yfrom
6by9:rpi-5.10.y-dpi
Feb 16, 2021
Merged

pelwell merged 4 commits into
raspberrypi:rpi-5.10.yfrom
6by9:rpi-5.10.y-dpi

Conversation

@6by9

@6by9 6by9 commented Feb 12, 2021

Copy link
Copy Markdown
Contributor

Adds an overlay for the VGA666 under full KMS.

If you don't have DDC connected through a level shifter then you'll need a video=VGA-1.... entry in cmdline.txt, or add it via xrandr.

Comment thread arch/arm/boot/dts/overlays/README Resolved
@pelwell

pelwell commented Feb 12, 2021

Copy link
Copy Markdown
Contributor

Although these fragments aren't listed in application order, it doesn't matter because the intra-first rule is sufficient provided you don't have fragments that target fragments that target fragments.

6by9 added 4 commits February 16, 2021 16:39
VGA666 doesn't use the DE or PCLK signals, therefore there is
no point in claiming their use. It's also then possible to
use GPIOs 0&1 for DDC to read the EDID from the display.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
VGA666 uses "vga-connector" from DRM_DISPLAY_CONNECTOR, and
"dumb-vga-dac" from DRM_SIMPLE_BRIDGE to connect up, so add them
to the defconfigs.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Includes optional use of GPIOs 0&1 / BSC0 for DDC to read the EDID
from the display.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
DPI hasn't really been used up until now, so the default has
been meaningless.
In theory we should be able to pass the desired format for the
adjacent bridge chip through, but framework seems to be missing
for that.

As the main device to use DPI is the VGA666 or Adafruit Kippah,
both of which use RGB666, change the default to being RGB666 instead
of RGB888.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
@6by9

6by9 commented Feb 16, 2021

Copy link
Copy Markdown
Contributor Author

Updated.
I've also added a note under vga666 (which just sets the GPIOs to alt2) that it is not for use with vc4-kms-v3d as you'll get a clash over the GPIOs.

@pelwell
pelwell merged commit 71db517 into raspberrypi:rpi-5.10.y Feb 16, 2021
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Feb 22, 2021
kernel: PiFi DAC overlays
See: raspberrypi/linux#4154

kernel: staging: rpivid: Fix crash when CMA alloc fails
See: raspberrypi/linux#4152

kernel: Imx477 long exposure control
See: raspberrypi/linux#4150

kernel: configs: Change CONFIG_BLK_DEV_NVME=y for 2711
See: raspberrypi/linux#4164

kernel: Some fixes to make imx290/imx327 exposure and vblank updates work correctly
See: raspberrypi/linux#4153

kernel: KMS VGA666 overlay
See: raspberrypi/linux#4141

kernel: gpio-fsm: Fix shutdown timeout handling

kernel: configs: Add various missing IPV6 modules
See: raspberrypi/linux#4144
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Feb 22, 2021
kernel: PiFi DAC overlays
See: raspberrypi/linux#4154

kernel: staging: rpivid: Fix crash when CMA alloc fails
See: raspberrypi/linux#4152

kernel: Imx477 long exposure control
See: raspberrypi/linux#4150

kernel: configs: Change CONFIG_BLK_DEV_NVME=y for 2711
See: raspberrypi/linux#4164

kernel: Some fixes to make imx290/imx327 exposure and vblank updates work correctly
See: raspberrypi/linux#4153

kernel: KMS VGA666 overlay
See: raspberrypi/linux#4141

kernel: gpio-fsm: Fix shutdown timeout handling

kernel: configs: Add various missing IPV6 modules
See: raspberrypi/linux#4144
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.

2 participants