ptp_qoriq_auto_config(9)
β¨ 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 toptp_qoriq, no cap, that's the whole vibe π«Άnodeβ pointer todevice_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 π₯
- Kernel file
./drivers/ptp/ptp_qoriq.c ptp_qoriq_nominal_freq(9)
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
- 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