| 1 |
/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ |
| 2 |
/* |
| 3 |
* Copyright (C) 2022 Laurent Pinchart <[email protected]> |
| 4 |
*/ |
| 5 |
|
| 6 |
#ifndef __DT_BINDINGS_MEDIA_VIDEO_INTERFACES_H__ |
| 7 |
#define __DT_BINDINGS_MEDIA_VIDEO_INTERFACES_H__ |
| 8 |
|
| 9 |
#define MEDIA_BUS_TYPE_CSI2_CPHY 1 |
| 10 |
#define MEDIA_BUS_TYPE_CSI1 2 |
| 11 |
#define MEDIA_BUS_TYPE_CCP2 3 |
| 12 |
#define MEDIA_BUS_TYPE_CSI2_DPHY 4 |
| 13 |
#define MEDIA_BUS_TYPE_PARALLEL 5 |
| 14 |
#define MEDIA_BUS_TYPE_BT656 6 |
| 15 |
|
| 16 |
#define MEDIA_BUS_CSI2_CPHY_LINE_ORDER_ABC 0 |
| 17 |
#define MEDIA_BUS_CSI2_CPHY_LINE_ORDER_ACB 1 |
| 18 |
#define MEDIA_BUS_CSI2_CPHY_LINE_ORDER_BAC 2 |
| 19 |
#define MEDIA_BUS_CSI2_CPHY_LINE_ORDER_BCA 3 |
| 20 |
#define MEDIA_BUS_CSI2_CPHY_LINE_ORDER_CAB 4 |
| 21 |
#define MEDIA_BUS_CSI2_CPHY_LINE_ORDER_CBA 5 |
| 22 |
|
| 23 |
#define MEDIA_PCLK_SAMPLE_FALLING_EDGE 0 |
| 24 |
#define MEDIA_PCLK_SAMPLE_RISING_EDGE 1 |
| 25 |
#define MEDIA_PCLK_SAMPLE_DUAL_EDGE 2 |
| 26 |
|
| 27 |
#endif /* __DT_BINDINGS_MEDIA_VIDEO_INTERFACES_H__ */ |