Skip to content

Commit

Permalink
ARM: dts: Permanently disable hdmi1 and ddc1 on CM4S
Browse files Browse the repository at this point in the history
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: raspberrypi/linux#4857

Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
pelwell authored and popcornmix committed Apr 6, 2022
1 parent 4db03e2 commit 1bb4d12
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arch/arm/boot/dts/bcm2711-rpi-cm4s.dts
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,16 @@
};
};

/* Permanently disable HDMI1 */
&hdmi1 {
compatible = "disabled";
};

/* Permanently disable DDC1 */
&ddc1 {
compatible = "disabled";
};

&leds {
act_led: led-act {
label = "led0";
Expand Down

0 comments on commit 1bb4d12

Please sign in to comment.