Skip to content

x86: support of pin-muxing from device tree

Gabriel Huau u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 1 replyIn review

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH 0/4] x86: support of pin-muxing from device tree

Hi Bin,

Quoted 29 lines · Bin Meng

Hi Gabriel,

Quoted 26 lines · Gabriel Huau

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(-)
Quoted 7 lines
Quoted 1 line

--

Thanks for these patches! Just a general comment, you don't need send emails to u-boot-patches at bugs.denx.de, and always include a simple sentence in the commit message :)

Regards,
Bin

That's why I received plenty of emails to tell me that my patches were not assigned :).
I'll do the modification for the next version, thank you for the feedback, I appreciate this.

Regards,
Gabriel