From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F064DC43331 for ; Thu, 26 Mar 2020 10:43:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BDE7C2076A for ; Thu, 26 Mar 2020 10:43:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585219422; bh=Vx58WJqq6eBV9PhOoButEhE8nnenlrmHCrgCNuY+Lbo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=Ilx9MxxWq/Gub9kXSxghehR/32CChoU8ElM/ubgRikk+guv45Ok/MKy3jpZ+PGkfv +wip7DJbtwPDhlTb5g48QMvyRAofbuqFtV2SR8YZEo3tnF1yGe95v0pZkSzo7td//5 Q+ceIBEUCmksdTi3Amy6ePZ11pib8HDplSoSych8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727953AbgCZKnm (ORCPT ); Thu, 26 Mar 2020 06:43:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:35510 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727841AbgCZKnm (ORCPT ); Thu, 26 Mar 2020 06:43:42 -0400 Received: from localhost.localdomain (unknown [180.171.74.255]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3CDEF20748; Thu, 26 Mar 2020 10:43:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585219421; bh=Vx58WJqq6eBV9PhOoButEhE8nnenlrmHCrgCNuY+Lbo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vLPmb3lKFIQXtY7uNLuPFl7pROheH74MDwMIhm15uK7sLQVHSGEWO/uFMhQg+Ap0l wqISuoNoUbplKo3VpUEIhYeDQdv9ziUyIMeFPAxiXqb6LXzCmykpyZpmCkCbB7kOiS L6hR89F56V6fZoNZwQjeqzV0tuAl71N5pDcVxjwM= From: Peter Chen To: linux-usb@vger.kernel.org Cc: linux-imx@nxp.com, jun.li@nxp.com, Peter Chen Subject: [PATCH 2/3] usb: chipidea: core: refine the description for this driver Date: Thu, 26 Mar 2020 18:43:24 +0800 Message-Id: <20200326104325.5628-2-peter.chen@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200326104325.5628-1-peter.chen@kernel.org> References: <20200326104325.5628-1-peter.chen@kernel.org> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Peter Chen Some descriptions are outdated, update them. Signed-off-by: Peter Chen --- drivers/usb/chipidea/core.c | 40 +++++++------------------------------ 1 file changed, 7 insertions(+), 33 deletions(-) diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c index ae0bdc036464..12971c96c19e 100644 --- a/drivers/usb/chipidea/core.c +++ b/drivers/usb/chipidea/core.c @@ -3,42 +3,16 @@ * core.c - ChipIdea USB IP core family device controller * * Copyright (C) 2008 Chipidea - MIPS Technologies, Inc. All rights reserved. + * Copyright (C) 2020 NXP * * Author: David Lopo - */ - -/* - * Description: ChipIdea USB IP core family device controller - * - * This driver is composed of several blocks: - * - HW: hardware interface - * - DBG: debug facilities (optional) - * - UTIL: utilities - * - ISR: interrupts handling - * - ENDPT: endpoint operations (Gadget API) - * - GADGET: gadget operations (Gadget API) - * - BUS: bus glue code, bus abstraction layer - * - * Compile Options - * - STALL_IN: non-empty bulk-in pipes cannot be halted - * if defined mass storage compliance succeeds but with warnings - * => case 4: Hi > Dn - * => case 5: Hi > Di - * => case 8: Hi <> Do - * if undefined usbtest 13 fails - * - TRACE: enable function tracing (depends on DEBUG) - * - * Main Features - * - Chapter 9 & Mass Storage Compliance with Gadget File Storage - * - Chapter 9 Compliance with Gadget Zero (STALL_IN undefined) - * - Normal & LPM support - * - * USBTEST Report - * - OK: 0-12, 13 (STALL_IN defined) & 14 - * - Not Supported: 15 & 16 (ISO) + * Peter Chen * - * TODO List - * - Suspend & Remote Wakeup + * Main Features: + * - Four transfers are supported, usbtest is passed + * - USB Certification for gadget: CH9 and Mass Storage are passed + * - Low power mode + * - USB wakeup */ #include #include -- 2.17.1