STRUCT MTK_PMIC_AUXADC_CHAN(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

โœจ 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 a struct 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