ENUM ROMCODE_WRITE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum romcode_write(9) β€” like, the Kernel API Manual page, bestie πŸŽ€

okay so this is enum romcode_write(9) from the Kernel API Manual and honestly? it's a little two-constant enum with main character energy ✨ it's the romcode message that gets written by A9 AND read by XP70 β€” yes bestie, a whole little inter-core love note 🫢


🌸 NAME 🌸

enum romcode_write β€” the romcode message written by A9 AND read by XP70 πŸ˜­πŸ’– (both of them, no cap, it's a two-way situation)


✨ SYNOPSIS ✨

enum romcode_write {
    RDY_2_DS ,
    RDY_2_XP70_RST

};

like, that's the whole thing. two members. iconic, honestly πŸ‘‘


πŸ¦‹ Constants πŸ¦‹

  • RDY_2_DS β€” the value that gets set when the ApDeepSleep state can actually be executed by XP70 😴✨ like, green light, go take that nap
  • RDY_2_XP70_RST β€” the value that gets set once 0x0F has been successfully polled by the romcode πŸ”₯ and then the xp70 goes into self-reset πŸ’€ (yes, it resets itself, dramatic but valid)

🧚 SEE ALSO 🧚

the kernel file lives at ./include/linux/mfd/db8500-prcmu.h and it's giving whole friend group, fr fr β€” go say hi to:

  • enum state(9)
  • enum ret_state(9)
  • enum clk_arm(9)
  • enum clk_gen(9)
  • enum romcode_read(9)
  • enum ap_pwrst(9)
  • enum ap_pwrst_trans(9)
  • enum hw_acc_state(9)
  • enum dvfs_stat(9)
  • enum sva_mmdsp_stat(9)
  • enum sia_mmdsp_stat(9)
  • enum mbox_to_arm_err(9)
  • enum sia_sva_pwr_policy(9)
  • enum auto_enable(9)
  • enum prcmu_power_status(9)
  • enum prcmu_wdog_id(9)
  • enum ape_opp(9)
  • enum arm_opp(9)
  • enum ddr_opp(9)
  • enum ddr_pwrst(9)
  • struct prcmu_auto_pm_config(9)

πŸ’Œ and that's the whole page bestie β€” every constant, every reference, nothing skipped, periodt πŸ’…

okay so the source for all this is ./include/linux/mfd and the version/date stamp on it is October 2026 🌈 so like, mark your calendar, this enum is from the future and it's thriving πŸ“πŸ’œ mwah, bye! πŸŽ€

πŸ“¦ where this page comes from