From patchwork Mon Jan 10 20:19:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Hancock X-Patchwork-Id: 531080 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 6A71DC4332F for ; Mon, 10 Jan 2022 20:20:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245667AbiAJUT7 (ORCPT ); Mon, 10 Jan 2022 15:19:59 -0500 Received: from mx0d-0054df01.pphosted.com ([67.231.150.19]:5688 "EHLO mx0d-0054df01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241448AbiAJUT7 (ORCPT ); Mon, 10 Jan 2022 15:19:59 -0500 Received: from pps.filterd (m0209000.ppops.net [127.0.0.1]) by mx0c-0054df01.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20AI5sIM001635; Mon, 10 Jan 2022 15:19:54 -0500 Received: from can01-qb1-obe.outbound.protection.outlook.com (mail-qb1can01lp2051.outbound.protection.outlook.com [104.47.60.51]) by mx0c-0054df01.pphosted.com (PPS) with ESMTPS id 3dgp68r80v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Jan 2022 15:19:53 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AICnmlErJ+TQF0W5CB2k6HuCqZ5PrJqatlhVFwlU5+vnbUp3mYdr19EQisAEA0zkVaKjH5DLTHZh4NgHw7lX+A5cZM+RLTABJzPYpIFVY3aVMe2+1R3015tUWqBRq+YPX4ry/z0eTLLrwzH8OEyIEjFwZVuwOsxmYS8qqHE4x0Ren8iwLLiC856RQwdv7qQGbQlpiEK4uYUttXk9u0ZE8q3+ZCo11mRcAVJnHLJd34nX/AcijPBkVp2muS/UzMgxticfm2N8iTfzDk5WWyS7dXZju9/lqEQqHs2aZEzlsXX1rm3AbvApMm0uWwvlXJxFtksNhM1JcGCCvgidPK9A0g== 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=+D3fgwE77//+LJ/u59LDGJ6v9aP+LrJdh8IqVspVkwI=; b=ZDDJ3pHsL/eyzygebmgi6dWrvTgFtNdTqJg+UEOVrn5CyeRAJQ/cSCtQ8viNUQUBjcsWBNnSMTp0KU/6ht31qzRhXKVXohW/glwW6SbNouf73hQgl4AkZPlWTVRnURrv2czpN1jnoWPqJIGVyKyBJxMQ/xzZD8aRpraeij/Pn0PN4ZWV8J3VJyEy8PXACzV1ZnD30+F82315U1u7TV6r8u8vece5LC2U2ONoLHRQ9Og6QJgGKBUoJlHYARo8oPYWaB3mp5dMsEbGItxIBIJITstgBisL9oRvIN4+l1nkM8Bc30Dd/5IVx/v7Bk9gsy8w9gW4y2SzzJh7s0DWIUR4Tw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=calian.com; dmarc=pass action=none header.from=calian.com; dkim=pass header.d=calian.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=calian.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+D3fgwE77//+LJ/u59LDGJ6v9aP+LrJdh8IqVspVkwI=; b=OTQ9WKOYClkzfXnyB2sPKKJ+p83bVP6NhcqU7njBQf4JTKIl2ZpccDb7E57JWP9vO7STW0VG4THhrL2H4D9Bs9c8tWClIcYuKZe5lO6TFhRf9Mdgwu6pjy9YLc2OO3NUIaiYawRf6mWqA/PZUe7m6XIh7INzYcfgcXrdG+wwi50= Received: from YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:4d::14) by YT3PR01MB6339.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:5c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.9; Mon, 10 Jan 2022 20:19:52 +0000 Received: from YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM ([fe80::4441:49c3:f6d1:65ec]) by YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM ([fe80::4441:49c3:f6d1:65ec%9]) with mapi id 15.20.4867.012; Mon, 10 Jan 2022 20:19:52 +0000 From: Robert Hancock To: linux-usb@vger.kernel.org Cc: Thinh.Nguyen@synopsys.com, robh+dt@kernel.org, devicetree@vger.kernel.org, michal.simek@xilinx.com, balbi@kernel.org, gregkh@linuxfoundation.org, mounika.grace.akula@xilinx.com, manish.narani@xilinx.com, Robert Hancock Subject: [PATCH v3 1/5] usb: dwc3: xilinx: Fix PIPE clock selection for USB2.0 mode Date: Mon, 10 Jan 2022 14:19:32 -0600 Message-Id: <20220110201936.1371891-2-robert.hancock@calian.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220110201936.1371891-1-robert.hancock@calian.com> References: <20220110201936.1371891-1-robert.hancock@calian.com> X-ClientProxiedBy: MWHPR1201CA0002.namprd12.prod.outlook.com (2603:10b6:301:4a::12) To YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:4d::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ea1bee66-d9fe-4145-6d9b-08d9d4768f04 X-MS-TrafficTypeDiagnostic: YT3PR01MB6339:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: zAiSJlRJvTN/odM0IO7w4kguhgThPTJRXhpHvlmHF6oghWL7bONztL1vZyWW0/0TlGHeaA5BJ1Fyf6VmRKeIqwNDFN+1xPEi3q9nGNPa0jTSN0BPrbhZaZdpxM19/JR/HtBIBf0Bmu7ggAsbcgGjcYXpBDHa2XUB6qvQzIqFtyeNinaISiMc1YRQqpPmGwLSxc9OxrD5G/pjbrGAX16BQsPbgrZrPENLAFWhD6E32e8Ad9szzOCabpP3mxJ2BzsG2v1FzZCe0tBSa9jKmDq8Dml+/fIB6vRmypZk+D8ePSwixYdQZg+q8gW7yGOkKoGvNT11vZmcHF1JcvZDEsw5Qnx2Bt4OVww2sR/nqHpjBxXsI/Fu9W68LESipt4X31SEbqdm4uqdxDyyq1R4yuxEy2nnebneY9ZkFzw8EUFRFeUEv0vhAynU1KDrEfncvhGnNd5BXYZ+4/tKKarYKzGBQhNDyEoQV8EbvPqun4NSOpe/sQgbTUtYZdpyGTRdUWIfquFUKhcnezTdENUGJhqigesSHtSLTeA6pmRIbfPbclwz+1n8ACmwzxqCojf9zmN1uEyColl/WOrdrDIDxyaQDAkuFECC7KUZElTNOglrw4erPZBDmSS690LBjlECAZYsXIuocSnmLS4tGC9SJEliAbyQ1ab4QePQ8us7c2ldfT45oONOQ5s+FbRY0n3AM0dodnbW+kCyBbl2Ytf2tDqWVQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(366004)(26005)(66476007)(83380400001)(86362001)(52116002)(2906002)(316002)(2616005)(107886003)(38350700002)(6666004)(8676002)(186003)(5660300002)(44832011)(38100700002)(6916009)(508600001)(36756003)(6506007)(66556008)(66946007)(6486002)(8936002)(6512007)(4326008)(1076003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 1/14AQxPT+qwmZWdDlg3hSQhoYxPs7bW6ZLuQP+zhuCqzLSsb3YwvINaS27havmdKj53sM8RHS+OSyxH958ReazqQ4o6tUisIRUyAqvSW88DnleOnDSTMaVO7JGFijI0DGhmVQsY4tYMsfYsl3H+xMI+FG6P05FN+hZE6VQTDxDEdAbVlQAPoS52AePIZFkQy8QUvBX+ndX+4+9E7HGn22CA9AkzQ2sF51zJyXkXgWdOfIt0gB0pQawcGkps3hq/m7iu78A9uPQzQ+DuzfzmpntLkKpu+QlNBT6yP+SJwHhRYv3xIdVwngwdIOb85xKyRy4EqrWYzr2mzMDhnQQiWCYELpRcQZ/22/nM0u3MT4ziXBQBrPTZE+TJOG/cpL8Xts+qWHKNoFmxPCiDbnLYxFpfQhp8WrVcea16FvlU4tzXukRkZpwuud6w7sN69eQS2SaiQp86wNWRlZr9bQyEXnzN9TUmwYCh1UQYCa6KWt55tiqhWOB8a0P/FKkAap8oidckkyysbwqzB7c6tO4mFR7jgksxKHbm9RPWuYkTi7yjXVlUsAZs/PALcbbO29qNaWYrqdjHEaOyLUfkUnupLdstgow95lgHoUX8MPUKOZIXWtj90yqugI1p+HMuxuKuMbU3WwP9PDOSO9v7OryoNs1EZ5QZcaOFSY49AD4TP73Eb+18dZvrlMKCZFdz2Dtu9lZid4KrIx756XgUFVRoQ67a+SI8veRJ8lQKLylNqQRlP8oeCcC8+R3yuK9PLyGhs0owv8lEWovrfzTX3JV/FtToWwmHdy+CbRTTvX4/GsmeJXEAOYWYihL28Fvf+bJXEve0QzEv8fqYo6cvR39Fz+Dw7925ZhUgehM4xPRLEF8Jto3JDX8f/GD2hSd1/htllRGJdbMFQOczgqQ/4wiESA5vSALiYHjaC2MNCfXGZb0l0pYg3ABksFOlAgCmoNvbH07QVzM9F9ZFkh/ibzraiRNy+A7QMZpECZZHK6lfrfAnt3Nh3+napZcCbvijMI/Gj34JWon4sC/2YSTg9hBQv0pHIDhN6TXFMYD1KfpsEMV02dvSTtrfedmrJjOiTJ6G+dk/Ldig6zJ03/yBY9yoat49u/HpbpA4YmFAWVcZymTHfwvm8jo03fhS8CKGfbV/HVbAgIoV2v6sW3ImmJ9NP/rO/XPQ78f3+QfQfAlvCVmjrWtuzd/VDkq5R1fIQWqQScCmI/XBlyFnd7WQWl7aIG2hmJ/fK4bHe9cQEkbsm1+uhEZsklhyBLMqA7bkSfZFhMo+fwMPTU/ZELo/VwaofK6iDCKvh/HsLvwxCu3kge6jBhF1/Is2mfv0sRHqPYYZn8ZxSnzSS/R4frf0q9mWzRXTqyuwuovU8XCzwmA5ZKBAymulZlOfpTIm9ayXngnAph4OdGH4HQ0auT/xW4C4E7qzsntzj4q6lmgGc6ROVqKIj2spCx3E96hyENuFDmDY+3Lhhkmj0YNn/FuydmhwahgplgraRoNyBU3/0PCC8D+H8GK3HkEUQ3Z2A1HEp8dnmqtBDlN5iCZ63pHFkTWggiCHE4D8jJRpnwRa5QIvhE5Wu6B79zcwEFddTXLY/xhKpRJbVCmSvUjhYVHSeVjcLYUNS8VTXaqDmo8t0j70P35Mek7A2OLJ57RYf3ubQPc10utwLy4VP9ZK76NPlcQfiAtCLy/CupeIPfGkx/KBs3w= X-OriginatorOrg: calian.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea1bee66-d9fe-4145-6d9b-08d9d4768f04 X-MS-Exchange-CrossTenant-AuthSource: YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2022 20:19:52.2953 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 23b57807-562f-49ad-92c4-3bb0f07a1fdf X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: wrk+TSPOwu3+f0Fq7TgL2yCjd5DGxQTuUlhuLrRlvSDq5APTEhGapR8y2DgOmDVqRxJAG/mXVnPb6AU/Ihx6FYzsuvqoDzhWafilc50MfuY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT3PR01MB6339 X-Proofpoint-GUID: tdGkBpLUpnwBPpoucwsWnRixBc8CQyi6 X-Proofpoint-ORIG-GUID: tdGkBpLUpnwBPpoucwsWnRixBc8CQyi6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-10_09,2022-01-10_02,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 clxscore=1015 mlxscore=0 spamscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 mlxlogscore=876 malwarescore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2201100138 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org It appears that the PIPE clock should not be selected when only USB 2.0 is being used in the design and no USB 3.0 reference clock is used. Fix to set the correct value depending on whether a USB3 PHY is present. Fixes: 84770f028fab ("usb: dwc3: Add driver for Xilinx platforms") Signed-off-by: Robert Hancock --- drivers/usb/dwc3/dwc3-xilinx.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-xilinx.c b/drivers/usb/dwc3/dwc3-xilinx.c index 9cc3ad701a29..3bc035376394 100644 --- a/drivers/usb/dwc3/dwc3-xilinx.c +++ b/drivers/usb/dwc3/dwc3-xilinx.c @@ -167,8 +167,11 @@ static int dwc3_xlnx_init_zynqmp(struct dwc3_xlnx *priv_data) /* Set PIPE Power Present signal in FPD Power Present Register*/ writel(FPD_POWER_PRSNT_OPTION, priv_data->regs + XLNX_USB_FPD_POWER_PRSNT); - /* Set the PIPE Clock Select bit in FPD PIPE Clock register */ - writel(PIPE_CLK_SELECT, priv_data->regs + XLNX_USB_FPD_PIPE_CLK); + /* Set the PIPE Clock Select bit in FPD PIPE Clock register if a USB3 + * PHY is in use, deselect otherwise + */ + writel(usb3_phy ? PIPE_CLK_SELECT : PIPE_CLK_DESELECT, + priv_data->regs + XLNX_USB_FPD_PIPE_CLK); ret = reset_control_deassert(crst); if (ret < 0) { From patchwork Mon Jan 10 20:19:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Hancock X-Patchwork-Id: 531079 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 66D79C433EF for ; Mon, 10 Jan 2022 20:20:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245756AbiAJUUC (ORCPT ); Mon, 10 Jan 2022 15:20:02 -0500 Received: from mx0d-0054df01.pphosted.com ([67.231.150.19]:30795 "EHLO mx0d-0054df01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245674AbiAJUUB (ORCPT ); Mon, 10 Jan 2022 15:20:01 -0500 Received: from pps.filterd (m0209000.ppops.net [127.0.0.1]) by mx0c-0054df01.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20AI5rmP001632; Mon, 10 Jan 2022 15:19:57 -0500 Received: from can01-to1-obe.outbound.protection.outlook.com (mail-to1can01lp2050.outbound.protection.outlook.com [104.47.61.50]) by mx0c-0054df01.pphosted.com (PPS) with ESMTPS id 3dgp68r80x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Jan 2022 15:19:57 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dCnG13tCyhV+VnLgqn3ksKximjB+XRjdUXe9Je5LY8gcA8U1MrlMXONcBSq/j4efjfdoi+mkVnJozVZxXAEYpXb+OKIWATnpVF0aFBuagKVU1/eZ2b5ig9lEO91iPPpgDvdq+20O7RF/wIgjV7GfClK4+Q7jHL2SzAsf9ciCyKyInX07po3pysyOI+tgPbETtgdM7ju9s/74I/ha8C7L1NeyTDqUm/0C/z6KWLJHQGQmBMLbB+clH/XpPDSabLd0UKr0PbIIlX6qx6Hs/pd8DHfI5ZHClpisaIA+e9bWsM6pex0XMdpQHWNg6Qud9Gs3TsGhH5xarF74TQSn09EPMw== 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=lYYoL8ENqXn8/yzpo6DmGcjV/PxdJYZrbStIiLXDXEE=; b=OA1i/BQ+MCJ+Y7GZLZPIlgc37WzIZe1ABUWPwXzo30/xfUlMjukDmoYh4++OzutA1Z3h41MwV0DwzWDiJW5RRNUhayDjdxfHnDzFI3AVkxCU2vZgwHMzpl5WGdZiyzIEyvmVTnPDobSpXr7PYsR1IpsYQyTxjhRj/A1ZfMTverqNAAsbF71VR/MFJ1rz2eiMN5tBJD1KAWfaZ9iuuydI1FDTlry/Rnbkl2fyvPi1JSY8u3s74qGfAcXspAEUOEJ8yx7CWb8xJT5JAXW03c+Fl2yW3oZW9fOsAe+DhdkNwmBpnms+JJSrh4JhdaCFms6cpXurkPojyAeN6Gc20RYtYQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=calian.com; dmarc=pass action=none header.from=calian.com; dkim=pass header.d=calian.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=calian.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lYYoL8ENqXn8/yzpo6DmGcjV/PxdJYZrbStIiLXDXEE=; b=RBGUiGUfAR3xTnWRDz7G3dSBk2fH+Uva4bwW5NZGA7DQq2GW9SJSUBofhjMetCz1FNFmnyhv1IMR1EokeiTyYvqss9F9bDaSvHX2r1k5Y9G03CjBXdF9DHrvasu2yJYXg6wD/1bh/Yvwd3WqtY2YAtAbtOCk5QTmrU8FUe4rnVQ= Received: from YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:4d::14) by YT1PR01MB8505.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:c4::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.9; Mon, 10 Jan 2022 20:19:55 +0000 Received: from YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM ([fe80::4441:49c3:f6d1:65ec]) by YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM ([fe80::4441:49c3:f6d1:65ec%9]) with mapi id 15.20.4867.012; Mon, 10 Jan 2022 20:19:55 +0000 From: Robert Hancock To: linux-usb@vger.kernel.org Cc: Thinh.Nguyen@synopsys.com, robh+dt@kernel.org, devicetree@vger.kernel.org, michal.simek@xilinx.com, balbi@kernel.org, gregkh@linuxfoundation.org, mounika.grace.akula@xilinx.com, manish.narani@xilinx.com, Robert Hancock Subject: [PATCH v3 3/5] dt-bindings: usb: dwc3: add reference clock period fractional adjustment Date: Mon, 10 Jan 2022 14:19:34 -0600 Message-Id: <20220110201936.1371891-4-robert.hancock@calian.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220110201936.1371891-1-robert.hancock@calian.com> References: <20220110201936.1371891-1-robert.hancock@calian.com> X-ClientProxiedBy: MWHPR1201CA0002.namprd12.prod.outlook.com (2603:10b6:301:4a::12) To YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:4d::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e2a8ca15-7984-4118-5c81-08d9d47690e6 X-MS-TrafficTypeDiagnostic: YT1PR01MB8505:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vm3bUrFWCHCTBMHOWQWrl2c3MkcpBCoY2XLT2DFN2eg0tCjoZCq+0aled3qH4mjQJ8Fkq6K+4pStDssSnts4g4mF4QjC66j6DU3+ujvZhvNKA1bQlelBozZu0wMk0N79vlpJg4SWyNBq1Om+/w7Z5c/IGi6/mMAWst5FbDMK4DSbKzj82/yqQbjWVtJVT57fWSzijjNwxFQvM9wUqTg1ZZAyEKqvo6swFGbU9rkPM471YZKPTxg58iQh6X5KC+t3kFWWXRq/PqNXMz2OKk+inz5dEhSdTGMNHbqgTQGY1BCKn/wtfYyxH0sc+FZ3Cxtut/HZBuZyIw3AH90ALCJfa8ZCrz210o4/+ngbgdJH/AJTvJFf5/WSl3BLx1t72qOT4Lf/fnu2MsYAqnHdFF1ICrKEg5M9omt3ilp68gyQhPNnKFhya67PoAdJdJaryrvukIZvscSB6htj3JGhtUQUWxWQHFOBuryXLHY+KvB/NM6CPEv5a/IWLIQ46ehJizv3T5HAjeQtckSETYEWY17zxNkdwBiJUEdfSsNnITCR8jG8KvPek/Wmc4fvf7J1hHZdJXioBnnQL9/ldi7zwJrAzjxQaaXSfhUpxmsQLbAy+HCYKRPZXU5vvpcSw3cbUn4nZa37+M0w/C2F9cLQmEtX2Y9QjqPsJt67dtZT53O5rfPLTX7esFwkQeCAB3h34Cy3PzelvnyZMvxigrVbVPO5nw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(366004)(508600001)(1076003)(5660300002)(6506007)(2906002)(6666004)(316002)(2616005)(4326008)(6916009)(86362001)(83380400001)(107886003)(186003)(52116002)(66556008)(66476007)(36756003)(66946007)(44832011)(6512007)(8936002)(6486002)(8676002)(38100700002)(38350700002)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: eET3PeaHDn2YxZvsTzCFAJv5tMPRTPnKFoKTR5iOASaY6lxUb/4JveeRoVi7srHEP6+czYM1LxFadlJTpYJVpwd15FRIeSO1TXUtDrAJgJK1Twu3mnQ2y2LxFncWcIxCfWrkD9gNYlL/3+baxQmRFr3WnFZNMNKGsXhVGo/lql9gMAkWuCk0YXt5BQddvrmAnAfaYCKNN9Spji8NaL4RfsIgOoDyuWEq2oyMVrXaEX85wo8NSRdBIF81fb37ev4yit1VJZOcdfzJsluwGRyvgSwYilKfoGxEGmHJBFx2+s0JQzCBvnkBlVMR37AFHCAfMF572q9314ljedSU0vuOFzPhdZDyTURaPMTGZSWW3eR7upajPrbeC7vaKM9oswi57OlJwBx19ZQjIk3BEHIm31sCwhqtEo4ptnUkHghUIlDypb/szPnO5xiP2wPWY65SWMUI1OPZvWffBlRtMcWv5ugtN6ITlFU86/dmTjNUwkOcGdJFvzFU+aRt14Y4yC0ce1AuIp0u6ZpyHCUrKCQ4vuVevzgqQb+okiK1ISCfZdWpu5xmPiwAoMohIkvVVnttDOn092G45Pxc0meDwyRd7o9dQCYXvoKQPh8m7I7vWDto1yFUvT9TOW8JTromf0u6MRXfjUtTCquEldu6Kc7uRFWzW3ECTbIq73eBjL0fEFxlnjwTg9ldw9ANy6pGvZa18XnjAkjG3PXRydZABMHaVgfOL3gZhYjKltUcwCfRGOD1k48On5FEMyJwJUw9f1IFKHHoUlQCZvM5wY53CQD3itMISmiJ01D6yFOp5O3Ekmon4kWPE6j23PWEjaOPWOGTV1AsvIsIUUnSSX9pbmPfB3enbIoVUOHZZL7jabIeCCiyEyARoUPuwbNZ+jnE//L9BZnGku7XReG11jvNw7fb+v8CiGkyrf50DsmptkSnJF9oBcWSPKCwmOWJH5xhKQ+QDrW7krYLUSSW9lDxe5FKtY+tXPBZ4A+3bBIi+qLkPV72GulEZ75tnW/qexOrzbJxDe2DjXQACckqNmAxl3qZOncCd+BPb4TEtDdcZe4nS/exZazv3U83vSQynliplHv8LGlasQmNzMEV7WGgYv/C15QDv5QXN69iXuQmErhH0a80ayD8LrojXrieGb6Nnol11jtU1FVGvAYARxOnEWFsWlzhHv059DbjCpdPEruCjQqYc8gGCd1kWolsFy9U4fu58RqrPsbZMqD5ewVH+ldNV1nOBX1ZavHYiCfW6QrhjT3euaORLIw4FA9LnKztk5SHLMqUPgXePTI7AwZZePEYqwmvmru7irugjwMVeriPx9eEqP3KRzqwEhsk1s9hA1t471WEzogcEsAfaan/imwZ0Uo3r0kaHmZ0/ZpmEflYT9WQ9dfiVDuuiPX4lHcv9m20iksXOOSLQabBCJyV8QzoTb/9kO63BSvkNQldHZyTa0P4p6Y5g3IZppQbsoZOd2jBBLafCaBoFCcUs1XS1hTHhVnRCSxXpW+1E0lSuD+fpnk7kznuL3IL95NyRgdGRCo5kFjEJ/k1z6ANl8sHCIAnyPi2TYWoeL0SkFMV7RReq7XMszgcyn8zCYy4gW48aoDDkaST+/BeNTMzdmA7BBW/GEfr9Mli0bOBeTHyf7jzCNOQT3geN68XS7aSaLjiCMK8N0kg9HRXOZxwnVEDGEaToae6Ud0k/yIZgHKDUGXTw2g= X-OriginatorOrg: calian.com X-MS-Exchange-CrossTenant-Network-Message-Id: e2a8ca15-7984-4118-5c81-08d9d47690e6 X-MS-Exchange-CrossTenant-AuthSource: YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2022 20:19:55.3755 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 23b57807-562f-49ad-92c4-3bb0f07a1fdf X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: /zdbuKbtE6+IEu71hYrfwPt2QI2fzuUafYAT3u4v8ABYMOl8Y56S1WGrTJkeGm2cgYhMgJeAEW8itE/t0qbgew/zWNGlwz1EcXwcIB9066w= X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT1PR01MB8505 X-Proofpoint-GUID: yHnHbaKi0Y_jOryhVtA88tDHGEo3UiPq X-Proofpoint-ORIG-GUID: yHnHbaKi0Y_jOryhVtA88tDHGEo3UiPq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-10_09,2022-01-10_02,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 clxscore=1015 mlxscore=0 spamscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 mlxlogscore=714 malwarescore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2201100138 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Document the new snps,ref-clock-fladj property which can be used to set the fractional portion of the reference clock period. Signed-off-by: Robert Hancock --- Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml index 25ac2c93dc6c..88d8d831e04a 100644 --- a/Documentation/devicetree/bindings/usb/snps,dwc3.yaml +++ b/Documentation/devicetree/bindings/usb/snps,dwc3.yaml @@ -260,6 +260,18 @@ properties: minimum: 1 maximum: 0x3ff + snps,ref-clock-fladj: + description: + Value for GFLADJ_REFCLK_FLADJ field of GFLADJ register for the + fractional portion of the reference clock period in nanoseconds, + when the hardware set default does not match the actual + clock. Calculated via + ((125000/ref_clk_period_integer)-(125000/ref_clk_period)) * ref_clk_period + where ref_clk_period_integer is the period specified in GUCTL_REFCLKPER and + ref_clk_period is the period including fractional value. + minimum: 0 + maximum: 124999 + snps,rx-thr-num-pkt-prd: description: Periodic ESS RX packet threshold count (host mode only). Set this and From patchwork Mon Jan 10 20:19:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Hancock X-Patchwork-Id: 531078 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 E0F0BC4332F for ; Mon, 10 Jan 2022 20:20:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343522AbiAJUUG (ORCPT ); Mon, 10 Jan 2022 15:20:06 -0500 Received: from mx0d-0054df01.pphosted.com ([67.231.150.19]:41670 "EHLO mx0d-0054df01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343517AbiAJUUE (ORCPT ); Mon, 10 Jan 2022 15:20:04 -0500 Received: from pps.filterd (m0209000.ppops.net [127.0.0.1]) by mx0c-0054df01.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20AI5sIN001635; Mon, 10 Jan 2022 15:19:59 -0500 Received: from can01-to1-obe.outbound.protection.outlook.com (mail-to1can01lp2050.outbound.protection.outlook.com [104.47.61.50]) by mx0c-0054df01.pphosted.com (PPS) with ESMTPS id 3dgp68r810-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Jan 2022 15:19:59 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lelMBdoE3Y/zFiLREZVGMDcR6vEFapw32LtUg5OJV9lT018cAznQjzBFNfAJyoLa//AlrHV6P/MC5cHYEa3vboh7oWG6rgFK8FrV/vhzC0VL//PFkl6uujQmZkhE2Z73R3fIWVjuUuotGNPZCiiaiZunKayenZplDmaaJS4QOYKHeAKaQWXe61AF5zTjUPIP/RA/K+oe7F7lPtUxWKasSRWkMLbnsd6i+hJ0XMNK+H2eXVG3F0tU5Q0r8mKOxwI9ABNNxQ7Q0uXQCkcaXohH3IyCvir1HiwywtrdUzQpZUcnZfsbtJeSnj4IY5KCqelCB4DntK+BitmO8rK6u2SvjQ== 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=vLTgKFxQQFOOy+E7S9FTcPXGVQ3kkUJW5eSGLKqOVUw=; b=YeBBz2fvATIndQFk+v2PlPQDBkUs9Q2l+XAC9XXddPQmiwO9Hue667gkc/12GEyCRBkPp1EjDKfhyZICV6Iy6fUdt/0ygk+c0hqDhYAT4BgsHUzGWRY3Sa3WSCUy9fvrZmQi/Y2uA+gsnIY+72tcTYrbZPpuNxvfC+IAPDz4/OS4jkXEl0/BKjB/PoBS8CN2/SEckrsNurAjMubx1/17GeJR4CCSzkHbPsyGPvkwE3DAR+ZlOuuQ7LqsNq0cGnHwDY5BqgB1lU8B3MkojKrNO+XZny8dIYZCLHmnlL3VxmuI1pOFpFVEUq/SeZRrR+KM7qeF5RY/U2U/p4Ep0NfJSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=calian.com; dmarc=pass action=none header.from=calian.com; dkim=pass header.d=calian.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=calian.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vLTgKFxQQFOOy+E7S9FTcPXGVQ3kkUJW5eSGLKqOVUw=; b=Aqgmg7czzYheFQeH+MrCALAHPC3+VZdZcocQp26NVY9wGSUy+JpV0yGY7xQ0qtzr0ITGt7Y7KAG0gBGJ5qgqJO/sVMtCbCEXCOH2uSOXc+X2s8zCJO6/jKyLLPT6J7E8tZNUKRKi/PVaX8mVuBUp44Y6vsGBOATiwMJXULyLGoY= Received: from YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:4d::14) by YT1PR01MB8505.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:c4::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.9; Mon, 10 Jan 2022 20:19:58 +0000 Received: from YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM ([fe80::4441:49c3:f6d1:65ec]) by YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM ([fe80::4441:49c3:f6d1:65ec%9]) with mapi id 15.20.4867.012; Mon, 10 Jan 2022 20:19:58 +0000 From: Robert Hancock To: linux-usb@vger.kernel.org Cc: Thinh.Nguyen@synopsys.com, robh+dt@kernel.org, devicetree@vger.kernel.org, michal.simek@xilinx.com, balbi@kernel.org, gregkh@linuxfoundation.org, mounika.grace.akula@xilinx.com, manish.narani@xilinx.com, Robert Hancock Subject: [PATCH v3 5/5] arm64: dts: zynqmp: Add DWC3 USB reference clock period configuration Date: Mon, 10 Jan 2022 14:19:36 -0600 Message-Id: <20220110201936.1371891-6-robert.hancock@calian.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220110201936.1371891-1-robert.hancock@calian.com> References: <20220110201936.1371891-1-robert.hancock@calian.com> X-ClientProxiedBy: MWHPR1201CA0002.namprd12.prod.outlook.com (2603:10b6:301:4a::12) To YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:4d::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e34eda41-e83d-4594-2f6f-08d9d47692f7 X-MS-TrafficTypeDiagnostic: YT1PR01MB8505:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4303; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BliA4c/Zd4zpIXAJ+PMESd7gfzxSikYrJHIdmP3Eg81Nj9H+HfPEyi+rKMgi8/vPrs6zaEyBRUzI6pTkS8Rh5sLslAqL+0oax6lqsNTctXXty/0gaWrvCTXw9Ll+/6+sMTnn3Sv9phwHmbvgIbCjdbljAzEV5/vTpbVergUSaAh0NUQ6ayMqz1QGmbMs+NslOgtohnYTO19Jzv+gUUCYMJUGQaSOEkXiehCjWKiNExp/72tZC06vwUR3R45A+/UZi4SslnPjRljemI6u5LsSewRPDibuBzL2cbgCi0tdn3D5qLqa+g7HqeU+1TD5vGSc12+QTw6C9QSd2oNNzPxuLRBIg2PRROWgJ8ZUGMOhG+PweQgOfjWRyvxkNhA4gjNzIk5J+uXKRK2FflRJEPK/D2q9hzD4hN0iUWLBwIn3TiM3u2KW7pQZB4tyVrBHp8eA0z45b+NI8aLujWAR2bM/BPIsBvO+o10zUKHtzA5fZRE4TM/stNo6da7pYiV1MPw7Om5cEtX9jdYGhKHHrQFvbbzn0U6j0sud+sLbYG6MmWx/hzzw2shAYqJQ8wuqfwAR85Otg4VeBja8UmendL24p4BDk2062s2zlpHHwixeyMw/eLUJ5Za9rrZf8sdEy0L4++MSxvzklQaOSsfXzxSxwIotoUpB8GDlWeok6X3ysGIvpr2Io/t7uSR6XsicBKgvZBrVJTbKS0nEE2ynkqMngQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(366004)(508600001)(4744005)(1076003)(5660300002)(6506007)(2906002)(6666004)(316002)(2616005)(4326008)(6916009)(86362001)(83380400001)(107886003)(186003)(52116002)(66556008)(66476007)(36756003)(66946007)(44832011)(6512007)(8936002)(6486002)(8676002)(38100700002)(38350700002)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: LmKGszLsKWOT3rrIQNmg2aogtCEVQUx8vT/Sw/UjP2jT+31+/NBdn7DBGG9PM6Ls05RoiE47bSqw/DPlrsAIi3EsUPSH8GfB6HkOVZt3dMfTBg0Up6QQgntuu15l9SmvYHfmHIbYq/vm2CHolBF2VMiIUo6CimV2qxmoiZmARPLFgMqHTYIez4EkgI8SzJVjbjjVcznbPCVwMjDYMD+T7hekHqVHB1jUhMNWFQEmZKrjGPjVTOkyiqaPsHY4qLdvbm/wEjb5b7qn03QneU1dnE2wtZIutrBLkrf2ZL3YiNavM1HYrtawQSVJLWIUJcCdKBvF0UtP+kauKVntjBDfb+041Z7H8UUDC1JMLJSf/FrF6h7s4P9oVwP7oLQ2Pnrqw9czDbsvbLDZn/v5AstnrHV+tnc6CuIYa3fNsPwcU6tZQhTMP7g6J1/G5yPyJXVmU++VGmJmb2zqzMkIFlogH9UFa9W2FxJ8+oyjJoNBrBZldC4zIAdtnt+zzjN/0m0KSMkx6YOr4x1X6lawHu+zca+1so/oFZ32NQP5iZz56yK8vl//4IWMaAcRyPcwjEHC8QzBZQr2rwcxYErdWC4cIjyEG955Dk8Cy5KwKNIKZ2Nnsy0tliUlhtkjKgCZ05V9aXRtsKAUvQQBsH7WR/sh99pgzbB3xlIPR+8JF5V4N3Okr7CRgsViz2Wpwb4LgyPnaRilwyebAN1QdcGlbeIhCBqftApE/LTSMhYwPTixB/EckI70wlt4M1lZEgcJtSzEHH7/9cSLXKFsjO5uwnCPCBnRgUfR5kCQnIoi2l5jHIeusP3JXLMaVHxEeBykTz0MI6fztMFBxSTOFixsErNtc7p5zGC6rvYqNLPR+p1uFW6e3TNuiQvwlgfUnsTXlQGOMqgY3IPNVXZy1hXfVjshD7kF3hbiQzUT3oMtA8U0KsI/XKoDzdDuDjxIMjMVD+MoaGiOKTqnlO+/6W39gKRY5NdvGR64fW3MNx/Hi2znr0M4Deh5rNBPtraMSVF9wMa1xZ6BKJlGHDiylY2fd1pL7FJVwC/wHpYGa9mbLdClL6xWx6cvhPHGD3dUp9fFIjhaP7EPLPpBFo+cosBkfW8Aevmn9QsxCfZR8g8dVZkPcHIvebGznbc/h4RbDD5TqQtO/F2TMFI7t2fnE9LHvFAGhKqJS+n1BI8qv09tDjnZQMGVg2ie3pN1Q6/FBYZ0xmkA/gLqRU4aDB+6FDWXYry/KJBITlFUmNys5q9ybbuE7snwstOYgQzSjPJw+3Gk73sgthaAduKDgK97oV0xt10P31G7NLGHUh10mfRXdgi4ve2QYW4A0oVV00eurOgCvqECXGZq3CTGuG70U4ghL4svziRLF7QkrxqTOXw1bNNx96c1KNTklyGoX4kgjMS3G05s0hPVgn32H5OKf5O+nJwrO0fdih41YZgiOyizy7ojwBvMC7TnR5Hr5/GdpRYJmrIU9w3aJBLkgKsV8v0PGym01uqn5vJ+OQpSjuhXI8uDwe5esIGJ+KGFOFFPxaykYTGjBcjulELxo7wcEwkejUVf5K79JEdQFzQCfdLC2ZwqTznx4sGL9pbxaKPLnVDjsKyscVhD7BsFQqyM7wr515IuRxR+Z4fSB+xVhoNMtTSaq2bp5yvFOh2ZGZfPqxChTB3TRnhJpX0cgArQM6vlKOCBd1ivbHY3IsnCjGEkc7itdxQ= X-OriginatorOrg: calian.com X-MS-Exchange-CrossTenant-Network-Message-Id: e34eda41-e83d-4594-2f6f-08d9d47692f7 X-MS-Exchange-CrossTenant-AuthSource: YT2PR01MB6270.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2022 20:19:58.7475 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 23b57807-562f-49ad-92c4-3bb0f07a1fdf X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Iro8LEYB+wF+GWBGq41CYOV1Q5pJCGEIuePCa4u4TTJ6VxloBkLc3EjXpqH/H9YaAiZct5c7OVqHvzn5r+kS08wjSA0i9fRf36QAfsqVJbw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT1PR01MB8505 X-Proofpoint-GUID: tWXtZd0hpRwuqTx6tzqGU_oQPxUzt0I_ X-Proofpoint-ORIG-GUID: tWXtZd0hpRwuqTx6tzqGU_oQPxUzt0I_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-10_09,2022-01-10_02,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 adultscore=0 clxscore=1015 mlxscore=0 spamscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 mlxlogscore=495 malwarescore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2201100138 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Set the reference clock period and FLADJ fields in the DWC3 USB driver to 50ns with no fractional portion to match the ZynqMP configuration. Signed-off-by: Robert Hancock --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 74e66443e4ce..2f531707d5d4 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -828,6 +828,8 @@ dwc3_0: usb@fe200000 { #stream-id-cells = <1>; iommus = <&smmu 0x860>; snps,quirk-frame-length-adjustment = <0x20>; + snps,ref-clock-period-ns = <50>; + snps,ref-clock-fladj = <0>; /* dma-coherent; */ }; }; @@ -855,6 +857,8 @@ dwc3_1: usb@fe300000 { #stream-id-cells = <1>; iommus = <&smmu 0x861>; snps,quirk-frame-length-adjustment = <0x20>; + snps,ref-clock-period-ns = <50>; + snps,ref-clock-fladj = <0>; /* dma-coherent; */ }; };