]> git.dujemihanovic.xyz Git - u-boot.git/commit
media: dt-bindings: media: Add macros for video interface bus types
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Mon, 24 Apr 2023 14:21:09 +0000 (16:21 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 16 Jun 2023 09:22:07 +0000 (11:22 +0200)
commit763c6b8d7aeb6cee88dedf4be9b9ddaea47a7adb
tree4f1760cae0ca42ad25b12193dc80c7b032c793ae
parentabddd78576c3179de070597042c531e937930dde
media: dt-bindings: media: Add macros for video interface bus types

Add a new dt-bindings/media/video-interfaces.h header that defines
macros corresponding to the bus types from media/video-interfaces.yaml.
This allows avoiding hardcoded constants in device tree sources.

Based on linux commit f7eeb0084593 ("media: dt-bindings: media: Add macros
for video interface bus types")

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
include/dt-bindings/media/video-interfaces.h [new file with mode: 0644]