public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/4] x86: support of pin-muxing from device tree
@ 2015-04-23 16:16 Gabriel Huau
  2015-04-23 16:16 ` [U-Boot] [PATCH 1/4] x86: baytrail: fix the GPIOBASE address Gabriel Huau
                   ` (8 more replies)
  0 siblings, 9 replies; 61+ messages in thread
From: Gabriel Huau @ 2015-04-23 16:16 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 61+ messages in thread

end of thread, other threads:[~2015-06-04 15:17 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-23 16:16 [U-Boot] [PATCH 0/4] x86: support of pin-muxing from device tree Gabriel Huau
2015-04-23 16:16 ` [U-Boot] [PATCH 1/4] x86: baytrail: fix the GPIOBASE address Gabriel Huau
2015-04-23 16:45   ` [U-Boot] unassigned-patches/139: " u-boot at bugs.denx.de
2015-04-24  1:40   ` [U-Boot] " Bin Meng
2015-04-24  3:25     ` Simon Glass
2015-04-25 20:14   ` [U-Boot] [PATCH 1/5 v2] " Gabriel Huau
2015-04-25 20:16   ` [U-Boot] [PATCH 1/4 v3] " Gabriel Huau
2015-04-26 13:52     ` Bin Meng
2015-04-28 13:53       ` Simon Glass
2015-04-28 15:39         ` Simon Glass
2015-04-23 16:16 ` [U-Boot] [PATCH 2/4] x86: minnowmax: add GPIO banks in the device tree Gabriel Huau
2015-04-23 16:45   ` [U-Boot] unassigned-patches/140: " u-boot at bugs.denx.de
2015-04-24  2:03   ` [U-Boot] " Bin Meng
2015-04-24  5:05     ` [U-Boot] unassigned-patches/146: " u-boot at bugs.denx.de
2015-04-24  3:26   ` [U-Boot] " Simon Glass
2015-04-24  5:05     ` [U-Boot] unassigned-patches/147: " u-boot at bugs.denx.de
2015-04-25 20:16   ` [U-Boot] [PATCH 2/4 v2] " Gabriel Huau
2015-04-26 13:54     ` Bin Meng
2015-04-28 13:53       ` Simon Glass
2015-04-28 15:39         ` Simon Glass
2015-04-23 16:16 ` [U-Boot] [PATCH 3/4] x86: gpio: add pinctrl support from " Gabriel Huau
2015-04-23 16:45   ` [U-Boot] unassigned-patches/138: " u-boot at bugs.denx.de
2015-04-24  3:14   ` [U-Boot] " Bin Meng
2015-04-24 14:32     ` Gabriel Huau
2015-04-24  3:35   ` Simon Glass
2015-04-24  4:40     ` [U-Boot] unassigned-patches/144: " u-boot at bugs.denx.de
2015-04-24 14:37     ` [U-Boot] " Gabriel Huau
2015-04-24 17:55       ` [U-Boot] unassigned-patches/150: " u-boot at bugs.denx.de
2015-04-25 20:17   ` [U-Boot] [PATCH 3/4 v2] " Gabriel Huau
2015-04-28 13:53     ` Simon Glass
2015-04-28 15:22       ` Stephen Warren
2015-05-12  3:34         ` gabriel huau
2015-05-12  3:33       ` gabriel huau
2015-05-12  6:17   ` [U-Boot] [PATCH v3 3/4] " Gabriel Huau
2015-05-26  5:27   ` [U-Boot] [PATCH v4 " Gabriel Huau
2015-06-04 15:17     ` Simon Glass
2015-04-23 16:16 ` [U-Boot] [PATCH 4/4] x86: minnowmax: initialize the pin-muxing from " Gabriel Huau
2015-04-23 16:55   ` [U-Boot] unassigned-patches/143: " u-boot at bugs.denx.de
2015-04-24  3:37   ` [U-Boot] " Simon Glass
2015-04-24  4:45     ` [U-Boot] unassigned-patches/145: " u-boot at bugs.denx.de
2015-04-25 20:18   ` [U-Boot] [PATCH 4/4 v2] " Gabriel Huau
2015-04-28 13:53     ` Simon Glass
2015-05-12  6:18   ` [U-Boot] [PATCH v3 4/4] " Gabriel Huau
2015-06-04 15:17     ` Simon Glass
2015-04-23 16:55 ` [U-Boot] unassigned-patches/142: [PATCH 0/4] x86: support of " u-boot at bugs.denx.de
2015-04-24  3:23 ` [U-Boot] " Bin Meng
2015-04-24  5:05   ` [U-Boot] unassigned-patches/148: " u-boot at bugs.denx.de
2015-04-24 14:40   ` [U-Boot] " Gabriel Huau
2015-04-24 17:55     ` [U-Boot] unassigned-patches/151: " u-boot at bugs.denx.de
2015-05-12  6:10 ` [U-Boot] [PATCH v3 3/4] x86: gpio: add pinctrl support from the " Gabriel Huau
2015-05-12  6:20   ` gabriel huau
2015-05-12  6:12 ` [U-Boot] [PATCH v3 4/4] x86: minnowmax: initialize the pin-muxing from " Gabriel Huau
2015-05-12  6:20   ` gabriel huau
2015-05-20 14:21     ` Simon Glass
2015-05-26  5:30       ` gabriel huau
2015-05-26  8:01         ` Andy Pont
2015-05-26 14:41           ` Gabriel Huau
2015-06-04  9:28             ` Simon Glass
2015-06-04  9:28         ` Simon Glass
2015-05-12  6:15 ` [U-Boot] [PATCH v3 3/4] x86: gpio: add pinctrl support from the " Gabriel Huau
2015-05-12  6:21   ` gabriel huau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox