All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 00/23] x86: Convert to use DM PCI APIs completely
@ 2016-02-01  9:40 Bin Meng
  2016-02-01  9:40 ` [U-Boot] [PATCH 01/23] spi: ich: Some clean up Bin Meng
                   ` (23 more replies)
  0 siblings, 24 replies; 83+ messages in thread
From: Bin Meng @ 2016-02-01  9:40 UTC (permalink / raw)
  To: u-boot

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

-- 
1.8.2.1

^ permalink raw reply	[flat|nested] 83+ messages in thread

end of thread, other threads:[~2016-02-04  4:02 UTC | newest]

Thread overview: 83+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-01  9:40 [U-Boot] [PATCH 00/23] x86: Convert to use DM PCI APIs completely Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 01/23] spi: ich: Some clean up Bin Meng
2016-02-01 16:19   ` Simon Glass
2016-02-02 15:54     ` Jagan Teki
2016-02-03  4:32       ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 02/23] spi: ich: Use compatible strings to distinguish controller version Bin Meng
2016-02-01 16:19   ` Simon Glass
2016-02-02 15:55     ` Jagan Teki
2016-02-03  4:32       ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 03/23] spi: ich: Change PCHV_ to ICHV_ Bin Meng
2016-02-01 16:19   ` Simon Glass
2016-02-02 16:01     ` Jagan Teki
2016-02-03  4:32       ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 04/23] x86: tnc: Drop unprotect_spi_flash() Bin Meng
2016-02-01 16:19   ` Simon Glass
2016-02-03  4:32     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 05/23] x86: quark: " Bin Meng
2016-02-01 16:19   ` Simon Glass
2016-02-03  4:33     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 06/23] dm: pch: Remove pch_get_version op Bin Meng
2016-02-01 16:19   ` Simon Glass
2016-02-03  4:33     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 07/23] dm: pch: Rename get_sbase op to get_spi_base Bin Meng
2016-02-01 16:19   ` Simon Glass
2016-02-03  4:33     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 08/23] dm: pch: Add get_gpio_base op Bin Meng
2016-02-01 16:19   ` Simon Glass
2016-02-03  4:33     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 09/23] x86: pch: Implement " Bin Meng
2016-02-01 16:19   ` Simon Glass
2016-02-03  4:33     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 10/23] dm: pch: Add get_io_base op Bin Meng
2016-02-01 16:19   ` Simon Glass
2016-02-03  4:33     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 11/23] x86: pch9: Implement " Bin Meng
2016-02-01 16:19   ` Simon Glass
2016-02-03  4:33     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 12/23] x86: ich6_gpio: Convert to use proper DM API Bin Meng
2016-02-01 16:20   ` Simon Glass
2016-02-03  4:33     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 13/23] x86: Drop asm/arch/gpio.h Bin Meng
2016-02-01 16:20   ` Simon Glass
2016-02-03  4:33     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 14/23] x86: minnowmax: Drop io-base property in the pch_pinctrl node Bin Meng
2016-02-01 16:20   ` Simon Glass
2016-02-03  4:33     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 15/23] x86: irq: Get irq_router's bdf via dm_pci_get_bdf() Bin Meng
2016-02-01 16:20   ` Simon Glass
2016-02-03  4:33     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 16/23] x86: irq: Move irq_router to a per driver priv Bin Meng
2016-02-01 16:20   ` Simon Glass
2016-02-03  4:33     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 17/23] x86: irq: Convert to use DM PCI API Bin Meng
2016-02-01 16:20   ` Simon Glass
2016-02-03  4:33     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 18/23] x86: tnc: Change disable_igd() to have a return value Bin Meng
2016-02-01 16:20   ` Simon Glass
2016-02-03  4:33     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 19/23] x86: tnc: Use DM PCI API in disable_igd() Bin Meng
2016-02-01 16:20   ` Simon Glass
2016-02-03  4:34     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 20/23] x86: tnc: Remove IGD and SDVO devices from driver model Bin Meng
2016-02-01 16:20   ` Simon Glass
2016-02-03  4:34     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 21/23] x86: qemu: Convert to use DM PCI API Bin Meng
2016-02-01 16:20   ` Simon Glass
2016-02-03  4:34     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 22/23] x86: pci: Use DM PCI APIs in pci_assign_irqs() Bin Meng
2016-02-01 16:20   ` Simon Glass
2016-02-03  4:34     ` Bin Meng
2016-02-01  9:40 ` [U-Boot] [PATCH 23/23] x86: pci: Drop legacy PCI APIs Bin Meng
2016-02-01 16:20   ` Simon Glass
2016-02-03  4:34     ` Bin Meng
2016-02-01 16:19 ` [U-Boot] [PATCH 00/23] x86: Convert to use DM PCI APIs completely Simon Glass
2016-02-02  2:25   ` Bin Meng
2016-02-02  3:55     ` Simon Glass
2016-02-02  6:34       ` Bin Meng
2016-02-03  3:30         ` Simon Glass
2016-02-03  3:44           ` Bin Meng
2016-02-04  4:01             ` Simon Glass
2016-02-03  3:37   ` Simon Glass
2016-02-03  3:58     ` Bin Meng
2016-02-04  4:02       ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.