x86: gpio: add pinctrl support from the device tree
authorGabriel Huau <contact@huau-gabriel.fr>
Tue, 26 May 2015 05:27:37 +0000 (22:27 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Jun 2015 09:32:08 +0000 (03:32 -0600)
commit5318f18d2c002f505054b90bb95ba7c53532eedf
treec9e25f8c9fc57dbeba19b617f421b6f1ba7ca8d1
parentafbbd413a3ef8a45155fcd083814ba645b09fcc7
x86: gpio: add pinctrl support from the device tree

Every pin can be configured now from the device tree. A dt-bindings
has been added to describe the different property available.

Change-Id: I1668886062655f83700d0e7bbbe3ad09b19ee975
Signed-off-by: Gabriel Huau <contact@huau-gabriel.fr>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/dts/minnowmax.dts
arch/x86/include/asm/gpio.h
doc/device-tree-bindings/gpio/intel,x86-pinctrl.txt [new file with mode: 0644]
drivers/gpio/intel_ich6_gpio.c
include/dt-bindings/gpio/x86-gpio.h [new file with mode: 0644]
include/fdtdec.h
lib/fdtdec.c