of_platform_bus_create(9)
π NAME π
hey bestie!! welcome to the of_platform_bus_create(9) page in the Kernel API Manual β¨ the official vibe is Create a device for a node and its children. β and that's the whole name, periodt π
πΈ SYNOPSIS πΈ
okay so here's the exact signature, copied with love and zero edits:
int of_platform_bus_create (struct device_node *bus , const struct
of_device_id *matches , const struct of_dev_auxdata *lookup , struct
device *parent , bool strict );
π¦ ARGUMENTS π¦
busβ the device node of the bus to instantiate, bestie π«Άmatchesβ the match table for bus nodes β¨lookupβ the auxdata table for matching id andplatform_datawith device nodes πparentβ the parent for the new device, orNULLfor top level πstrictβ require thecompatibleproperty π₯
π DESCRIPTION π
okay so this one creates a platform_device for the device_node you give it π and optionally it goes recursive and creates devices for all the child nodes too β like it's collecting the whole friend group, not just the main character πβ¨
π« SEE ALSO π«
- Kernel file
./drivers/of/platform.c of_find_device_by_node(9)of_device_alloc(9)of_platform_device_create_pdata(9)of_platform_device_create(9)of_platform_bus_probe(9)of_platform_populate(9)of_platform_depopulate(9)devm_of_platform_populate(9)devm_of_platform_depopulate(9)
okay bye bestie!! this page lives in the kernel source tree at ./drivers/of, the version/date stamp is October 2026, and the manual page is of_platform_bus_create(9) π«Άπ
β¨
π¦ 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