x86: Convert to use DM PCI APIs completely
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest23 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | spi: ich: Some clean updrivers/ drivers/ | +47 | 2 replies | |
| 1/23 | spi: ich: Some clean up | +0 | 0 replies | |
| 2/23 | spi: ich: Use compatible strings to distinguish controller versionarch/ arch/ arch/ +5 more | +31 | 2 replies | |
| 2/23 | spi: ich: Use compatible strings to distinguish controller version | +0 | 0 replies | |
| 3/23 | spi: ich: Change PCHV_ to ICHV_drivers/ drivers/ | +13 | 2 replies | |
| 3/23 | spi: ich: Change PCHV_ to ICHV_ | +0 | 0 replies | |
| 4/23 | x86: tnc: Drop unprotect_spi_flash()arch/ include/ | +0 | 1 reply | |
| 4/23 | x86: tnc: Drop unprotect_spi_flash() | +0 | 0 replies | |
| 5/23 | x86: quark: Drop unprotect_spi_flash()arch/ | +0 | 1 reply | |
| 5/23 | x86: quark: Drop unprotect_spi_flash() | +0 | 0 replies | |
| 6/23 | dm: pch: Remove pch_get_version oparch/ drivers/ drivers/ +2 more | +0 | 1 reply | |
| 6/23 | dm: pch: Remove pch_get_version op | +0 | 0 replies | |
| 7/23 | dm: pch: Rename get_sbase op to get_spi_basearch/ drivers/ drivers/ +3 more | +14 | 1 reply | |
| 7/23 | dm: pch: Rename get_sbase op to get_spi_base | +0 | 0 replies | |
| 8/23 | dm: pch: Add get_gpio_base opdrivers/ include/ | +29 | 1 reply | |
| 8/23 | dm: pch: Add get_gpio_base op | +0 | 0 replies | |
| 9/23 | x86: pch: Implement get_gpio_base oparch/ drivers/ drivers/ | +99 | 1 reply | |
| 9/23 | x86: pch: Implement get_gpio_base op | +0 | 0 replies | |
| 10/23 | dm: pch: Add get_io_base opdrivers/ include/ | +29 | 1 reply | |
| 10/23 | dm: pch: Add get_io_base op | +0 | 0 replies | |
| 11/23 | x86: pch9: Implement get_io_base opdrivers/ | +17 | 1 reply | |
| 11/23 | x86: pch9: Implement get_io_base op | +0 | 0 replies | |
| 12/23 | x86: ich6_gpio: Convert to use proper DM APIarch/ arch/ arch/ +4 more | +186 | 1 reply | |
| 12/23 | x86: ich6_gpio: Convert to use proper DM API | +0 | 0 replies | |
| 13/23 | x86: Drop asm/arch/gpio.harch/ arch/ arch/ +6 more | +2 | 1 reply | |
| 13/23 | x86: Drop asm/arch/gpio.h | +0 | 0 replies | |
| 14/23 | x86: minnowmax: Drop io-base property in the pch_pinctrl nodearch/ | +0 | 1 reply | |
| 14/23 | x86: minnowmax: Drop io-base property in the pch_pinctrl node | +0 | 0 replies | |
| 15/23 | x86: irq: Get irq_router's bdf via dm_pci_get_bdf()arch/ | +1 | 1 reply | |
| 15/23 | x86: irq: Get irq_router's bdf via dm_pci_get_bdf() | +0 | 0 replies | |
| 16/23 | x86: irq: Move irq_router to a per driver privarch/ arch/ arch/ | +51 | 1 reply | |
| 16/23 | x86: irq: Move irq_router to a per driver priv | +0 | 0 replies | |
| 17/23 | x86: irq: Convert to use DM PCI APIarch/ arch/ | +4 | 1 reply | |
| 17/23 | x86: irq: Convert to use DM PCI API | +0 | 0 replies | |
| 18/23 | x86: tnc: Change disable_igd() to have a return valuearch/ | +7 | 1 reply | |
| 18/23 | x86: tnc: Change disable_igd() to have a return value | +0 | 0 replies | |
| 19/23 | x86: tnc: Use DM PCI API in disable_igd()arch/ | +19 | 1 reply | |
| 19/23 | x86: tnc: Use DM PCI API in disable_igd() | +0 | 0 replies | |
| 20/23 | x86: tnc: Remove IGD and SDVO devices from driver modelarch/ | +36 | 1 reply | |
| 20/23 | x86: tnc: Remove IGD and SDVO devices from driver model | +0 | 0 replies | |
| 21/23 | x86: qemu: Convert to use DM PCI APIarch/ | +17 | 1 reply | |
| 21/23 | x86: qemu: Convert to use DM PCI API | +0 | 0 replies | |
| 22/23 | x86: pci: Use DM PCI APIs in pci_assign_irqs()arch/ | +3 | 1 reply | |
| 22/23 | x86: pci: Use DM PCI APIs in pci_assign_irqs() | +0 | 0 replies | |
| 23/23 | x86: pci: Drop legacy PCI APIsarch/ arch/ | +0 | 1 reply | |
| 23/23 | x86: pci: Drop legacy PCI APIs | +0 | 0 replies |
Reviews trailers per patch
All 46 patches have a Reviewed-by or Acked-by.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH 00/23] x86: Convert to use DM PCI APIs completely
There are still some codes that use the legacy PCI APIs to access the configuration space registers. This series converts those codes to completely use DM PCI APIs.
This includes adding several new ops to the PCH uclass driver, and some clean up to the SPI/GPIO/IRQ drivers.
Tested on QEMU and Crown Bay. This series is available in pci-working branch of u-boot-x86 repo.
Bin Meng (23):
spi: ich: Some clean up
spi: ich: Use compatible strings to distinguish controller version
spi: ich: Change PCHV_ to ICHV_
x86: tnc: Drop unprotect_spi_flash()
x86: quark: Drop unprotect_spi_flash()
dm: pch: Remove pch_get_version op
dm: pch: Rename get_sbase op to get_spi_base
dm: pch: Add get_gpio_base op
x86: pch: Implement get_gpio_base op
dm: pch: Add get_io_base op
x86: pch9: Implement get_io_base op
x86: ich6_gpio: Convert to use proper DM API
x86: Drop asm/arch/gpio.h
x86: minnowmax: Drop io-base property in the pch_pinctrl node
x86: irq: Get irq_router's bdf via dm_pci_get_bdf()
x86: irq: Move irq_router to a per driver priv
x86: irq: Convert to use DM PCI API
x86: tnc: Change disable_igd() to have a return value
x86: tnc: Use DM PCI API in disable_igd()
x86: tnc: Remove IGD and SDVO devices from driver model
x86: qemu: Convert to use DM PCI API
x86: pci: Use DM PCI APIs in pci_assign_irqs()
x86: pci: Drop legacy PCI APIs
arch/x86/cpu/irq.c | 80 +++++++++--------- arch/x86/cpu/ivybridge/bd82x6x.c | 43 ++++++++-- arch/x86/cpu/pci.c | 59 +------------- arch/x86/cpu/qemu/qemu.c | 34 ++++---- arch/x86/cpu/quark/quark.c | 17 ---- arch/x86/cpu/queensbay/irq.c | 2 +- arch/x86/cpu/queensbay/tnc.c | 80 +++++++++++++----- arch/x86/dts/bayleybay.dts | 88 ++++++++++---------- arch/x86/dts/broadwell_som-6896.dts | 2 +- arch/x86/dts/chromebook_link.dts | 44 +++++----- arch/x86/dts/chromebox_panther.dts | 46 ++++++----- arch/x86/dts/crownbay.dts | 32 ++++---- arch/x86/dts/galileo.dts | 30 +++---- arch/x86/dts/minnowmax.dts | 89 ++++++++++---------- arch/x86/include/asm/arch-baytrail/gpio.h | 13 --- arch/x86/include/asm/arch-coreboot/gpio.h | 13 --- arch/x86/include/asm/arch-efi/gpio.h | 10 --- arch/x86/include/asm/arch-ivybridge/gpio.h | 13 --- arch/x86/include/asm/arch-qemu/gpio.h | 13 --- arch/x86/include/asm/arch-quark/gpio.h | 13 --- arch/x86/include/asm/arch-queensbay/gpio.h | 13 --- arch/x86/include/asm/gpio.h | 1 - arch/x86/include/asm/pci.h | 12 --- arch/x86/include/asm/pirq_routing.h | 12 ++- arch/x86/lib/pirq_routing.c | 12 +-- board/intel/galileo/galileo.c | 5 +- drivers/gpio/intel_ich6_gpio.c | 125 ++++++----------------------- drivers/pch/pch-uclass.c | 30 ++++--- drivers/pch/pch7.c | 43 ++++++++-- drivers/pch/pch9.c | 54 +++++++++++-- drivers/spi/ich.c | 76 ++++++++---------- drivers/spi/ich.h | 61 ++++++++++---- include/configs/crownbay.h | 1 - include/pch.h | 64 +++++++++------ 34 files changed, 588 insertions(+), 642 deletions(-) delete mode 100644 arch/x86/include/asm/arch-baytrail/gpio.h delete mode 100644 arch/x86/include/asm/arch-coreboot/gpio.h delete mode 100644 arch/x86/include/asm/arch-efi/gpio.h delete mode 100644 arch/x86/include/asm/arch-ivybridge/gpio.h delete mode 100644 arch/x86/include/asm/arch-qemu/gpio.h delete mode 100644 arch/x86/include/asm/arch-quark/gpio.h delete mode 100644 arch/x86/include/asm/arch-queensbay/gpio.h
Signature · 1 line
1.8.2.1