All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Convert MIPS Malta boards to PCI DM
@ 2021-07-06 14:22 Daniel Schwierzeck
  2021-07-06 14:22 ` [PATCH 1/6] dm: pci: add option to map virtual system memory base address Daniel Schwierzeck
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Daniel Schwierzeck @ 2021-07-06 14:22 UTC (permalink / raw)
  To: u-boot; +Cc: Simon Glass, Stefan Roese, Tom Rini, Daniel Schwierzeck


This series converts the PCI host controller drivers used by MIPS
Malta and the board-specific PCI setup code to PCI driver model.
Because the AMD PCNET driver is already converted to ETH driver
model, simply enable CONFIG_DM_ETH as well.

A patch in PCI uclass core is currently required for MIPS wanting
to use PCI DM (except Octeon MIPS64) due to CONFIG_SYS_SDRAM_BASE
being used as a virtual address on all MIPS boards.

The series for now is only tested with Qemu and the GT64120 PCI
controller. The Malta Qemu tests are already covered by U-Boot CI
Support for the MSC01 controller is prepared. The used PCI controller
depends on the plugged core card (Qemu emulates the CoreLV card with
GT64120).

Dynamic selection of the according PCI DT nodes via CONFIG_OF_BOARD_FIXUP
is prepared but not yet enabled. This requires fixing of the call order of
fix_fdt() in board_init_f, otherwise the passed-in rw_fdt_blob pointer
will point to a read-only NOR flash address. I'll send a separate
RFC patch for this.

I'll send a cleanup series for removing non-DM code after the merge
windows has closed and the PCI DM conversion deadline has been
enforced.



Daniel Schwierzeck (6):
  dm: pci: add option to map virtual system memory base address
  pci: gt64120: convert to driver model
  pci: msc01: convert to driver model
  MIPS: malta: add DT bindings for PCI host controller
  MIPS: malta: add support for PCI driver model
  MIPS: malta: enable PCI driver model

 arch/mips/Kconfig           |  4 ++
 arch/mips/dts/mti,malta.dts | 28 +++++++++++++
 board/imgtec/malta/malta.c  | 84 ++++++++++++++++++++++++++++++++++++-
 drivers/pci/Kconfig         | 13 ++++++
 drivers/pci/pci-uclass.c    |  9 ++--
 drivers/pci/pci_gt64120.c   | 72 ++++++++++++++++++++++++++++++-
 drivers/pci/pci_msc01.c     | 70 ++++++++++++++++++++++++++++++-
 7 files changed, 274 insertions(+), 6 deletions(-)

-- 
2.32.0


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

end of thread, other threads:[~2021-07-20 18:37 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-06 14:22 [PATCH 0/6] Convert MIPS Malta boards to PCI DM Daniel Schwierzeck
2021-07-06 14:22 ` [PATCH 1/6] dm: pci: add option to map virtual system memory base address Daniel Schwierzeck
2021-07-09  7:11   ` Stefan Roese
2021-07-06 14:22 ` [PATCH 2/6] pci: gt64120: convert to driver model Daniel Schwierzeck
2021-07-08 22:31   ` Simon Glass
2021-07-06 14:22 ` [PATCH 3/6] pci: msc01: " Daniel Schwierzeck
2021-07-08 22:31   ` Simon Glass
2021-07-06 14:22 ` [PATCH 4/6] MIPS: malta: add DT bindings for PCI host controller Daniel Schwierzeck
2021-07-06 14:22 ` [PATCH 5/6] MIPS: malta: add support for PCI driver model Daniel Schwierzeck
2021-07-11  0:00   ` Simon Glass
2021-07-13  1:17     ` Daniel Schwierzeck
2021-07-13 20:17       ` Simon Glass
2021-07-06 14:22 ` [PATCH 6/6] MIPS: malta: enable " Daniel Schwierzeck
2021-07-15 18:53 ` [PATCH v2 0/6] Convert MIPS Malta boards to PCI DM Daniel Schwierzeck
2021-07-15 18:53   ` [PATCH v2 1/6] dm: pci: add option to map virtual system memory base address Daniel Schwierzeck
2021-07-20 18:33     ` Simon Glass
2021-07-15 18:53   ` [PATCH v2 2/6] pci: gt64120: convert to driver model Daniel Schwierzeck
2021-07-15 18:53   ` [PATCH v2 3/6] pci: msc01: " Daniel Schwierzeck
2021-07-15 18:53   ` [PATCH v2 4/6] MIPS: malta: add DT bindings for PCI host controller Daniel Schwierzeck
2021-07-15 18:54   ` [PATCH v2 5/6] MIPS: malta: add support for PCI driver model Daniel Schwierzeck
2021-07-15 18:54   ` [PATCH v2 6/6] MIPS: malta: enable " Daniel Schwierzeck
2021-07-18 18:42   ` [PATCH v2 0/6] Convert MIPS Malta boards to PCI DM Daniel Schwierzeck

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.