ENUM V4L2_MBUS_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 with hsync and vsync. 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:

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