To describe in the kernel the connection between devices and their supporting peripherals (for example, a camera sensor and the vcm driving the focusing lens for it), add a new type of media link to introduce the concept of these ancillary links. Add some elements to the uAPI documentation to explain the new link type, their purpose and some aspects of their current implementation.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -226,6 +226,7 @@ struct media_pad_desc { · 225 unmodified lines | |||
| 226 | #define MEDIA_LNK_FL_LINK_TYPE (0xf << 28) | 226 | #define MEDIA_LNK_FL_LINK_TYPE (0xf << 28) |
| 227 | # define MEDIA_LNK_FL_DATA_LINK (0 << 28) | 227 | # define MEDIA_LNK_FL_DATA_LINK (0 << 28) |
| 228 | # define MEDIA_LNK_FL_INTERFACE_LINK (1 << 28) | 228 | # define MEDIA_LNK_FL_INTERFACE_LINK (1 << 28) |
| 229 | # define MEDIA_LNK_FL_ANCILLARY_LINK (2 << 28) | ||
| 229 | 230 | ||
| 230 | struct media_link_desc { | 231 | struct media_link_desc { |
| 231 | struct media_pad_desc source; | 232 | struct media_pad_desc source; |