STRUCT OMAP_HWMOD_CLASS_SYSCONFIG(9)
π struct omap_hwmod_class_sysconfig(9) π
okay bestie, welcome to the Kernel API Manual entry for this struct β and yes, itβs giving hwmod class OCP_SYS* data main character energy. no cap, letβs get into it β¨
πΈ NAME πΈ
struct omap_hwmod_class_sysconfig β hwmod class OCP_SYS* data, periodt. π«Ά
β¨ SYNOPSIS β¨
the whole struct, exactly as it is, bestie:
struct omap_hwmod_class_sysconfig {
s32 rev_offs;
s32 sysc_offs;
s32 syss_offs;
u16 sysc_flags;
struct sysc_regbits *sysc_fields;
u8 srst_udelay;
u8 idlemodes;
};
π Members π
vibe check on the members, one by one π
rev_offsβ IP block revision register offset (from module base addr). yes, from module base addr, keep that in mind π«Άsysc_offsβOCP_SYSCONFIGregister offset (from module base addr). iconic little offset.syss_offsβOCP_SYSSTATUSregister offset (from module base addr). not me being obsessed with base addr, but here we are πsysc_flagsβSYS{C,S}_HAS*flags indicating SYSCONFIG bits supported. fr fr, these flags tell you which bits are supported.sysc_fieldsβ structure containing the offset positions of various bits inSYSCONFIGregister. This can be populated usingomap_hwmod_sysc_type1oromap_hwmod_sysc_type2defined inomap_hwmod_common_data.cdepending on whether the device ip is compliant with the original PRCM protocol defined for OMAP2420 or the new PRCM protocol for new OMAP4 IPs. If the device follows a different scheme for thesysconfig register, then this field has to be populated with the correct offset structure. iykyk, this one is doing the most πsrst_udelayβ Delay needed after doing a softreset in usecs. lowkey important, donβt skip it.idlemodesβ One or more of{SIDLE,MSTANDBY}_{OFF,FORCE,SMART}. literally one or more, bestie.
π¦ Description π¦
okay so clockact describes to the module which clocks are likely to be disabled when the PRCM issues its idle request to the module. Some modules have separate clockdomains for the interface clock and main functional clock, and can check whether they should acknowledge the idle request based on the internal module functionality that has been associated with the clocks marked in clockact. This field is only used if HWMOD_SET_DEFAULT_CLOCKACT is set (see below). thatβs the whole lore, no cap π«Ά
π SEE ALSO π
- Kernel file
./arch/arm/mach-omap2/omap_hwmod.h struct omap_hwmod_rst_info(9)struct omap_hwmod_opt_clk(9)struct omap_hwmod_omap2_firewall(9)struct omap_hwmod_ocp_if(9)struct omap_hwmod_omap2_prcm(9)struct omap_hwmod_omap4_prcm(9)struct omap_hwmod_class(9)struct omap_hwmod(9)
xoxo, your Kernel API Manual bestie π β source ./arch/arm/mach-omap2, dated October 2026, still serving struct manual realness. 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