pinctrl: intel: Allow to request locked pads
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Aug 2019 16:14:01 +0000 (19:14 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 18 Aug 2019 17:57:50 +0000 (20:57 +0300)
commit1bd231538c21d1cd691e71cbeeb4100fabc58068
tree9448709f97ca11b3c6de9e7b7198653555d400b0
parentbf5ab1bdedac068a90c23c84d9b3495cf1190b33
pinctrl: intel: Allow to request locked pads

Some firmwares would like to protect pads from being modified by OS
and at the same time provide them to OS as a resource. So, the driver
in such circumstances may request pad and may not change its state.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pinctrl/intel/pinctrl-intel.c