drm_of_get_dsi_bus(9)
π drm_of_get_dsi_bus(9)
okay so bestie, welcome to the Kernel API Manual β¨ β yes we're really out here reading kernel docs and honestly? iconic behavior. this one's about drm_of_get_dsi_bus, and it's lowkey a little matchmaker that finds the DSI bus for a device π
πΈ NAME
drm_of_get_dsi_bus β find the DSI bus for a given device π¦
β¨ SYNOPSIS
struct mipi_dsi_host * drm_of_get_dsi_bus (struct device *dev );
like, it takes a dev and gives you back a struct mipi_dsi_host *. periodt π
π«Ά ARGUMENTS
devβ the parent device of the display (SPI, I2C) π
that's it, that's the whole argument list, she's simple and she knows it.
π DESCRIPTION
so the whole vibe here: this function gets the parent DSI bus for a DSI device that's being controlled through some other bus β not MIPI-DCS, we're talking SPI, I2C, etc. β and it does it using the Device Tree π.
also, important, no cap: this function assumes that the device's port0 is the DSI input. so like, that's the deal, that's the arrangement, don't come for her about it π
return value tea β:
- returns a pointer to
mipi_dsi_hostif it's successful β¨ -EINVALif the request is unsupported π-EPROBE_DEFERif the DSI host is found but not available (she's there, she's just not ready yet, give her a sec) π-ENODEVotherwise πΈ
π§ SEE ALSO
the whole friend group, fr fr:
- Kernel file
./drivers/gpu/drm/drm_of.coverview(9) drm_of_crtc_port_mask(9)drm_of_find_possible_crtcs(9)drm_of_component_match_add(9)drm_of_component_probe(9)drm_of_get_panel_orientation(9)drm_of_find_panel_or_bridge(9)drm_of_lvds_get_dual_link_pixel_order(9)drm_of_lvds_get_dual_link_pixel_order_sink(9)drm_of_lvds_get_data_mapping(9)drm_of_get_data_lanes_count(9)drm_of_get_data_lanes_count_ep(9)drm_of_get_data_lanes_count_remote(9)
ngl, -EPROBE_DEFER is giving "seen at 2am, replied at 3pm" energy and honestly we respect it π«Ά
okay that's the whole page bestie, you ate that π
β¨ this one lives at ./drivers/gpu/drm, dated October 2026, and it's filed under drm_of_get_dsi_bus(9) β go forth and slay your Device Tree queries π₯π
π¦ 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