Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CM4s: vc4-kms-v3d fails if hdmi1 is missing #4857

Closed
nbuchwitz opened this issue Jan 30, 2022 · 18 comments
Closed

CM4s: vc4-kms-v3d fails if hdmi1 is missing #4857

nbuchwitz opened this issue Jan 30, 2022 · 18 comments

Comments

@nbuchwitz
Copy link
Contributor

Describe the bug

On compute module 4s the kms v3d driver overlay fails. Could this caused by the deletation in the device tree (https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/bcm2711-rpi-cm4s.dts#L209)?

005050.304: brfs: File read: /mfs/sd/overlays/vc4-kms-v3d-pi4.dtbo
005064.801: dterror: can't find symbol 'hdmi1'
005064.811: Failed to resolve overlay 'vc4-kms-v3d'

Steps to reproduce the behaviour

  1. Edit /boot/config.txt and enable dtoverlay=vc4-kms-v3d
  2. Reboot
  3. Run vcdbg log msg

Device (s)

Raspberry Pi CM4

System

os

Raspberry Pi reference 2021-05-07
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, dcfd74d7d1fa293065ac6d565711e9ff891fe2b8, stage4

firmware

Dec  1 2021 15:01:54
Copyright (c) 2012 Broadcom
version 71bd3109023a0c8575585ba87cbb374d2eeb038f (clean) (release) (start)

kernel

Linux RevPi6351 5.10.92-rt60-v7l+ #8 SMP PREEMPT_RT Mon, 24 Jan 2022 15:51:23 +0000 armv7l GNU/Linux

Logs

003798.674: arasan: arasan_emmc_open
004276.158: brfs: File read: /mfs/sd/config.txt
004276.988: brfs: File read: 1938 bytes
004282.491: brfs: File read: /mfs/sd/dt-blob.bin
004286.628: gpioman: configuration attempt 1 failed (error 1) - bad dt-blob.bin?
004314.535: gpioman: configuration attempt 2 succeeded - using built-in dt-blob
004379.896: HDMI1:EDID error reading EDID block 0 attempt 0
004385.921: HDMI1:EDID error reading EDID block 0 attempt 1
004391.943: HDMI1:EDID error reading EDID block 0 attempt 2
004397.967: HDMI1:EDID error reading EDID block 0 attempt 3
004403.990: HDMI1:EDID error reading EDID block 0 attempt 4
004410.014: HDMI1:EDID error reading EDID block 0 attempt 5
004416.036: HDMI1:EDID error reading EDID block 0 attempt 6
004422.060: HDMI1:EDID error reading EDID block 0 attempt 7
004428.083: HDMI1:EDID error reading EDID block 0 attempt 8
004434.107: HDMI1:EDID error reading EDID block 0 attempt 9
004435.120: HDMI1:EDID giving up on reading EDID block 0
004435.201: brfs: File read: 43162 bytes
004437.901: brfs: File read: /mfs/sd/config.txt
004438.706: gpioman: gpioman_get_pin_num: pin DISPLAY_SDA not defined
004438.723: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
004448.237: gpioman: gpioman_get_pin_num: pin FLASH_0_ENABLE not defined
004448.252: gpioman: gpioman_get_pin_num: pin FLASH_0_INDICATOR not defined
004448.281: gpioman: gpioman_get_pin_num: pin FLASH_0_ENABLE not defined
004448.298: gpioman: gpioman_get_pin_num: pin FLASH_0_INDICATOR not defined
004737.972: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
004738.016: *** Restart logging
004738.036: brfs: File read: 1938 bytes
004803.933: hdmi: HDMI1:EDID error reading EDID block 0 attempt 0
004809.959: hdmi: HDMI1:EDID error reading EDID block 0 attempt 1
004815.985: hdmi: HDMI1:EDID error reading EDID block 0 attempt 2
004822.012: hdmi: HDMI1:EDID error reading EDID block 0 attempt 3
004828.035: hdmi: HDMI1:EDID error reading EDID block 0 attempt 4
004838.239: hdmi: HDMI1:EDID error reading EDID block 0 attempt 5
004846.851: hdmi: HDMI1:EDID error reading EDID block 0 attempt 6
004852.905: hdmi: HDMI1:EDID error reading EDID block 0 attempt 7
004858.955: hdmi: HDMI1:EDID error reading EDID block 0 attempt 8
004865.007: hdmi: HDMI1:EDID error reading EDID block 0 attempt 9
004866.041: hdmi: HDMI1:EDID giving up on reading EDID block 0
004871.135: hdmi: HDMI1:EDID error reading EDID block 0 attempt 0
004877.187: hdmi: HDMI1:EDID error reading EDID block 0 attempt 1
004883.250: hdmi: HDMI1:EDID error reading EDID block 0 attempt 2
004889.303: hdmi: HDMI1:EDID error reading EDID block 0 attempt 3
004895.352: hdmi: HDMI1:EDID error reading EDID block 0 attempt 4
004901.405: hdmi: HDMI1:EDID error reading EDID block 0 attempt 5
004907.455: hdmi: HDMI1:EDID error reading EDID block 0 attempt 6
004913.507: hdmi: HDMI1:EDID error reading EDID block 0 attempt 7
004919.557: hdmi: HDMI1:EDID error reading EDID block 0 attempt 8
004925.609: hdmi: HDMI1:EDID error reading EDID block 0 attempt 9
004926.642: hdmi: HDMI1:EDID giving up on reading EDID block 0
004934.372: HDMI0: hdmi_pixel_encoding: 300000000
004934.387: HDMI1: hdmi_pixel_encoding: 300000000
004935.204: gpioman: gpioman_get_pin_num: pin CAMERA_0_I2C_PORT not defined
004935.225: dtb_file 'bcm2711-rpi-cm4s.dtb'
004942.015: brfs: File read: /mfs/sd/bcm2711-rpi-cm4s.dtb
004942.033: Loading 'bcm2711-rpi-cm4s.dtb' to 0x100 size 0xbd8e
004954.556: brfs: File read: 48526 bytes
004965.798: brfs: File read: /mfs/sd/overlays/overlay_map.dtb
005028.137: brfs: File read: 1703 bytes
005029.734: brfs: File read: /mfs/sd/config.txt
005030.210: dtparam: audio=on
005040.242: brfs: File read: 1938 bytes
005050.304: brfs: File read: /mfs/sd/overlays/vc4-kms-v3d-pi4.dtbo
005064.801: dterror: can't find symbol 'hdmi1'
005064.811: Failed to resolve overlay 'vc4-kms-v3d'
005065.277: brfs: File read: 3823 bytes
005067.626: brfs: File read: /mfs/sd/overlays/dwc2.dtbo
005073.511: Loaded overlay 'dwc2'
005073.523: dtparam: dr_mode=host
005083.516: brfs: File read: 801 bytes
005088.486: brfs: File read: /mfs/sd/overlays/revpi-core.dtbo
005107.724: Loaded overlay 'revpi-core'
005107.752: dtparam: eth0_mac_hi=0xc83ea700
005108.964: dtparam: eth0_mac_lo=0x2ae5
005366.634: brfs: File read: 3987 bytes
005368.376: brfs: File read: /mfs/sd/cmdline.txt
005368.453: Read command line from file 'cmdline.txt':
005368.481: 'dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait nosplash plymouth.ignore-serial-consoles'
005618.019: brfs: File read: 154 bytes
007061.453: brfs: File read: /mfs/sd/kernel7l.img
007061.489: Loading 'kernel7l.img' to 0x8000 size 0x6af9f0
007061.533: Device tree loaded to 0x2eff3600 (size 0xc933)
007069.240: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
009235.066: vchiq_core: vchiq_init_state: slot_zero = 0xead80000, is_master = 1
009237.131: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
009237.209: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
009243.169: TV service:host side not connected, dropping notification 0x00000002, 0x00000001, 0x00000004
009243.194: TV service:host side not connected, dropping notification 0x00000002, 0x00000002, 0x00000004

Additional context

No response

@nbuchwitz
Copy link
Contributor Author

nbuchwitz commented Jan 30, 2022

I tried with the same kernel with an modified cm4s overlay, where I removed the /delete-node/ &hdmi1. With this overlay the driver loads as expected (but screen went dark after switching over to v3d for a long time):

005081.790: brfs: File read: /mfs/sd/overlays/vc4-kms-v3d-pi4.dtbo
005145.329: Loaded overlay 'vc4-kms-v3d'

dmesg contains the following errors:

[   53.850642] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:80:crtc-3] flip_done timed out
[   64.181826] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:80:crtc-3] flip_done timed out
[   74.444890] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[   84.695488] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:80:crtc-3] flip_done timed out

