x86: Add a generic Intel pinctrl driver
Recent Intel SoCs share a pinctrl mechanism with many common elements. Add an implementation of this core functionality, allowing SoC-specific drivers to avoid adding common code. As well as a pinctrl driver this provides a GPIO driver based on the same code. Once other SoCs use this driver we may consider moving more properties to the device tree (e.g. the community info and pad definitions). Signed-off-by:Simon Glass <sjg@chromium.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com>
Showing
- arch/x86/include/asm/intel_pinctrl.h 306 additions, 0 deletionsarch/x86/include/asm/intel_pinctrl.h
- arch/x86/include/asm/intel_pinctrl_defs.h 373 additions, 0 deletionsarch/x86/include/asm/intel_pinctrl_defs.h
- doc/device-tree-bindings/pinctrl/intel,apl-pinctrl.txt 39 additions, 0 deletionsdoc/device-tree-bindings/pinctrl/intel,apl-pinctrl.txt
- drivers/pinctrl/Kconfig 9 additions, 0 deletionsdrivers/pinctrl/Kconfig
- drivers/pinctrl/Makefile 1 addition, 0 deletionsdrivers/pinctrl/Makefile
- drivers/pinctrl/intel/Kconfig 16 additions, 0 deletionsdrivers/pinctrl/intel/Kconfig
- drivers/pinctrl/intel/Makefile 5 additions, 0 deletionsdrivers/pinctrl/intel/Makefile
- drivers/pinctrl/intel/pinctrl.c 636 additions, 0 deletionsdrivers/pinctrl/intel/pinctrl.c
Loading
Please register or sign in to comment