ENUM V4L2_MBUS_TYPE(9)
β¨ enum v4l2_mbus_type β¨
okay bestie, so this one's from the Kernel API Manual (that's the manual name, iykyk π ) and it's literally just a little enum that tells you what kind of media bus you're dealing with. tiny page, huge vibe. let's get into it π
πΈ NAME πΈ
enum v4l2_mbus_type β media bus type. that's it. that's the whole thing. it's giving "small but essential" π
π¦ SYNOPSIS π¦
enum v4l2_mbus_type {
V4L2_MBUS_UNKNOWN ,
V4L2_MBUS_PARALLEL ,
V4L2_MBUS_BT656 ,
V4L2_MBUS_CSI1 ,
V4L2_MBUS_CCP2 ,
V4L2_MBUS_CSI2_DPHY ,
V4L2_MBUS_CSI2_CPHY ,
V4L2_MBUS_DPI ,
V4L2_MBUS_INVALID
};
likeβ¦ look at her. all those constants lined up in order. main character energy fr fr π
π Constants π
okay so here's the whole crew, one by one, no skips, no cap:
V4L2_MBUS_UNKNOWNβ unknown bus type, and no V4L2 mediabus configuration either. it's the "we don't know her" of bus types πV4L2_MBUS_PARALLELβ parallel interface withhsyncandvsync. classic. reliable. lowkey iconic.V4L2_MBUS_BT656β parallel interface with embedded synchronisation, and it can also be used for BT.1120. versatile queen β¨V4L2_MBUS_CSI1β MIPI CSI-1 serial interface. the og serial one π¦V4L2_MBUS_CCP2β CCP2 (Compact Camera Port 2). compact and cute, just like the name says πV4L2_MBUS_CSI2_DPHYβ MIPI CSI-2 serial interface, with D-PHY. yes bestie, the D matters πV4L2_MBUS_CSI2_CPHYβ MIPI CSI-2 serial interface, with C-PHY. and yes, the C matters too πV4L2_MBUS_DPIβ MIPI VIDEO DPI interface. video girlie π₯V4L2_MBUS_INVALIDβ invalid bus type, and the page literally says (keep as last). do NOT move her. she's the final boss, she stays at the end π
π₯ SEE ALSO π₯
go read these next, bestie, they're all in the kernel file ./include/media/v4l2-mediabus.h as an enum situation:
v4l2_mbus_csi2_cphy_line_orders_type(9)struct v4l2_mbus_config_mipi_csi2(9)struct v4l2_mbus_config_parallel(9)struct v4l2_mbus_config_mipi_csi1(9)struct v4l2_mbus_config(9)v4l2_fill_pix_format(9)v4l2_fill_mbus_format(9)v4l2_fill_pix_format_mplane(9)v4l2_fill_mbus_format_mplane(9)
like, the whole friend group. obsessed π«Ά
ngl this page is short but she ate. every constant has one job and she does it. no notes π
and that's a wrap, bestie! π this lil masterpiece lives in ./include/media, dated October 2026, and it's filed under enum v4l2_mbus_type(9) β mwah, go forth and configure your media buses π
β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms