samples: subsys: usb: uvc: allow a virtual video source to be used #87869
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a split-off from this PR, which is a dependency:
This does two contradictory things:
VIDEO_SW_GENERATORto be used as virtual video source.zephyr,video-emul-*to be used as virtual video source.They can still work both at the same time:
zephyr,video-emul-*selected aszephyr,camera, thenVIDEO_SW_GENERATORdisables itself.zephyr,camera, thenVIDEO_SW_GENERATORdisables itself.VIDEO_SW_GENERATORremains enabled.This PR will be modified as discussion goes so that a single virtual video source can be used. The challenge:
zephyr,video-emul-*is very basic, for CI purpose mostly.VIDEO_SW_GENERATORlacks a devicetree node, it is a Kconfig only device.Another possibility is introduced by #82158 (comment) which permits all cameras of a system to be listed and used by samples.