]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Add a generic Intel pinctrl driver
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:42:53 +0000 (21:42 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:25 +0000 (11:44 +0800)
commit7f2550209c605afb2c47206fabfd4f5d73b984f8
treee71a8c20cf6f4381598b193611c382264f23beb2
parente1f6cb8fe8091c2ea3611d1bd22b6527bed6de6d
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>
arch/x86/include/asm/intel_pinctrl.h [new file with mode: 0644]
arch/x86/include/asm/intel_pinctrl_defs.h [new file with mode: 0644]
doc/device-tree-bindings/pinctrl/intel,apl-pinctrl.txt [new file with mode: 0644]
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/intel/Kconfig [new file with mode: 0644]
drivers/pinctrl/intel/Makefile [new file with mode: 0644]
drivers/pinctrl/intel/pinctrl.c [new file with mode: 0644]