History

media: v4l2-mediabus: Drop legacy V4L2_MBUS_CSI2_*_LANE flags

The V4L2_MBUS_CSI2_*_LANE flags are a legacy API and are unused. Drop them.

Laurent Pinchart committed 4 years ago

Commit 20c238d1 parent 6a7bdd81 file · +0 −11Browse files

Unified · Split

include/media/v4l2-mediabus.h+0−11
@@ -21,8 +21,6 @@ · 20 unmodified lines
2121 * clear both the V4L2_MBUS_HSYNC_ACTIVE_HIGH and the
2222 * V4L2_MBUS_HSYNC_ACTIVE_LOW flag at the same time. Instead either flag
2323 * V4L2_MBUS_HSYNC_ACTIVE_HIGH or flag V4L2_MBUS_HSYNC_ACTIVE_LOW shall be set.
24− * The same is true for the V4L2_MBUS_CSI2_1/2/3/4_LANE flags group: only one
25− * of these four bits shall be set.
2624 *
2725 * TODO: replace the existing V4L2_MBUS_* flags with structures of fields
2826 * to avoid conflicting settings.
@@ -69,11 +67,6 @@ · 40 unmodified lines
6967 #define V4L2_MBUS_DATA_ENABLE_LOW BIT(15)
7068
7169 /* Serial flags */
72−/* CSI-2 D-PHY number of data lanes. */
73−#define V4L2_MBUS_CSI2_1_LANE BIT(0)
74−#define V4L2_MBUS_CSI2_2_LANE BIT(1)
75−#define V4L2_MBUS_CSI2_3_LANE BIT(2)
76−#define V4L2_MBUS_CSI2_4_LANE BIT(3)
7770 /* CSI-2 Virtual Channel identifiers. */
7871 #define V4L2_MBUS_CSI2_CHANNEL_0 BIT(4)
7972 #define V4L2_MBUS_CSI2_CHANNEL_1 BIT(5)
@@ -83,10 +76,6 @@ · 3 unmodified lines
8376 #define V4L2_MBUS_CSI2_CONTINUOUS_CLOCK BIT(8)
8477 #define V4L2_MBUS_CSI2_NONCONTINUOUS_CLOCK BIT(9)
8578
86−#define V4L2_MBUS_CSI2_LANES (V4L2_MBUS_CSI2_1_LANE | \
87− V4L2_MBUS_CSI2_2_LANE | \
88− V4L2_MBUS_CSI2_3_LANE | \
89− V4L2_MBUS_CSI2_4_LANE)
9079 #define V4L2_MBUS_CSI2_CHANNELS (V4L2_MBUS_CSI2_CHANNEL_0 | \
9180 V4L2_MBUS_CSI2_CHANNEL_1 | \
9281 V4L2_MBUS_CSI2_CHANNEL_2 | \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t