STRUCT TI_LMU(9)
β¨ 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 spelledcommuncationin 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β astruct blocking_notifier_headthat's the notifier for reporting hwmon event. so when hwmon stuff happens, this is the group chat that gets the news π£
lowkey reminder bestie:regmapis the i2c comms layer anden_gpiois 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
- 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