ARM: dts: Permanently disable hdmi1 and ddc1 on CM4S
authorPhil Elwell <phil@raspberrypi.com>
Wed, 2 Feb 2022 17:47:54 +0000 (17:47 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:42 +0000 (16:04 +0000)
commit9c08a31a38e9d8041f34a30fa8b6b4ec460a0449
tree2ccbcd01b0280d17218e45c23964064ffd8a4fff
parent227007aca8a7fe5bbf76795a6e001b8ef6edf902
ARM: dts: Permanently disable hdmi1 and ddc1 on CM4S

CM4S has no HDMI1 output, so it is advisable to disable the controller
and its I2C interface in software. This is ordinarily done by setting
their status properties to "disabled", but the vc4-kms-v3d(-pi4)
overlay enables both HDMIs and DDCs as part of the transfer of control
from the VPU.

Knobble the CM4S dts in such a way that the overlay applies
successfully but the hdmi1 and ddc1 nodes remain disabled by changing
the compatible string to something unrecognised.

See: https://github.com/raspberrypi/linux/issues/4857

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm/boot/dts/bcm2711-rpi-cm4s.dts