pinctrl: Add PIN_CONFIG_MODE_PWM to enum pin_config_param
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Apr 2021 14:07:41 +0000 (17:07 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 22 Apr 2021 00:03:01 +0000 (02:03 +0200)
commit09e11caaa4cffac681963688b774e1aa3063b3a9
tree4c4153735cdc16de25ac3044af6c914f28a34730
parent31f9a421a1d01538776db37ec9c5419a3a49d650
pinctrl: Add PIN_CONFIG_MODE_PWM to enum pin_config_param

It seems that we will have more and more pin controllers that support
PWM function on the (selected) pins. Due to it being a part of pin
controller IP the idea is to have some code that will switch the mode
and attach the corresponding driver, for example, via using it as
a library. Meanwhile, put a corresponding item to the pin_config_param
enumerator.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210412140741.39946-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
include/linux/pinctrl/pinconf-generic.h