[PATCH 0/2] dt-bindings: Add macros for video interface bus types

Laurent Pinchart
2022-02-27T20:35:40Z

Hello,

This small patch series is the result of me getting a bus-type numerical
value wrong in a device tree file and spending too long debugging the
issue. Hopefully there's nothing controversial here.

If the idea is accepted, and if desired, I can convert the DT sources to
use the new macros. How should I then split that, one big patch, one
patch per SoC vendor (easy for arm64, but how about arm ?), ... ?

Laurent Pinchart (2):
dt-bindings: media: Add macros for video interface bus types
dt-bindings: Use new video interface bus type macros in examples

.../display/bridge/analogix,anx7625.yaml | 3 ++-
.../devicetree/bindings/media/i2c/mipi-ccs.yaml | 3 ++-
.../bindings/media/i2c/ovti,ov772x.yaml | 3 ++-
.../bindings/media/marvell,mmp2-ccic.yaml | 3 ++-
.../bindings/media/microchip,xisc.yaml | 3 ++-
.../devicetree/bindings/media/st,stm32-dcmi.yaml | 4 +++-
include/dt-bindings/media/video-interfaces.h | 16 ++++++++++++++++
7 files changed, 29 insertions(+), 6 deletions(-)
create mode 100644 include/dt-bindings/media/video-interfaces.h