From patchwork Thu Nov 8 01:54:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thinh Nguyen X-Patchwork-Id: 10673343 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 A956F15E9 for ; Thu, 8 Nov 2018 01:54:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97DEB2C945 for ; Thu, 8 Nov 2018 01:54:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 86CAC2CA51; Thu, 8 Nov 2018 01:54:57 +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 15DEE2C945 for ; Thu, 8 Nov 2018 01:54:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728394AbeKHL2A (ORCPT ); Thu, 8 Nov 2018 06:28:00 -0500 Received: from smtprelay2.synopsys.com ([198.182.60.111]:59666 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727724AbeKHL17 (ORCPT ); Thu, 8 Nov 2018 06:27:59 -0500 Received: from mailhost.synopsys.com (mailhost2.synopsys.com [10.13.184.66]) by smtprelay.synopsys.com (Postfix) with ESMTP id 4D82510C06BA; Wed, 7 Nov 2018 17:54:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1541642095; bh=XPj39kao8cQ9xrqJXFAPZ8ZYsbNA3eGc5McS+0a7wM8=; h=Date:From:Subject:To:CC:From; b=XgoMEbuuUsDSGUfpLOm8j4UoDvjlzRwJv0YeZaa9JOj/4S284DDPePL/AxhHgn67S M0eG2HqbhM3aCSfVtD/JkT6lV0ObuHwpuNfCdHkbItIOV9yYcvGfHW2RHTdN10s5gZ h8NNUa4wUF3xCSB81642ilQL5wH/ZLTk0Ajy8mQsYEY09f6vRSizQ2GjbRnpyKUPdo o7KYMWiaSpsbMJoP+tmv+u+LM9WniZ/twOxVNqA60Ro4DUTHpB73MxuRHclWedKS3f EBcYk+O7GOxXP1L5w1sodrkX4DfCvqtwisZIy73MpJsRoPSyz/cL5kAOhIFJrfpRdw kY66M0j8HDyyg== Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) by mailhost.synopsys.com (Postfix) with ESMTP id 3EC633F0A; Wed, 7 Nov 2018 17:54:55 -0800 (PST) Received: from US01WEHTC1.internal.synopsys.com (10.12.239.236) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 7 Nov 2018 17:54:55 -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; Wed, 7 Nov 2018 17:54:53 -0800 Received: by te-lab16 (sSMTP sendmail emulation); Wed, 07 Nov 2018 17:54:53 -0800 Date: Wed, 7 Nov 2018 17:54:53 -0800 Message-ID: From: Thinh Nguyen Subject: [PATCH v2 0/5] usb: dwc3: debugfs: Add various updates To: Felipe Balbi , 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 add various fixes to the debugfs printouts Thinh Nguyen (5): usb: dwc3: debugfs: Properly name Tx/RxFIFO usb: dwc3: debugfs: Print eps Tx/RxFIFO in bytes usb: dwc3: debugfs: Dump internal LSP and ep registers usb: dwc3: debugfs: Properly print/set link state for HS usb: dwc3: debugfs: Print/set link state for peripheral mode Change in v2: - Add some new patches - Some fixes for the patch dumping internal states drivers/usb/dwc3/core.h | 17 +++- drivers/usb/dwc3/debug.h | 29 +++++++ drivers/usb/dwc3/debugfs.c | 201 +++++++++++++++++++++++++++++++++++++++++---- 3 files changed, 231 insertions(+), 16 deletions(-)