Message ID | 1537532792-20376-6-git-send-email-yoshihiro.shimoda.uh@renesas.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-usb-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CBC5A6CB for <patchwork-linux-usb@patchwork.kernel.org>; Fri, 21 Sep 2018 12:28:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BCBDB2C2BD for <patchwork-linux-usb@patchwork.kernel.org>; Fri, 21 Sep 2018 12:28:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B139F2D536; Fri, 21 Sep 2018 12:28:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E56C2C2BD for <patchwork-linux-usb@patchwork.kernel.org>; Fri, 21 Sep 2018 12:28:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389935AbeIUSRP (ORCPT <rfc822;patchwork-linux-usb@patchwork.kernel.org>); Fri, 21 Sep 2018 14:17:15 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:14472 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389839AbeIUSRO (ORCPT <rfc822;linux-usb@vger.kernel.org>); Fri, 21 Sep 2018 14:17:14 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie2.idc.renesas.com with ESMTP; 21 Sep 2018 21:28:30 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id AF90C73F03; Fri, 21 Sep 2018 21:28:30 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.54,285,1534777200"; d="scan'208";a="293143267" Received: from mail-ty1jpn01lp0176.outbound.protection.outlook.com (HELO JPN01-TY1-obe.outbound.protection.outlook.com) ([23.103.139.176]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 21 Sep 2018 21:28:30 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7jZxbs7IfweAeHZKP6lcXctk6sTP2RJxdkjJ66n4sLY=; b=c6UjPgB4UMyrIoXHJVw2Ft8GhWv286NGYtYNARS7ahNB1js8b9L+KGsaf0d4xFEhRKHrzcFzhB3PWhbwQW0k80yUYoxX5WvY8Y3XKUc4F9JsD7fqantG7JjRflSqstqnaukYxHUYpLKFsuyV76jScWPYEEI6CuDyfnKpBhQ4RD0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost.localdomain (211.11.155.144) by OSBPR01MB2293.jpnprd01.prod.outlook.com (2603:1096:603:26::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Fri, 21 Sep 2018 12:28:25 +0000 From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> To: balbi@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Subject: [PATCH 5/5] usb: renesas_usbhs: add support for R-Car E3 Date: Fri, 21 Sep 2018 21:26:32 +0900 Message-Id: <1537532792-20376-6-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1537532792-20376-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1537532792-20376-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OSAPR01CA0129.jpnprd01.prod.outlook.com (2603:1096:604:f::21) To OSBPR01MB2293.jpnprd01.prod.outlook.com (2603:1096:603:26::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ef82ebdf-3b52-4318-d234-08d61fbdba3e X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(8559020)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:OSBPR01MB2293; X-Microsoft-Exchange-Diagnostics: 1;OSBPR01MB2293;3:9TzLrUEpys7Vgwd3xdd6w9AZ5QQiOjUeF38HCX/+s2UFtr4ipC0qak22W6gCva5B82ec6KntaPsGHOKBoos2yHOyZ3mN+pTL14ps1w0AnG4PUVOUR5ca9V/8mxdBblaSrd8EyQtRJtx9qD9S5HK2H8Yd3WDE3L113viyIFmPK/rZ8ELb6muUD0REQTh9q/nQTj1bVLo8TcJX8Lohc8A4261pzX+F+FlTyQepwJCQuy78ta55mUy9pk4q6SpT+5f2;25:EQb5bYhLHYljHQleCCuNfTdE6e6kdSY2GQxEoLSnUPcQqiA/og/C/99qXZJpf1Ch1tHoqIOCAMKy3a1Q/PTuni83RDgvYqNmoi57na5MeNFhR6uYHcWe9qIezZtJOdodCpoQiHReFmUS/hTTFdLpMrzQ16vp4xhD+FZyP+Yi9yHpPxbXCSfOIgzHK1c2XRwc+LjIzXGVXVGIRjJ7V8O+8AZ2N3ZNadaHvKhSbJQP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tdFdaTW/OzIvy7dZOGKdZWmYszgLG3JALmi+oGNIXCQg6WhJBWR8zYmLPyfejK4VNqYhtCNE1xbEfMa9uY2PYBy8z46YxWFav0FRvPhBLoEGabEcCTNIOrprPATLkD/AdeEDPNQ== X-Microsoft-Antispam-PRVS: <OSBPR01MB22934A98F45AD9BC4D07681AB8120@OSBPR01MB2293.jpnprd01.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231355)(944501410)(52105095)(93006095)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061750153)(20161123560045)(20161123564045)(201708071742011)(7699051);SRVR:OSBPR01MB2293;BCL:0;PCL:0;RULEID:;SRVR:OSBPR01MB2293; X-Forefront-PRVS: 0802ADD973 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(6069001)(346002)(366004)(376002)(136003)(396003)(39860400002)(199004)(189003)(6506007)(6486002)(107886003)(956004)(2616005)(476003)(42882007)(97736004)(386003)(48376002)(47776003)(25786009)(4326008)(446003)(11346002)(26005)(7736002)(305945005)(8936002)(8676002)(78352004)(69590400006)(50226002)(81166006)(81156014)(68736007)(51416003)(52116002)(76176011)(6666003)(36756003)(3846002)(2906002)(6116002)(53936002)(316002)(16586007)(16526019)(486006)(498600001)(66066001)(6512007)(5660300001)(105586002)(106356001)(50466002)(3720700003);DIR:OUT;SFP:1102;SCL:1;SRVR:OSBPR01MB2293;H:localhost.localdomain;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:0;MX:0; Received-SPF: None (protection.outlook.com: localhost.localdomain does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1;OSBPR01MB2293;23:NYi1494I9G5UFoEgndhHhXNpG2/6YIY6PWZuAiVpkH1yd9UUAcZjcg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+dNK1S/nP162ExRAoGA/ph7KF9J/4puZlgcmHdAhI3bRqS1//sKhkT2p+pUGfTibMLr9M++LMH4zSTlF8X9HHjIn24rA4=;7:7e1yZbbBf6b4KbsxnG/T68O+j5nbqPYgR05Vc9DnEQ6X+XE0fAl2+8XRtNTQGKVzI4zXUjXbgS0XV7atRG8NN+zH8AtBQCU292kVRVg/QU4raUPyT41kGStJTZN3A5fWGGLZUmO8MYwLt7RKS7DUSg4Xf3ebjThlT9XkSUk87xega/DMMv5d3ZVPB/sqA7+WzD4BXl2kJYFU4CkI/TzeNpOsPNjHBHyw9lAKtqs/b5BrBN75cs4lM1VwPynd4wYA SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;OSBPR01MB2293;20:gU33YXXWqa1Jv3iHD/U9uaP85KlVuHm1+BU043xxU+hk0zTbBpxdlA2TlpC5ZZcTSUsLOeEs6qLruUXupXka7SxlIo0IGLx14wN5rdJfrZccJ8utnbt7uqBNWcpPhWRcR5iRSmEO54ckRkXY8wGmd2QDsTjvy8TfB3wUhfgwPwo= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2018 12:28:25.2062 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ef82ebdf-3b52-4318-d234-08d61fbdba3e X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSBPR01MB2293 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: <linux-usb.vger.kernel.org> X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
usb: renesas_usbhs: use otg mode and add support for R-Car E3
|
expand
|
diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c index 522cc09..a3e1290 100644 --- a/drivers/usb/renesas_usbhs/common.c +++ b/drivers/usb/renesas_usbhs/common.c @@ -560,6 +560,10 @@ static int usbhsc_drvcllbck_notify_hotplug(struct platform_device *pdev) .data = (void *)USBHS_TYPE_RCAR_GEN3, }, { + .compatible = "renesas,usbhs-r8a77990", + .data = (void *)USBHS_TYPE_RCAR_GEN3_WITH_PLL, + }, + { .compatible = "renesas,usbhs-r8a77995", .data = (void *)USBHS_TYPE_RCAR_GEN3_WITH_PLL, },
This patch adds support for R-Car E3. This SoC needs to release the PLL reset by the UGCTRL register like R-Car D3. So, this patch adds a usbhs_of_match entry for this SoC with "USBHS_TYPE_RCAR_GEN3_WITH_PLL". Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> --- drivers/usb/renesas_usbhs/common.c | 4 ++++ 1 file changed, 4 insertions(+)