From patchwork Mon Oct 26 08:12:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 7486061 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9E083BEEA4 for ; Mon, 26 Oct 2015 08:13:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A4B8F206E3 for ; Mon, 26 Oct 2015 08:13:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ACA8D2064C for ; Mon, 26 Oct 2015 08:13:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752964AbbJZIN3 (ORCPT ); Mon, 26 Oct 2015 04:13:29 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:27916 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753284AbbJZINZ (ORCPT ); Mon, 26 Oct 2015 04:13:25 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 26 Oct 2015 17:13:24 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 6E0C84B8F6; Mon, 26 Oct 2015 17:13:24 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 689FE2806E; Mon, 26 Oct 2015 17:13:24 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 60D4D2806D; Mon, 26 Oct 2015 17:13:24 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id TAE09658; Mon, 26 Oct 2015 17:13:24 +0900 X-IronPort-AV: E=Sophos;i="5.20,200,1444662000"; d="scan'";a="198436173" Received: from mail-pu1apc01lp0018.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.18]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 26 Oct 2015 17:13:22 +0900 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost (211.11.155.144) by HK2PR06MB0914.apcprd06.prod.outlook.com (10.162.246.29) with Microsoft SMTP Server (TLS) id 15.1.306.13; Mon, 26 Oct 2015 08:13:21 +0000 From: Yoshihiro Shimoda To: , , , , , , CC: , , Yoshihiro Shimoda Subject: [PATCH v3 6/7] usb: host: xhci-plat: add support for the R-Car M2-N xHCI controller Date: Mon, 26 Oct 2015 17:12:34 +0900 Message-ID: <1445847155-5468-7-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1445847155-5468-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1445847155-5468-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: HKXPR03CA0021.apcprd03.prod.outlook.com (10.141.129.11) To HK2PR06MB0914.apcprd06.prod.outlook.com (25.162.246.29) X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0914; 2:PkAPgOeAEOG08d+e0I6XYkUBngWhudu8xZFc5uMXOGsyxknY7PW2AdYFYjYEokuRoNqRLMGQYvSJDSL1AVgmeHbQHVBTuVGl4an4nLZYpJPOWdF8i82seNZZRfs8ryz8P79GxVWkI8JL3vjbm3XxNc9XjyIcyfeR7ZbaIVpiMh4=; 3:C/GLqLMUYvN9LjY/rANmR970Ybn8tItQojCHMznX6ZtNih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FpQw7ZA+EcstBvwgxWMjMZzVDzhUDkev/oNsZ7R883qRmE1rI2Es4cQ9fWfqAa11D4AyucH9QNw1XKF91iDhMAMNYF6P4spH5d/C61uHQ+j+AAAa1vdQYUP/te+udhv3bemt70z2Kgg2719TLDJrWEgllJLsaEuo4dAMrwFB51wHpEaoMMnUSZKwzTYbOdyI+Pyw7vO6X7ShDDxd9iBTe7y9cg/XNEPTGAKIm5uE2BT57TiAl0ZFsGe/at6zv6z4i6KZxAFvH0Z21VvNrwWtnKWp8bWXpLDkdjCJbls68T54DeqF+ 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)(5005006)(520078)(3002001)(102215026); SRVR:HK2PR06MB0914; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB0914; X-Forefront-PRVS: 0741C77572 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6069001)(6009001)(199003)(189002)(33646002)(229853001)(36756003)(42382002)(97736004)(66066001)(42186005)(5003940100001)(189998001)(76506005)(47776003)(19580405001)(19580395003)(50466002)(77096005)(48376002)(105586002)(106356001)(101416001)(50226001)(76176999)(50986999)(2950100001)(5001770100001)(107886002)(81156007)(87976001)(92566002)(5001960100002)(4001430100002)(5007970100001)(5004730100002)(78352002)(5008740100001)(40100003)(122386002); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB0914; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:0; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR06MB0914; 23:ia3detzsIJDEf/VlRXLE8qw+iWrI5P5v0LIqjCIdl?= =?us-ascii?Q?SbxrywIwYOWcygDCU58cDCApaTr7eiOf3XbxZV8ReWONWTRDyz3N5ocwlREW?= =?us-ascii?Q?XfG+4HlbxoS4Lag2mwESoNLDFolu4QOgV/ARCeodohtiOwD1FmZ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4E/8msuEAm+UaRMPt3TJz26Iv1FiGY3+N?= =?us-ascii?Q?nJDdiQzTSLMbUVSuu/62ONlI54jA8er2hZRiYD4VQsMNXq2vg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB0914; 5:sTP8NktmcnkGLvwMyPHY43FEI+zoqbqZsbVGCwv0DBLKAoYe+VjmpdlYYpkZFblRRzi8crxQziOkK8OQmxAzo3E9fCRGe7Gj9Z15q86uN2Da621pj9ajGYDtdc0k9CqBUZLPne57h4WVQ4TMZI4l7A==; 24:1XwAWjzZcnwPPiBRf8j9jYnx/3vZ8dxthHDMT806gMh37zCRGMKubCfuphIwU2eAPxbfh4Sv48Q759vJtE0tGYYf7SSEm8mvCenjRHJXjtM=; 20:3PdXUy/G/spdGPjCTRsQe8hS755I5ErF6B7KkzM092vuRwnNmzzJOjiBa9us/GX8TLv5JRtt1cmaAWsqVK/YlLtAgGaUE53kqz21EgUx4GAiqsAY7p91mKgzXVUJw3I/xffsNLkTc9lyaAYi4RawgJm6JV8hfeMRD7L7/sQSzfo= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2015 08:13:21.1433 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB0914 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);