ab8500_gpadc_parse_channel(9)
π ab8500_gpadc_parse_channel π
okay bestie, welcome to the Kernel API Manual entry for ab8500_gpadc_parse_channel(9) β yes that's a mouthful, no I will not be shortening it, it's iconic as-is. π
β¨ NAME β¨
ab8500_gpadc_parse_channel β process devicetree channel configuration π¦
β¨ SYNOPSIS β¨
int ab8500_gpadc_parse_channel (struct device *dev , struct
fwnode_handle *fwnode , struct ab8500_gpadc_chan_info *ch , struct
iio_chan_spec *iio_chan );
like, look at those four arguments. four. she's thorough. π
β¨ ARGUMENTS β¨
devβ pointer to the containing device, the whole reason we're here π«Άfwnodeβ the fw node for the channel we're configuring, that's the one we're reading from β¨chβ the channel info to fill in, she's empty right now and we're about to give her a whole personalityiio_chanβ the IIO channel specification to fill in, also getting filled in, also getting a glow-up π
β¨ DESCRIPTION β¨
so the devicetree is gonna set up the channel for use with the specific device β that's the whole vibe β and it also defines usage for things like AUX GPADC inputs more precisely. like, way more precisely than you'd get otherwise. it's giving "the devicetree is the main character and everyone else is support cast" and honestly? periodt. π
ngl the whole point is that the config comes from the devicetree and lands in the structs you passed in, so by the time this returns your ch and your iio_chan are no longer empty little guys. πΈ
β¨ SEE ALSO β¨
- Kernel file
./drivers/iio/adc/ab8500-gpadc.c struct ab8500_adc_cal_data(9)struct ab8500_gpadc_chan_info(9)struct ab8500_gpadc(9)ab8500_gpadc_ad_to_voltage(9)ab8500_bm_gpadcconvend_handler(9)ab8500_gpadc_parse_channels(9)β yes, the plural one, she's the sibling, iykyk π
ok real talk: this page lives under ./drivers/iio/adc and it's dated October 2026, from the Kernel API Manual. go read it, she ate. πβ¨
and that's the whole manpage bestie, no cap, every crumb of detail preserved, mwah ππ§π
π¦ 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