All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] Raspberry Pi 400/Compute Module 4 support
@ 2020-11-19 17:48 Nicolas Saenz Julienne
  2020-11-19 17:48 ` [PATCH 1/8] rpi: Add identifier for the new RPi400 Nicolas Saenz Julienne
                   ` (7 more replies)
  0 siblings, 8 replies; 23+ messages in thread
From: Nicolas Saenz Julienne @ 2020-11-19 17:48 UTC (permalink / raw)
  To: u-boot

This series could be split into at least two or even three parts, but I
kept it as is for now as it contains all the changes needed in order to
have u-boot working on the new Raspberry Pi 400 and Raspberry Pi Compute
Module 4.

There are core changes, specifically with regard to cpu to bus address
space translations. So far we had relied on hardcoded values but RPi
needs per device translations as it has at least three distinct bus
address spaces with different offsets. So it's a good opportunity to
implement bus tranlations the right way by parsing DT's dma-ranges.

I'm not that familiar with u-boot's device/driver model so I might have
made some sille assumptions. Sorry in advance. :)

---

Nicolas Saenz Julienne (8):
  rpi: Add identifier for the new RPi400
  rpi: Add identifier for the new CM4
  pci: pcie-brcmstb: Fix inbound window configurations
  dm: Introduce xxx_get_dma_range()
  dm: Introduce DMA constraints into the core device model
  dm: Introduce dev_phys_to_bus()/dev_bus_to_phys()
  xhci: translate virtual addresses into the bus's address space
  mmc: Introduce mmc_phys_to_bus()/mmc_bus_to_phys()

 board/raspberrypi/rpi/rpi.c  | 10 +++++
 common/fdt_support.c         | 72 ++++++++++++++++++++++++++++++++++++
 drivers/core/device.c        | 24 ++++++++++++
 drivers/core/of_addr.c       | 68 ++++++++++++++++++++++++++++++++++
 drivers/core/ofnode.c        |  9 +++++
 drivers/core/read.c          |  5 +++
 drivers/mmc/sdhci.c          |  7 ++--
 drivers/pci/pcie_brcmstb.c   | 12 +++---
 drivers/usb/host/xhci-mem.c  | 45 +++++++++++-----------
 drivers/usb/host/xhci-ring.c | 11 ++++--
 drivers/usb/host/xhci.c      |  4 +-
 include/dm/device.h          |  1 +
 include/dm/of_addr.h         | 17 +++++++++
 include/dm/ofnode.h          | 16 ++++++++
 include/dm/read.h            |  6 +++
 include/fdt_support.h        | 14 +++++++
 include/mmc.h                | 10 +++++
 include/phys2bus.h           | 16 ++++++++
 include/usb/xhci.h           | 22 ++++++++++-
 19 files changed, 331 insertions(+), 38 deletions(-)

-- 
2.29.2

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

end of thread, other threads:[~2020-12-12 15:39 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 17:48 [PATCH 0/8] Raspberry Pi 400/Compute Module 4 support Nicolas Saenz Julienne
2020-11-19 17:48 ` [PATCH 1/8] rpi: Add identifier for the new RPi400 Nicolas Saenz Julienne
2020-12-01 16:55   ` Matthias Brugger
2020-12-01 17:04     ` Nicolas Saenz Julienne
2020-11-19 17:48 ` [PATCH 2/8] rpi: Add identifier for the new CM4 Nicolas Saenz Julienne
2020-11-20  9:01   ` Nicolas Saenz Julienne
2020-12-01 17:08   ` Matthias Brugger
2020-11-19 17:48 ` [PATCH 3/8] pci: pcie-brcmstb: Fix inbound window configurations Nicolas Saenz Julienne
2020-11-19 17:48 ` [PATCH 4/8] dm: Introduce xxx_get_dma_range() Nicolas Saenz Julienne
2020-12-09 12:58   ` Matthias Brugger
2020-12-09 16:30     ` Nicolas Saenz Julienne
2020-12-09 16:47       ` Nicolas Saenz Julienne
2020-12-10 17:03   ` Peter Robinson
2020-12-10 18:36     ` Nicolas Saenz Julienne
2020-12-11 18:49       ` Peter Robinson
2020-12-12 15:39   ` Simon Glass
2020-11-19 17:48 ` [PATCH 5/8] dm: Introduce DMA constraints into the core device model Nicolas Saenz Julienne
2020-11-19 17:48 ` [PATCH 6/8] dm: Introduce dev_phys_to_bus()/dev_bus_to_phys() Nicolas Saenz Julienne
2020-11-19 17:48 ` [PATCH 7/8] xhci: translate virtual addresses into the bus's address space Nicolas Saenz Julienne
2020-11-20  0:31   ` Bin Meng
2020-11-20  6:15     ` Stefan Roese
2020-11-20  8:53       ` Nicolas Saenz Julienne
2020-11-19 17:48 ` [PATCH 8/8] mmc: Introduce mmc_phys_to_bus()/mmc_bus_to_phys() Nicolas Saenz Julienne

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.