Skip to content

Commit

Permalink
pinctrl: baytrail: Add pin control operations
Browse files Browse the repository at this point in the history
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
  - pull up/down and pull strength
  - debounce
  - any other option is treated as not supported.

Signed-off-by: Cristina Ciocan <cristina.ciocan@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Cristina Ciocan authored and Linus Walleij committed Apr 4, 2016
1 parent c8f5c4c commit c501d0b
Show file tree
Hide file tree
Showing 2 changed files with 528 additions and 35 deletions.
3 changes: 3 additions & 0 deletions drivers/pinctrl/intel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ config PINCTRL_BAYTRAIL
bool "Intel Baytrail GPIO pin control"
depends on GPIOLIB && ACPI
select GPIOLIB_IRQCHIP
select PINMUX
select PINCONF
select GENERIC_PINCONF
help
driver for memory mapped GPIO functionality on Intel Baytrail
platforms. Supports 3 banks with 102, 28 and 44 gpios.
Expand Down
Loading

0 comments on commit c501d0b

Please sign in to comment.