STRUCT TI_LMU(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct ti_lmu(9) ✨

okay bestie so we're in the Kernel API Manual today and the main character is literally struct ti_lmu β€” that's the whole name section, no tagline, no elevator pitch, it just shows up and says nothing. iconic behavior honestly πŸŽ€


🌸 NAME 🌸

struct ti_lmu β€” and that's it. That's the description. Empty. Not me hyping up a struct with zero marketing copy 😭 (fr fr, the original NAME section is just the name and a dash. no cap.)


πŸ¦‹ SYNOPSIS πŸ¦‹

so here's the whole glow-up, copy it exact please:

struct ti_lmu {
    struct device *dev;
    struct regmap *regmap;
    struct gpio_desc *en_gpio;
    struct blocking_notifier_head notifier;
};

four members, no more no less, periodt πŸ’…


πŸ‘‘ Members πŸ‘‘

okay let's meet the cast, one by one 🫢

  • dev β€” the parent device pointer. it's giving "who's your parent" energy, this is the pointer back to the device that owns this whole situation πŸ’–
  • regmap β€” used for i2c communcation on accessing registers. (yes that's spelled communcation in the original, we do not fix it, we respect the source ✨) this is the one that actually talks to the hardware when you go poking at registers πŸ”₯
  • en_gpio β€” GPIO for the HWEN pin, and it's Optional with a capital O. so if you're wondering "do I need this" β€” nope, it's optional, it's giving guest star not main cast 🌈
  • notifier β€” a struct blocking_notifier_head that's the notifier for reporting hwmon event. so when hwmon stuff happens, this is the group chat that gets the news πŸ“£
lowkey reminder bestie: regmap is the i2c comms layer and en_gpio is optional β€” don't come for me if you forget, it's literally right there in the original 😀

πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./include/linux/mfd/ti-lmu.h β€” go read the header, it's the receipts πŸ’…

that's the whole page, no crumbs left behind πŸ“

sign-off time: this one lives in ./include/linux/mfd and it's dated October 2026 β€” so yeah, future vibes only β­πŸ’–

mwah, go read some kernel headers bestie πŸ§šπŸ¦‹

πŸ“¦ where this page comes from