-
Notifications
You must be signed in to change notification settings - Fork 7.3k
meta: Track progress on moving video drivers and devicetree to use the video-interfaces binding and the endpoint DT macros #80514
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
Comments
It might not be required to push any bugfix for Currently, the sensor drivers do not do anything with the Also, as pointed-out here, adding the |
Thanks @josuah for creating the issue. I made some modifications in the description. Since it is not considered as "bug" with the current situation (i.e. declare
However, migration to use the video-interfaces binding is strongly recommended because of the following benefits:
|
Now #80649 is merged, I think it's time to do the migration. At the beginning, I thought it's better to let the code owners do it because they have HW to test and they understand well which driver-specific properties could be replaced by the common video interfaces properties, for example, in esp32-cam.yaml or stm32-dcmi.yaml, most of the properties can be replaced by the common properties (with some slight modifications in code). However, it seems we should take the initiatives then ask for reviews from them. I will start with the NXP smartDMA / ov7670. @josuah feel free to take some if you want :-). |
Reopen because there are still esp32 dvp and stm32 dcmi drivers that need to be done. |
Describe the situation
Following #74415 and #80649, video drivers are in the middle of a migration away from an ad-hoc devicetree API.
Migration to use the
video-interfaces
binding and the endpoint DT macros is strongly recommended because of the following benefices:remote-endpoint-label
to retrieve the peer remote device object in the driver without the need of redundant direct phandle reference in DT.video-interfaces
binding to avoid declaring so many vendor custom properties in each vendor binding.With the new
video-interfaces
binding,remote-endpoint
must be replaced byremote-endpoint-label
in the devicetree.The reason for it was #57708 and the workaround is #74415. A final conversion from
remote-endpoint-label
toremote-endpoint
will need to happen once #57708 is addressed, but will be trivial to propagate.Old API, drivers that need conversion
New API, drivers that got converted
Impact
Additional context
Zephyr v4.0 is in feature-freeze: not possible to rush every vendor to complete the migration of their driver in time.
This can be done gradually as here, as commented in the following PR, for example:
The text was updated successfully, but these errors were encountered: