STRUCT ADAU1781_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct adau1781_platform_data β€” ADAU1781 Codec driver platform data

okay bestie so this is from the Kernel API Manual, and it's literally just a little struct that carries the vibe-setting details for the ADAU1781 Codec driver πŸŽ€ like it's not code you run, it's the lil envelope of preferences you hand over so the driver knows how to behave. no cap, it's giving "configuration delivery service" and honestly? obsessed. ✨


🌸 SYNOPSIS 🌸

struct adau1781_platform_data {
    bool left_input_differential;
    bool right_input_differential;
    bool use_dmic;
    enum adau17x1_micbias_voltage micbias_voltage;
 };

that's the whole thing, bestie β€” four fields, zero drama πŸ’–


✨ Members ✨

  • left_input_differential β€” set this to true and the left input gets configured as a differential input πŸ¦‹ that's the whole job, she's straightforward and we love her for it.
  • right_input_differential β€” same deal but on the right side: true means the right input gets configured as a differential input ✨ (and yes, the original page spells it "differntial", we're being correct about it here, it's fine, breathe πŸ’€).
  • use_dmic β€” flip this to true and the MIC pins get configured as digital microphone pins instead of analog microphone pins πŸ“Œ so like, know which kind of mic you're dealing with before you set it, iykyk.
  • micbias_voltage β€” the microphone voltage bias πŸŽ€ type is enum adau17x1_micbias_voltage, and it does exactly what it says on the tin.

πŸ¦‹ 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 adau1761_platform_data(9)

like, go read the neighbors too, they're all hanging out in the same header and they're all iconic in their own way πŸ‘‘


ngl this struct has main character energy for something so small. four fields and a dream. periodt. πŸ’œ

and that's the page, bestie 🫢 this lil gem lives in ./include/linux/platform_data, dated October 2026, straight from the Kernel API Manual β€” mwah, go forth and configure responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from