STRUCT PRCM_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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