From patchwork Wed Oct 7 11:38:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 7344561 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 81E3E9F302 for ; Wed, 7 Oct 2015 11:39:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9D7BB205EF for ; Wed, 7 Oct 2015 11:39:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8E5E8205DC for ; Wed, 7 Oct 2015 11:39:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753786AbbJGLjr (ORCPT ); Wed, 7 Oct 2015 07:39:47 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:59169 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753782AbbJGLjo (ORCPT ); Wed, 7 Oct 2015 07:39:44 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie1.idc.renesas.com with ESMTP; 07 Oct 2015 20:39:43 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 2437145AB4; Wed, 7 Oct 2015 20:39:43 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 10DB78002E; Wed, 7 Oct 2015 20:39:43 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 087D18002D; Wed, 7 Oct 2015 20:39:43 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac1.idc.renesas.com with ESMTP id WAR16206; Wed, 7 Oct 2015 20:39:43 +0900 X-IronPort-AV: E=Sophos;i="5.17,648,1437404400"; d="scan'";a="195945264" Received: from mail-hk2apc01lp0208.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.208]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 07 Oct 2015 20:39:41 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost (211.11.155.144) by SG2PR06MB0918.apcprd06.prod.outlook.com (10.162.201.158) with Microsoft SMTP Server (TLS) id 15.1.293.16; Wed, 7 Oct 2015 11:39:40 +0000 From: Yoshihiro Shimoda To: , , , , , , CC: , , Yoshihiro Shimoda Subject: [PATCH v2 5/6] usb: host: xhci-plat: add support for the R-Car M2-N xHCI controller Date: Wed, 7 Oct 2015 20:38:57 +0900 Message-ID: <1444217938-4668-6-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1444217938-4668-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1444217938-4668-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0013.jpnprd01.prod.outlook.com (25.161.131.151) To SG2PR06MB0918.apcprd06.prod.outlook.com (25.162.201.158) X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0918; 2:v+7YuGgs4WjyB5/bA2gRbXSpQggCD9D6wWuOE2Hr8xbnNVBIF0DVmXxvba9KBEsrJLYHcTVATSp/4AIT3E7PzdLulHKdmTGPcKeKy25yAPMpfkqdV7FAdjqvsaF9alod+e/+dSCzaFeNQPbXjbgs+7BMXXINy/gwL7EmOHdGG2w=; 3:O3aP7Hf8szZMSc9hEvMG6Wh83HB9/pnxv5rZBeHHzqCs1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/zY644v/yuVHOvgjMe24I/lcm77okWfCebSCHrP+qqItVM5DalNRrap/Qolj8EPyXwyezzmhAgUwH4Wkhz6GMfrkCrYZKO5a+gW7+kFLAyARDPFVCY0oWrE9FqKmzdhRD3xpLH3ZNGurQ+Gtb4qDcYc+aT+gsNqXnrqSbGXYP/bKBjfO86UvrmBI9FqEwnoXTjcHqMC6JGPu3lcEnkhCU3xhCZ2Ev986PqMXWaXZFK2Sj9UAVD2yKXEvn9ShTg3eP8w3zeIfo+JBI4/YhCaQaQa7j6XEUZ8SFc1cc= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(3002001); SRVR:SG2PR06MB0918; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB0918; X-Forefront-PRVS: 0722981D2A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6069001)(199003)(189002)(47776003)(101416001)(50466002)(87976001)(50986999)(5001960100002)(107886002)(64706001)(33646002)(36756003)(66066001)(77096005)(2950100001)(42382002)(76176999)(40100003)(5004730100002)(78352002)(5007970100001)(5001920100001)(97736004)(81156007)(5001770100001)(5008740100001)(50226001)(229853001)(189998001)(42186005)(122386002)(5003940100001)(48376002)(46102003)(76506005)(19580395003)(105586002)(19580405001)(106356001)(92566002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB0918; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:0; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB0918; 23:zzRkYxhZpc29iTeAcu6OSKzUatAFcPzTWKFFzyQcV?= =?us-ascii?Q?NvtldQC8NYu5PIIMyWJnqzwQp9PqqQwiC6NTMH3NdUTeNWz59XBeRP1vSjAw?= =?us-ascii?Q?W385JYxePTlEc3wpnXtNGJVyXSLKUWw2sqf0n14x843BSaL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TlW58+icvoyJF65YViKbGpjEQ4SurP7ex9Y8TZZiIl3wbYkG8E82ozJx+l9?= =?us-ascii?Q?hETpR/3UHfOD012/IH6QCpMqhlq/m4r7I870xw7+eyWYdeLvS7L4NBdsqN7u?= =?us-ascii?Q?r4MNL0fe34aIRPJG7hwah8vlXZysbA70O7czxZqgTdM9urKcSC08ZM0aw8zS?= =?us-ascii?Q?YtHjG4qkKwPhaw=3D?= X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0918; 5:8FAkkWju8WM7jv8M3hPoc+mYWUthB4HGL6TKJ7y0if/KSBiQ9gUq/QvZooG0Dthqq1EVO2sf4IQEMODn3gn8X3d9osyV2KEnQMa5OvpFvDJ0bZTCQx5lmZRrSM92TNPMbLiejYG6pLfboYeron3HTg==; 24:huTpVB4HN+BDGCVS7EdWxjHXBzxvJhyMTynOCAvy0d7ed7onb+CYN+kUJJeWAYnJyViDiN/62Zx/htPP+J8L6vElR03yaq73U6xHII31khI=; 20:o+piYyEkCLzCr5Oxy1CB9MLOBGcPDiTlq8ODhfafw8HWsHiksSbdNCKHHRQqRK99ijluaATVqm5ylEnuPQxMcZvsQk5W1xfce2P3qaLqlbhdymZgz7A8JRybexqZvC7v+IVKW0V3f9N9msSsUu8B2iEbcPEOmhA2+lWqFYDxqqU= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2015 11:39:40.7033 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB0918 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=AXB_X_OUTLOOKPROT_ENVSDR, BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds support for R-Car M2-N (r8a7793) xHCI controller. This SoC is compatible with R-Car H2 (r8a7790) and R-Car M2-W (r8a7791). Signed-off-by: Yoshihiro Shimoda --- Documentation/devicetree/bindings/usb/usb-xhci.txt | 4 ++-- drivers/usb/host/xhci-plat.c | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/usb-xhci.txt b/Documentation/devicetree/bindings/usb/usb-xhci.txt index 86f67f0..106299a 100644 --- a/Documentation/devicetree/bindings/usb/usb-xhci.txt +++ b/Documentation/devicetree/bindings/usb/usb-xhci.txt @@ -3,8 +3,8 @@ USB xHCI controllers Required properties: - compatible: should be one of "generic-xhci", "marvell,armada-375-xhci", "marvell,armada-380-xhci", - "renesas,xhci-r8a7790", "renesas,xhci-r8a7791" (deprecated: - "xhci-platform"). + "renesas,xhci-r8a7790", "renesas,xhci-r8a7791", "renesas,xhci-r8a7793" + (deprecated: "xhci-platform"). - reg: should contain address and length of the standard XHCI register set for the device. - interrupts: one XHCI interrupt should be described here. diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index 4cdf60b..dd63f3b 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -96,6 +96,9 @@ static const struct of_device_id usb_xhci_of_match[] = { .compatible = "renesas,xhci-r8a7791", .data = &xhci_plat_renesas_rcar_gen2, }, { + .compatible = "renesas,xhci-r8a7793", + .data = &xhci_plat_renesas_rcar_gen2, + }, { }, }; MODULE_DEVICE_TABLE(of, usb_xhci_of_match);