aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pinctrl/machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/pinctrl/machine.h')
-rw-r--r--include/linux/pinctrl/machine.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/include/linux/pinctrl/machine.h b/include/linux/pinctrl/machine.h
index 0ca32eb63b67..ad430e05a7ba 100644
--- a/include/linux/pinctrl/machine.h
+++ b/include/linux/pinctrl/machine.h
@@ -73,31 +73,6 @@ struct pinmux_map {
73 { .name = a, .ctrl_dev_name = b, .function = c, \ 73 { .name = a, .ctrl_dev_name = b, .function = c, \
74 .hog_on_boot = true } 74 .hog_on_boot = true }
75 75
76/*
77 * Convenience macro to map a function onto the primary device pinctrl device
78 * this is especially helpful on systems that have only one pin controller
79 * or need to set up a lot of mappings on the primary controller.
80 */
81#define PINMUX_MAP_PRIMARY(a, b, c) \
82 { .name = a, .ctrl_dev_name = "pinctrl.0", .function = b, \
83 .dev_name = c }
84
85/*
86 * Convenience macro to map a system function onto the primary pinctrl device.
87 * System functions are not assigned to a particular device.
88 */
89#define PINMUX_MAP_PRIMARY_SYS(a, b) \
90 { .name = a, .ctrl_dev_name = "pinctrl.0", .function = b }
91
92/*
93 * Convenience macro to map a system function onto the primary pinctrl device,
94 * to be hogged by the pinmux core until the system shuts down.
95 */
96#define PINMUX_MAP_PRIMARY_SYS_HOG(a, b) \
97 { .name = a, .ctrl_dev_name = "pinctrl.0", .function = b, \
98 .hog_on_boot = true }
99
100
101#ifdef CONFIG_PINMUX 76#ifdef CONFIG_PINMUX
102 77
103extern int pinmux_register_mappings(struct pinmux_map const *map, 78extern int pinmux_register_mappings(struct pinmux_map const *map,