From patchwork Fri Sep 21 12:26:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 10609971 Return-Path: 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 6B54A6CB for ; Fri, 21 Sep 2018 12:28:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 582342D54E for ; Fri, 21 Sep 2018 12:28:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47B372D52D; Fri, 21 Sep 2018 12:28:32 +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=ham 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 A9E122D52D for ; Fri, 21 Sep 2018 12:28:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389805AbeIUSRI (ORCPT ); Fri, 21 Sep 2018 14:17:08 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:35622 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388909AbeIUSRI (ORCPT ); Fri, 21 Sep 2018 14:17:08 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 21 Sep 2018 21:28:26 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id B864475223; Fri, 21 Sep 2018 21:28:26 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.54,284,1534777200"; d="scan'208";a="291576161" Received: from mail-ty1jpn01lp0184.outbound.protection.outlook.com (HELO JPN01-TY1-obe.outbound.protection.outlook.com) ([23.103.139.184]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 21 Sep 2018 21:28:26 +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=cI8KO6KLso16ThrTvxcLIcJoPhlPkXKXXglhqH61eis=; b=EkOVC1YIXNwUOz/TGfBmMFqJVsn3K9H1JbFjt0WKMtqC6O2BACSITfJkUFIUbqvcczvns6Mg0vUgb50bg99OZBPyTEHMuy7gPwqmkeaXd6FScOo6YhPJ8tbHa8TL3ewKqGBoeiLickx4yIZ1415TZsv5F0uRxg53/LHVUUdYMVQ= 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:23 +0000 From: Yoshihiro Shimoda 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 Subject: [PATCH 1/5] Revert "usb: renesas_usbhs: add extcon notifier to set mode for non-otg channel" Date: Fri, 21 Sep 2018 21:26:28 +0900 Message-Id: <1537532792-20376-2-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 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: 648a18cc-5d1e-4c2e-8fae-08d61fbdb939 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:UDksUCR6NixksPbWjvKg+7iz5xR+LClIL7Gk5hTE7jJd/0ddnnrqaTd4JhDioSI3mSdk/kLoOuxfaqA6CxPtjHN6myLxIKnA+oTJ9/+fLomfhRv9SkDEPFysr6yGfyUi2YQZ4RRank7w7EVd5o1GaasuutyclwiAyPQ8wa/8dlahRCnsX8saSATQ4U8SETwLnjLk56YcnmEapQeY8qvDRnn7rYN060fGOIwkQQdVm0ZayTstEuetEpJGbJP1I+Ub;25:XBUyQoDGz/zjDjSXc4ILNcSEABn3+KpM1ttjxMceyA7loRNwANn7qoXxSr3ke3UUtGTFvZLdf0ZnIDlK9MWdP4IurAcVqhoaSxJblwgOc6gp79VS9m+x2jJZmnNoLAHvEX93x5qB18UFwL0b0KMRCBrAo3k7wG17s3GB3C3Ti607XWQHlsdgOqeDCp+fajKtu8RIVg3KSb1fDdTEjy26SvxN8WPEEXM0xk7/dE/KxvMIfbCE6uZ6vwNP2dmTlS5ITfrv5+O/OtU0yUOJ2J+t/qf0Csn/+3Ogv+X1vabIehsiCyXgjdIOzzg9pMcGGwG47LQAQrU/h2ytTOuuduFuNw==;31:r3f1fe3Y5U1Zlzo91stZp8S4LLyrH6P9lC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-Antispam-PRVS: 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)(14444005)(8936002)(8676002)(78352004)(69590400006)(50226002)(81166006)(81156014)(575784001)(68736007)(51416003)(52116002)(76176011)(36756003)(3846002)(2906002)(6116002)(53936002)(316002)(16586007)(16526019)(486006)(498600001)(66066001)(6512007)(5660300001)(105586002)(106356001)(50466002)(3720700003)(309714004);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:tTAFXrThj0ciMZ6/2iHdfFFspNa7kVeIoO8izbrAaoR1R60gDVxwh9DnUkJJxdgA5UsEbpdszjn4fooByv8vK3aGlvU4gG4ekgwvHl/FpvbJ5RiPKaQ1rcbBS70vcW8rA4OHtIGC9LIt872AuQv4OKk0DO2Fw3hbbvmrab4e5bxuwj48yyROJ9LNlq48HwQT7ckApYy8JZhtHYDntpUXBp+bsBR+3NeOPyGa3iLRCm0fHma1FgEALr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fqntjl8Tn/jice4sFGUbNvIumYn6bpkMIEE1xtva6UqpgrBtMmYJR170xUsQsPN59F89N8xrrCh0wDen+fbb6KBJ7ouL0tY+fnpalvy22vu4T/5TKFel0VdI0iMKFbG9WuVbF3oVkGrSzHZxextr6BnrLbyzEVElqV0o01lCkHupiMDlQfI5hm9u/Y2NldUKajf3/KUYyXDt/UYEevHfumm SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;OSBPR01MB2293;20:vF7wOjN8p9x0OT8Kqaq5bJvgUQTavI68ERztaovxzsxaAdLPAZnRtc2bSGZTjmfaLuNQt6QvZMxONtrBX23S8Cg/YL8uwIbpkPIslbIotfo8ittJdAVrHezPlk86u31PSu7blvFh6UVKxNrL82++45qk0NHkcrft9RRhSOHynKE= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2018 12:28:23.4730 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 648a18cc-5d1e-4c2e-8fae-08d61fbdb939 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: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This reverts commit 8ada211d0383b72878582bd312b984a9eae62b30. R-Car D3 can use OTG mode in fact. So, the commit doesn't need anymore. In other words, like other R-Car Gen3 SoCs, R-Car D3 can change the mode by using the phy-rcar-gen3-usb2 driver. Signed-off-by: Yoshihiro Shimoda --- drivers/usb/renesas_usbhs/common.c | 9 --------- drivers/usb/renesas_usbhs/common.h | 1 - drivers/usb/renesas_usbhs/rcar3.c | 11 ----------- 3 files changed, 21 deletions(-) diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c index d6c39ba..522cc09 100644 --- a/drivers/usb/renesas_usbhs/common.c +++ b/drivers/usb/renesas_usbhs/common.c @@ -677,15 +677,6 @@ static int usbhs_probe(struct platform_device *pdev) break; case USBHS_TYPE_RCAR_GEN3_WITH_PLL: priv->pfunc = usbhs_rcar3_with_pll_ops; - if (!IS_ERR_OR_NULL(priv->edev)) { - priv->nb.notifier_call = priv->pfunc.notifier; - ret = devm_extcon_register_notifier(&pdev->dev, - priv->edev, - EXTCON_USB_HOST, - &priv->nb); - if (ret < 0) - dev_err(&pdev->dev, "no notifier registered\n"); - } break; case USBHS_TYPE_RZA1: priv->pfunc = usbhs_rza1_ops; diff --git a/drivers/usb/renesas_usbhs/common.h b/drivers/usb/renesas_usbhs/common.h index 555b3e7..3777af8 100644 --- a/drivers/usb/renesas_usbhs/common.h +++ b/drivers/usb/renesas_usbhs/common.h @@ -257,7 +257,6 @@ struct usbhs_priv { struct platform_device *pdev; struct extcon_dev *edev; - struct notifier_block nb; spinlock_t lock; diff --git a/drivers/usb/renesas_usbhs/rcar3.c b/drivers/usb/renesas_usbhs/rcar3.c index d0ea4ff..b9a8453 100644 --- a/drivers/usb/renesas_usbhs/rcar3.c +++ b/drivers/usb/renesas_usbhs/rcar3.c @@ -112,16 +112,6 @@ static int usbhs_rcar3_get_id(struct platform_device *pdev) return USBHS_GADGET; } -static int usbhs_rcar3_notifier(struct notifier_block *nb, unsigned long event, - void *data) -{ - struct usbhs_priv *priv = container_of(nb, struct usbhs_priv, nb); - - usbhs_rcar3_set_usbsel(priv, !!event); - - return NOTIFY_DONE; -} - const struct renesas_usbhs_platform_callback usbhs_rcar3_ops = { .power_ctrl = usbhs_rcar3_power_ctrl, .get_id = usbhs_rcar3_get_id, @@ -130,5 +120,4 @@ static int usbhs_rcar3_notifier(struct notifier_block *nb, unsigned long event, const struct renesas_usbhs_platform_callback usbhs_rcar3_with_pll_ops = { .power_ctrl = usbhs_rcar3_power_and_pll_ctrl, .get_id = usbhs_rcar3_get_id, - .notifier = usbhs_rcar3_notifier, }; From patchwork Fri Sep 21 12:26:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 10609973 Return-Path: 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 86D47161F for ; Fri, 21 Sep 2018 12:28:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 733792D52D for ; Fri, 21 Sep 2018 12:28:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6176D2D554; Fri, 21 Sep 2018 12:28:32 +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=ham 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 DF8ED2D533 for ; Fri, 21 Sep 2018 12:28:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389822AbeIUSRJ (ORCPT ); Fri, 21 Sep 2018 14:17:09 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:42364 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389684AbeIUSRI (ORCPT ); Fri, 21 Sep 2018 14:17:08 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie2.idc.renesas.com with ESMTP; 21 Sep 2018 21:28:26 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id D80B175224; Fri, 21 Sep 2018 21:28:26 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.54,284,1534777200"; d="scan'208";a="291576163" Received: from mail-ty1jpn01lp0184.outbound.protection.outlook.com (HELO JPN01-TY1-obe.outbound.protection.outlook.com) ([23.103.139.184]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 21 Sep 2018 21:28:26 +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=rMXJddVYwlrsenoYm+JpKvjixBq2VnMALdJ+/ASEBiI=; b=M+pz2v7ANCLrx25rtBQ/slIpC4MtndqsdWEFfRIB3tlf79XDcYkji6nXNlwcv9S8rRPqr20L56tsg9vR1tPv/K3N0lpNWgwI8RgDWOj9Bv9fZaTg/rkolkeBsWw9HHxDFzwyOEYxWY7a4bN3fwFxvK7VKLmPM6lStEkLxZu1JkU= 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:23 +0000 From: Yoshihiro Shimoda 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 Subject: [PATCH 2/5] Revert "usb: renesas_usbhs: set the mode by using extcon state for non-otg channel" Date: Fri, 21 Sep 2018 21:26:29 +0900 Message-Id: <1537532792-20376-3-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 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: 46b90e60-b8e9-451d-2697-08d61fbdb97a 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:qPFL1bf1yxalQxdRJndud2bcdB5i4c1g3iSxx88om1xOpWMarnLi5HU1ts6h4ZJdoT0frYlppBam3Ncg1dp9EJ3Yy9p2lt7t+hKINO42O2AYd4vNc9AevOru08RG/em6/PAyUcaT+fLpu9lrcVLcz18cxrjsexZodlLg98hu6GUfoGVGVCEDMuolaaAB25qLbH6h4MB+H0Tqhevb4sqoZzr2YR7UHblzlY88X2L4bCJqm16WW4paMKH/toIZ+MGB;25:ZxldauaaGmHoDihtqB0BDl/NZx7QD8fUi3GHEvkOwZZdG+/KNbpkf0jhKSDOHfQ3g9Yy4pHwVoKO4ZospgXX2cuHbZJNQG5VJcIf7AAXVSqRwh+0uIDcKRWRHwru4bVOo3gdRA52zBP5ApY/rhwFD4BKW2Xxw07t20wx66y8LU27L57qZIMsZz4PU+ixVKKbXqHlMkoAUCmYsZ/Xk4y/hR7e2yyIeEANqmLVhH6L27xifvz7XOYdHJC7FgSWhSf5JLd56TdNIJTYDfslKqcyaRT/ztRnIwnjsVeYcHipXnJY/qCh/Zqfe7J5+iLJJ5ydLRVEEk/ju+mR7KULDxQKPw==;31:8jCKu6U0LJ9b9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Bpsl6Q== X-Microsoft-Antispam-PRVS: 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)(575784001)(68736007)(51416003)(52116002)(76176011)(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:gTRe7GzykI7Tt9VaHKi6eRF9gWlttRY3bONVe1T+ds8QrtqilUWSof/DUtL1h4PlbBo5Qhk55GKHULqHzgbTfNhdVPILYiqgSPTpiEnJKjqPBRUv1YnoFLjHrzZKZFyugcKazFM80grLIZDW1wP/bWiGdxuZYo53gOg9IXjuJjZ2EvcRssEv47tq4sMRHzKfvIciZ1Tn7/r7VMDUJ8RGsIkiHjkQz0BRwDQ2KrvwJadO1S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NLy2f8UhMO4YR12eANYIN3hrHZriHvKaK3tPe0aCm4BPNsIm6I2laQBrS7VQlii4ZyX1pgHnU3afflSrOaKq9k9kFOETIR1AySxIyK/T1N+uxjAw/4E74J9jsHrh1wGES75M4wH8FaEnenWjLuoJC1jQ0eQclNSmsmbL8YSFX6rHXjb6Syx/r6Ct6bzBbFNmYxSqsGyB16 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;OSBPR01MB2293;20:AZIaT+ZrQYPo11pRkbcN74WZGZLhqHGZn9MOslEgJ898lmS81LSgcWbC9fa2tW62lptjXcVPqH5QdoiplfuL0VjAd2rEyIMvg938RzUfyLkQ7RKjGp5dy1JMZgCel9+Ww8OZxSpuviogiFRXG7yZ0wzLzelPMzSl9ao+79I5+B8= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2018 12:28:23.9173 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 46b90e60-b8e9-451d-2697-08d61fbdb97a 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: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This reverts commit cd14247d5c14b9b20bb3d3dfcaa899ca22c8dccc. R-Car D3 can use OTG mode in fact. So, the commit doesn't need anymore. Signed-off-by: Yoshihiro Shimoda --- drivers/usb/renesas_usbhs/rcar3.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/usb/renesas_usbhs/rcar3.c b/drivers/usb/renesas_usbhs/rcar3.c index b9a8453..50e5fb5 100644 --- a/drivers/usb/renesas_usbhs/rcar3.c +++ b/drivers/usb/renesas_usbhs/rcar3.c @@ -27,7 +27,6 @@ * Remarks: bit[31:11] and bit[9:6] should be 0 */ #define UGCTRL2_RESERVED_3 0x00000001 /* bit[3:0] should be B'0001 */ -#define UGCTRL2_USB0SEL_EHCI 0x00000010 #define UGCTRL2_USB0SEL_HSUSB 0x00000020 #define UGCTRL2_USB0SEL_OTG 0x00000030 #define UGCTRL2_VBUSSEL 0x00000400 @@ -50,14 +49,6 @@ static void usbhs_rcar3_set_ugctrl2(struct usbhs_priv *priv, u32 val) usbhs_write32(priv, UGCTRL2, val | UGCTRL2_RESERVED_3); } -static void usbhs_rcar3_set_usbsel(struct usbhs_priv *priv, bool ehci) -{ - if (ehci) - usbhs_rcar3_set_ugctrl2(priv, UGCTRL2_USB0SEL_EHCI); - else - usbhs_rcar3_set_ugctrl2(priv, UGCTRL2_USB0SEL_HSUSB); -} - static int usbhs_rcar3_power_ctrl(struct platform_device *pdev, void __iomem *base, int enable) { @@ -83,14 +74,10 @@ static int usbhs_rcar3_power_and_pll_ctrl(struct platform_device *pdev, struct usbhs_priv *priv = usbhs_pdev_to_priv(pdev); u32 val; int timeout = 1000; - bool is_host = false; if (enable) { usbhs_write32(priv, UGCTRL, 0); /* release PLLRESET */ - if (priv->edev) - is_host = extcon_get_state(priv->edev, EXTCON_USB_HOST); - - usbhs_rcar3_set_usbsel(priv, is_host); + usbhs_rcar3_set_ugctrl2(priv, UGCTRL2_USB0SEL_HSUSB); usbhs_bset(priv, LPSTS, LPSTS_SUSPM, LPSTS_SUSPM); do { From patchwork Fri Sep 21 12:26:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 10609981 Return-Path: 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 E28EB6CB for ; Fri, 21 Sep 2018 12:28:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D45222C2BD for ; Fri, 21 Sep 2018 12:28:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D1BFC2D54C; Fri, 21 Sep 2018 12:28:33 +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 7F10E2C2BD for ; Fri, 21 Sep 2018 12:28:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389870AbeIUSRL (ORCPT ); Fri, 21 Sep 2018 14:17:11 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:42364 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388909AbeIUSRL (ORCPT ); Fri, 21 Sep 2018 14:17:11 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie2.idc.renesas.com with ESMTP; 21 Sep 2018 21:28:26 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 0144F7EA96; Fri, 21 Sep 2018 21:28:27 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.54,284,1534777200"; d="scan'208";a="291576164" Received: from mail-ty1jpn01lp0184.outbound.protection.outlook.com (HELO JPN01-TY1-obe.outbound.protection.outlook.com) ([23.103.139.184]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 21 Sep 2018 21:28:26 +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=qBB9hXNgj4swPVOus1QOBnGoNzqRNrDZugtpI8Jih78=; b=pBVxfEoTar0Z3Avcg/xm9zBPwWgi1Xq3kE3rQK9j1UnwwhFEJdWreFab8aqfg2Oi513XVVpyG1kDVbEHYy4b8Kgs+s0z8n5DseIfJy2AXmOrGAScAZsrB72hMg3mgxH9xoiqH9xpU4YnNhjLILBTTF4wPaC6wviICHMhNEupnn8= 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:24 +0000 From: Yoshihiro Shimoda 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 Subject: [PATCH 3/5] usb: renesas_usbhs: rcar3: Use OTG mode for R-Car D3 Date: Fri, 21 Sep 2018 21:26:30 +0900 Message-Id: <1537532792-20376-4-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 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: 7a17cfc0-1c96-4c4e-c159-08d61fbdb9b8 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:0wuFa5dVGPslrtlTOBI01fw+Z+iQFwKVeM0H7tK7mVYZH9eacpLJ7KlTPTX+oqD3bB0GosgS05BysCCj8k67TR3D5u2Sk03J3oDkBrIpfpuxnYEErfQ7SjjRQsGmdVvF2S1R8DZcRg83YWHWjroUEs5lhvjYZI52yNvk2sS2Y/roPHJtvqzuME3zDvcA3nMGCaD+Ubyw2Glu6ZgFEqpP1+aE3p+eimx4oEcr2IOVLIfbDy6TH8TVR3rLwPysxZlI;25:WY6Apri+F5jLaAq6QX7KrjOgvLKK0M/cIAHWlVNSUfR3ADQtzs+ViZBesa6E7V9vpuDyGvStdtVvQ52XEzcHrNnpDyVBm9hlJTt3yzQne+7DBEP47BecrQz75XyXJiUussLFOlk1OXYB0ArxuqwFVPqTpkmoWSC3yavO0puH0tUp2ePDkAHsbyb9ETlpoI5z1ODr/4FHAGMpNViQhSBew+jRijtZhJEm/g91pMMI/uH4kzQS04hWTWWluMKFehaBNiob5s/HzpuzqX/7R/a7z0lQ3JjFgbSjgj26akxJuIQ17jyobcznPzgnaa0IvbFB6+Iu71dcovNOEzZ8+knprQ==;31:VBexOCoINwfkm/bTkuDcElDhGadyfHmy/4FmiHyGmHhIJGbVIrn+WGO3q9bk9QywqcRndTwXBo2Lh2+qihVRqQ4wfnZVBYhwvGC81Qj02aWyMrFmDc8/08m1mPf+JW8wWa8ChDoC6z+XiwUskJQd9lGzoYt0fmQAGHQsl7qy+4smTVNDN0Yw2YbVzrExEbAFCzhGLLNtzhVfy4I8hoW+tGG2DOD500I8UGyTetlY9Ys= X-MS-TrafficTypeDiagnostic: OSBPR01MB2293: X-Microsoft-Exchange-Diagnostics: 1;OSBPR01MB2293;20:TjO9+YQs0M4JxsEBnpi/qNNl3JfUr98/WyqS8pHyddg2YSYbQfFORCVg1VyHsZV2y9emoPQfiOxTxFbBo6+i5RGEnaL2sIbvBJpeoDzEpHthtWQWGtjZ01ulZDZuTozMXfB2gieeRnUPDEMzWuYe2MYhRZaX2PAVTvjczM680gxJzmuT1BKta+eRxL+mRDak8dqkVnPe2SS0McJpGiEXPhOm114YZVzvFRr0mbg80rZukLba6CeIaiKhp3aHtOkmQ4K2rNn2KsxwFxcfNN0WkI66j50lHZmLhPD4VsIcA+TSrVv5lV++4Glenu0ISPkaZ8GmqGhL9MKPQgqWT8mPjRnqmKVIhPXoV/HZ3AzH46OMGQsEQ/nmgM3hGmUTTEi9dHbdQD2y+YWCVDFTlq1zgoFOGeIlsVULAcv44lKbj8sCrWRZKKkPopLwgxwTXW3Dintnx2cyzXX6+aU3Jyq9tSZP6wKrV/nurp3yQjb3fyZPpB9mRmHO1JycshCzqRQG;4:NyOGcyYzQeFafH1zq7ArUWXiM3bg+WR7HPK5WUF8G4rfuUsTeZ3KjbTtI1XWYT0TYfVUY4xoeVmorUY9n1nk7fV4W0b79q27b3b8jwtTFKIWrTm5TAGd40LHUUosaXGvC2Vn1Jn/uwnk1eO5B6U6EpPXcOG2oWK9olbNGrhDWiRYcBkQhKNczfHfSfQt+5F8QS1M/bpJaLQSHz+hhNRxVI9fjsjR3MLI3fkxtzKfl4YTQRFFnxrUcJBUIi06XwEBioUh5icUe0kO4Fnh8idyzA== X-Microsoft-Antispam-PRVS: 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)(14444005)(8936002)(8676002)(78352004)(69590400006)(50226002)(81166006)(81156014)(575784001)(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:jX6NYrTspZI2A1cgvTFfenwEqPS8OkHI2biDCIeBJza3r5V2tS78pHPIAVs/YUN11VCkCGxCWbijALGGSKR9m5VDCjPvnTEcavs5yVPmLrdV2wfGh7x7HnynrPYO7UbX3sd/XFtiLeKHgfDsd9mUyRyvhlGh7BFQIdM7CWi9KJ/PXc7EhQ4vbAIoS4mcRlGPQ2Z36d3jKxsmfUHL5oNEr04/j6MrufGuDl6y0kjepVneStz1RQmZPJifXekIvx+yl0tcVWm81SAoxJD11gL86tTFbe+ZYCvUfBZ1Vxdm2QKWqCEiT7teWsElv8vwH4w7I/ctNzhW2dXRwwy9mRR2vD3MPk1q9exjOeBNtmrgz/YqNvptjNnwwGn1n8GOJYmqisoA048sQnwptIhLnV9fxSOkYcweXDjRbBwOaXtlNyFhttGLsL0OWaHPykzFSsXwvKGY2i2Qpr0tlFx4GP6IIuFUsAuJYq8qu+SW+iGBGDBLgFt+3fL0NyNUC5l6OFKpAqm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microsoft-Exchange-Diagnostics: 1;OSBPR01MB2293;20:ia2qhTx1rltJDQbknmzYLpev/fZ1joY2yyWOi3knHKRHbGxlpHbaCg5g5RATk/b5m2oUzbQEl+afWe91jGshUWxMYaPoBkI84whiaAlAY1uAPs7DDUFJ+KH9odrJ8kO32QfBL5P/KLar4/ugfdrkljkK3/RTOFKg02GEXt7dQjI= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2018 12:28:24.3255 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7a17cfc0-1c96-4c4e-c159-08d61fbdb9b8 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: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since R-Car D3 can use OTG mode, this patch changes the UGCTRL2 value to UGCTRL2_USB0SEL_OTG and UGCTRL2_VBUSSEL like other R-Car Gen3 SoCs. Signed-off-by: Yoshihiro Shimoda --- drivers/usb/renesas_usbhs/rcar3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/renesas_usbhs/rcar3.c b/drivers/usb/renesas_usbhs/rcar3.c index 50e5fb5..aa38204 100644 --- a/drivers/usb/renesas_usbhs/rcar3.c +++ b/drivers/usb/renesas_usbhs/rcar3.c @@ -77,7 +77,8 @@ static int usbhs_rcar3_power_and_pll_ctrl(struct platform_device *pdev, if (enable) { usbhs_write32(priv, UGCTRL, 0); /* release PLLRESET */ - usbhs_rcar3_set_ugctrl2(priv, UGCTRL2_USB0SEL_HSUSB); + usbhs_rcar3_set_ugctrl2(priv, + UGCTRL2_USB0SEL_OTG | UGCTRL2_VBUSSEL); usbhs_bset(priv, LPSTS, LPSTS_SUSPM, LPSTS_SUSPM); do { From patchwork Fri Sep 21 12:26:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 10609987 Return-Path: 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 D5F216CB for ; Fri, 21 Sep 2018 12:28:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C50232C2BD for ; Fri, 21 Sep 2018 12:28:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B91792D536; Fri, 21 Sep 2018 12:28:35 +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=ham 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 56A772C2BD for ; Fri, 21 Sep 2018 12:28:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389910AbeIUSRN (ORCPT ); Fri, 21 Sep 2018 14:17:13 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:42364 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389596AbeIUSRM (ORCPT ); Fri, 21 Sep 2018 14:17:12 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) 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 relmlir2.idc.renesas.com (Postfix) with ESMTP id 93E5487A9B; Fri, 21 Sep 2018 21:28:30 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.54,285,1534777200"; d="scan'208";a="293143266" 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:28 +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=VAKTDdBMCA6ZZRtx7LJp/UHBtIuZx9u6gsv05YiLKzY=; b=oNUr1pCKMR4LTYmxMwIZVVEq5kb4BDku1jk3XjnLClxiDVOk5tUklnM1Pca507ITs7pZ4kMApTZ1Oo13tcCSZQ0uIhKDHbIOLXn5G/NgGW1+fseijlPjVYA30QCEcrc0QRWXFaWmK7j3CeuAVlHm5w+YOUaNYvdSRGEsIywiO38= 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:24 +0000 From: Yoshihiro Shimoda 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 Subject: [PATCH 4/5] dt-bindings: usb: renesas_usbhs: add bindings for r8a77990 Date: Fri, 21 Sep 2018 21:26:31 +0900 Message-Id: <1537532792-20376-5-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 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: bfdf0c12-8038-4e57-3b2e-08d61fbdb9fe 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:v/wYTAz3kJY5mJuuWPaYZLKMUMFbDyWS7OO9ECW5uOgeIlf6z7LGM7sZX3DEL1R9vrD0sEMsa5lDinmjIwPB85U1RqncKg9WWg8afsKUfHaiwDo0lsn921ij3jwRCYs55k5XRGLgAm7B6uMhJfG4z2VARKE7vpjU9NKOnZi90Pc4P99D4dntJf6JnAScZM6XthbioNBdAKllkHbaRyqcniz9nHNAoJYESoWLh7TXEjRAgdR0fbT81ntj0VPXjENc;25:P1XlBsPIdDGXTwpE6E5pSlVeOSrriB5Bt11cB8KaxfLjOecPQ9etGcV7arK9TRPW1IYlRgjvvh58ENE5zncqZyr9h6QOI56qasctzRWTPPQBwh4sHeWy3mixXIBAgZDZhddwouay5p6CFrCxlm98ZKKMgjarpDj7m3oH7d0Anqnw14Xhf5HPBrko9+EF0k6of37zsKGzHK4yNbQLmkYpxfJR8CNPNPmek+w7dNQ4wK8zAeUQaCfUgodaisTJAeDHDe0Uv1tzSSGw1fWzRSkXff52dG0fzOFShsi1RgOjB1cZu/mMlSgNkXNkOKKmINU/FN4MW0MqnpOuWX65zL1Urg==;31:Vq8KMxJ8/gKUQ2jLHTwPeocIUNf9+gAVeW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-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)(979002)(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)(969003)(989001)(999001)(1009001)(1019001);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:aKeIf2nVmU36vowPSPhWTWOgqe+NLZHf+Im2ddSUAUfBuuywyoFkCDus9QVGTNsQBvC4KOxdJpcIjAi9v20amlOztLLDOU7dL0ePjITfe7ntwePDNsrdYesD4kgVbadKfWhQOV3QVcQnAVqxijNkKsbwrmKDehKl1AsJN8p76JqIQdcOzmKWX3iBlXM6jD5wiT8av9P7AgyyS1jHXe339UsOsHWGAzu5ydT7RFigLpja75wzgpfMpLAlB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dY0vSQ8McWaEldDUPk=;7:VcyI+B2xRFBLyZAR3vRoAcgz4FEmgVETKzpCsps2xvStl/JNznwfuAPP8hwd9vRu3H27E41oldz59+2/QTzLi1G5v8tp63XwddQViHy6EnpUbIAWJr5W2MexK3ylTsSC2fk+pEAn4AKEvScC/eMVb5/JfeLSY3wv7cxoonRFHjpeMCUobhh7y4Oo9TiMOSFrS51maLe55TAGm6liOq1FIyz4HjiJ/M0aaXH6RkRFIah7Rb7bETd5mwpfE8pgLgcC SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;OSBPR01MB2293;20:PvFnGo52t98Rb/c4ZfFpHRETfxqAfKD6OcuIr0KzCmjt86dwjo5Ey126xzaodXaqnTWDRcPAfRyou251gW3e287MHOG2PamEeYjqJhdAbFNeZpOPWLz0xqo1a8JUMaiITJG/YI2Rgz+YR40oRYqzUPYP83dGk84Uj61b9vXJIGs= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2018 12:28:24.7799 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bfdf0c12-8038-4e57-3b2e-08d61fbdb9fe 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: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds bindings for r8a77990 (R-Car E3). Signed-off-by: Yoshihiro Shimoda --- Documentation/devicetree/bindings/usb/renesas_usbhs.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt index 15fb3b3..a649329 100644 --- a/Documentation/devicetree/bindings/usb/renesas_usbhs.txt +++ b/Documentation/devicetree/bindings/usb/renesas_usbhs.txt @@ -14,6 +14,7 @@ Required properties: - "renesas,usbhs-r8a7795" for r8a7795 (R-Car H3) compatible device - "renesas,usbhs-r8a7796" for r8a7796 (R-Car M3-W) compatible device - "renesas,usbhs-r8a77965" for r8a77965 (R-Car M3-N) compatible device + - "renesas,usbhs-r8a77990" for r8a77990 (R-Car E3) compatible device - "renesas,usbhs-r8a77995" for r8a77995 (R-Car D3) compatible device - "renesas,usbhs-r7s72100" for r7s72100 (RZ/A1) compatible device - "renesas,rcar-gen2-usbhs" for R-Car Gen2 or RZ/G1 compatible devices From patchwork Fri Sep 21 12:26:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 10609993 Return-Path: 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 ; 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 ; 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 ; Fri, 21 Sep 2018 12:28:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389935AbeIUSRP (ORCPT ); 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 ); 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 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 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 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/99qXZJpf1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onkkN3B9DsfI+z8wa6J1jxTETZoURC;4:ivWdGmsKc+Ju+9QvArrCCl2SnP0y98O1YQNbc4UWzNz79Nk8nHZ+qybVgHWqPSqLXJDpFP2fA5yCjEnT8v0qpsiDB5Uj0m4Ea4qquk0cSboddySlRgL18+HfaRVyeKXQzzd68ZqohwssEqMtdFdaTW/OzIvy7dZOGKdZWmYszgLG3JALmi+oGNIXCQg6WhJBWR8zYmLPyfejK4VNqYhtCNE1xbEfMa9uY2PYBy8z46YxWFav0FRvPhBLoEGabEcCTNIOrprPATLkD/AdeEDPNQ== X-Microsoft-Antispam-PRVS: 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/6YIY6PWZuAiVpkH1yd9UUAcZjcgUIl183L61o21atnD61F/2CBF7922erbyuvLT8h+jrsrptSpaR/fPowaAVjJZO2QCUIybVxzUjl6lKXjzP3PXkz4LTMBlACYoh4aqIa3nqZG6bHgFaLfYn+QFw86wjcem3+NIvuntUCL0Cb2R83IEod5vpVb+rODhbTM0pXl0w7mCC0zPPaKCuaatURz1R9qPbESpQYC11WI7Jmf1l/W/+Lbe1oBPZnWVsOsLhy0lW/VQBIS/wppkt+17iPhKuGs8El8eLXcmKBM6V/ghz8BGqiHNvQsQH23hdR9tqVzTRKBdYxjjvOFcBefdtQcJxxuROK1SXrE0grvuwiRhr/LfRQwAYCoe68hp60992u1f6XzQWjpAmyLDe/IG9w/+2BBXieA6f51cdGeiRP8OV6tm8AeOscDooK/2+8ShZ/I1ehdlhcj0Hma5/fqvOMgfGuUuXx/e3BreyBQIqAciCCNlO1McCOC/hOyCE3V++CLlnISw7YYq/guD08Y8kxkG5HYC5S3LIKikXkjKDMDk+edZp651ZF4bvmOylo5vUw9QCQTm32+mVeNQxBYVnSfhC7jtA/AkjkNMh69Vv4LjAz+dGAswLeHFFvYU0rEiw7+g4FYMa/OQ181RTHuum7W5dtbY7HkI0zepCARF00XW2T/6Iu/eUaf0BxOhmCiuvVjFryyh+yc7GFJieuuysQNgx6o1Dn+jN0C+MfdQQP+p7q37UNLEMlNT111tZZtA2dY8b2YWylnUJ6x4DsYokTG5zC47uyLqVGQ3q+yAscf23MkwimlDcrAqOoGm5eZNUaOr+R95NGs+xp8r8N0HuVlXCLBrWshYOYCoghvpN4woXIO/TXFqYepRmps+62LkE4/zaCUBA03n4CQdV6+uH+8oKKfajDgNDD5cBd/q6rtd2G8sqdI2Y/bheYBnXKjtGv98ZL4ITrEVrEctePuF7HKDYeeuMHqRHonABwkTxUehoNVpLbzUbg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wanvZn25+wP0Kh7p9+BQBhkXQfKIiQudbxw==;5:X0xTcYeredk4XXr5SdgdOxm9a/mvCgMnyaUt8DA3UEo/eUSyAgma6cWlVDe7LC5ulkkS+g2yccVJJG+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: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- drivers/usb/renesas_usbhs/common.c | 4 ++++ 1 file changed, 4 insertions(+) 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, },