@nbuchwitz
Copy link
Contributor Author

Looks like the problem is here https://github.com/raspberrypi/linux/blob/rpi-5.10.y/arch/arm/boot/dts/overlays/vc4-kms-v3d-pi4-overlay.dts#L40

If I remove the hdmi1 reference from this overlay, the driver loads with the cm4s overlay. BTW: Is there any reason why ddc1 is not removed from the tree aswell?

@peterharperuk
Copy link

Thanks. The CM4S dtb was generated from the CM4 dtb. So ddc1 might just be something that we forgot to remove

@nbuchwitz
Copy link
Contributor Author

Thanks. The CM4S dtb was generated from the CM4 dtb. So ddc1 might just be something that we forgot to remove

OK, I'll send a PR for the cm4s with ddc1 removed

@6by9
Copy link
Contributor

6by9 commented Feb 2, 2022

vc4-kms-v3d-pi4 is largely intended for Pi4/400/CM4, so it needs to enable hdmi1 and ddc1. Failing to apply a fragment is considered fatal, so it can't immediately apply to CM4s if it doesn't have both nodes.

Options are either to leave hdmi1 and ddc1 present in the base DT, or have a new overlay for CM4s which omits trying to enable those nodes.
Whilst overlay_map.dts allows switching to an alternate overlay based on compatible, they all fall under bcm2711 so I don't believe that is an option.

