STRUCT MAX77620_VARIANT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct max77620_variant β€” Kernel API Manual energy ✨

Okay so bestie, picture this: this little struct is literally the ✨personality card✨ for a chip variant. Like, every Max77620 chip variant is a different main character and this struct is the group chat bio that tells the driver how to talk to it. Data specific to a chip variant, periodt. 🫢

It's from the Kernel API Manual, and we are so lucky to have it.


🌸 SYNOPSIS 🌸

Bestie, here's the whole fit. Copy it exactly, no cap:

struct max77620_variant {
    u8 reg_onoff_cnfg2;
    u8 reg_cnfg_glbl2;
    u8 reg_cnfg_glbl3;
    u8 wdtc_mask;
    u8 bit_wd_rst_wk;
    u8 cnfg_glbl2_cfg_bits;
 };

Six u8 fields. Small struct, huge responsibilities. Iconic. πŸ‘‘


πŸŽ€ Members πŸŽ€

These are the members, and ngl, every single one of them ate:

  • reg_onoff_cnfg2 β€” the ONOFF_CNFG2 register offset. That's it, that's the whole vibe. πŸ“
  • reg_cnfg_glbl2 β€” the CNFG_GLBL2 register offset. Like a GPS coordinate but for registers. πŸ¦‹
  • reg_cnfg_glbl3 β€” the CNFG_GLBL3 register offset. Third one, still slaying. ✨
  • wdtc_mask β€” the WDTC bit mask in CNFG_GLBL3 (= the bits you update to ping the watchdog). Basically the "hey bestie, you still alive?" mask. πŸ‘€ The parenthetical is verbatim, so like, memorize it.
  • bit_wd_rst_wk β€” the WD_RST_WK bit offset within ONOFF_CNFG2. A bit offset, not a bit mask, don't mix them up, iykyk. πŸ”₯
  • cnfg_glbl2_cfg_bits β€” the configuration bits you enable in the CNFG_GLBL2 register. Turn-ons, but make it hardware. 🌈

🧚 SEE ALSO 🧚

If you want the full lore, the receipts live here:

  • Kernel file ./drivers/watchdog/max77620_wdt.c

That's the one. Go read it. It's giving "the source of truth." πŸ’–


Lowkey a reminder: this page is literally just describing the struct fields, so don't go inventing extra behavior in your head, bestie. The fields mean what they say and nothing more. πŸ’€

And that's the whole page! 🌟 Sourced from ./drivers/watchdog, dated October 2026, and it goes out with all the love in the world β€” mwah πŸ’…πŸŽ€πŸ’œ

πŸ“¦ where this page comes from