Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754291AbaDYONc (ORCPT ); Fri, 25 Apr 2014 10:13:32 -0400 Received: from top.free-electrons.com ([176.31.233.9]:47287 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754104AbaDYOHm (ORCPT ); Fri, 25 Apr 2014 10:07:42 -0400 From: Gregory CLEMENT To: Mathias Nyman , Greg Kroah-Hartman , Felipe Balbi , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory CLEMENT Cc: Thomas Petazzoni , Ezequiel Garcia , linux-arm-kernel@lists.infradead.org, Lior Amsalem , Tawfik Bayouk , Nadav Haklai , Grant Likely , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v2 10/18] usb: host: xhci-plat: Add support for the Armada 375 Date: Fri, 25 Apr 2014 16:07:08 +0200 Message-Id: <1398434836-18908-11-git-send-email-gregory.clement@free-electrons.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1398434836-18908-1-git-send-email-gregory.clement@free-electrons.com> References: <1398434836-18908-1-git-send-email-gregory.clement@free-electrons.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For the Armada 375 SoC which comes with an xhci controller. Currently the quirk is the same that the Armada 380/385 one, but by introducing a new compatible string it will allow to make the driver evolve seamless. Signed-off-by: Gregory CLEMENT --- drivers/usb/host/xhci-plat.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index c0e835b49e0d..679b21f30458 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -152,6 +152,9 @@ static int xhci_plat_probe(struct platform_device *pdev) if (of_device_is_compatible(pdev->dev.of_node, "marvell,armada-380-xhci")) xhci_mvebu_mbus_init_quirk(pdev); + if (of_device_is_compatible(pdev->dev.of_node, "marvell,armada-375-xhci")) + xhci_mvebu_mbus_init_quirk(pdev); + /* Initialize dma_mask and coherent_dma_mask to 32-bits */ ret = dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(32)); if (ret) @@ -284,6 +287,7 @@ static const struct of_device_id usb_xhci_of_match[] = { { .compatible = "generic-xhci" }, { .compatible = "xhci-platform" }, { .compatible = "marvell,armada-380-xhci"}, + { .compatible = "marvell,armada-375-xhci"}, { }, }; MODULE_DEVICE_TABLE(of, usb_xhci_of_match); -- 1.8.1.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/