From patchwork Tue Oct 27 01:18:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 7492951 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 343039F36A for ; Tue, 27 Oct 2015 01:19:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 56959208EB for ; Tue, 27 Oct 2015 01:19:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6CC46208E7 for ; Tue, 27 Oct 2015 01:19:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752790AbbJ0BTO (ORCPT ); Mon, 26 Oct 2015 21:19:14 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:22008 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752101AbbJ0BTN (ORCPT ); Mon, 26 Oct 2015 21:19:13 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie1.idc.renesas.com with ESMTP; 27 Oct 2015 10:19:11 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id A58DA3E778; Tue, 27 Oct 2015 10:19:11 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id A0F16480A3; Tue, 27 Oct 2015 10:19:11 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 99FA948014; Tue, 27 Oct 2015 10:19:11 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac4.idc.renesas.com with ESMTP id LAF12501; Tue, 27 Oct 2015 10:19:11 +0900 X-IronPort-AV: E=Sophos;i="5.20,202,1444662000"; d="scan'";a="197274746" Received: from mail-pu1apc01lp0019.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.19]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 27 Oct 2015 10:19:09 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost (211.11.155.144) by TY1PR06MB0926.apcprd06.prod.outlook.com (10.164.99.152) with Microsoft SMTP Server (TLS) id 15.1.306.13; Tue, 27 Oct 2015 01:19:08 +0000 From: Yoshihiro Shimoda To: , , , , , , CC: , , Yoshihiro Shimoda Subject: [PATCH v4 6/7] usb: host: xhci-plat: add support for the R-Car M2-N xHCI controller Date: Tue, 27 Oct 2015 10:18:29 +0900 Message-ID: <1445908710-5812-7-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1445908710-5812-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1445908710-5812-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS1PR01CA0007.jpnprd01.prod.outlook.com (25.161.225.145) To TY1PR06MB0926.apcprd06.prod.outlook.com (25.164.99.152) X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0926; 2:0a2zExIS/YZdU08hCiPWDDgLc8F70uaQ6uuDHWVnMl0lbGF7ZGBpGLB2NmXg3ScpqtQv6vl28p8IlU9/j4+kLeKS0BFge0wxF9dyg54zWregE5wX8PgG7o4oREUZnFpGWjM+O7PhfWSRxNiS3dJnJXK15n5mNDENHPQxunx8VM0=; 3:iTf/lfwAwg5b2KtRd3cdx+M3Fj83zupS8L2DRd+YLF6xpBEB8C42qe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DWwE7xuTSGzgEiMZPLxZzyzhjstacRxBurAGxEYft1HD5y5Wl8fDFQND9GpJICLtW237l77uB4sRaeGKMjNQGgT11hh+eqbeHbz04Cgt+NrJllCF7eGcMw8bVLuZAssdapyVdeHP3oZolvABfT96yLqLZJ7LZda1q4Wj2Kb+LZspKne9ORU0BMK5PQmr4pVfJnbIWBl88x8I7b2GFDVK/8M9JlEeEIhrYhZF5yLfkM4Z7XIEdq9oBcD0P1Yix6hNSwwuVfoOijkGvF3m8mgGKDsJnuylT X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85106069007906); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(3002001)(102215026); SRVR:TY1PR06MB0926; BCL:0; PCL:0; RULEID:; SRVR:TY1PR06MB0926; X-Forefront-PRVS: 0742443479 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(6009001)(199003)(189002)(42382002)(78352002)(5004730100002)(47776003)(2950100001)(5003940100001)(4001430100002)(5007970100001)(40100003)(42186005)(122386002)(36756003)(76506005)(19580405001)(189998001)(106356001)(5001960100002)(33646002)(81156007)(107886002)(48376002)(101416001)(105586002)(77096005)(19580395003)(92566002)(87976001)(5001770100001)(97736004)(50466002)(76176999)(50986999)(229853001)(50226001)(66066001)(5008740100001); DIR:OUT; SFP:1102; SCL:1; SRVR:TY1PR06MB0926; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:0; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; TY1PR06MB0926; 23:+AlEtJ0Azyiei+I6uYfF1dLFhQIwzKUbcFkitPIHk?= =?us-ascii?Q?E5YABVTrOQDHKx2SpKHdoRSDVDUY4lAXIyGNzp8wTrX+hTrxv2pZEK9ucGm7?= =?us-ascii?Q?iKReIXlMHMhfkx3XIqMnTfwW8P8+jUFujV6I68BoL2dyNxDTv4VVDqdzyHo1?= =?us-asc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lzWpOJee+LEv8B3AoHS9KWLi4?= =?us-ascii?Q?56BJOKdysB2MUMTxInOpUrhz6BQ1DUiCI1aa29T32lcN9E9KQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; TY1PR06MB0926; 5:RqmrUEUaSxmP1V7wkflBia32p69RQCfJc4x3C9a/iw2UVcR38JgKVmDJlT8Ces7/7m17s2FoASuTBkL1SJP9+htnxuyM26PjY9hI4r9+q/nySlBHxzNGjVNj0C13Eax498GKoQretL5R0EamypJJWw==; 24:wep7A+kxCVLQmbUxPoCGBNUGH55GoMTZdkbT64UYTwmwzVLNl1KXm+E94B7zOQKM5ZNU5AiYvsJ37w/wWu4DDn+JpmNVdsM+jCRi7//QGmM=; 20:41QaGufFoEon83V0DHk+3ao+dRjVioc9D42UCLN86AQifrxjVwUbOdWzp62O7kCCnYWJ41zhkl6OwK0+4foX5ZqriYG+FE4BAKrDUGeXNS0Eq6u0mgxMhVBv0rfoaO3VIoBmCXb4igUbQI0wu8hgCULFCW83B8cz5FyoHmM6p9s= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2015 01:19:08.4153 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: TY1PR06MB0926 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.9 required=5.0 tests=AXB_X_OUTLOOKPROT_ENVSDR, BAYES_00, RCVD_IN_DNSWL_HI, 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 a471f12..0113e79 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -97,6 +97,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);