From patchwork Mon May 15 16:20:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 683731 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 E1EF9C77B7D for ; Mon, 15 May 2023 16:21:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242611AbjEOQVV (ORCPT ); Mon, 15 May 2023 12:21:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242622AbjEOQVU (ORCPT ); Mon, 15 May 2023 12:21:20 -0400 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2071.outbound.protection.outlook.com [40.107.14.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C1692685; Mon, 15 May 2023 09:21:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TCOudD2/vUd9QXn8MtuMCcmcdBkgS24NN2iOVzFhCZqJuwxzUU5ovttuMGSz0/I9ot9FshGL99Uo7OeJ5mOLIlVKKQgsnhOz8Dg0T/iP6XKR5nWZqG7/n+z04gNe1ote7CWqk/8B39BBuhAEUMqXaZ6dOQ9Pg2kyxjUNMThV78jrzWI8SU9PGtDHE5gw9GP+cJcrgIAZTm0FZu7fzAZrNQJkIxtMgS3tofVUOroKi5eSfw/1HTkFJGcViC9xcE2Ubuf433odIhVsvt5UlAAJjYMmPDkB4Y/bq6bx3tJnQyBPLBEuwE5gc33Z60lO6rGcc3b5EbQkf6K9GSScd/OA1A== 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=CtxmeWh9W270PLRSIwCXgAmG338/JeWxnihTBH+ZAEc=; b=IBwaakc1li5wSat9Psr+CyrLNvir4po6PDJl1KIt3+Ah0wVI6AXB3Sx3k/9C8HMk38LiEsOmw9MhYQCIAOJ9F5iLNQTo6vWIVsy7z5htiiU1eWotH6GTH4W0pJfJxgQFTRoPesF61nH6DmEzn5F3l2j9L/i/WpS4NN2iYgEujT0n/ZFvRNkLAEmQHcye7Y0efke5Hph7oC6TIjYtJpOjtL37RKpPnG3+W5RWIN40/NlCD2WSt85mO9BkXORsvVMyRNvuTlWO/Ck9sU2lrG43gWuh+MUeS0YqR3dFyB8IjpsiqasRr8YLnYYfXLFpFGaEYa0kY7twI8fB02w1Oi7nzA== 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=CtxmeWh9W270PLRSIwCXgAmG338/JeWxnihTBH+ZAEc=; b=isv9grRKCplqyalLMCqmcuZ6vNg34VwAL69ynaMKYisg7DeZ3yUF5XZ4StUAOQAYJk/iW7R3Ga2qu2gJi1weB/WyWVNf16aj3qmqsaZbyDwfyInaUR1bqFas24LXDrw2Sm4LctOW4eZ6hwDb+KtqvgzsMLjW7+Q4R/YkytAsmfA= 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 DB9PR04MB9474.eurprd04.prod.outlook.com (2603:10a6:10:368::21) 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 16:21:12 +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 16:21:12 +0000 From: Frank Li To: shawnguo@kernel.org, Peter Chen , Pawel Laszczak , Roger Quadros , Aswath Govindraju , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Felipe Balbi , 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 v3 1/2] dt-binding: cdns, usb3: Fix cdns, on-chip-buff-size type Date: Mon, 15 May 2023 12:20:52 -0400 Message-Id: <20230515162053.2825405-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BY5PR16CA0020.namprd16.prod.outlook.com (2603:10b6:a03:1a0::33) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|DB9PR04MB9474:EE_ X-MS-Office365-Filtering-Correlation-Id: df8c1caf-f371-45f6-ab64-08db556065e0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rUOpkEMFlGomXQ8IJYPaXtXmMW9IJ7hLsv9n0jvhv37dXPRXa8ZnTOitP1PSFFXtiDke9beKYjl4hVCvJyMmkOw9+LlCqDaxPVG1bAn0lEynS+2a6YHWk6Ujumi5tsVwyHnsw3Os5WrmPsjg9vVmFQFai8antUG6YEg9l+W5/eIG6zu2EK8uje8WYUqt7CZajvPjEYU6BNXa15mmKTrJURfckwgQPztaM22ZbfXa1VXss8MbeV8YcLeLsWr8wQrPjbrvP5zz9FkX/ltDPC9AgzdLKTTlQazFRouq9opG/8NyroSjE/Kt7mvcLe4EUSMixCz08HKqgZypI2KDTSYq0vB8WlQtZpUkKZ+i3CVq0rm67ZbhNwZO9Gr34co1zHPFADlGVDVlaC13UPdd6qqCo8GluN0ol4aY9GqGkmdroJzfcd2VZmDDtxPOhFwFe26QPD6v7tDHi4ooREOqS8/CHUVmPEqV+p9GoAKBarC+OBYIBhbsJ2ESgAVgyDQwA1E1jT3N+kBOi+cTF30DaW6IN4OvRm+wLHa64J5Tw3T/p/CY00Ri61cUf3O0T/GAtX4ao5W9aHlAvccqVo500+ZEYpru97KTt3g1lskJOEdnN1ozP/7tQSJMc9W7r1Gw4hJts+uySvCdpxb9iuex8YOtMg== 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)(39860400002)(376002)(346002)(396003)(136003)(366004)(451199021)(66556008)(110136005)(478600001)(4326008)(66476007)(66946007)(6666004)(52116002)(316002)(6486002)(8936002)(2906002)(8676002)(41300700001)(7416002)(5660300002)(26005)(1076003)(921005)(86362001)(38100700002)(38350700002)(2616005)(83380400001)(6512007)(186003)(6506007)(36756003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0nwbpN4sLQaa7UUSjtDyNYVrjVeoe5KV1INEOc+uFUkdulTsLoncklF5rvKPnzqNwSwearZuqlDu7mEn9GqF+2CWvg4Vmey3oRLX9BZIOdorRyf+rTzzkvJyRA6lms4C+pxSHK+wPNPhnjCvMiwSOINDBk+lhbFZTAY/13DJlY+okvJx2hTBC1bRs/RcY4YUciITH5TGqdH28PUC7DHo1C+dw6QukYBAdUvlJCx/Za5hf0k5mffdFII9ndXVN+OuoCtnnjVOgOinR3COF2kcvV1kMxJWXBS3GMxRTrRU0dcEHokKC50UB5z0G12QB0KCVx8KI5hE/QaNFeg5/oaqdKeaQ9bOo92zVJr8eEKJidzjLLgIEclsxGcinQ1kCw7qQn2z6LKde77OWCySh2llSoK/9HynC5mSb+mZMpwqh+IJ0bo3rY9aJfzMYc9r8Fczgz4z8qtcnjCZgSdUQNody19u4v5VCBO87/B2DafPbvtIzkHu0Vhge5vQUJN6r90HNHDJ1sE3IZ94MELnmNg+zk8uK8RFnhDhIXVDGXF3JM3RBTzmw8CETxcBewiTxoFMaA3B7/9PNc/UNzbf+FMAiAlCeYZgbohSoEJs6Z044Vp89llGH+bXyGZrhA0GF0A5SZZiBimcMFTiwzcpR5cPxMXu3G7eH3MK7qGtQ+fxgNewVPqKaTBa9/tOBp6wL5ZqMjWlSjEURPIjIRhMZtl5tb78nJDg8Y1Mjia1x9uVaKnF6ABWOJOoTYBfK/aG+8n41Wp6xeJw49xnOGOGzPy9QzRwDJ8ict2P1awlMiAv/9Gn6AS91w8JzG8H42oaz5vsd4uP3f6aF/J37kmiYJp2Kg1AM+ViAG135HdNpYPV0J8v6BD84WKIuYL/M49VNIJ91IXCRXR0QivEB9vlclrNE5ISXKc8K8YgvA/ZtWOCSblM1Btz2BRPR5h+zulD8UOJl9LfE9p4yQJvhOAxaUsqRLowNQuNZmVor3ugN2pi1ZltcvbixURCG+4io/AKjkhd03HVePI69CA8DZc9OLaw3aun+KjoFKeuYx25T9OQTBcBSVJzNbanEq17sII9fTCKR2yP83z8tUGFPn4j+EANsUrAmWTxSIPQ+vzAUJPXFhzUkxGosQdprUDTI9u00NKsvCI5YbejRhdaO+LMsTBOghkUpuN/m6f4CbJDQfkbbjT7NiFiIXukeJTFHqNfmxr4YY0E2Kdj9GrjL19yit3NyAKUVMRNihGVqhtBOCc0ESAgLoGmN3klMUov+YJTORT3l9UUin0N/D4dZaqF6S8zH0woGggovE6ks4eGqNDDXmDyoL12PSfCjtKQNhTvyTKamSe+eL7niSZBAeA5o6VxQdXcGVyJQ2PoJMcsxm4Ey/hrH+FxG+uHOcG7KDsaLJi0nm3pxB4/cxiqxf+v+1wZIvhoaXUw6jhXG8EHBbqMRdVlSMHqMrL+AsEGWbYySz4eWGa6HXzxvjHE6YauKnFkB/0k5Ur74ZHQc6KhviR7KMJ55NzcPjM80FQ/ujEJYQi7f+uAaMJ40RXVoZPFhkxwhsZyUUwKrd2p4UMswdBh7M4= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: df8c1caf-f371-45f6-ab64-08db556065e0 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2023 16:21:12.0815 (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: VP4rTg6RQr0rrW1NblxjsvUx17Z160CV0YtCWhD+eA4vvKhX46hADpvFUjt93E7vdIrK+J14LHMeoQ+GSKjoNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9474 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. Cc: stable@vger.kernel.org Fixes: 68989fe1c39d ("dt-bindings: usb: Convert cdns-usb3.txt to YAML schema") Signed-off-by: Frank Li --- Change from v2 to v3 - add fixes tag and cc stable 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 16:20:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 682120 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 A49A2C77B75 for ; Mon, 15 May 2023 16:21:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242663AbjEOQVY (ORCPT ); Mon, 15 May 2023 12:21:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242622AbjEOQVX (ORCPT ); Mon, 15 May 2023 12:21:23 -0400 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2049.outbound.protection.outlook.com [40.107.15.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82B0CE60; Mon, 15 May 2023 09:21:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hJ5FHH0ReA6OGFsrbqEiVD0N6vI4cPZMHQLU9sePqQKU+XcWfj8QPj3y/CppQXtgA+J509QEoffqTeQn5pw1ByyWx2hZiz4yzkIhESAruDJymJzvDrNi25XS15JKIx/VxJr+LbFortxMLGyObQKg4nmlJKYp2c999EARnR5IVmwpqwNES4xDJzOQa5PAaajUWM9PPU0ZmhcDvKzNA+4u7x/t4lmtRfozWUtXHKVsVV/2IgiH7ARzqCsCXV2mg+REGL1kNG7AItL3Ttr/z5Mr2YEj68RoJLEg0OUza3mEHVRYrOp9PJUEE+jySit2notOyWhmsHwNJ91n15XmQB6EZg== 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=37QHTv7cLsVz+4ikoYkrwSpGRxKyw6m7AM8VdGcCJfs=; b=Wtvvw3LJ/3j71nubiVIaDb07/adw+JijY3D0vmx2LIJqweeIbK/jEgyJ3bx1KcWncPqzCQ9oB/6elq01xfPuWJ8Ca6znwA40N0uRxjKj2OYB4imtmRnLdrcELjfL/RddEpErtb5w0A456XcJNJoLMY0yYVxtueYa5ZFHZIAgBxhJfqcnRfJn5fGlkidvSWVKnxV15yHBLi3u9+zuzJBfvOPZD0mepOlMliCTIPOSGMInzQQEdBjVTnJ/U+jIIFVf4hIHxNr1sa+BV/mLZIpiFyIqs20AhkDg+4192gU2ksXKc2P6AEQBGD6sPXdEzemZEKOCrYs5sWj+vIZfvf1j7A== 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=37QHTv7cLsVz+4ikoYkrwSpGRxKyw6m7AM8VdGcCJfs=; b=LNhwJbMNTdeMjNbFnDsl3pusZSbmKY1L7oHmileHagrvEVFvIawHoocnhleZSwt1nokbIo5628erRweGjHeTD7VGagEJscBmJCP81SsOQx7nGNmTRKsx5mZbqMBUfiC+9C+E8zZyWZeLgJeuuGwarGmA6370VKpPeY86JfUsa4Q= 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 PR3PR04MB7371.eurprd04.prod.outlook.com (2603:10a6:102:87::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.27; Mon, 15 May 2023 16:21:15 +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 16:21:15 +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 v3 2/2] arm64: dts: imx8: fix USB 3.0 Gadget Failure in QM & QXPB0 at super speed Date: Mon, 15 May 2023 12:20:53 -0400 Message-Id: <20230515162053.2825405-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230515162053.2825405-1-Frank.Li@nxp.com> References: <20230515162053.2825405-1-Frank.Li@nxp.com> X-ClientProxiedBy: BY5PR16CA0020.namprd16.prod.outlook.com (2603:10b6:a03:1a0::33) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|PR3PR04MB7371:EE_ X-MS-Office365-Filtering-Correlation-Id: cdc7ffd4-1e0e-4fc9-2505-08db5560680c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1x1+zWRd5VP4qpBTHXuZoHA0cECr5EBBAbQINMBBcriLXx1p42ZKgZ7IDs8hmTiuBnb97xRUgs4YNCBHLuT6bBbP3GP/nKVyNq9lPK4J36l9q3f2DmoINJcke1fgbAQcR2GNdXfgWYt3eVEMYoZSmiaXAZi3Rw3wl92yvN6TVDynnuU4Gv/3GIJLHLXM3YdKrNgXH6D+vcRSmpZugJRhFNsaPqCbCBmG5JyF5ExZkMCi/DqlGYuHpT1JsmKYy5C+fqn1iqTDepC1jUG9MXPNnTb5ZWxZSU5DUCmybh8ofbnjzz85p+RpPh0UKN/4s47AA98BKXpAC2490om+j3tVHylUzhH+STTsjYwnDpSLh5H4YjEPaFZnteZqaDPL0e+le90jpRnrm94lTJtEXdb7fGO1XLLjtWES++wCt+vxZb3uSjzuK/AUnn9pOiw939Skc9KbiLHoZ6dDvZpV7HX+sodOLf91icv+CksGJ2UDQVZIWRNXLN2a+BMaqdzi1HTmYczGcRL9YYNHtFGqfAk3EnobSc1WM3T7Zxt/BBWpJKz0AXnXTamVnJzeIbg879bfwoaEeEVTN2sxiKuPFN/QenAGLlB8MWqZhm6X22KQ0w4T/UJdYm5vOXw8cMuhn9IXSGyYFrIlqJvipi/MA1aH7Q== 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)(376002)(136003)(396003)(39860400002)(366004)(346002)(451199021)(186003)(38350700002)(6506007)(38100700002)(921005)(36756003)(86362001)(26005)(6512007)(7416002)(8936002)(8676002)(2616005)(2906002)(110136005)(478600001)(41300700001)(6486002)(5660300002)(52116002)(6666004)(4326008)(66946007)(316002)(66476007)(66556008)(83380400001)(1076003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YxEWddRIm/wHZ/MFoPAJSzeasgfkidaa+4iLw528mgJRSaPBiJmk/rGPdSek8Kr59ADdQ4ksdz+tvGDLWVmf0eU6nv39EOqihADUj+wRHFlVkatLvfPXeVxVZEp2vWh76uFOrc7qFs37CQMPr2SLgQUojQKc0ByFyvgYscwtuyamgofY6RfVJRWQJwdyloy0MUhNdqBh+8gRMVTfRKtyjIXX2Q1x2XQgywXRF4rU2yapkaJtMkmjCqcaOe0PQqZSUfKA1YkdtZGn3/r8v+WFlzGUy96jGNnud+Fz0GoHFriMQFz9+EW8hnmwHnSYnOrM9UFhyn3+wlMRVYtpxHEoqyrpaTwhn64XHfGEhKGdQxN2YHygmaAchPth+YJ7UyNnk0DmG1J/cA7kTMeoVFva9AzMqFVWYVeu7NM8Aq1LOX9MQwPyQtwfa1qkaZ/XYp7YubVMVnJQGEoZMVAE+RGPXE1Jd/T6JUWF/WmFP1BJhzf4HcBsn2jxdB8tBu4+GlOndJjRTpv8YQDxqqry4OZhRnEIbmLljbQxm10ysy1Ag9ZhcVbkxn5DOpiW8+jYcdxgpyevToScYR0X14Wj5kF5HEvZ2U4Eid2WRK5ZgkkFEAhOb2y6x7E/RQs5NkKj+3zPYIxxMtI41OxdpFL8Kya4C+oBdoNt6hFgydGkSfUcvZj9Q/SM7/GfZsCgQO9PMPEftVz4XmtElVaiJx5dgyaO/0/DcBixUdqS7uPmS3xSC/iL1ydc3IUhSuXfKNLOt4AXDJFbRRHkVffS1lFJCTFHgnaQNfHtYP1EXprsrB85GIPuc20KY0AMsVTiblzZXnWsmUwslHQjXKA1ETCErH830TRyv7s8e7YRsfdNOVhLp91Tx+24gOcFvE0Fxtn+wsAnjkCaV12XI+PNIzWhyeQ+rETDqMIaTZV/SDX28bJRIfregj6WOZlGlGz+u/FwLYLNzypOdajZh8t6Hyx56DjlvNZ0mxw+D3LOMF3uqxT8/5DxZNoXWtP350OqFWBIlxia1fw/VfO8mpo2vqC+Vxo/lGiDVpiOCiU9bGPpsvuWmWMhlE4mpRyiOUjSlpRwrFjbIZR1Gc/MtTI3tGmAsIslTHUytEtHBg78DISLqZSfqsjklN8ocQqWfoioH6+rWWBL+BFGfpCWiKIRq3q6YdHBsy+kFlysTyNf7LMy/IlTQKD3TddORk4LBFYv0TUsWDdce82yZQnBfY/9wyEX9vBaaR5fU6C2SGfdauEMx1crku8ojeCFrTNV4VXP2Kzgur73zgJLTbT0PdAq8AsM18pETmbPEp2bZtbqndVsU9awtYGMKXcOT7kuep3HC3CDEjx70GaEQWTvIQ3vsEPmGBGf/liTvjodRRh6KjbBQDOOTp96SiZwNtQaEV8Nc/eBl5LS2gpns4QQBG8MtJrRgHqR1JpHWso/9pW/ulwVtKmOJW1PKMYIP7p6ZrAWN0+y3Tu5OW5AAKZvmUbJ4Lf9+BoG/u1aGLAxE50ZU1SV01T2WKrZcLsOs7YewOG4+pRn6fwapUdsO73zAc8Z49/Wg5KC3rhwMG21BjLb2k76Fg+3Sjg= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cdc7ffd4-1e0e-4fc9-2505-08db5560680c X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2023 16:21:15.6773 (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: 5e3c036nP+ozL2Wh/k8j4hg3gCLyUTkfED4Da8eIuwQO66uAKQgXRghps6akkEWGFBA19gxarXQx0cu5C22Ubw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7371 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. Cc: stable@vger.kernel.org Fixes: dce49449e04f ("usb: cdns3: allocate TX FIFO size according to composite EP number") Signed-off-by: Frank Li --- Change from v2 to v3 -cc stable 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"; }; };