of_flat_dt_is_compatible(9)
π NAME π
okay so bestie, this manual page is of_flat_dt_is_compatible β and what it does is literally return true if the given node has compat in its compatible list. that's the whole vibe check π«Ά (and yes, this is a of_flat_dt_is_compatible(9) situation, kernel API manual girlies rise)
β¨ SYNOPSIS β¨
int of_flat_dt_is_compatible (unsigned long node , const char *compat );
that's it, that's the whole signature π
π ARGUMENTS π
nodeβ the node you want to test π like, the one being checkedcompatβ the compatible string that gets compared against the compatible list π¦
π₯ SEE ALSO π₯
the kernel file is ./drivers/of/fdt.c, and here's the whole friend group, no gatekeeping:
unflatten_dt_nodes(9)__unflatten_device_tree(9)of_fdt_unflatten_tree(9)early_init_fdt_scan_reserved_mem(9)early_init_fdt_reserve_self(9)of_scan_flat_dt(9)of_scan_flat_dt_subnodes(9)of_get_flat_dt_subnode_by_name(9)of_fdt_is_compatible(9)of_flat_dt_match_machine(9)early_init_dt_check_for_initrd(9)early_init_dt_check_for_elfcorehdr(9)early_init_dt_check_for_usable_mem_range(9)early_init_dt_check_kho(9)unflatten_device_tree(9)unflatten_and_copy_device_tree(9)
all of them are (9) section icons too, slay β¨
so yeah, that's the page π sign-off time: this one lives under ./drivers/of, it's dated October 2026, and the whole thing is of_flat_dt_is_compatible(9) β ily, go read some device tree source now π
π¦ 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