From: u-boot at bugs.denx.de Date: Thu, 23 Apr 2015 18:55:02 +0200 (CEST) Subject: [U-Boot] unassigned-patches/142: [PATCH 0/4] x86: support of pin-muxing from device tree In-Reply-To: <1429805775-1809-1-git-send-email-contact@huau-gabriel.fr> References: <1429805775-1809-1-git-send-email-contact@huau-gabriel.fr> Message-ID: <20150423165502.201663A94@theia.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This serie of patches adds the support of pin-muxing from the device tree through different properties. I have put two example to enable the USB Host on the minnowboard max. The support of the call to 'setup_pch_gpios' is still supported and only the minnowboard has been tested with the device tree implementation. Because the GPIO and IO base register ares different, I have also defined some proxy function to set the function/value and direction of the GPIO as the GPIO register can override some registers in the IO. Gabriel Huau (4): x86: baytrail: fix the GPIOBASE address x86: minnowmax: add GPIO banks in the device tree x86: gpio: add pinctrl support from the device tree x86: minnowmax: initialize the pin-muxing from device tree arch/x86/dts/minnowmax.dts | 63 +++++++++ arch/x86/include/asm/arch-baytrail/gpio.h | 3 +- arch/x86/include/asm/gpio.h | 1 + board/intel/minnowmax/minnowmax.c | 9 ++ drivers/gpio/intel_ich6_gpio.c | 222 ++++++++++++++++++++++++++---- include/configs/minnowmax.h | 1 + include/dt-bindings/gpio/gpio.h | 20 +++ 7 files changed, 292 insertions(+), 27 deletions(-) -- 2.1.4 --- Added to GNATS database as unassigned-patches/142 >Responsible: patch-coord >Message-Id: <1429805775-1809-1-git-send-email-contact@huau-gabriel.fr> >In-Reply-To: >References: >Patch-Date: Thu Apr 23 18:16:11 +0200 2015