History

media: media.h: Add new media link type

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.

Daniel Scally committed 4 years ago

Commit 4e4dab41 parent af3ed783 files · +19 −5Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/uapi/linux/media.h+1−0
@@ -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
230struct media_link_desc {231struct media_link_desc {
231 struct media_pad_desc source;232 struct media_pad_desc source;