mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
media: dt-bindings: video-interfaces: add defines for sampling modes
Add defines for the pixel clock sampling modes (rising edge, falling edge, dual edge) for parallel video interfaces. This avoids hardcoded constants in device tree sources. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Michael Riesch <michael.riesch@wolfvision.net> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Michael Riesch <michael.riesch@collabora.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
committed by
Hans Verkuil
parent
1c5e4cf1d5
commit
4a09126a33
@@ -20,4 +20,8 @@
|
||||
#define MEDIA_BUS_CSI2_CPHY_LINE_ORDER_CAB 4
|
||||
#define MEDIA_BUS_CSI2_CPHY_LINE_ORDER_CBA 5
|
||||
|
||||
#define MEDIA_PCLK_SAMPLE_FALLING_EDGE 0
|
||||
#define MEDIA_PCLK_SAMPLE_RISING_EDGE 1
|
||||
#define MEDIA_PCLK_SAMPLE_DUAL_EDGE 2
|
||||
|
||||
#endif /* __DT_BINDINGS_MEDIA_VIDEO_INTERFACES_H__ */
|
||||
|
||||
Reference in New Issue
Block a user