Re: [PATCH v2 1/3] dt-bindings: media: Add macros for video interface bus types

From
Rob Herring <robh@kernel.org>
Date
2022-03-08 23:19:30
Also in
dri-devel, linux-arm-kernel, linux-media
Reply to
Laurent Pinchart, 2022-03-06
On Sun, Mar 06, 2022 at 08:04:49PM +0200, Laurent Pinchart wrote:
On Sun, Mar 06, 2022 at 07:39:03PM +0200, Laurent Pinchart wrote:
quoted
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.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
Changes since v1:

- Dual-license under GPL-2.0-only or MIT
- Rename PARALLEL TO BT601
Contrary to popular belief, further investigation revealed that BT.601
doesn't define VSYNC and HSYNC (or HREF, as it is also commonly called)
signals. MEDIA_BUS_TYPE_BT601 is thus likely not a good name. I haven't
been able to find a standard for parallel camera interfaces that would
be a good match here. On the display side there's MIPI DPI, but on the
camera side it seems things have evolved quite organically. I may have
missed something though.
So keep 'PARALLEL' and anything less ambiguous will be a new type.

Rob
Thread (9 messages) 9 messages, 3 authors, last reply 2022-04-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help