Open michalfita opened 8 months ago
I'm guessing this is on a Pi 5? You should really say.
Is this using the dtoverlay command or config.txt setting? You should really say.
It's working for me as expected, both with the config.txt setting and the runtime command. Using the above overlay with the cam0
parameter, run this command and attach the dts.zip file:
dtc -I fs -O dts /proc/device-tree 2>/dev/null | zip dts.zip -
I'm guessing this is on a Pi 5? You should really say.
Not in pastebin
data?
Is this using the dtoverlay command or config.txt setting? You should really say.
It's using dtoverlay
command, what's mentioned in the actual behaviour section.
It's working for me as expected
~It was. But stopped.~ Now I wonder if kernel may be a culprit.
It's not funny at all, after you messaged me it started to work again. I'll go back with the ZIP when it stops working again.
Is this the right place for my bug report? Yes,
dtoverlay
was working, but stopped on fresh installation of Raspbery Pi OS 64-bit.Describe the bug It was working OK last week, stopped this week after reinstallation of the Raspberry Pi OS. The
cam0
option passed now doesn't seem to amend thetarget = <&i2c_csi_dsi1>;
totarget = <&i2c_csi_dsi0>;
properly. This is on my own overlay.To reproduce Following DTS:
Still loads my driver on I²C #4 (
i2c_csi_dsi1
) instead of I²C #6 (i2c_csi_dsi0
) when optioncam0
is passed to thedtoverlay
. If I changei2c_frag@100
totarget = <&i2c_csi_dsi0>;
straight away, then right I²C is used.Expected behaviour Bring back previous behaviour and change the target properly.
Actual behaviour While the messages show 3 overrides applied, driver is still probed on I²C #4. I tried to analyse the DTB produced, but I'm not that well versed to understand the hexadecimals put if
dtc -I dtb ... -O dts
is used on these byproducts ofdtoverlay
command.System
raspinfo
contentLogs Included in above.
Additional context The worst part is I got hit by this by surprise and started to think my RPi is broken.