axp20x_device_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… axp20x_device_probe(9)

okay so welcome to the Kernel API Manual bestie, today we're learning about axp20x_device_probe and honestly? it's giving "small function, big responsibilities" ✨


🌸 NAME 🌸

axp20x_device_probe β€” probe a configured axp20x device πŸŽ€


✨ SYNOPSIS ✨

int axp20x_device_probe (struct axp20x_dev *axp20x );

like yes, that's the whole signature, she's short but she's powerful πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • axp20x β€” the axp20x device to probe, and listen, it must be configured already, no walking in there unprepared, this is not a vibe-check-as-you-go situation 😭

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea β˜• β€” this function is the one that lets the axp20x core register the axp20x mfd devices and the irqchip. main character energy fr fr.

but before she'll do any of that, the axp20x device you hand her has to be fully configured:

  • it's gotta be set up with axp20x_match_device
  • its irq has to be set
  • and the regmap has to be created

no config, no probe. she's not doing guesswork, she's not doing "close enough" β€” fully configured or nothing, and that's on periodt πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

like go read those too, iykyk 🫢


and that's the page!! 🌈 this lil gem lives in ./include/linux/mfd, dated October 2026, and was documented right here in the Kernel API Manual β€” mwah, slay, go probe responsibly πŸ’–πŸŽ€πŸ§š

πŸ“¦ where this page comes from