From patchwork Sat Dec 8 02:27:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thinh Nguyen X-Patchwork-Id: 10719121 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 941D814E2 for ; Sat, 8 Dec 2018 02:27:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82A2D29ECB for ; Sat, 8 Dec 2018 02:27:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 750832D71E; Sat, 8 Dec 2018 02:27:27 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 2D69A29ECB for ; Sat, 8 Dec 2018 02:27:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726105AbeLHC1Z (ORCPT ); Fri, 7 Dec 2018 21:27:25 -0500 Received: from smtprelay4.synopsys.com ([198.182.47.9]:45510 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726070AbeLHC1Z (ORCPT ); Fri, 7 Dec 2018 21:27:25 -0500 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 6EA8D24E05B9; Fri, 7 Dec 2018 18:27:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1544236045; bh=IPFM5zurUyYWUewzRGqUNhXDWfjboWE5Eq2rWc/UrR4=; h=Date:From:Subject:To:CC:From; b=FUR3mu/vbpCdQloa/nQneUJhStJFeqvoCj0LqriNSJWDQCnA4/U9SiSYzmhnLyMXL Ee5zVVZwTSegvwACZ425kUGpP5mvlA9e7DYRFE6owmFagO83ep/dFEdeZilKYQNWrv Sbf92SuBOpRvPMgr8H3lZvhbFFOK+4dvL6750mfvzKXDlz0qCbBhaj6j+02U2DvzBW oddw87mQBN3qWhyCEuSD04JhwsbxF2CCSCR7Byme9soUmhnG6cbBEJCnJWdb9U/ZAU IsjlWq2XEVjh7CQb3SmWdVyE0VSJVCBVF+bA7ur5LCgOuB5Z1KJ3UybrDlSoxtx3eJ zE9SO/drU6+bQ== Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) by mailhost.synopsys.com (Postfix) with ESMTP id 577AD52B8; Fri, 7 Dec 2018 18:27:25 -0800 (PST) Received: from US01WEHTC1.internal.synopsys.com (10.12.239.236) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 7 Dec 2018 18:27:25 -0800 Received: from te-lab16 (10.13.184.20) by us01wehtc1.internal.synopsys.com (10.12.239.236) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 7 Dec 2018 18:27:23 -0800 Received: by te-lab16 (sSMTP sendmail emulation); Fri, 07 Dec 2018 18:27:23 -0800 Date: Fri, 7 Dec 2018 18:27:23 -0800 Message-ID: From: Thinh Nguyen Subject: [PATCH v2 0/4] usb: dwc3: Introduce refclk lpm To: Felipe Balbi , , , Rob Herring , Mark Rutland CC: John Youn MIME-Version: 1.0 X-Originating-IP: [10.13.184.20] 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 series introduce a new feature in DWC_usb31 with more aggressive low power management using reference clock. Changes in v2: - Revise commit messages to correctly describe the feature - Split previous patch "usb: dwc3: Add reference clock properties" to 2 separate patches - Remove reference clock period validation in since DWC_usb3 can support more periods than DWC_usb31 - Rename property snps,enable-refclk-lpm to snps,enable-refclk-sof Thinh Nguyen (4): usb: dwc3: Add property snps,refclk-period-ns usb: dwc3: Set the reference clock period usb: dwc3: Add property snps,enable-refclk-sof usb: dwc3: Enable frame number tracking based on reference clock Documentation/devicetree/bindings/usb/dwc3.txt | 5 +++ drivers/usb/dwc3/core.c | 60 ++++++++++++++++++++++++++ drivers/usb/dwc3/core.h | 16 +++++++ 3 files changed, 81 insertions(+)