STRUCT MAX77686_RTC_DRIVER_DATA(9)
π 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
- 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