Skip to contentSkip to conversation

arm: mvebu: usb: enable Armada 375 in XHCI driver

PATCH Superseded Tony Dinh 2 participants 3 messages May 29 – May 30

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Tony Dinh

author
#0 lore raw

PATCH 1/1 arm: mvebu: usb: enable Armada 375 in XHCI driver

Add armada-375-xhci to the compatible list in XHCI MVEBU driver. Tested with WD MyCloud Gen2 NAS.

---

 drivers/usb/host/xhci-mvebu.c | 1 +
 1 file changed, 1 insertion(+)
drivers/usb/host/xhci-mvebu.c +1 -0
index 12dc61aee9d..9d45d0ef8fc 100644
@@ -82,6 +82,7 @@ static int xhci_usb_of_to_plat(struct udevice *dev)
 
 static const struct udevice_id xhci_usb_ids[] = {
 	{ .compatible = "marvell,armada3700-xhci" },
+	{ .compatible = "marvell, armada-375-xhci" },
 	{ .compatible = "marvell,armada-380-xhci" },
 	{ .compatible = "marvell,armada-8k-xhci" },
 	{ }
Signature · 4 lines
2.47.3

base-commit: 32f40f9c7602910466c42eb184329a54045bee6f
branch: master
#1 lore raw
Quoted 2 lines · Tony Dinh

Add armada-375-xhci to the compatible list in XHCI MVEBU driver. Tested with WD MyCloud Gen2 NAS.

[...]

drivers/usb/host/xhci-mvebu.c static int xhci_usb_of_to_plat(struct udevice *dev) · line 85

Quoted 3 lines

static const struct udevice_id xhci_usb_ids[] = {
{ .compatible = "marvell,armada3700-xhci" },

drivers/usb/host/xhci-mvebu.c +1 -0
+	{ .compatible = "marvell, armada-375-xhci" },

Do you also include the space in your platform DT ?

author
#2 lore raw

Hi Marek,

Quoted 11 lines · Marek Vasut
Quoted 2 lines · Tony Dinh

Add armada-375-xhci to the compatible list in XHCI MVEBU driver. Tested with WD MyCloud Gen2 NAS.

[...]

Quoted 3 lines
  static const struct udevice_id xhci_usb_ids[] = {
      { .compatible = "marvell,armada3700-xhci" },

+ { .compatible = "marvell, armada-375-xhci" },

Do you also include the space in your platform DT ?

Thanks for spotting that, I need new glasses! Will send v2 patch.

All the best,
Tony