of_lpddr3_get_ddr_timings(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is of_lpddr3_get_ddr_timings(9) from the Kernel API Manual β€” it extracts the lpddr3 timings and updates no of frequencies available. periodt. πŸ’…


✨ SYNOPSIS ✨

const struct lpddr3_timings * of_lpddr3_get_ddr_timings (struct
device_node *np_ddr , struct device *dev , u32 device_type , u32
*nr_frequencies );

πŸŽ€ ARGUMENTS πŸŽ€

  • np_ddr β€” pointer to the ddr device tree node 🌸
  • dev β€” the device requesting ddr timings πŸ¦‹
  • device_type β€” type of ddr πŸ’«
  • nr_frequencies β€” no of frequencies available for ddr, and this function updates it πŸ”₯

🌈 DESCRIPTION 🌈

So basically it populates the lpddr3_timings structure by extracting data from the device tree node. Then it returns a pointer to that populated structure. πŸ’–

But bestie, if there's any error while populating? It returns NULL. no cap. 😭


🫢 SEE ALSO 🫢


mwah πŸ’‹ slay, that’s the whole page β€” from the Kernel API Manual, source ./drivers/memory, dated October 2026. πŸŽ€βœ¨

πŸ“¦ where this page comes from