summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGabriel Huau <contact@huau-gabriel.fr>2015-05-25 22:27:37 -0700
committerSimon Glass <sjg@chromium.org>2015-06-04 03:32:08 -0600
commit5318f18d2c002f505054b90bb95ba7c53532eedf (patch)
treec9e25f8c9fc57dbeba19b617f421b6f1ba7ca8d1 /lib
parentafbbd413a3ef8a45155fcd083814ba645b09fcc7 (diff)
downloadblackbird-obmc-uboot-5318f18d2c002f505054b90bb95ba7c53532eedf.tar.gz
blackbird-obmc-uboot-5318f18d2c002f505054b90bb95ba7c53532eedf.zip
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/fdtdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index 1808350a57..46dfcb675c 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -75,6 +75,7 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(AMS_AS3722, "ams,as3722"),
COMPAT(INTEL_ICH_SPI, "intel,ich-spi"),
COMPAT(INTEL_QRK_MRC, "intel,quark-mrc"),
+ COMPAT(INTEL_X86_PINCTRL, "intel,x86-pinctrl"),
COMPAT(SOCIONEXT_XHCI, "socionext,uniphier-xhci"),
COMPAT(COMPAT_INTEL_PCH, "intel,bd82x6x"),
COMPAT(COMPAT_INTEL_IRQ_ROUTER, "intel,irq-router"),
OpenPOWER on IntegriCloud