STRUCT PINCTRL_MAP(9)
β¨ NAME β¨
okay bestie, welcome to the tea on struct pinctrl_map(9) β yes, from the Kernel API Manual β and the short version is literally: boards/machines shall provide this map for devices. periodt π
π¦ SYNOPSIS π¦
here's the shape of her, exactly:
struct pinctrl_map {
const char *dev_name;
const char *name;
enum pinctrl_map_type type;
const char *ctrl_dev_name;
union {
struct pinctrl_map_mux mux;
struct pinctrl_map_configs configs;
} data;
};
π Members π
dev_nameβ the name of the device using this specific mapping. The name must be the same as in yourstruct device*. and heads up π if this name is set to the same name as the pin controller's owndev_name, the map entry will be hogged by the driver itself upon registration.nameβ the name of this specific map entry for the particular machine. This is the parameter passed topinmux_lookup_stateβ¨typeβ the type of mapping table entry.ctrl_dev_nameβ the name of the device controlling this specific mapping; the name must be the same as in yourstruct device*. This field is not used forPIN_MAP_TYPE_DUMMY_STATEπ«Άdataβ Data specific to the mapping type.
π₯ SEE ALSO π₯
Kernel file ./include/linux/pinctrl/machine.h, struct pinctrl_map_mux(9), struct pinctrl_map_configs(9) β go read those too bestie, iykyk πΈ
mwah π source/version: ./include/linux/pinctrl, date: October 2026, title: struct pinctrl_map(9). byeee β¨π¦
π¦ 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