STRUCT PM8XXX_PIN_DATA(9)
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,analogorcurrent 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βmppoperates in paired mode. the buddy-system setting, fr fr. π«Άoutput_valueβ logical output value of thempp. the output's logical value, slay. πpower_sourceβ selected power source. which power source got picked. β‘dtestβDTESTroute selector. theDTESTroute 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
- 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