STRUCT PRCM_CONFIG(9)
π¦ struct prcm_config(9) π¦
okay bestie, this is the Kernel API Manual entry for struct prcm_config, and we're talking clock rates on a per-OPP basis for 24xx. Stay with me, it's giving old-school OMAP energy π
β¨ NAME β¨
struct prcm_config β define clock rates on a per-OPP basis (24xx)
πΈ SYNOPSIS πΈ
struct prcm_config {
unsigned long xtal_speed;
unsigned long dpll_speed;
unsigned long mpu_speed;
unsigned long cm_clksel_mpu;
unsigned long cm_clksel_dsp;
unsigned long cm_clksel_gfx;
unsigned long cm_clksel1_core;
unsigned long cm_clksel1_pll;
unsigned long cm_clksel2_pll;
unsigned long cm_clksel_mdm;
unsigned long base_sdrc_rfr;
unsigned short flags;
};
π Members π
(the member list lives in the struct up above, bestie β this heading is just here doing its thing π
)
π Description π
okay so these are the key dividers that make up a PRCM set, and the ratio's for a PRCM are mandated. The whole squad is: xtal_speed, dpll_speed, mpu_speed, CM_CLKSEL_MPU, CM_CLKSEL_DSP, CM_CLKSEL_GFX, CM_CLKSEL1_CORE, CM_CLKSEL1_PLL, CM_CLKSEL2_PLL, CM_CLKSEL_MDM.
π This is deprecated. As soon as we have a decent OPP API, we should move all this stuff to it. That's the actual note, bestie β not me being shady.
π₯ SEE ALSO π₯
- Kernel file
./arch/arm/mach-omap2/opp2xxx.h
mwah π source/version for this page? ./arch/arm/mach-omap2, dated October 2026. bye bestie, go understand those PRCM dividers π«Άβ¨
π¦ 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