ptp_qoriq_auto_config(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ptp_qoriq_auto_config ✨

okay so bestie, this is a page from the Kernel API Manual and it's literally all about ptp_qoriq_auto_config β€” the function that pulls a whole set of default configs out of thin air when nobody bothered to put them in the device tree πŸŽ€


🌸 NAME 🌸

ptp_qoriq_auto_config β€” calculate a set of default configurations πŸ’…


✨ SYNOPSIS ✨

int ptp_qoriq_auto_config (struct ptp_qoriq *ptp_qoriq , struct device_node *node );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ptp_qoriq β€” pointer to ptp_qoriq, no cap, that's the whole vibe 🫢
  • node β€” pointer to device_node, iconic, we love a node

πŸ’– DESCRIPTION πŸ’–

so here's the tea β˜• β€” if the dts properties listed below are not provided, this function gets called to calculate a set of default configurations for them. it's giving "don't worry bestie, i got you" energy fr fr 😭

the properties in question, and yes you need all of them noted:

  • "fsl,tclk-period"
  • "fsl,tmr-prsc"
  • "fsl,tmr-add"
  • "fsl,tmr-fiper1"
  • "fsl,tmr-fiper2"
  • "fsl,tmr-fiper3" β€” required only for DPAA2 and ENETC hardware πŸ‘‘
  • "fsl,max-adj"
and it returns 0 if success ✨ that's it, that's the good ending, periodt.

πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page bestie, go off πŸ’œ this lil masterpiece lives in ./drivers/ptp, dropped in October 2026, straight from the Kernel API Manual β€” slay, fr fr πŸ¦‹βœ¨πŸŽ€

πŸ“¦ where this page comes from