STRUCT PM8XXX_PIN_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual glow-up for struct pm8xxx_pin_data(9) β€” yes, section 9, and it's literally the dynamic configuration for a pin. no cap, we're getting into the struct. πŸ’–

✨ NAME ✨

struct pm8xxx_pin_data β€” dynamic configuration for a pin. that's the name, that's the vibe, periodt. πŸ’…

🌸 SYNOPSIS 🌸

here's the whole struct, exactly as it shows up, bestie:

struct pm8xxx_pin_data {
    unsigned reg;
    u8 mode;
    bool input;
    bool output;
    bool high_z;
    bool paired;
    bool output_value;
    u8 power_source;
    u8 dtest;
    u8 amux;
    u8 aout_level;
    u8 drive_strength;
    unsigned pullup;
 };

πŸŽ€ Members πŸŽ€

  • reg β€” address of the control register. that's the pin's control-register address, iykyk. πŸ‘‘
  • mode β€” operating mode for the pin (digital, analog or current sink). the main character energy of the pin. ✨
  • input β€” pin is input. yes, input pin behavior. πŸ’–
  • output β€” pin is output. yes, output pin behavior. πŸ’–
  • high_z β€” pin is floating. high-z icon, floating away. πŸ¦‹
  • paired β€” mpp operates in paired mode. the buddy-system setting, fr fr. 🫢
  • output_value β€” logical output value of the mpp. the output's logical value, slay. 🌈
  • power_source β€” selected power source. which power source got picked. ⚑
  • dtest β€” DTEST route selector. the DTEST route selector, exactly. πŸŽ€
  • amux β€” input muxing in analog mode. analog-mode input muxing, bestie. 🌸
  • aout_level β€” selector of the output in analog mode. picks the output in analog mode. πŸ’œ
  • drive_strength β€” drive strength of the current sink. current-sink drive strength, okay? πŸ”₯
  • pullup β€” pull up value, when in digital bidirectional mode. that's the pull up value in digital bidirectional mode, fr fr. πŸ“

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c β€” go read it, bestie. πŸ“–
  • ./drivers/pinctrl/qcom β€” the directory itself, iconic. πŸ’«

mwah πŸ’‹ β€” source/version: ./drivers/pinctrl/qcom; date: October 2026; page: struct pm8xxx_pin_data(9). periodt. πŸ’…

πŸ“¦ where this page comes from