STRUCT MAX77759(9)
π struct max77759(9) β the Kernel API Manual glow-up
okay bestie so we're in section 9 of the Kernel API Manual today, and the main character is struct max77759 β literally the core max77759 internal data structure β¨ like, this is the blueprint, the whole vibe, the group chat roster of everything the driver needs π«Ά
πΈ NAME πΈ
struct max77759 β the core max77759 internal data structure. that's it, that's the name, she's iconic and she knows it π
β¨ SYNOPSIS β¨
here's the whole look, no notes, copy it exactly or don't come to me π
struct max77759 {
struct regmap *regmap_top;
struct mutex maxq_lock;
struct regmap *regmap_maxq;
struct completion cmd_done;
struct regmap *regmap_charger;
};
π MEMBERS π
okay so let's meet the cast, one by one, they all serve π
regmap_topβ the regmap for accessing TOP registers. yes queen, top registers, top energy πmaxq_lockβ the lock for serializing access to MaxQ. it's giving "one at a time please, we're not animals" πregmap_maxqβ the regmap for accessing MaxQ registers. different regmap, same slay π¦cmd_doneβ used to signal completion of a MaxQ command. she's the "we're so back" notification fr fr βregmap_chargerβ regmap for accessing charger registers. charging up, obviously β‘
π DESCRIPTION π
so like, the MAX77759? not one thing. she's a whole ensemble cast π the chip comprises several sub-blocks, namely TOP, MaxQ, Charger, Fuel Gauge, and TCPCI. five besties, one silicon package, no cap π
π¦ SEE ALSO π¦
go read these next, i promise they eat π
- Kernel file
./include/linux/mfd/max77759.henummax77759_chgr_chgin_dtls_status(9) - enum
max77759_chgr_bat_dtls_states(9) - enum
max77759_chgr_chg_dtls_states(9) struct max77759_maxq_command(9)struct max77759_maxq_response(9)max77759_maxq_command(9)
lowkey a reminder bestie: every single one of those refs is listed exactly like the original, so don't come for me if you wanted them merged, i would never π
and that's the page!! sign-off time π this one lives in ./include/linux/mfd, dated October 2026, and it's filed under struct max77759(9) β periodt, go touch some registers πβ¨
π¦ 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