mbox series

[v4,0/2] usb: host: Add ac5 to EHCI Orion

Message ID 20240114172154.2622275-1-enachman@marvell.com (mailing list archive)
Headers show
Series usb: host: Add ac5 to EHCI Orion | expand

Message

Elad Nachman Jan. 14, 2024, 5:21 p.m. UTC
From: Elad Nachman <enachman@marvell.com>

Add support for ac5 to the EHCI Orion platform driver.
The ac5 SOC has DDR starting at offset 0x2_0000_0000,
Hence it requires a larger than 32-bit DMA mask to operate.
Move the dma mask to be pointed by the OF match data, and
use that match data when initializng the DMA mask.
Add dt bindings compatible string to identify the AC5 SOC,
so the driver will know when to apply this different dma mask.

v4:
   1) Fix kernel test robot error (missing null entry in dt
      compatibility array)

v3:
   1) Combine dt bindings and driver pathces into a single patchset.

v2:
   1) Fix compiler warning

Elad Nachman (2):
  dt-bindings: usb: Add Marvell ac5
  usb: host: Add ac5 to EHCI Orion

 .../devicetree/bindings/usb/generic-ehci.yaml  |  1 +
 drivers/usb/host/ehci-orion.c                  | 18 +++++++++++++++---
 2 files changed, 16 insertions(+), 3 deletions(-)