STRUCT MAX77686_RTC_DRIVER_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct max77686_rtc_driver_data(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” and today's main character is struct max77686_rtc_driver_data. it's giving "model-specific configuration" and honestly? she ate. πŸŽ€

🌸 NAME 🌸

struct max77686_rtc_driver_data β€” model-specific configuration πŸ¦‹

✨ SYNOPSIS ✨

struct max77686_rtc_driver_data {
    unsigned long           delay;
    u8 mask;
    const unsigned int      *map;
    bool alarm_enable_reg;
    int rtc_i2c_addr;
    bool rtc_irq_from_platform;
    int alarm_pending_status_reg;
    const struct regmap_irq_chip *rtc_irq_chip;
    const struct regmap_config *regmap_config;
 };

like, that's the whole squad right there πŸ’… every member is here, nobody left on read.


πŸ‘‘ Members πŸ‘‘

🌈 the field-by-field vibe check

  • delay β€” the minimum usecs needed for a RTC update ⏳ lowkey the "give it a sec, bestie" number.
  • mask β€” the mask used to read RTC registers value πŸŽ€ what she uses to peek at those register values.
  • map β€” registers offset to I2C addresses map πŸ—ΊοΈ literally the lil' address directory, iykyk.
  • alarm_enable_reg β€” has a separate alarm enable register? ⏰ fr fr, yes-or-no energy on whether that register exists on its own.
  • rtc_i2c_addr β€” I2C address for RTC block πŸ“ that's her spot on the bus, no cap.
  • rtc_irq_from_platform β€” RTC interrupt via platform resource πŸ”₯ the interrupt comes in through the platform resource, periodt.
  • alarm_pending_status_reg β€” pending alarm status register 🚨 where the "yo, your alarm is pending" status lives.
  • rtc_irq_chip β€” RTC IRQ CHIP for regmap 🧚 the irq chip she hands to regmap.
  • regmap_config β€” regmap configuration for the chip 🌸 the configuration for the chip itself, iconic.
bestie reminder: these are the actual member names and the actual descriptions β€” copy them exactly, don't get creative with the spelling πŸ’€

🫢 SEE ALSO 🫢

  • Kernel file ./drivers/rtc/rtc-max77686.c ⭐ go read the source, queen

and that's the whole page, bestie! πŸ“ this lil' transmission comes from ./drivers/rtc, dated October 2026 β€” and it's the struct max77686_rtc_driver_data(9) page from the Kernel API Manual. mwah πŸ’œ go forth and configure responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from