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: 1009726 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="FUR3mu/v"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 43BYC30GWvz9s8F for ; Sat, 8 Dec 2018 13:27:27 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726073AbeLHC1Z (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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(+)