STRUCT MIPI_DSI_DEVICE_INFO(9)
π struct mipi_dsi_device_info(9) π
okay bestie, so this is a page from the Kernel API Manual β literally the struct mipi_dsi_device_info(9) entry β and it's way less scary than the name makes it look, i promise. it's giving "tiny little template struct that just wants to help you make a device" energy. π¦
β¨ NAME β¨
struct mipi_dsi_device_info β the template for creating a mipi_dsi_device. yes, that's the whole pitch. it's the blueprint, not the building. π
β¨ SYNOPSIS β¨
here's the whole struct, and it's lowkey smol:
struct mipi_dsi_device_info {
char type[DSI_DEV_NAME_SIZE];
u32 channel;
struct device_node *node;
};
like. three members. that's it. we love a concise icon. π
β¨ Members β¨
typeβ the DSI peripheral chip type. think of it as the what even is this thing label. πΈchannelβ the DSI virtual channel assigned to the peripheral. the assigned lane, so to speak. πnodeβ a pointer to the OF device node, orNULL. so it either points at a device node or it doesn't, andNULLis a totally valid vibe here. π«Ά
β¨ Description β¨
so this struct is meant to be populated (like, filled in by you, bestie) and then passed to mipi_dsi_device_new to create a new DSI device. that's the entire job. it's the little info packet you hand over so your device can be born β¨
no cap, that's it. it's a carrier bag for three pieces of info. iconic behaviour. π
β¨ SEE ALSO β¨
go read these next, i'm obsessed with them fr fr:
- Kernel file
./include/drm/drm_mipi_dsi.h struct mipi_dsi_msg(9)struct mipi_dsi_packet(9)struct mipi_dsi_host_ops(9)struct mipi_dsi_host(9)struct mipi_dsi_device(9)struct mipi_dsi_multi_context(9)mipi_dsi_pixel_format_to_bpp(9)enum mipi_dsi_dcs_tear_mode(9)mipi_dsi_generic_write_seq_multi(9)mipi_dsi_generic_write_var_seq_multi(9)mipi_dsi_dcs_write_seq_multi(9)mipi_dsi_dcs_write_var_seq_multi(9)mipi_dsi_dual(9)mipi_dsi_dual_generic_write_seq_multi(9)mipi_dsi_dual_dcs_write_seq_multi(9)struct mipi_dsi_driver(9)
bestie this link list is long but you got this, drink some water π§
aaaand that's the page!! π this cutie lives in the ./include/drm corner of the kernel tree, and it's dated October 2026 β so when you see struct mipi_dsi_device_info(9) floating around with that date on it, that's me, that's the one. mwah πβ¨
π¦ 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