@pelwell
Copy link
Contributor

pelwell commented Feb 2, 2022

It's a minor point, but it is the reference to the undefined symbol that is completely fatal - the whole overlay is skipped - rather than the failure to apply a fragment. Fragment application stops at the first failure - whether this is ideal behaviour is open to debate.

@pelwell
Copy link
Contributor

pelwell commented Feb 2, 2022

Feedback on the PR: #4863 (comment)

@nbuchwitz
Copy link
Contributor Author

nbuchwitz commented Feb 2, 2022

Imho is having a separate overlay (vc4-kms-cm4s?) for this the only reasonable way to do. Unless there is any hidden DSL magic which allows for a reference check before the fragment is applied...

If you can agree on this, I'm more than happy to submit a PR for this.

@6by9
Copy link
Contributor

6by9 commented Feb 2, 2022

It depends on exactly how things have been broken out on the board.

hdmi1 and ddc1 physically exists in the SoC so they can be enabled (which the existing vc4-kms-v3d-pi4 overlay will do). As long as the hot plug detect line has been wired low then it'll be enabled but just stay idle as there is no display connected.

@nbuchwitz
Copy link
Contributor Author

We haven't received schematics yet, so I can't check. Maybe @pelwell can clarify this internally.

@pelwell
Copy link
Contributor

pelwell commented Feb 2, 2022

The schematic shows, and the CM4S designer confirms, that the hotplug signal for HDMI1 is floating. Hopes of a hidden internal pull resistor, seem to be just that - hopes. It would therefore be wise not to enable the hotplug interrupt or the CEC I2C.

Someone here is going to have to come up with the least horrible solution for CM4S, and I think I know who that someone is.

@nbuchwitz
Copy link
Contributor Author

