STRUCT ADAU1761_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ struct adau1761_platform_data(9) β€” ADAU1761 Codec driver platform data

okay so this is a page straight out of the Kernel API Manual, and it's literally the entire vibe check for the ADAU1761 codec driver's platform data. bestie, this struct is the main character of the sound-card setup β€” it's the little bundle of settings you hand over so the codec knows how you want your pins configured. no cap, let's get into it πŸŽ€


✨ SYNOPSIS ✨

struct adau1761_platform_data {
    bool input_differential;
    enum adau1761_output_mode lineout_mode;
    enum adau1761_output_mode headphone_mode;
    enum adau1761_digmic_jackdet_pin_mode digmic_jackdetect_pin_mode;
    enum adau1761_jackdetect_debounce_time jackdetect_debounce_time;
    bool jackdetect_active_low;
    enum adau17x1_micbias_voltage micbias_voltage;
 };

look at her. seven fields. all cozy in there. πŸ’…


🌸 Members 🌸

  • input_differential β€” if this is true, the input pins get configured in differential mode. simple as that, periodt.
  • lineout_mode β€” the output mode for the LOUT/ROUT pins. that's the line-out squad 🎧
  • headphone_mode β€” the output mode for the LHP/RHP pins. headphone crew, this one's for you 🫢
  • digmic_jackdetect_pin_mode β€” how the JACKDET/MICIN pin is configured. yes, it's one pin doing double duty, she contains multitudes ✨
  • jackdetect_debounce_time β€” the debounce time for jack insertion detection. so we don't get all dramatic over a lil wiggle πŸ”₯
  • jackdetect_active_low β€” if true, jack insertion detection is active low. otherwise it's active high. pick a lane, just pick the right one πŸ™ˆ
  • micbias_voltage β€” the microphone voltage bias. mic needs a lil boost, okay? πŸ’–

⚠️ Note

heads up bestie: micbias_voltage only gets used if the JACKDET/MICIN pin is configured for jack insertion detection. like, she's only invited to the party when that pin's mode says so. no jack detection, no mic bias. iykyk 😭

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./include/linux/platform_data/adau17x1.h
  • enum adau17x1_micbias_voltage(9)
  • enum adau1761_digmic_jackdet_pin_mode(9)
  • enum adau1761_output_mode(9)
  • struct adau1781_platform_data(9)

go read those too, they're the supporting cast and ngl they ate ⭐


and that's the whole page, bestie! πŸ¦‹ this lil gem lives over at ./include/linux/platform_data, dated October 2026, and it's brought to you by the Kernel API Manual. slay, stay configured, and don't forget your debounce time πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from