Skip to content

Conversation

@6by9
Copy link
Contributor

@6by9 6by9 commented Nov 13, 2025

The non-pi5 variant of tc358743 needs to update the compatible of csi0 rather than csi1 if the cam0 override is used, otherwise it gets loaded in Media Controller mode.

https://forums.raspberrypi.com/viewtopic.php?t=393755

(If there's a cleaner way to add to the cam0 override then I'm happy to adopt it. Just creating the cam0 override in tc358743-overlay.dts appeared to overwrite that from tc358743.dtsi).

@pelwell
Copy link
Contributor

pelwell commented Nov 13, 2025

If there's a cleaner way to add to the cam0 override

dtc does not have a way of appending to an existing property, so this is the best you can do unless you define the common content as a macro (which I'm not suggesting). What you could do is add a comment to the additional line to say that you are appending it.

The non-pi5 variant of tc358743 needs to update the compatible of
csi0 rather than csi1 if the cam0 override is used, otherwise it
gets loaded in Media Controller mode.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
@6by9 6by9 force-pushed the rpi-6.12.y-dtoverlays branch from 8b776aa to 2f67f74 Compare November 13, 2025 16:12
@6by9
Copy link
Contributor Author

6by9 commented Nov 13, 2025

dtc does not have a way of appending to an existing property, so this is the best you can do unless you define the common content as a macro (which I'm not suggesting). What you could do is add a comment to the additional line to say that you are appending it.

Always easiest to ask the question :-)
Comment added.

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

Successfully merging this pull request may close these issues.

2 participants