[U-Boot] [PATCH 00/10] x86: gpio: Tidy up GPIO driver
Simon Glass
sjg at chromium.org
Thu Aug 13 04:09:29 CEST 2015
The ICH GPIO driver does not work correctly at present. This series tidies
things up and fixes a few bugs.
One issue remaining is that reading from output GPIOs does not work - it
always returns 0.
Simon Glass (10):
x86: Return -1 when reading a PCI config register fails
x86: minnowmax: Add access to GPIOs E0, E1, E2
dm: pci: Allow a PCI bus to be found without an alias
dm: pci: Add a comment to help find pci_hose_read_config_byte, etc.
x86: minnowmax: Correct pad-offset value for host_en1
gpio: Report errors when GPIOs cannot be read
x86: gpio: Correct calls to _ich6_gpio_set_direction()
x86: gpio: Tidy up gpio_ich6_get_base() and callers
WIP: x86: gpio: Handle the case where reading a GPIO fails
WIP: x86: gpio: Make sure that output GPIOs can be read
arch/x86/cpu/pci.c | 9 ++++++---
arch/x86/dts/minnowmax.dts | 29 ++++++++++++++++++++++++++++-
common/cmd_gpio.c | 34 +++++++++++++++++++++++++++-------
drivers/gpio/intel_ich6_gpio.c | 38 +++++++++++++++++++++++++++++++-------
drivers/pci/pci-uclass.c | 22 +++++++++++++++++++---
include/pci.h | 1 +
6 files changed, 112 insertions(+), 21 deletions(-)
--
2.5.0.276.gf5e568e
More information about the U-Boot
mailing list