Thanks for the clarification. This probably explains my other issue aswell (#4858)

pelwell added a commit to pelwell/linux that referenced this issue Feb 2, 2022
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#4857
     raspberrypi#4858

Signed-off-by: Phil Elwell <[email protected]>
@pelwell
Copy link
Contributor

pelwell commented Feb 2, 2022

See #4869 for a possible workaround.

pelwell added a commit to pelwell/linux that referenced this issue Feb 2, 2022
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#4857
     raspberrypi#4858

Signed-off-by: Phil Elwell <[email protected]>
pelwell added a commit to pelwell/linux that referenced this issue Feb 3, 2022
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#4857
     raspberrypi#4858

Signed-off-by: Phil Elwell <[email protected]>
pelwell added a commit to pelwell/linux that referenced this issue Feb 3, 2022
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#4857

Signed-off-by: Phil Elwell <[email protected]>
pelwell added a commit that referenced this issue Feb 3, 2022
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: #4857

Signed-off-by: Phil Elwell <[email protected]>
@nbuchwitz
Copy link
Contributor Author

Fixed with #4869

pelwell added a commit that referenced this issue Feb 5, 2022
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: #4857

Signed-off-by: Phil Elwell <[email protected]>
pelwell added a commit that referenced this issue Feb 5, 2022
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: #4857

Signed-off-by: Phil Elwell <[email protected]>
pelwell added a commit that referenced this issue Feb 5, 2022
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: #4857

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Feb 7, 2022
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: #4857

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Feb 7, 2022
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: #4857

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Feb 7, 2022
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: #4857

Signed-off-by: Phil Elwell <[email protected]>
nbuchwitz pushed a commit to nbuchwitz/revpi-linux that referenced this issue Feb 9, 2022
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]>
nbuchwitz pushed a commit to nbuchwitz/revpi-linux that referenced this issue Feb 10, 2022
Commit c6a2e26 upstream

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]>
popcornmix pushed a commit that referenced this issue Aug 15, 2022
Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in #4857

Signed-off-by: Phil Elwell <[email protected]>
it-is-a-robot pushed a commit to openeuler-mirror/raspberrypi-kernel that referenced this issue Aug 18, 2022
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]>
it-is-a-robot pushed a commit to openeuler-mirror/raspberrypi-kernel that referenced this issue Aug 18, 2022
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]>
nbuchwitz pushed a commit to nbuchwitz/raspberrypi-linux that referenced this issue Aug 20, 2022
Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in raspberrypi#4857

Signed-off-by: Phil Elwell <[email protected]>
pelwell added a commit that referenced this issue Aug 20, 2022
Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in #4857

Signed-off-by: Phil Elwell <[email protected]>
popcornmix pushed a commit that referenced this issue Aug 23, 2022
Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in #4857

Signed-off-by: Phil Elwell <[email protected]>
limeng-linux pushed a commit to limeng-linux/linux-yocto-5.15 that referenced this issue Aug 24, 2022
commit  fca0308be9e2d516cb38a1686050e931a740ebe2 from
https://github.com/raspberrypi/linux.git rpi-5.15.y

Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in raspberrypi/linux#4857

Signed-off-by: Phil Elwell <[email protected]>
Signed-off-by: Meng Li <[email protected]>
limeng-linux pushed a commit to limeng-linux/linux-yocto-5.15 that referenced this issue Aug 24, 2022
commit  fca0308be9e2d516cb38a1686050e931a740ebe2 from
https://github.com/raspberrypi/linux.git rpi-5.15.y

Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in raspberrypi/linux#4857

Signed-off-by: Phil Elwell <[email protected]>
Signed-off-by: Meng Li <[email protected]>
limeng-linux pushed a commit to limeng-linux/linux-yocto-5.15 that referenced this issue Aug 25, 2022
commit  fca0308be9e2d516cb38a1686050e931a740ebe2 from
https://github.com/raspberrypi/linux.git rpi-5.15.y

Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in raspberrypi/linux#4857

Signed-off-by: Phil Elwell <[email protected]>
Signed-off-by: Meng Li <[email protected]>
nbuchwitz pushed a commit to nbuchwitz/revpi-linux that referenced this issue Sep 2, 2022
Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in raspberrypi/linux#4857

Signed-off-by: Phil Elwell <[email protected]>
papamoose pushed a commit to papamoose/ubuntu-kernel-raspi-jammy that referenced this issue Sep 3, 2022
BugLink: https://bugs.launchpad.net/bugs/1960323

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]>

