]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: lynxpoint: Add pin control operations
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 20 Nov 2019 19:31:11 +0000 (21:31 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 13 Dec 2019 14:48:48 +0000 (16:48 +0200)
commit2cd2f796f96fbc492e639f881fe6b77ce87d42c4
treefb4fece1206810844433a8d95052a18521a804d8
parent9ebac89ed1148bfc8311ba3b569747a944883cbf
pinctrl: lynxpoint: Add pin control operations

Add implementation for:
    - pin control, group information retrieval: count, name and pins
    - pin muxing:
      - function information (count, name and groups)
      - mux setting
      - GPIO control (enable, disable, set direction)
    - pin configuration:
      - pull disable, up and down
      - any other option is treated as not supported.

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