f07e572f64
bcm2708: boot tested on RPi B+ v1.2 bcm2709: boot tested on RPi 3B v1.2 and RPi 4B v1.1 4G bcm2710: boot tested on RPi 3B v1.2 bcm2711: boot tested on RPi 4B v1.1 4G Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
69 lines
1.8 KiB
Diff
69 lines
1.8 KiB
Diff
From bbced22ee3d4c08612bbc35c860d2274e85d5a51 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Thu, 27 Aug 2020 18:57:26 +0100
|
|
Subject: [PATCH] overlays: Add option for composite to
|
|
vc4-kms-v3d-pi4.
|
|
|
|
Composite is an alternative to HDMI/DPI/DSI on Pi4 as it
|
|
requires very particular clock setups.
|
|
Add an option to vc4-kms-v3d-pi4 to enable composite and
|
|
disable all other graphics outputs.
|
|
|
|
NB This must be used in conjunction with enable_tvout=1
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
arch/arm/boot/dts/overlays/README | 2 ++
|
|
.../dts/overlays/vc4-kms-v3d-pi4-overlay.dts | 26 +++++++++++++++++++
|
|
2 files changed, 28 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/overlays/README
|
|
+++ b/arch/arm/boot/dts/overlays/README
|
|
@@ -2924,6 +2924,8 @@ Params: cma-256 CMA is 2
|
|
audio1 Enable or disable audio over HDMI1 (default
|
|
"on")
|
|
noaudio Disable all HDMI audio (default "off")
|
|
+ composite Enable the composite output (disables all other
|
|
+ outputs)
|
|
|
|
|
|
Name: vga666
|
|
--- a/arch/arm/boot/dts/overlays/vc4-kms-v3d-pi4-overlay.dts
|
|
+++ b/arch/arm/boot/dts/overlays/vc4-kms-v3d-pi4-overlay.dts
|
|
@@ -152,9 +152,35 @@
|
|
};
|
|
};
|
|
|
|
+ fragment@21 {
|
|
+ target = <&pixelvalve3>;
|
|
+ __dormant__ {
|
|
+ status = "okay";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ fragment@22 {
|
|
+ target = <&vec>;
|
|
+ __dormant__ {
|
|
+ status = "okay";
|
|
+ };
|
|
+ };
|
|
+
|
|
__overrides__ {
|
|
audio = <0>,"!17";
|
|
audio1 = <0>,"!18";
|
|
noaudio = <0>,"=17", <0>,"=18", <0>,"!19";
|
|
+ composite = <0>, "!1",
|
|
+ <0>, "!2",
|
|
+ <0>, "!3",
|
|
+ <0>, "!4",
|
|
+ <0>, "!6",
|
|
+ <0>, "!7",
|
|
+ <0>, "!8",
|
|
+ <0>, "!9",
|
|
+ <0>, "!10",
|
|
+ <0>, "!16",
|
|
+ <0>, "=21",
|
|
+ <0>, "=22";
|
|
};
|
|
};
|