From patchwork Fri Oct 14 02:59:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 9376049 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5982660839 for ; Fri, 14 Oct 2016 03:03:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46F242A182 for ; Fri, 14 Oct 2016 03:03:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 39D742A196; Fri, 14 Oct 2016 03:03:28 +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=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9971E2A182 for ; Fri, 14 Oct 2016 03:03:27 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1busks-0002Pu-AZ; Fri, 14 Oct 2016 03:01:54 +0000 Received: from mail-dm3nam03on0058.outbound.protection.outlook.com ([104.47.41.58] helo=NAM03-DM3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1buskB-00022G-Ht for linux-arm-kernel@lists.infradead.org; Fri, 14 Oct 2016 03:01:13 +0000 Received: from BY2PR03CA058.namprd03.prod.outlook.com (10.141.249.31) by BY1PR03MB1419.namprd03.prod.outlook.com (10.162.127.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.12; Fri, 14 Oct 2016 03:00:49 +0000 Received: from BL2FFO11FD015.protection.gbl (2a01:111:f400:7c09::101) by BY2PR03CA058.outlook.office365.com (2a01:111:e400:2c5d::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.12 via Frontend Transport; Fri, 14 Oct 2016 03:00:49 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD015.mail.protection.outlook.com (10.173.160.223) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.629.5 via Frontend Transport; Fri, 14 Oct 2016 03:00:48 +0000 Received: from b29397-desktop.ap.freescale.net (b29397-desktop.ap.freescale.net [10.192.242.114]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u9E3085S011345; Thu, 13 Oct 2016 20:00:40 -0700 From: Peter Chen To: , , , , , , , Subject: [PATCH v8 4/8] usb: core: add power sequence handling for USB devices Date: Fri, 14 Oct 2016 10:59:51 +0800 Message-ID: <1476413995-20361-5-git-send-email-peter.chen@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1476413995-20361-1-git-send-email-peter.chen@nxp.com> References: <1476413995-20361-1-git-send-email-peter.chen@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131208876487839585; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(8676002)(305945005)(77096005)(50226002)(4326007)(33646002)(5660300001)(81166006)(85426001)(2171001)(81156014)(87936001)(48376002)(19580405001)(19580395003)(586003)(189998001)(50466002)(68736007)(2906002)(86362001)(575784001)(2201001)(8936002)(229853001)(7416002)(106466001)(97736004)(104016004)(47776003)(8666005)(5003940100001)(11100500001)(356003)(626004)(7846002)(6666003)(50986999)(92566002)(105606002)(5001770100001)(36756003)(76176999)(2950100002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR03MB1419; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD015; 1:X5TuAVfNMwd6LBJersyoT6odiet0A8Nzu8spSHAOK6HJELsFRQudggqiouxXsx+urVHhIoky5MTlzhUtBt2MBH/CbTklFt/gC1VMVc4QDzKD2Zu02+qqlHHBprmhhJD1F42MrargqFo93y/ni9eOqAzWipR1UlCtrg+ukd9el9kRVy7xQEp2i3ppPAdUelg97KaQWwe077CY5DjZI87bZShoIBcNSMWGD2J43AaYMkFTQkO5IB2XOO/pQF3jySp4NWpDlcj5n644b0FtwAqBV5IpuX0mxRClKh8SNnjFWztnofNclJtFrjsYWwt8wm84uunROUsKzfy/+w84QpbzjL+r3ndPd8uulbuhxo3DJRaT0/+f2zSVlnyjw2851/bNoGl16uc4wwoKoH7p1beCzJu6kQC9CTfw5qKxaKe2ppyYTp0c4Hu0xGWaBXkM54sxPQaWGbOkRmjFl8HW8CK4uucWiUUo+dFeEBBijQUsvIUFkbP7/PLjngSDVjYAByUOpoY3OTb+7IncOGZcky0oLTHb73C5i/fiUxzLuzRHcyMZ3UoMwDog3fGTKKTUmsbBT2ZUboLjAGhm3onNWI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pkmtNNBgaynrgc/UJQsP7Wj0xeuCf4h+Ps X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(13023025)(13024025)(5005006)(13015025)(8121501046)(13018025)(13017025)(10201501046)(3002001)(6055026); SRVR:BY1PR03MB1419; BCL:0; PCL:0; RULEID:(400006); SRVR:BY1PR03MB1419; X-Forefront-PRVS: 0095BCF226 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR03MB1419; 23:yxkHzDbBqAWLxfPXgcTzS4BZMkZxTZCOJGaPzfUIX?= =?us-ascii?Q?bC3KyjqZbpW9mV1YVc9ev8FSzx3QlyVbFsgrcSLnHVSl/Z/AfCyDKaPQgzkO?= =?us-ascii?Q?u0yAQ/7kHJSIWIbHvmQHGF/k5zgecn2X9MR1R1XAkatm5zHw302t7arYq1YE?= =?us-ascii?Q?k02lqPCfu2+U7IcYE0LziofZxJLm7r0F4QJfN6bzalhy4Q4v9EKwSa7x9+Ni?= =?us-ascii?Q?9o8z0+MWjuCuv7EpPX7FUpkCn7XRUsARL/vQ6+Pnk3H/AJEiVoWF3WKgvghw?= =?us-ascii?Q?387LsJuY28Z5nd5W1fO1365SXn6B9l68JA3KM+j14BBuSqbJBOMn5irdKcUD?= =?us-ascii?Q?NYIOv0cL/g2ZOKz7xCHly6/wy67bmtuiqjoLUfmYU+3o3PFVRrkjVDt3QQQV?= =?us-ascii?Q?2058NchwuqLYJgGMM08lUK0i5glUoAEXrpJCepJQsnTVW+6Pl4hwoC3ucvQc?= =?us-ascii?Q?EbTbvNzFVrfsV2fimTom4ClddKe21pMVHV01uwyfOxl1YjFQIpI7Qd2WnAkt?= =?us-ascii?Q?Mzb3AViJnLNGjcYQ+mUxVuTgLA3pObdPsY/42KJRBxf4OLEYf6zJtLZtB8WM?= =?us-ascii?Q?Nm39JaGo7CWHGd8S/KI0H9zxdjVj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RTPQLC2klwRmFgAGZdVtTe9scLgzUeWjN8b8ixsX8qlWm2YPGax4ChWI7dE97g1ABtK9qYvDw7PWdJDH1bS4L6h+ffsycPn99scIEKcqJS0/a8XyCnbxz; 5:cr+cnkHsCsJKlwbfZTqVCsMXg/Bv4W7H/rxvRhRaR3lZbmpsH2380EqBz6LuvkOv+azahBcmwIT8GgOu6ZmWiDjxgFdJ3H+ZQaTgRoAMClN4A+9d+g12+aX6iY1jYeUD7PpFNqZkSrLaAoXczKJIbYaru5GD21/QAwbfwCEwVZGulYR9OCqEudzUgEo8isvQ; 24:815b+m2hlgygqZJxOYF68AyNgx8cWukza1l722fpQHOTVZfKbbw21EFHOWP/VdFg56UcgmxxiCqWJUc1sqlqAsPCFyQ9W3w/fBEofyGfBW8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR03MB1419; 7:aW0up/EjWARWDW6eMz0z3J6iNqb+FGj4r5La9y5rvt6SyEvc+07BapKoAzbOSsRfCpxn/JGpEck5IxMO32puHVj3ijhue6hhHWimJTmsfCiSixo9sOSZrREbxUVm9nqizsmHLJlxIacH9uuReq8yCSdRdmHN75isbJxkEXC/jmnqVZ++DD9zv+ZsCxWhaw81OwB+VTVLvTyIeo1fFYBw/i5SRXGZPgKpYjC5rWmbiBQp/yCqQU9gjzaQHezgozEEpwcUHlj3rk+wKNl/+qAF2U95dI6byv0tJYfs0oAfEkUcI8EM6j2Ly3CAo7V8mrTADSIGs/wRLaQJ9ygByi4IAQDCLlpoDmPzudW8q0w9fIg= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Oct 2016 03:00:48.5187 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR03MB1419 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161013_200111_819379_AEFB8AC1 X-CRM114-Status: GOOD ( 19.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, mail@maciej.szmigiero.name, stephen.boyd@linaro.org, oscar@naiandei.net, heiko@sntech.de, pawel.moll@arm.com, linux-pm@vger.kernel.org, Peter Chen , s.hauer@pengutronix.de, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, troy.kisky@boundarydevices.com, vaibhav.hiremath@linaro.org, stillcompiling@gmail.com, arnd@arndb.de, p.zabel@pengutronix.de, festevam@gmail.com, mka@chromium.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Some hard-wired USB devices need to do power sequence to let the device work normally, the typical power sequence like: enable USB PHY clock, toggle reset pin, etc. But current Linux USB driver lacks of such code to do it, it may cause some hard-wired USB devices works abnormal or can't be recognized by controller at all. In this patch, it calls power sequence library APIs to finish the power sequence events. It will do power on sequence at hub's probe for all devices under this hub (includes root hub). At hub_disconnect, it will do power off sequence which is at powered on list. Signed-off-by: Peter Chen Tested-by Joshua Clayton --- drivers/usb/core/hub.c | 41 ++++++++++++++++++++++++++++++++++++++--- drivers/usb/core/hub.h | 1 + 2 files changed, 39 insertions(+), 3 deletions(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index cbb1467..acbbf0a 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include @@ -1695,6 +1696,7 @@ static void hub_disconnect(struct usb_interface *intf) hub->error = 0; hub_quiesce(hub, HUB_DISCONNECT); + of_pwrseq_off_list(&hub->pwrseq_on_list); mutex_lock(&usb_port_peer_mutex); /* Avoid races with recursively_mark_NOTATTACHED() */ @@ -1722,12 +1724,41 @@ static void hub_disconnect(struct usb_interface *intf) kref_put(&hub->kref, hub_release); } +#ifdef CONFIG_OF +static int hub_of_pwrseq_on(struct usb_hub *hub) +{ + struct device *parent; + struct usb_device *hdev = hub->hdev; + struct device_node *np; + int ret; + + if (hdev->parent) + parent = &hdev->dev; + else + parent = bus_to_hcd(hdev->bus)->self.controller; + + for_each_child_of_node(parent->of_node, np) { + ret = of_pwrseq_on_list(np, &hub->pwrseq_on_list); + if (ret) + return ret; + } + + return 0; +} +#else +static int hub_of_pwrseq_on(struct usb_hub *hub) +{ + return 0; +} +#endif + static int hub_probe(struct usb_interface *intf, const struct usb_device_id *id) { struct usb_host_interface *desc; struct usb_endpoint_descriptor *endpoint; struct usb_device *hdev; struct usb_hub *hub; + int ret = -ENODEV; desc = intf->cur_altsetting; hdev = interface_to_usbdev(intf); @@ -1832,6 +1863,7 @@ descriptor_error: INIT_DELAYED_WORK(&hub->leds, led_work); INIT_DELAYED_WORK(&hub->init_work, NULL); INIT_WORK(&hub->events, hub_event); + INIT_LIST_HEAD(&hub->pwrseq_on_list); usb_get_intf(intf); usb_get_dev(hdev); @@ -1845,11 +1877,14 @@ descriptor_error: if (id->driver_info & HUB_QUIRK_CHECK_PORT_AUTOSUSPEND) hub->quirk_check_port_auto_suspend = 1; - if (hub_configure(hub, endpoint) >= 0) - return 0; + if (hub_configure(hub, endpoint) >= 0) { + ret = hub_of_pwrseq_on(hub); + if (!ret) + return 0; + } hub_disconnect(intf); - return -ENODEV; + return ret; } static int diff --git a/drivers/usb/core/hub.h b/drivers/usb/core/hub.h index 34c1a7e..cd86f91 100644 --- a/drivers/usb/core/hub.h +++ b/drivers/usb/core/hub.h @@ -78,6 +78,7 @@ struct usb_hub { struct delayed_work init_work; struct work_struct events; struct usb_port **ports; + struct list_head pwrseq_on_list; /* powered pwrseq node list */ }; /**