omap_device_build_from_dt(9)
π NAME π
omap_device_build_from_dt β build an omap_device with multiple hwmods. Bestie, this is the Kernel API Manual page for it, and yes, we're getting into it π
β¨
π SYNOPSIS π
int omap_device_build_from_dt (struct platform_device *pdev );
π¦ ARGUMENTS π¦
pdevβ the platform device to update. That's the whole vibe: hand over the platform device that needs updating π«Ά
πΈ DESCRIPTION πΈ
Okay so this is literally the function for building an omap_device that's already registered from device-tree. No cap, that's the whole description, and it ate π
Return vibe check: it returns 0 or PTR_ERR on error. Periodt. ππ
β¨ SEE ALSO β¨
Kernel file ./arch/arm/mach-omap2/omap_device.c β go peek if you want the full lore π
_add_hwmod_clocks_clkdev(9)_omap_device_enable_hwmods(9)_omap_device_idle_hwmods(9)omap_device_alloc(9)omap_device_enable(9)omap_device_idle(9)omap_device_assert_hardreset(9)omap_device_deassert_hardreset(9)omap_device_late_idle(9)
Mwah π cute little sign-off: this one comes from ./arch/arm/mach-omap2, dated October 2026, and it's the omap_device_build_from_dt(9) page. Slay, bye bestie π§π
π¦ 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