[U-Boot] [PATCH v3 0/4] x86: gpio: Tidy up GPIO driver
Simon Glass
sjg at chromium.org
Tue Sep 1 02:55:34 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 v3:
- Correct failure logic in pci_get_bus()
- Use pci_get_bus in pci_bus_to_hose()
Changes in v2:
- Adjust pci_get_bus() to probe bus 0 so that the required bus is found
Simon Glass (4):
dm: pci: Allow a PCI bus to be found without an alias
gpio: Report errors when GPIOs cannot be read
WIP: x86: gpio: Handle the case where reading a GPIO fails
WIP: x86: gpio: Make sure that output GPIOs can be read
common/cmd_gpio.c | 34 +++++++++++++++++++++++++++-------
drivers/gpio/intel_ich6_gpio.c | 28 ++++++++++++++++++++++++++--
drivers/pci/pci-uclass.c | 28 ++++++++++++++++++++++++----
3 files changed, 77 insertions(+), 13 deletions(-)
--
2.5.0.457.gab17608
More information about the U-Boot
mailing list