STRUCT PHY_CONFIGURE_OPTS_MIPI_DPHY(9)
πΈ NAME πΈ
okay so bestie, welcome to the struct phy_configure_opts_mipi_dphy(9) page π β this one lives in the Kernel API Manual and it's literally the MIPI D-PHY configuration set. that's it, that's the vibe β¨
π SYNOPSIS π
struct phy_configure_opts_mipi_dphy {
unsigned int clk_miss;
unsigned int clk_post;
unsigned int clk_pre;
unsigned int clk_prepare;
unsigned int clk_settle;
unsigned int clk_term_en;
unsigned int clk_trail;
unsigned int clk_zero;
unsigned int d_term_en;
unsigned int eot;
unsigned int hs_exit;
unsigned int hs_prepare;
unsigned int hs_settle;
unsigned int hs_skip;
unsigned int hs_trail;
unsigned int hs_zero;
unsigned int init;
unsigned int lpx;
unsigned int ta_get;
unsigned int ta_go;
unsigned int ta_sure;
unsigned int wakeup;
unsigned long hs_clk_rate;
unsigned long lp_clk_rate;
unsigned char lanes;
};
π MEMBERS π
okay so here's the full roster, no members left behind, every single one is getting her moment π
clk_missβ Timeout, in picoseconds, for the receiver to detect the absence of Clock transitions and then disable the Clock Lane HS-RX.- Maximum value:
60000 ps
- Maximum value:
clk_postβ Time, in picoseconds, that the transmitter keeps sending the HS clock after the last associated Data Lane has transitioned over to LP Mode. the interval is defined as the period from the end ofhs_trailto the beginning ofclk_trail.- Minimum value:
60000 ps + 52 * hs_clk_rate period in ps
- Minimum value:
clk_preβ Time, in UI, that the HS clock shall be driven by the transmitter before any associated Data Lane starts the whole LP β HS mode transition.- Minimum value:
8 UI
- Minimum value:
clk_prepareβ Time, in picoseconds, that the transmitter drives the Clock Lane LP-00 Line state right before the HS-0 Line state that kicks off the HS transmission.- Minimum value:
38000 ps - Maximum value:
95000 ps
- Minimum value:
clk_settleβ Time interval, in picoseconds, during which the HS receiver should ignore any Clock Lane HS transitions, starting from the beginning ofclk_prepare.- Minimum value:
95000 ps - Maximum value:
300000 ps
- Minimum value:
clk_term_enβ Time, in picoseconds, for the Clock Lane receiver to enable the HS line termination.- Maximum value:
38000 ps
- Maximum value:
clk_trailβ Time, in picoseconds, that the transmitter drives the HS-0 state after the last payload clock bit of a HS transmission burst.- Minimum value:
60000 ps
- Minimum value:
clk_zeroβ Time, in picoseconds, that the transmitter drives the HS-0 state prior to starting the Clock. (no min, no max, she's free π¦)d_term_enβ Time, in picoseconds, for the Data Lane receiver to enable the HS line termination.- Maximum value:
35000 ps + 4 * hs_clk_rate period in ps
- Maximum value:
eotβ Transmitted time interval, in picoseconds, from the start ofhs_trailorclk_trailall the way to the start of the LP-11 state following a HS burst.- Maximum value:
105000 ps + 12 * hs_clk_rate period in ps
- Maximum value:
hs_exitβ Time, in picoseconds, that the transmitter drives LP-11 following a HS burst.- Minimum value:
100000 ps
- Minimum value:
hs_prepareβ Time, in picoseconds, that the transmitter drives the Data Lane LP-00 Line state right before the HS-0 Line state that starts the HS transmission.- Minimum value:
40000 ps + 4 * hs_clk_rate period in ps - Maximum value:
85000 ps + 6 * hs_clk_rate period in ps
- Minimum value:
hs_settleβ Time interval, in picoseconds, during which the HS receiver shall ignore any Data Lane HS transitions, starting from the beginning ofhs_prepare.- Minimum value:
85000 ps + 6 * hs_clk_rate period in ps - Maximum value:
145000 ps + 10 * hs_clk_rate period in ps
- Minimum value:
hs_skipβ Time interval, in picoseconds, during which the HS-RX should ignore any transitions on the Data Lane, following a HS burst. the end point of the interval is defined as the beginning of the LP-11 state following the HS burst.- Minimum value:
40000 ps - Maximum value:
55000 ps + 4 * hs_clk_rate period in ps
- Minimum value:
hs_trailβ Time, in picoseconds, that the transmitter drives the flipped differential state after the last payload data bit of a HS transmission burst.- Minimum value:
max(8 * hs_clk_rate period in ps, 60000 ps + 4 * hs_clk_rate period in ps)
- Minimum value:
hs_zeroβ Time, in picoseconds, that the transmitter drives the HS-0 state before transmitting the Sync sequence.initβ Time, in microseconds, for the initialization period to complete π note the unit switch bestie, this one's us not ps.- Minimum value:
100 us
- Minimum value:
lpxβ Transmitted length, in picoseconds, of any Low-Power state period.- Minimum value:
50000 ps
- Minimum value:
ta_getβ Time, in picoseconds, that the new transmitter drives the Bridge state (LP-00) after accepting control during a Link Turnaround.- Value:
5 * lpx
- Value:
ta_goβ Time, in picoseconds, that the transmitter drives the Bridge state (LP-00) before releasing control during a Link Turnaround.- Value:
4 * lpx
- Value:
ta_sureβ Time, in picoseconds, that the new transmitter waits after the LP-10 state before transmitting the Bridge state (LP-00) during a Link Turnaround.- Minimum value:
lpx - Maximum value:
2 * lpx
- Minimum value:
wakeupβ Time, in microseconds, that a transmitter drives a Mark-1 state prior to a Stop state, in order to initiate an exit from ULPS.- Minimum value:
1000 us
- Minimum value:
hs_clk_rateβ Clock rate, in Hertz, of the high-speed clock. π°οΈlp_clk_rateβ Clock rate, in Hertz, of the low-power clock. π°οΈlanesβ Number of active, consecutive, data lanes, starting from lane 0, used for the transmissions.
β¨ DESCRIPTION β¨
so basically this structure is used to represent the configuration state of a MIPI D-PHY phy. that's the whole assignment, she's a config holder and she's serving π
π«Ά SEE ALSO π«Ά
- Kernel file
./include/linux/phy/phy-mipi-dphy.h
and that's the page bestie, go configure some phys ππ
sign-off cuteness: this one came from./include/linux/phyand she's dated October 2026 β pagestruct phy_configure_opts_mipi_dphy(9), periodt πβ¨
π¦ 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