of_flat_dt_is_compatible(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 checked
  • compat β€” 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:

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