Bug ID 1192809
Summary [RPi4] tc358743-based HDMI input does not work with kernel-default; works with kernel from raspberry foundation
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware aarch64
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-bugs@opensuse.org
Reporter marmarek@mimuw.edu.pl
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Created attachment 853822 [details]
dmesg, opensuse kernel with dtoverlay=tc358743

I've spent quite some time trying to get tc358743 on RPi4 to work with OpenSUSE
Tumbleweed. Besides `config.txt` entries (where I hit
https://bugzilla.opensuse.org/show_bug.cgi?id=1192047), there needs to be a
kernel module. tc358743 itself is present, but I still can't get `/dev/video0`.

The best I've got is:
```
[   19.841631] Registered IR keymap rc-cec
[   19.841804] rc rc2: 10-000f as
/devices/platform/soc/fe205000.i2c/i2c-22/i2c-10/10-000f/rc/rc2
[   19.842070] input: 10-000f as
/devices/platform/soc/fe205000.i2c/i2c-22/i2c-10/10-000f/rc/rc2/input2
[   19.845518] tc358743 10-000f: tc358743 found @ 0x1e (i2c-22-mux (chan_id 1))
```

with no `start_x=1` but with `dtoverlay=tc358743` in config.txt. But still no
/dev/video0 (or any other /dev/video*). I do have `videodev` module loaded. I'm
attaching full dmesg and lsmod outputs.

This all is with kernel-default-5.14.14-1.1.aarch64.

The whole thing _does_ work with a kernel built from raspberry foundation's
tree, with the config attached. And with `start_x=1` in config.txt.
I'm attaching dmesg and lsmod from this too (rpi-* files).

I suspect the issue is some part of the video stack not available yet in the
upstream kernel (bcm2835-unicam module specifically), but I was told to report
the issue anyway.
Some hints to that from the working setup:
```
localhost:/home/pi # ls -l /sys/class/video4linux/video0/device/driver
lrwxrwxrwx 1 root root 0 Oct 15 00:00
/sys/class/video4linux/video0/device/driver ->
../../../../bus/platform/drivers/unicam
localhost:/home/pi # ls -l /sys/class/video4linux/video0/device/driver/module
lrwxrwxrwx 1 root root 0 Nov 18 03:12
/sys/class/video4linux/video0/device/driver/module ->
../../../../module/bcm2835_unicam
```


Some more information is at those two links:
https://forums.raspberrypi.com/viewtopic.php?f=38&t=281972
https://www.raspberrypi.com/documentation/accessories/camera.html#camera-serial-interface-2-csi2-unicam
I've also seen https://en.opensuse.org/HCL:Raspberry_Pi_Camera_Modules
but that didn't helped me getting it working with default kernel.


You are receiving this mail because: