aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pinctrl/pinconf-generic.c1
-rw-r--r--include/linux/pinctrl/pinconf-generic.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinconf-generic.c b/drivers/pinctrl/pinconf-generic.c
index bcf8157ceea7..e5948f8172af 100644
--- a/drivers/pinctrl/pinconf-generic.c
+++ b/drivers/pinctrl/pinconf-generic.c
@@ -45,6 +45,7 @@ struct pin_config_item conf_items[] = {
45 PCONFDUMP(PIN_CONFIG_INPUT_SCHMITT, "input schmitt trigger", NULL), 45 PCONFDUMP(PIN_CONFIG_INPUT_SCHMITT, "input schmitt trigger", NULL),
46 PCONFDUMP(PIN_CONFIG_INPUT_DEBOUNCE, "input debounce", "time units"), 46 PCONFDUMP(PIN_CONFIG_INPUT_DEBOUNCE, "input debounce", "time units"),
47 PCONFDUMP(PIN_CONFIG_POWER_SOURCE, "pin power source", "selector"), 47 PCONFDUMP(PIN_CONFIG_POWER_SOURCE, "pin power source", "selector"),
48 PCONFDUMP(PIN_CONFIG_SLEW_RATE, "slew rate", NULL),
48 PCONFDUMP(PIN_CONFIG_LOW_POWER_MODE, "pin low power", "mode"), 49 PCONFDUMP(PIN_CONFIG_LOW_POWER_MODE, "pin low power", "mode"),
49 PCONFDUMP(PIN_CONFIG_OUTPUT, "pin output", "level"), 50 PCONFDUMP(PIN_CONFIG_OUTPUT, "pin output", "level"),
50}; 51};
diff --git a/include/linux/pinctrl/pinconf-generic.h b/include/linux/pinctrl/pinconf-generic.h
index 40d7bb9c7562..3e7909aa5c03 100644
--- a/include/linux/pinctrl/pinconf-generic.h
+++ b/include/linux/pinctrl/pinconf-generic.h
@@ -60,6 +60,9 @@
60 * @PIN_CONFIG_POWER_SOURCE: if the pin can select between different power 60 * @PIN_CONFIG_POWER_SOURCE: if the pin can select between different power
61 * supplies, the argument to this parameter (on a custom format) tells 61 * supplies, the argument to this parameter (on a custom format) tells
62 * the driver which alternative power source to use. 62 * the driver which alternative power source to use.
63 * @PIN_CONFIG_SLEW_RATE: if the pin can select slew rate, the argument to
64 * this parameter (on a custom format) tells the driver which alternative
65 * slew rate to use.
63 * @PIN_CONFIG_LOW_POWER_MODE: this will configure the pin for low power 66 * @PIN_CONFIG_LOW_POWER_MODE: this will configure the pin for low power
64 * operation, if several modes of operation are supported these can be 67 * operation, if several modes of operation are supported these can be
65 * passed in the argument on a custom form, else just use argument 1 68 * passed in the argument on a custom form, else just use argument 1
@@ -83,6 +86,7 @@ enum pin_config_param {
83 PIN_CONFIG_INPUT_SCHMITT, 86 PIN_CONFIG_INPUT_SCHMITT,
84 PIN_CONFIG_INPUT_DEBOUNCE, 87 PIN_CONFIG_INPUT_DEBOUNCE,
85 PIN_CONFIG_POWER_SOURCE, 88 PIN_CONFIG_POWER_SOURCE,
89 PIN_CONFIG_SLEW_RATE,
86 PIN_CONFIG_LOW_POWER_MODE, 90 PIN_CONFIG_LOW_POWER_MODE,
87 PIN_CONFIG_OUTPUT, 91 PIN_CONFIG_OUTPUT,
88 PIN_CONFIG_END = 0x7FFF, 92 PIN_CONFIG_END = 0x7FFF,