STRUCT MTK_PMIC_AUXADC_CHAN(9)
โจ struct mtk_pmic_auxadc_chan(9) โจ
okay bestie, buckle up ๐
this is the Kernel API Manual page for struct mtk_pmic_auxadc_chan โ no cap, it's giving "PMIC AUXADC channel data" and honestly? iconic. let's get into it ๐ซถ
๐ธ NAME ๐ธ
struct mtk_pmic_auxadc_chan โ PMIC AUXADC channel data โจ
๐ฆ SYNOPSIS ๐ฆ
struct mtk_pmic_auxadc_chan {
u8 req_idx;
u16 req_mask;
u8 rdy_idx;
u16 rdy_mask;
s8 ext_sel_idx;
u8 ext_sel_ch;
u8 ext_sel_pu;
u16 num_samples;
struct u8_fract r_ratio;
};
literally the whole vibe of one AUXADC channel, in one struct ๐
๐ Members ๐
req_idxโ the Request register number, like the channel's address on the group chat ๐ฎreq_maskโ the Bitmask to activate a channel. this is the "hey bestie wake up" of bitmasks ๐ฅrdy_idxโ the Readiness register number, where the channel reports back that it's ready โจrdy_maskโ the Bitmask to determine channel readiness. the vibe check of bitmasks, fr fr ๐ext_sel_idxโ the PMIC GPIO channel register number ๐ext_sel_chโ the PMIC GPIO number, just the number, no drama ๐ฆext_sel_puโ the PMIC GPIO channel pullup resistor selector. pullup said "im the main character" ๐num_samplesโ the Number of AUXADC samples for averaging. more samples = more chill ๐r_ratioโ the Resistance ratio fractional โ yes it's astruct u8_fract, we love a nested struct moment ๐
๐ฅ SEE ALSO ๐ฅ
- Kernel file
./drivers/iio/adc/mt6359-auxadc.cโ the actual source bestie, go read it ๐ struct mt6359_auxadc(9)struct mtk_pmic_auxadc_info(9)mt6359_auxadc_sample_adc_val(9)
ngl, that's the whole page ๐ every member, every mask, every ratio โ we kept all of it. no detail left behind, periodt โจ
okay so that's the tea ๐ง this little gem lives over in ./drivers/iio/adc, dated October 2026, and it's part of the Kernel API Manual โ bestie you're officially caught up, 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