From patchwork Mon May 15 15:37:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 683735 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1FFB8C77B7D for ; Mon, 15 May 2023 15:37:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242445AbjEOPho (ORCPT ); Mon, 15 May 2023 11:37:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242439AbjEOPhn (ORCPT ); Mon, 15 May 2023 11:37:43 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2089.outbound.protection.outlook.com [40.107.6.89]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 045F019BC; Mon, 15 May 2023 08:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WJ8tZbC+OQr86FIHfXsuD7HJ8nb1gSbvEwH/7f5po0id+RnYM21FZ8bY9icYANVF8EOxajyny3lyEH0gxX6lLqtXmyQ7gQidRN/eHVN/Az0fN3NAd9mv4n4qxw1l6MRlq78/ANquCgnf1vL9eM9HUBM/6BxEQWVlbDlUnPOvboFZSL3SDjR5m7ywLlB9/udwJamvqFCEh66fkc7Rs3+Yc68Qyz1qkfG58vjOCtaJF4r8G240qnh+MqR6i8lpd54+PoEWeyZT3Q4kTNaAJ6G3yfF9zti1+gyMe+i0uzG0ABzB+bYmf1kCoOg8mLMErnR9hatt4rLs+tncJVekctLR4g== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=YyhdutEfxChnbqgo7yb5kxN7LsM+HotZlDiFdbP3YOQ=; b=LKZ7aA8g8lJ1qJQph3y2GgbvTaC0POOZpXPe8sBOdj9EGa8FBqGRzCGre6ckxKRVyVOyfdJCNoEMCOIeE3hDiGOrTTMJJW1ZlWNJKa0AGunBeXH2eqII2sfD4WUSoKQBcnXO1U/TmSA2omtXzicsKuxom9nYl3YeFcdfym91qL0bGZ263ONUqGVSWHT2rYSzBUo8ANiF4Bl6i3Bynl63GSTp7yqgBXw2Mb47mWonVRYgoD4xSXOr+QQuQO1aArqkcWAHWnA1lBvCcwI1dXSbtcbbkOyUViziqC6OkQvWL/Plg8pArLDYgu15BJIdySY1QEUrf/w6XqHLK4DRPMTKoQ== 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=YyhdutEfxChnbqgo7yb5kxN7LsM+HotZlDiFdbP3YOQ=; b=Ca8G4g2xl/vCIoLdtET8w+uXic48+D59qPWGiguefh+iVh5scDeU7tCXm38aGcGoL9WQsM0FW3D5oiqi4NhsJY3XKIW/zcPsrkMbWMaR9m3Uw9mwCa5IoJPj0RGXpvfxE41/IQco9WO/oiQSRcQ+dGhmWDW5KkFWc3eU+FHIWC8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by VI1PR04MB6909.eurprd04.prod.outlook.com (2603:10a6:803:13d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Mon, 15 May 2023 15:37:31 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::25d3:de2:ef1:3884]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::25d3:de2:ef1:3884%4]) with mapi id 15.20.6387.030; Mon, 15 May 2023 15:37:31 +0000 From: Frank Li To: shawnguo@kernel.org, Peter Chen , Pawel Laszczak , Roger Quadros , Aswath Govindraju , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org (open list:CADENCE USB3 DRD IP DRIVER), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH v2 1/2] dt-binding: cdns, usb3: Fix cdns, on-chip-buff-size type Date: Mon, 15 May 2023 11:37:09 -0400 Message-Id: <20230515153710.2799008-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BYAPR06CA0030.namprd06.prod.outlook.com (2603:10b6:a03:d4::43) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|VI1PR04MB6909:EE_ X-MS-Office365-Filtering-Correlation-Id: 40009bc6-bc57-43ab-5e0b-08db555a4bb0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SyOu2pXIEzaciiJIBtnH+FuP3SxUjyyMTbwnF3vFZdPDMCcoStZMzqtSGKZuVhvF0f2ozE0XUy60oaz6L1ZxZPuinwNV2UTgeScpZxn6Eyhq0ees8ftoTkDJDzGFkcnbTSHy3YeV++f10NMvmCy5UBZCGCFNAB7SULa8VFblImDV9lv1bcpgME5J3touIyvrsIMIQ0V+DG9XOTSgyBIpQG1hXXm0IoS+mw3lLcoo3RmJ0EKSZelm+t/jQn+a8LeLqXHah+081uxq3kTtyU6gBIPenuROI3D/CG9JHAXZr2forYw8kLVmw/xwf2zcLFMts/AegA1fJPTfKGNEtEk1FTYn6E706wBXpj8sPvmhbDt7BAWkV6JjBNSS3w4TmWt3BbHf8mIMUcqetCgdXtshZVME7ZCUcGbIDChzE5vnFyJb8bORlzG/WbsZ+t1HG5pVlT38DBqhheePTwWLu+aVCWd29qgHa4SSzJ/fZYszRKDBItI6aW8PWfWL2SzX1XtO6ksRaZnFVgSjW0Q9h1tvKbyTdcVhGin0b/rZL39BNHZhmMncx6dfrXNrCRbcPcJiTjwa8/xs5JaAnYIRaEKIxcbQhYBteO4owCLUrQUt9lL0MHdyRR91wYKCR2l242cDo45s54SfldCyrbBwwXhJvQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4838.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(136003)(366004)(346002)(396003)(376002)(39860400002)(451199021)(83380400001)(66476007)(66556008)(66946007)(2616005)(6486002)(52116002)(1076003)(26005)(6506007)(6512007)(478600001)(110136005)(6666004)(186003)(7416002)(2906002)(5660300002)(4744005)(86362001)(8936002)(8676002)(36756003)(4326008)(316002)(41300700001)(921005)(38100700002)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 9wWcVP12nE8lvfGUp24QibKuJ3/sbh3TeN3VCeJA4b4lM15a07rH0920hle1lyUy6dlvn+21kXJIui+/VkIBA9Vn9lBRTbmnNTNdmOfPlK1h4TS+xU1MwJIXCTz78N30GH5EP5+F6UtZHOyoCdkY5IM/XsgTfgk/c2MALQq51uds8Fli4eTpA6AAX4nJ7EKWcE0dhcxsG1zFqx0/wYnIk7htC/+/IPYMNOdbzZKCaH/eXh/GoybtsSo9hZGCDFr8tCgHM4oolKTYrJhPTabB1ur+IQKF15+Rx5yTxuO0sGU7IHz5XOPHlwzQtx/vpJNXZykJyoU1bo7VkPZOWklgYKlv4UzwK0FvPcCNCSXVg6ltxIMqpB3/XaFk5Be1l0u4cEphDAAB7EWnumxcTacjQ3YTLfFJ4vlheN3ClqpX5cSJP+PVAohUZnFWrZ8aIVlc19jrJy/Px7p48ptkC7sMtQ7xF7oAFXrhXIhvgqfcd7MR1Gr4+6PSOU5D9YvpmBQK6gXXDWDkdpvoMqrRjjFd9xNmiaLDMoR9SRQ7dj/gkxnLN4bVSy5pqitMCZ2ddv5BoQZSw63LCfIf7EgSoiSs11txR07eW9EmqDJsvIskt1/MdqkRHlOUUGjKwUccx/WhzwkX4HOz4mzotiXHYj6DQ39TsDdOeThfP4qQgQ5ySxehfRfvWwFayvURHLcLoiRRoiHRaAjPwSueFWYRXjsZVnOEqnAFg6ktFVhEdK4wqYzxDHsgK1p5WrwS98zKt7fw0zx+fztHDoTggZewMNj7S2Cg31tHFPdyOYcLZ6e/TMyfB6oktNg9Dg99tgcyJ27jwHQluFLL94DvEvZNQukWQC4wkmoEZJKFbCRpgofvcZjZZvI+eUaQzHI4zwDznNvd3OG5eExBM3MTMmK+VbFFXEz+1qP627kkPyhILtVmabZR6sZG5olGnbS/FIRKpqWGm//mzKIu9dkcX5U8qkrtPJe0ZZtSk40H31xGwPuY6jJ4CDAPUBm8U0jlE6ATDrzGuvEANALXve/zREoLPNLW1mpeSelh+/hwlXwQvPW9+SjAF8cR2jmgYEBu/PU9QPtrIOKvHxjdM9ipH8Cy1O7mm6SArvu7/02D6jE16hYxghBds48TTUM6QhbstVNyz65rSm0RFr9W9OQbhi+APSnfD+cAKWxoyLZ2fMjCk7JMgSRacoeJKK0hQnnTsZlMDp8q5a4LDIPZ6IK4yfoPk3RlfmdLjjsO6t47dB00wK2m5NNF9P+wCAzBsRnfY8EPhoN/CXcAsXOV6ZBzUtWD9Djjn++XnM3sjhMAlroNDNtE7HyWI/orY+n30M+UHfodJrcOFmaVSwvzvu0zBQGNm/RAvYgdBh4Zi5jUUeng0fgZiIOwE4GwXX6fMaDw4DP0oULcWKsLMjNc6WqzYRGjU/UMwX2pgBu54WvuZkK1iG+EOJ0KKgAs5XJNFZmCLXl3mZzZ6R8Ts5ZiB5hLlcGKy7J06io0kKiGlelGu5SSzVQ3ZzvwSvqUoeVJSYtBsAS/3fwZMeot6Vj5fXIlF1GKqXzTNltu2oXUWX/J5YPANuc1kSE= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 40009bc6-bc57-43ab-5e0b-08db555a4bb0 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2023 15:37:31.1132 (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: r7d3FY/eeeL4JFcX66YXqsH1sAzGEUdaGC2llUUB5qOi6FSb/IOz4qXvCSkreJc/kKLKIrBcraawQaeAxT6nBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6909 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org In cdns3-gadget.c, 'cdns,on-chip-buff-size' was read using device_property_read_u16(). It resulted in 0 if a 32bit value was used in dts. This commit fixes the dt binding doc to declare it as u16. Signed-off-by: Frank Li --- Change from v1 to v2 - new patch Documentation/devicetree/bindings/usb/cdns,usb3.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/cdns,usb3.yaml b/Documentation/devicetree/bindings/usb/cdns,usb3.yaml index cae46c4982ad..69a93a0722f0 100644 --- a/Documentation/devicetree/bindings/usb/cdns,usb3.yaml +++ b/Documentation/devicetree/bindings/usb/cdns,usb3.yaml @@ -64,7 +64,7 @@ properties: description: size of memory intended as internal memory for endpoints buffers expressed in KB - $ref: /schemas/types.yaml#/definitions/uint32 + $ref: /schemas/types.yaml#/definitions/uint16 cdns,phyrst-a-enable: description: Enable resetting of PHY if Rx fail is detected From patchwork Mon May 15 15:37:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 682122 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7DD0C77B75 for ; Mon, 15 May 2023 15:37:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242240AbjEOPhm (ORCPT ); Mon, 15 May 2023 11:37:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237835AbjEOPhm (ORCPT ); Mon, 15 May 2023 11:37:42 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2089.outbound.protection.outlook.com [40.107.6.89]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CF51E56; Mon, 15 May 2023 08:37:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g1HxOWabSo12mbIjH0ymhZyRFl1ztx+zbMVcKdalvg25gwouJZLJhadCBYRB1psgP0wnivD6lzyuhBAf8hCqwz3nBhrzzLRbZ8QMgm0sCbTu+AOoXxNjmpn8iF70ROJMw9bwuMbT8GXfikcz+heSCvq3Y+awyyGNwcKOIkWm6t96oYaSTzQR265tLshmHg/ECXl2HV70BF5qdt5MGJBlPsOZCn++rXObrEvClq94XHVHVihZ9e7aUUhUDbo4p1MOrV9yYspJS3YqMM3K5NyGZ4yCmaer5pcODT0xjRFZp3z7knO+fBnpTHw/Zh03NtcNfqVG/7qHanptDGHnMglOfQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2dQ06Gza4R5qLkF7V1PLOxH/DoqmH4uhPvkcBMmqyBI=; b=hl1aVDP8r8e26pI5z51Wyg/7AUtddKpgfsqBt/hdqUlGUcj/WanFUcURWq9xPm1MtiYwJvNG3kop9rIgy2mAKSgYxMTxYaEqAoPK8fHEO8mMbK26Ybl0nPfYHsLrO1m9YwkwaAm8YMWYXK7/wVuhB9ZoltoId4XiYIOj4rnchcd6MxtQ9WIv7Xfzn1Y3HwE822tMgthA8Egq/uDno3rt5wjSNqe0AxdwGZ72aFDsThdmfkgCHnsdJ97ESAG0GGfOpM/mMtI8Gx42ocnjQAjYnOWM0waPRyj77W071YWkJfcnhDqWEihgH+TzU3SnX1kjgLSktpEvbLyWnnsXdjXmaA== 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=2dQ06Gza4R5qLkF7V1PLOxH/DoqmH4uhPvkcBMmqyBI=; b=XEUNZ/fmB24ieGsiDSO/VcvfGD1bSoRJvLWDfSMsT3JG4J2GwFxbGbubPev1jKYSFGYHC7M82+hpPvEZbUPC2alMXHO76iWcGs2lEqGx6EX1CuBSPT3ffdV26JkeFi1GT8wds8A99W8l3AWu6Kpz+xMUP9ZVNYIjj5s4mVKC028= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by VI1PR04MB6909.eurprd04.prod.outlook.com (2603:10a6:803:13d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Mon, 15 May 2023 15:37:35 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::25d3:de2:ef1:3884]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::25d3:de2:ef1:3884%4]) with mapi id 15.20.6387.030; Mon, 15 May 2023 15:37:35 +0000 From: Frank Li To: shawnguo@kernel.org, Rob Herring , Krzysztof Kozlowski , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Greg Kroah-Hartman , Peter Chen , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH v2 2/2] arm64: dts: imx8: fix USB 3.0 Gadget Failure in QM & QXPB0 at super speed Date: Mon, 15 May 2023 11:37:10 -0400 Message-Id: <20230515153710.2799008-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230515153710.2799008-1-Frank.Li@nxp.com> References: <20230515153710.2799008-1-Frank.Li@nxp.com> X-ClientProxiedBy: BYAPR06CA0030.namprd06.prod.outlook.com (2603:10b6:a03:d4::43) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|VI1PR04MB6909:EE_ X-MS-Office365-Filtering-Correlation-Id: 2feced4d-a88c-45e9-d799-08db555a4ddb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jDapwYJYiYUkj0amphzCug8YFhRUC/P/2stVHL7KyG+3SxB+4tVzLQSZGmNiV++S4iKuK9pEqVnM9i0RyEA/FGop5D0g+SGvW+PZX9YsRhAdWXlAQFBq6wAhpoCOOCNE3altyiyJzel4leeldxDurbIODRPd4OrSRkGNHQ9d54wkKQtfhBHqpyuYkjqT7l3A+7NbwztgyAQbR5GVlOjgWCfec4WcyhhwJhLNSxQ/rmFTr2Qx/zDbF3zRxO1oMHHttLozXYaJ98vm2gjB3AlBcfDPLC+MtlZWBim+V8Ku6B7/KWdj16wNrMVPeeMSVaKzjiAMYZqK44VR7FhPIogxnZkSVvzSKaUuE0Mbv0kaQNnTJujZ+3dCNHjXMF8KFjxCvPVmJhr3lHuDSem1z6KexqCzqTzdkWqXIiUeNpbJm7hzDVynNQCeRrpx7RMXn7x1IigcRf8KrCZnkCNDxLRL5XIbHk6rF1QJ3zJxIZFFSRHIg9/WtzKVrLyIUZVfgF39TOyP1RjgdNkESQa7ypuiKuBKjG8qyRqYolt1drM3jepMm699Rv/x7EQmpX12sVHO6ShmQfmmOFJOwqxPKUomwAXCe0o0PmBRUbxums+2Z//j4SMWZpG+2rlUctbMtDnLV2D3YH3l8K6O9JNwg52uZw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4838.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(136003)(366004)(346002)(396003)(376002)(39860400002)(451199021)(83380400001)(66476007)(66556008)(66946007)(2616005)(6486002)(52116002)(1076003)(26005)(6506007)(6512007)(478600001)(110136005)(6666004)(186003)(7416002)(2906002)(5660300002)(86362001)(8936002)(8676002)(36756003)(4326008)(316002)(41300700001)(921005)(38100700002)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: lty9bXfBEvb9n8FigAAYL+o7l2rIX24WuFNVRySSKp+SUvToro0XsmsMhI+yzgG4WqtTAJieYt9O1MxJRv+w0srJmqxE6XgZBDwsRHSigx6fQkjTBOxRu4CYpuKBfi/K6BEh99ERWqZF1xFk27+BF7sLA2o2SYf1rN+quOFoAhysDEZwOKvZmgpGXGW5970H+k0jzuYHvdTLw5tKIJIHWoyPPb45dR42L1k+mvLv3RuHVLp2+F+JjHZpUrPIt7l69KuSQaTPXyc/CezyUhVS7q12UCP6q9R33rZ/7EKdXYG9GYIwpD/kCv573lY6o+0gQtZoFvnqY1MdAuJ9HWRd7imTbY5CgUxTu9HXl/L/svA9RwaWy+4Wkbak2xGkwXEvaSGUMb4rZ8L2wIK3DisfS9P6O4GUB4FbR48rYOMT1pRfuTmIrP2U6VrgWFhlNanEwBKz3ctbJnlChXBpgo5Sr1RApVQEYpS5LUeJBIViBC1lHQ8vukVcL8blKT5bGn235YfUIPiqcWLyyxLtawoNuGmFrwFofXMwqFE9bgnB47X4woE/bpqGwJDzsORKQ/1p+aF4wf585j9CmHcwC89zMCSh1KWkIXStwTeCR3XadxQfyc2E3h8DpZTWmQHBafTyXMi6cT7/a7YH1qbFVdK8cxfMhq5K001TZhcfohVfAGVOmswLA5xyDjHeOGGYD99FDi4fIGBY46/ZaA8seEyXXp+wl85W2d64fN+zHVDADgBy6zezUJXIs8aUyVMiKbtd1J4MvQpoEJWWayy6uIsatsqSFcxfO5Runh4bRRExvHSz/ljSuteKozujrOdDkMRBGQZEY83B5PqRA2K3W7iyau/tUDUqngpjWkRoghejQHYSj8UGUWZHgho3JeBZdfQrLSzGaljbm/8Hy9m7xu7CKQf9VstZCqUkSUZ9xgrXTd8+7lhRDMZyDb3FBLXoCsb2pL3uosGhhTii8XgaWZHrhrePPvBWlqi2SC/+EPBiX3MaaF7Th1ZrWw2JE77cW1+bb2KivIHKMrZtx4Pljzz0wIXGg1AsS34L4bKxf0pyMvXxzU0ly62u3Kw6pt1uDMHhU1bKkqtB/05oikCQXJvZv62XD6/aY+i/qy+7r7kewVYbSRX0+SmUf7pvpFqNXD6NDQ0qs4Z6sOCLg2ewFtVWunrCy6PY4bAV8DJJRpX/j4WT/1T1E2ThMR+1TAiQFPjXQOKIUrhFIw7Mp29qhX5A+Z1P1efX88PMFV9hh53bAJr9/p1ma7SShCffo8yWW4uhZN8a4tGHXMbSbQnKNvxxR8mDDLp4MWjPjSXBtHmw6zj4xu30695/nlZ83KuMv/fKAuwYx934N0a2S3jyCg5cSIhcRa14hFDQgFDSseoZP6/J7G9m5K7B0/13dCDNOkAFvBpGzzHO8x8I41Mb0OOfE1RZMnk+hW0y/U4eROTCIPUM41pQhYSScut6M8dmHSZrZ3Scy4rIN7P2EEgPGHc6+OmRj/7QW0uduuqz/n3JYz0lbUlBBQC4mPggjDSLmRG+W4HwkafRLquF8cwy65qmo0x4tDXt+f5CLWFBP97IxO4= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2feced4d-a88c-45e9-d799-08db555a4ddb X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2023 15:37:35.2959 (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: +B/dAGcj69Z61lwa3CBrKyt7pl7oUH+pHLNk5skY9geVYYeX8x8jLHBjcZMMvdGelywc34mv+dFIPRepWUok/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6909 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Resolve USB 3.0 gadget failure for QM and QXPB0 in super speed mode with single IN and OUT endpoints, like mass storage devices, due to incorrect ACTUAL_MEM_SIZE in ep_cap2 (32k instead of actual 18k). Implement dt property cdns,on-chip-buff-size to override ep_cap2 and set it to 18k for imx8QM and imx8QXP chips. No adverse effects for 8QXP C0. Fixes: dce49449e04f ("usb: cdns3: allocate TX FIFO size according to composite EP number") Signed-off-by: Frank Li --- change from v1 to v2 - fixes warning from check-patch - update dt-binding doc arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi index b32c2e199c16..030c273c8be4 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-conn.dtsi @@ -171,6 +171,7 @@ usbotg3_cdns3: usb@5b120000 { interrupt-names = "host", "peripheral", "otg", "wakeup"; phys = <&usb3_phy>; phy-names = "cdns3,usb3-phy"; + cdns,on-chip-buff-size = /bits/ 16 <18>; status = "disabled"; }; };