of_lpddr2_get_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ of_lpddr2_get_info(9) πŸŽ€

okay so welcome to the Kernel API Manual, bestie β€” this is the page for of_lpddr2_get_info(9), and it’s giving very specific kernel-helper energy. it extracts information about the lpddr2 chip, and we’re gonna walk through it like a group chat. no cap. πŸ’–βœ¨


🌸 NAME 🌸

of_lpddr2_get_info β€” extracts information about the lpddr2 chip. πŸ§šπŸ¦‹

✨ SYNOPSIS ✨

here’s the signature, copied character-for-character so nobody comes for me:

const struct lpddr2_info * of_lpddr2_get_info (struct device_node *np ,
struct device *dev );

🫢 ARGUMENTS 🫢

  • np β€” pointer to the device tree node containing lpddr2 info. that’s the source of the tea. πŸ“
  • dev β€” the device requesting info. hi bestie, what’s the vibe? πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

okay so this function populates the lpddr2_info structure by extracting data from the device tree node. it returns a pointer to the populated structure β€” iconic. πŸ‘‘

if an error happened while populating, it returns NULL 😭 β€” literally no pointer, bestie. and if a property is missing in a device-tree, then the corresponding value is set to -ENOENT β€” that’s the exact value, periodt. no cap. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ β€” cutest little sign-off ever: the footer’s source/version is ./drivers/memory, the date is October 2026, and the page is still of_lpddr2_get_info(9). byeee πŸ«ΆπŸŒˆπŸŽ€

πŸ“¦ where this page comes from