x86: broadwell: Add a pinctrl driver
authorSimon Glass <sjg@chromium.org>
Sat, 12 Mar 2016 05:07:20 +0000 (22:07 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:26 +0000 (10:27 +0800)
commitb24f5c4f27bf6a473fc9a3937a2bbf6ddf0fb104
treec09ac21f8eb7444f0e84214291e1d7f018b6ca10
parent1e6f4e58862088f31cae350d73f0b1162d0ceb46
x86: broadwell: Add a pinctrl driver

GPIO pins need to be set up on start-up. Add a driver to provide this,
configured from the device tree.

The binding is slightly different from the existing ICH6 binding, since that
is quite verbose. The new binding should be just as extensible.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/broadwell/Makefile
arch/x86/cpu/broadwell/pinctrl_broadwell.c [new file with mode: 0644]
arch/x86/include/asm/arch-broadwell/gpio.h [new file with mode: 0644]
doc/device-tree-bindings/gpio/intel,x86-broadwell-pinctrl.txt [new file with mode: 0644]
include/dt-bindings/gpio/x86-gpio.h