Skip to content

Commit 6b7afd0

Browse files
6by9pelwell
authored andcommitted
dtoverlays: Add nohdmi options to vc4-kms-v3d overlays
There are cases where hotplug detect is incorrectly wired or it is desired that the HDMI outputs are disabled. Add an override to vc4-kms-v3d and vc4-kms-v3d-pi4 to do that. https://forums.raspberrypi.com/viewtopic.php?t=337623 Signed-off-by: Dave Stevenson <[email protected]>
1 parent e05a335 commit 6b7afd0

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

arch/arm/boot/dts/overlays/README

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4126,6 +4126,7 @@ Params: cma-512 CMA is 512MB (needs 1GB)
41264126
noaudio Disable all HDMI audio (default "off")
41274127
composite Enable the composite output (default "off")
41284128
N.B. Disables all other outputs on a Pi 4.
4129+
nohdmi Disable HDMI output
41294130

41304131

41314132
Name: vc4-kms-v3d-pi4
@@ -4149,6 +4150,10 @@ Params: cma-512 CMA is 512MB
41494150
noaudio Disable all HDMI audio (default "off")
41504151
composite Enable the composite output (disables all other
41514152
outputs)
4153+
nohdmi Disable both HDMI 0 & 1 outputs
4154+
nohdmi0 Disable HDMI 0 output
4155+
nohdmi1 Disable HDMI 1 output
4156+
41524157

41534158

41544159
Name: vc4-kms-vga666

arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,6 @@
119119
audio = <0>,"!13";
120120
noaudio = <0>,"=13";
121121
composite = <0>, "=11";
122+
nohdmi = <0>, "-1-7";
122123
};
123124
};

arch/arm/boot/dts/overlays/vc4-kms-v3d-pi4-overlay.dts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,5 +193,8 @@
193193
<0>, "!16",
194194
<0>, "=21",
195195
<0>, "=22";
196+
nohdmi0 = <0>, "-1-3-8";
197+
nohdmi1 = <0>, "-2-4-10";
198+
nohdmi = <0>, "-1-2-3-4-8-10";
196199
};
197200
};

0 commit comments

Comments
 (0)