[U-Boot] [PATCH v2 0/9] x86: gpio: Tidy up GPIO driver
Simon Glass
sjg at chromium.org
Sat Aug 22 23:58:52 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.
Changes in v2:
- Adjust pci_get_bus() to probe bus 0 so that the required bus is found
- Fix 'micros' typo
Simon Glass (9):
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/dts/minnowmax.dts | 29 ++++++++++++++++++++++++++++-
common/cmd_gpio.c | 34 +++++++++++++++++++++++++++-------
drivers/gpio/intel_ich6_gpio.c | 38 +++++++++++++++++++++++++++++++-------
drivers/pci/pci-uclass.c | 23 ++++++++++++++++++++---
include/pci.h | 1 +
5 files changed, 107 insertions(+), 18 deletions(-)
--
2.5.0.457.gab17608
More information about the U-Boot
mailing list