ENUM PINCFG_TYPE(9)
π NAME π
enum pincfg_type β the possible pin configuration types that are supported, bestie. That's the whole vibe. β¨
πΈ SYNOPSIS πΈ
enum pincfg_type {
PINCFG_TYPE_FUNC ,
PINCFG_TYPE_DAT ,
PINCFG_TYPE_PUD ,
PINCFG_TYPE_DRV ,
PINCFG_TYPE_CON_PDN ,
PINCFG_TYPE_PUD_PDN ,
PINCFG_TYPE_NUM
};
Okay so this is literally the whole enum, laid out exactly like that, no cap β every constant in order, and yes, there's a lil trailing comma situation on PINCFG_TYPE_NUM's line before the closing brace. Copy it as-is, don't get creative. π«Ά
β¨ Constants β¨
PINCFG_TYPE_FUNCβ this one's all about function configuration, iykyk. πPINCFG_TYPE_DATβ the pin value configuration girlie. Setting the actual value. πPINCFG_TYPE_PUDβ pull up/down configuration. Classic. πΈPINCFG_TYPE_DRVβ drive strength configuration, aka how hard the pin goes. π₯PINCFG_TYPE_CON_PDNβ pin function, but in power down mode. Sleepy mode behavior. π΄PINCFG_TYPE_PUD_PDNβ pull up/down configuration in power down mode. Same energy, power-down era. πPINCFG_TYPE_NUMβ and this one is literally marked-- undescribed --in the source docs. Not me leaving you hanging, that's genuinely all it says. π
π¦ SEE ALSO π¦
Head over to the kernel file ./drivers/pinctrl/samsung/pinctrl-samsung.h β there's an enum in there, and honestly the whole friend group is iconic:
eint_type(9)struct samsung_pin_bank_type(9)struct samsung_pin_bank_data(9)struct samsung_pin_bank(9)struct samsung_retention_data(9)struct samsung_pin_ctrl(9)struct samsung_pinctrl_drv_data(9)struct samsung_pinctrl_of_match_data(9)struct samsung_pin_group(9)struct samsung_pmx_func(9)
All of those, in that order, main character energy each one. Go read 'em. π
Okay that's the page!! π Huge shoutout to ./drivers/pinctrl/samsung, dated October 2026, living under the Kernel API Manual umbrella β mwah, love that for us. Go configure some pins, bestie, you're gonna slay πβ¨
π¦ 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