Message ID | 20200916132537.8313-15-peng.fan@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:5ad1:0:0:0:0:0 with SMTP id b78csp445191ilg; Wed, 16 Sep 2020 06:03:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxR0q9DhQocgvoX+Cs7ItfEtix8TPRtCM/9mJ8ebvIdQJOXPyuBSEtcqjl2jp9TyjFlwPRs X-Received: by 2002:a17:906:aacb:: with SMTP id kt11mr25061544ejb.294.1600261383925; Wed, 16 Sep 2020 06:03:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1600261383; cv=pass; d=google.com; s=arc-20160816; b=fek1aMCISIoRYqPQ12a/DQ4yVeWXg9TeBQvGrKXaM0utFOXNoH1MmT4u/6033Va+cd AUsM9QHPBZBc9EhCk6cSGgSaMeJ2z2QUezw5s633lwNu0v+FXhWu9zmhrXCJDP16e1YE i8VLaq/OE/NnksViRu8KW0vIpaDynbwsi9Fp3KcGOz3WXuK+ULoGDJyv2s3SywfSot1d fUYCRZGzr+Ps5HCMtmH0ZWYhgtEJjuZ9VBbm8RIqgmm/uDcIDePLXr4G1sxIusCTp56y lqTwEmIETpTlRUfeP79RXNJro8Vn2RR+Z6/Lqb6VN3GGQ8T3svM2zLS/o9O+Dy8PR7Ci PLXg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=t0mAofHEPogoFDmoSCCwe4OrpBmaf8r2x2aSDAs9108=; b=SAiYTZb5waOx5wrp/5so3UiezFl/oZfoKRAlxPgLkZ10CD/3JCqbbugp/tnApBR59N 8L8ig79RIGESLpHB2ar9Vw9hmLbUfJvfH4GpKu34b+x3Gi56b+k8Okx1iOaT1LvQyLgO 1EZoJ5t5xK35olyKcOg7BL1XG4nQiSsnHWzToC3XzQv9pFCjtuJ1OjNM/VBF3awSNBUZ D60jL7Ni5krVMBba8q1bFf8t0rHyixwInmNnAfT/8idBGbPoPs9Xman95DJ5eBJ/GZfG IjuyzJBD7PGtdvsTeTSZ4RGevBWITDG5fuuo6HVvt5uYFwkAw9aBXJo4gXXzjQ1gHjUZ SWdg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=YP8RfiEu; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id k12si3524518eji.645.2020.09.16.06.03.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 06:03:03 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=YP8RfiEu; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 250DD823A6; Wed, 16 Sep 2020 15:00:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="YP8RfiEu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AE2558238D; Wed, 16 Sep 2020 15:00:24 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0604.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe02::604]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3F2138233E for <u-boot@lists.denx.de>; Wed, 16 Sep 2020 15:00:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d3DoE17/ySh0RFJBtaN4QCmpxe3FicFvemLGjHJ/1GSA1XEmxvi9RX95Et1DfFWupS7TNl7S6UaUR+f9tTjtJdpwQGlhNhzX23WDz8fmFl7SjSlITzZCmA3epzN5YZRD7dDt2EWUj7B8SSHIFr4swzn8zfEh/P5M4jf0IRs4Bik04XP6Jml/0wrxT7QqDDPSFY4RXyb9R1W3aFDB1+f7szGQaWibjWZR2UzvTIT01Mnup9FExAFxG0vM9+kWwZsNv9nIVMpreBTNCmEim01UHQm2CBpQg76/bynavrafCBi/lyfu6/dT70p9RS1l2ghm7hgr8kHcgyYvN1xZ94s27g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=t0mAofHEPogoFDmoSCCwe4OrpBmaf8r2x2aSDAs9108=; b=LxOmJjUs6V147+86L7/7WnEi8dDfmcSkfaPwONiGjhWNSqfjnNacSIy6HvVtekyXpLHOAC6bnb4ow5Fn/BkiWKhjAKhHkYioyKNbSa5OcWlu4fw77m9PZwy4ZdphiZBvIEIYu3rG5lCT/EJoiOqv4Mj64rIEQPS6uLBgx1YMYKKHZMIsfSQKXx18w9d1fYRer5T5SGBwhGWDXXJBw3QVqnH0gUD/wcYXKQXPqwxT0+tQU66+VSMavmhWEmWkMnom799fFl6wZI+6Ju1PdC2pl854bO0mcBc/74uypFspRShB5Pgzw7doFOK/gm+floobVEibWmQZ5xW4wHyJcy/Xwg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=t0mAofHEPogoFDmoSCCwe4OrpBmaf8r2x2aSDAs9108=; b=YP8RfiEuBcJ0+yl7dam4YnCw+4vTL8c9g/WduUudU0nmtzkajmPIwunRHn+UGCu/+sItZnNO6y1uLk6gsQL5JFy5shuu/XMY9GQ3KRfqSQp3pgcOMJ1uQd9l/gGd7uqITecCa266thkYNsCzs+e5KsLKkj1NZdyg/FFRkTwEUIY= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none;denx.de; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB6PR0401MB2373.eurprd04.prod.outlook.com (2603:10a6:4:4b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.18; Wed, 16 Sep 2020 13:00:19 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::39ff:13b4:4f28:1413]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::39ff:13b4:4f28:1413%10]) with mapi id 15.20.3370.019; Wed, 16 Sep 2020 13:00:19 +0000 From: peng.fan@nxp.com To: sbabic@denx.de, lukma@denx.de, marex@denx.de Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Li Jun <jun.li@nxp.com>, Ye Li <ye.li@nxp.com>, Peter Chen <peter.chen@nxp.com>, "faqiang . zhu" <faqiang.zhu@nxp.com>, Peng Fan <peng.fan@nxp.com> Subject: [PATCH 14/16] usb: udc: ci: update speed handling Date: Wed, 16 Sep 2020 21:25:35 +0800 Message-Id: <20200916132537.8313-15-peng.fan@nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200916132537.8313-1-peng.fan@nxp.com> References: <20200916132537.8313-1-peng.fan@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR03CA0131.apcprd03.prod.outlook.com (2603:1096:4:91::35) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR03CA0131.apcprd03.prod.outlook.com (2603:1096:4:91::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.5 via Frontend Transport; Wed, 16 Sep 2020 13:00:16 +0000 X-Mailer: git-send-email 2.28.0 X-Originating-IP: [119.31.174.71] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 51c8cc28-f317-4158-b98c-08d85a4076ff X-MS-TrafficTypeDiagnostic: DB6PR0401MB2373: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DB6PR0401MB2373B56F6941113C43774F6E88210@DB6PR0401MB2373.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:747; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0q8cwkSmh/xVKWKuY7J/5v33mgNoIJVbqM0vgHF7qWSMgbTAHhUr8gggOT+mNfnTSojKACJGZ9GdX9a8MwllIHeNTsSCCUBp8V86HDaUg+6r7Rk5tX7tJCETkTeu8+n7tSagbqa1X7hLtC6wgBvpg0zM4gBG2q9EK+gaO/jPqXQA9fO3RT3NQioX8q7Q1rc/QbB68c1D5pK8huuDE+9AyRG1jok6k2uoBzEOguqBAWhtUwlb5pBXRXv1T+D3Atf+O27h+GUbquGzkRraCT/dtSyEC9K/MokPjL9HbHcZ+y5Xe3Jv0yw+sO0htpbY0b/bTH2xuqRM2PDdw/oOKEtBTA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(376002)(136003)(39860400002)(396003)(54906003)(6666004)(9686003)(1076003)(6512007)(5660300002)(478600001)(52116002)(36756003)(6506007)(66946007)(26005)(6486002)(16526019)(186003)(956004)(316002)(66556008)(66476007)(2616005)(86362001)(83380400001)(8936002)(2906002)(4326008)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: M61jCzLFFyeF6tyYtCE2ZBjYZng0/ii1KIwY8lsttnRsWsX1RYj1D5vqIDKVA/dMxUzz6LIqeMT6iGG95GyuNtrYaQWMDGikXvhkRpkadOIF2+dIg2u5TMd6BGg/iIBOQQw/NSRhvgcCmGnlTrvazZv60bHaGI30yf8zzlKB5y2OyfIUUDUWRir1ym4CEz3on/Jw+Dqn9QqaIeOrMhThpR/a3oZBnAUu5GToVHrx3mKEL0pTi4u05/j76oubQ1PweurrwDDQB8bgZZvYFBRj8EJqGebu/NbJCS6qEoYIz84AjISgf2eeMWLPiHOGMwAD+nRH/C4mzVJ8DYBUkYjBarV1q3jBgdw8LmyS0GkfA3D53bMdRnjHu4QbIGOqaO5ZYBA7cE2UZmk+1uV1ExE6Dd9Kj4CbPrcOov91iim9YSZ2l1qADD0vvUxZJvw0mGPh0WVnovOwNZpIFlkO7XfOH9jaR+mgw14EAFBy5GsRZ5Tlyr7e5OtfPSo6aEI5shiDOuVWSX3h1DeHV3gKNp0GL6TNOPoHz6p1HQ+tTp/0n8vGOWVhdO+BZ+U4f6c6qupsl5OXv3YGPJPxGzrGjjSC7e55JNXPv3A/OmwCHbPnIo43mAVEH6lDojh9FYbxmFtmhN0GA+lYEyq08SvClex+kw== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 51c8cc28-f317-4158-b98c-08d85a4076ff X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2020 13:00:19.7410 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qXiiMxoThidw7ENOSfcpIpQCR7rx4Gbc7rtRL9t8L1efKX1wSQbZHTkXIN0k5imo92JLQvM+M3TpuDf9wvKn1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0401MB2373 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
usb: gadget: update
|
expand
|
diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c index cdb8f6fb3d..b64e4bb605 100644 --- a/drivers/usb/gadget/ci_udc.c +++ b/drivers/usb/gadget/ci_udc.c @@ -145,6 +145,7 @@ static struct ci_drv controller = { .name = "ci_udc", .ops = &ci_udc_ops, .is_dualspeed = 1, + .max_speed = USB_SPEED_HIGH, }, }; @@ -1015,8 +1016,6 @@ int usb_gadget_register_driver(struct usb_gadget_driver *driver) return -EINVAL; if (!driver->bind || !driver->setup || !driver->disconnect) return -EINVAL; - if (driver->speed != USB_SPEED_FULL && driver->speed != USB_SPEED_HIGH) - return -EINVAL; #if CONFIG_IS_ENABLED(DM_USB) ret = usb_setup_ehci_gadget(&controller.ctrl);