dae08fe9e3bc7b0f79b6c3e9564eeb07dd03cb57
[openwrt/staging/noltari.git] /
1 From 8c4205446ace4f14ec8725d11f46b570e9bc1fd3 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Fri, 23 Oct 2020 14:15:41 +0100
4 Subject: [PATCH] overlays: Add option to disable composite to
5 vc4-kms-v3d
6
7 Composite gets enabled automatically if HDMI isn't detected,
8 which can cause some grief in X should it be not connected
9 and touchscreens are in use.
10
11 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
12 ---
13 arch/arm/boot/dts/overlays/README | 2 ++
14 arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts | 1 +
15 2 files changed, 3 insertions(+)
16
17 --- a/arch/arm/boot/dts/overlays/README
18 +++ b/arch/arm/boot/dts/overlays/README
19 @@ -2949,6 +2949,8 @@ Params: cma-512 CMA is 5
20 cma-default Use upstream's default value
21 audio Enable or disable audio over HDMI (default "on")
22 noaudio Disable all HDMI audio (default "off")
23 + nocomposite Disable the composite video output (default
24 + "off")
25
26
27 Name: vc4-kms-v3d-pi4
28 --- a/arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts
29 +++ b/arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts
30 @@ -118,5 +118,6 @@
31 __overrides__ {
32 audio = <0>,"!13", <0>,"=14";
33 noaudio = <0>,"=13", <0>,"!14";
34 + nocomposite = <0>, "!11";
35 };
36 };