overlay_fixup_one_phandle(9)
π overlay_fixup_one_phandle(9) β Kernel API Manual π
okay bestie, you opened the overlay_fixup_one_phandle(9) page and honestly? it's giving βtiny but important kernel helperβ energy. no cap, this one is all about fixing up one phandle so it points where it's supposed to. let's get into it π«Ά
β¨ NAME β¨
overlay_fixup_one_phandle β Set an overlay phandle to the base one π
πΈ SYNOPSIS πΈ
int overlay_fixup_one_phandle (void *fdto , int symbols_off , const char
*path , uint32_t path_len , const char *name , uint32_t name_len , int
poffset , uint32_t phandle );
π ARGUMENTS π
fdtoβ Device tree overlay blob π¦symbols_offβ Node offset of the symbols node in the base device tree β¨pathβ Path to a node holding a phandle in the overlay πpath_lenβ number of path characters to consider π’nameβ Name of the property holding the phandle reference in the overlay π·οΈname_lenβ number of name characters to consider π’poffsetβ Offset within the overlay property where the phandle is stored πphandleβ Phandle referencing the node π
π¦ DESCRIPTION π¦
overlay_fixup_one_phandle resolves an overlay phandle pointing to a node in the base device tree. literally its whole job, and it ate π
This is part of the device tree overlay application process, when you want all the phandles in the overlay to point to the actual base dt nodes. think of it as the matchmaker that makes the overlay's phandle look at the real base node β but fr fr, that's the process it belongs to π§
β RETURN β
0on success π- Negative error code on failure π
π SEE ALSO π
- Kernel file
./scripts/dtc/libfdt/fdt_overlay.cπ overlay_get_target_phandle(9)overlay_phandle_add_offset(9)overlay_adjust_node_phandles(9)overlay_adjust_local_phandles(9)overlay_update_local_node_references(9)overlay_update_local_references(9)overlay_fixup_phandle(9)overlay_fixup_phandles(9)overlay_adjust_local_conflicting_phandle(9)overlay_update_node_conflicting_references(9)overlay_update_local_conflicting_references(9)overlay_prevent_phandle_overwrite_node(9)overlay_prevent_phandle_overwrite(9)overlay_apply_node(9)overlay_merge(9)overlay_symbol_update(9)
xoxo, your local manpage π β this one came from ./scripts/dtc/libfdt, dated October 2026, and it's all about overlay_fixup_one_phandle(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