(cherry picked from commit 630e76f61d76d307fbd660ec6d6081bdf08b7fdf rpi-5.15.y)
Signed-off-by: Juerg Haefliger <[email protected]>
nbuchwitz pushed a commit to nbuchwitz/revpi-linux that referenced this issue Sep 5, 2022
[commit 8e1110a upstream]

Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in raspberrypi/linux#4857

Signed-off-by: Phil Elwell <[email protected]>
Signed-off-by: Nicolai Buchwitz <[email protected]>
nbuchwitz pushed a commit to nbuchwitz/revpi-linux that referenced this issue Sep 5, 2022
[commit 6cab55b upstream]

Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in raspberrypi/linux#4857

Signed-off-by: Phil Elwell <[email protected]>
Signed-off-by: Nicolai Buchwitz <[email protected]>
nbuchwitz pushed a commit to RevolutionPi/linux that referenced this issue Sep 5, 2022
[commit 6cab55b upstream]

Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in raspberrypi/linux#4857

Signed-off-by: Phil Elwell <[email protected]>
Signed-off-by: Nicolai Buchwitz <[email protected]>
linosanfilippo-kunbus pushed a commit to RevolutionPi/linux that referenced this issue Sep 13, 2022
[commit 6cab55b upstream]

Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in raspberrypi/linux#4857

Signed-off-by: Phil Elwell <[email protected]>
Signed-off-by: Nicolai Buchwitz <[email protected]>
Demon000 pushed a commit to analogdevicesinc/linux that referenced this issue Sep 23, 2022
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]>
it-is-a-robot pushed a commit to openeuler-mirror/raspberrypi-kernel that referenced this issue Sep 30, 2022
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]>
it-is-a-robot pushed a commit to openeuler-mirror/raspberrypi-kernel that referenced this issue Dec 17, 2022
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]>
it-is-a-robot pushed a commit to openeuler-mirror/raspberrypi-kernel that referenced this issue Dec 17, 2022
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]>
lsahn-gh pushed a commit to lsahn-org/ubuntu-raspi that referenced this issue Jan 13, 2023
BugLink: https://bugs.launchpad.net/bugs/1982090

Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in raspberrypi/linux#4857

Signed-off-by: Phil Elwell <[email protected]>

(cherry picked from commit 2655c93c4b354cce7383679626b66e3b4f5f7497 rpi-5.19.y)
Signed-off-by: Juerg Haefliger <[email protected]>
it-is-a-robot pushed a commit to openeuler-mirror/raspberrypi-kernel that referenced this issue Apr 20, 2023
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]>
it-is-a-robot pushed a commit to openeuler-mirror/raspberrypi-kernel that referenced this issue Apr 20, 2023
Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in raspberrypi/linux#4857

Signed-off-by: Phil Elwell <[email protected]>
it-is-a-robot pushed a commit to openeuler-mirror/raspberrypi-kernel that referenced this issue May 19, 2023
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]>
it-is-a-robot pushed a commit to openeuler-mirror/raspberrypi-kernel that referenced this issue Jun 20, 2023
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]>
it-is-a-robot pushed a commit to openeuler-mirror/raspberrypi-kernel that referenced this issue Jun 20, 2023
Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in raspberrypi/linux#4857

Signed-off-by: Phil Elwell <[email protected]>
wanghao75 pushed a commit to gitee2github/raspberrypi-kernel that referenced this issue Jul 13, 2023
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]>
it-is-a-robot pushed a commit to openeuler-mirror/raspberrypi-kernel that referenced this issue Nov 29, 2023
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]>
it-is-a-robot pushed a commit to openeuler-mirror/raspberrypi-kernel that referenced this issue Nov 29, 2023
Zero 2 W and CM4S are 64-bit-capable, so their DTBs should be buildable
in the arm64 tree.

See (misplaced) comment in raspberrypi/linux#4857

Signed-off-by: Phil Elwell <[email protected]>
jai-raptee pushed a commit to jai-raptee/iliteck1 that referenced this issue Apr 30, 2024
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants