STRUCT PL031_VENDOR_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct pl031_vendor_data(9) ✨

okay so bestie, welcome to the pl031_vendor_data glow-up πŸ’… this is a page from the Kernel API Manual, and it's literally all about the per-vendor variations β€” like, every silicon version has its own little personality and this struct is where the diffs live 🫢


🌸 NAME 🌸

struct pl031_vendor_data β€” per-vendor variations πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

struct pl031_vendor_data {
    struct rtc_class_ops ops;
    bool clockwatch;
    bool st_weekday;
    unsigned long irqflags;
    time64_t range_min;
    timeu64_t range_max;
 };

no cap, that's the whole shape of it πŸ‘‘


πŸŽ€ Members πŸŽ€

  • ops β€” the vendor-specific operations that get used on this particular silicon version. like, this is the main character of the struct fr fr ✨
  • clockwatch β€” a bool that's set if this is an ST Microelectronics silicon version with a clockwatch function πŸ•°οΈ
  • st_weekday β€” a bool for when this is an ST Microelectronics silicon version that need the weekday fix. yes bestie, the weekday fix is real and this flag is how you know πŸ™ˆ
  • irqflags β€” the special IRQ flags, per variant. each one gets its own vibe check πŸ”₯
  • range_min β€” the minimum date/time supported by the RTC. the earliest era this thing will acknowledge ⏳
  • range_max β€” the maximum date/time supported by the RTC. how far into the future we're allowed to go 🌈

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/rtc/rtc-pl031.c β€” go read it, iykyk πŸ“–


lowkey a reminder: these are just the fields as documented here, so don't go inventing behaviour that isn't written down, bestie 😭

that's the whole page, periodt πŸ’… this one shipped out of ./drivers/rtc and it's dated October 2026 β€” mwah, drink some water and go read your kernel source πŸ“πŸ§šπŸ’œ

πŸ“¦ where this page comes from