From patchwork Fri Mar 15 07:24:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13593094 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2082.outbound.protection.outlook.com [40.107.6.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AC04134B0 for ; Fri, 15 Mar 2024 07:24:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.82 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487491; cv=fail; b=gU37sfnGVCTxUpj80NhWxqQxQg/mbVNX4Z+zFDmWahmLR1vq8YXmaUbBR9gb2WIEIqq+KeDNF5zGRbb4Kl01lj/eKIdu2KdjSqoFqJNxbFTe0M2w1FL/A+UVC3FAT2oVuA8Esb4kZgtKXd1VT3CfuJksjvtJiZJGvoollMQEef4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487491; c=relaxed/simple; bh=4BDWgc46QNwGVGXEW2IvM6MuFZg2YrNXrqmg9dtvWgQ=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=GnpoDTnpuawj8dFP1051Grg7pnxZZt/vEISI3SZWGHIAq76EyBlNUxb7/ugz3f+RpDG9X7bsxhFmeOjDzrKA+oMgJnw9KI9N8vapvMBkvdFzIw9oQGlfVm6vbK89JNIULodgErnxe8iVsHnpQ+BIBMUMAtUaSXShat/uHu/tC60= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=Ou9A47rA; arc=fail smtp.client-ip=40.107.6.82 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="Ou9A47rA" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VKRkD8ndW6nqqYQtZLebN49xa80uD86gVcFiut0diaapSAUu8eYtRMASfRgb3Ns7oGyHvKyMGEGo9Q0xvkTbDbWCHS/Zw/UqGegumOvFe39/8cRhUD5os9crfmkw50vQong64gnkGwbydsugwp8dTlWm85YOctRj//E0ANk+XyJewlvn0MdAIXAi0IR+MrXp+SrCfD9qXTbx6NUdSjhryCSefxeayv6yZAun2rZKAem/yOaC4FbzrJ6M/oID8jgiE1CgsL6qNu6mg4x+VTSXu3Ot9WZF9+fthtZVq4BtM+F6oDNStoM/QLEbi4drb0gqMqMq95zsJqiwdX0BEfTiDA== 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=cdaNkvOWo3Bss7v2jeNy+KNv8SzBQRzk9xob1HyxPqk=; b=SlP26lbSA7U0ADTzGxvKHG5D5HH+6e/TLuq8Vrp3nmewlzdOR5Rh+xbuEL1QWmgVJ66tc1LCDrAFOnQ6+SjTH1FHvZpbz3LdqKFGGeXN7kuDGGM+yRGIbXfVcWmJCrhUyUMOo4p3E1Jav2azsX5eNbE3RMnaLrSB2DEsFqGtQfwGLlIeEIs1wuMcqrtsPrqYDpL8RfrG5mvWrYhX+Ah0nDHsvO+UbfOE/Zey1MpckhVOxFwfwe9eUwe+IQr2iJ1RFMO5J9JI6Y+LK9nBOQfAVhwq72z71niDJKTfOLNaUZB9Y7SMJdvl/TENyUTXhTTzs7TMUYhEHd63OnGHYCxi5A== 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=cdaNkvOWo3Bss7v2jeNy+KNv8SzBQRzk9xob1HyxPqk=; b=Ou9A47rAJ8tZobwTsgKBvsiRuLznvnfJ5RtUI+Ddi+i04V0b1i8XbtGV5RJeX2rMKGhCdvPEuT2K+NDVE6P6h5b/YDx5xu25f9QX0dAULzG5+an5whNbLdd8x7YPlwiniVRQvq+fiEDdh3O6hQ66ky0HVLIMJM+jLufjySOk934= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by DB9PR04MB8332.eurprd04.prod.outlook.com (2603:10a6:10:24f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 15 Mar 2024 07:24:43 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.021; Fri, 15 Mar 2024 07:24:43 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v9 01/11] dt-bindings: usb: usbmisc-imx: add fsl,imx8ulp-usbmisc compatible Date: Fri, 15 Mar 2024 15:24:45 +0800 Message-Id: <20240315072455.2481613-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SG2P153CA0043.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::12) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB8332:EE_ X-MS-Office365-Filtering-Correlation-Id: 728c03bc-95d8-4b41-7041-08dc44c0fbc0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8ivjdbATj3MTm+iE7A7VdymoKvsHKgHmvwCgQOito6eIPa1PK75nIO1laIr/f21lf7XUYsWof8slaEDm6j2y+NJ0uM3m5aDvIBwToVTySysOyzFl8ROJ8+vU8hgI/kyLoeCZQV3h771vPmZMaeBTOTzCAtst2yByIvyqe4xmEYhuecf7EEO500NAoAL2VY4n5P/tJ3lM1hSFWbbbyg6DnRFNO+Sr4euPX+o9ZlSaPX9DQtHhzFKFt9VG9OQ9eD+64D9011DJaxcrbyBlqr88XNruDSbtQnMSjKsVm0v9e/pio/sQxNsk0IonTAfA3BgvME1Jg5NQXSNe7QUA35owc1XIfMDH/gCU6dXPQoBnm5fHLVO+qFyC1yT8QEiMUj1c+csfRpqCmhZ/Whva0UYQHlrv6UsGUoOnNeGFzsPQeiazfPAynhyXYyitd8zeP8nDW8HyV298xJTWTNBhsLIrfGZsMrgrGw4HU7WPGYqtfDanqevwdSqUkQlHA1qj2sG/RPMOVxl5Y3bTTVPpUTMwl6vfIIHy+h7KNVKQolcohsCTeA5Rgr+2uJAA9sLPpeMMsRYYM4JwdMzFOD67YFO/8eLn14RcASXTVHvFV1D8h4wva/WkDcpD3XOZRqmI7bySAbanMaJap7LbktV3Ll8HhzQd7sTNprlJkqAkoPkdT7OMHzdbTRkwQfPMlTyNr7efT0Hri687ZH4dfhFX8R8IcahSZ8RSpiAkM8DMBHq84Og= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: y7O+YGUHlosvkqk8d+xcxdMGjet4kF1uTH1Ph7Rt8FL8bNouiZb0NGx+cnZLbxPG+0GAIIkcyMrXuEsDtxDvp0tKOMnfZ0y4v9ad4ecj+Fh9l08lHF/3UEudKfhbIUObqkytKoryEYKF3z+sNtv89ZsFTO7n1wxTBoMcKitQEaivpz0OB28a0b+G7k75baabRbprCLE6etpXHMnsWGIniSvAtPtpHGIfktSPXELkVCl4XcSoRhSGM4W4zH05RfJ89BwYLVSeml6KpBNH8Icueau/5NyDgFIesRYBNhJeVhWzLilX1bESRQlC6s2rtOeqczDCIFTfSggMRsUeVGGrUJmKbrDWhEd+SbIpZ07Kcsiq2R06H9hcElFChjCa9uzzbviwEf2Yzcp3wkaTF/TM68TiEq8lxagsDQMHIKAzdujvyAd9b25S2sIt6dK3fSYaB1BK00yCOXs6ANDN0SeVY79v8aOykSx1Z8UR3C7k7pSJ/asJ63WnXrshHr9CfQnuQQ/WTolLa7XqAyefMXfhehFERvguNLOPtX9mF04BwxEy4pCntHlh63gTUgY98NaW1PWdUkzpjtj1ENbiHVcq8l66FTfEn0kfp/LoxzyGPzvLqhlsAiWKyrsNYA8qjnMu4s1sK7X07rZ7JJ3bnBFtbuyjuKzDk8I4se1ozTW7PGEA1hFYpIJ3yTUDFvxLg5C2lo9fkZRMfGOcit1MiKjEZsFvjVETE2nHjH8KfDGfw7hyAbBi7BqQFHvKaWLnUwRl639TxW5N91t1kXQa8HxR2nOTc/A37oTSX+voVMQAvOEO4+1jmR5E2JSSV1yRoQvZLHaMC7WXGnkMJEavTzcGqQiWk1slLZzkilpx8/B3nmGgWRxbnxOVXlYqJI9insnRiNIg4VRStlsI2vJkqduz91sMTRDifqa95+W9wXvwXol+TwVRxMVTu2lbzHliNS8YCrw1hSMG14nrEWbtXTo/DJ2TpMQSA8ycUHMTz4eo61M0cyuWLRsgCuvLok12hVqTsRKryR7qJ023kfhRGy36NcyZGnCEF7EAHoRGHZaOC0DjPb7EGv5RCYl6S4PpfTaa7gwABvc1klc7eYWqlaNwUJZT2JWyjkH/YfY4M+macz5pDa5O0Fe+NwjYmGY1pR02z56DCFlOU9bIk35iyBBbnC1WVqc2qSP3T3Ozrg8b7fMFrDK6Pg7q9/AnitX7SF0u5Jyfsrr3X0XAmyBC1vK/10NFrsjvNt6L1lPOTvgoSGej0n4JM8tl3HNnJ54rMnB66QcGdai3Dq5Ez7cKP6bmcLnKHwrbb/FS1whADLj8d6lMzG6i3mYzLJO25J94yo5advfV9brBGq7INSbWkzMgas3LiGOTxOraJDQL+wWj7BWMQoSd9DhePu1x9QwPmNO/l+c4uzpD9/3S79KiRGcmAYKksX5LhF53Z1favGoeAzkrUQo4mL8Faa+d43s5ykWIOk+wLuGcA4wypzi5+A2k+Xnjq8ucB+eTMyrrf+cRrhy90Y9czq2eMLhiGPg7bJoe2Un2PklzXNSfPuigHNfIqjkf6KbNtp/lQsfCPlx2xSZAMnBPpxQj8W0ci4alA9Wd X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 728c03bc-95d8-4b41-7041-08dc44c0fbc0 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2024 07:24:43.0872 (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: O2eu4bjZH0lZhdNRDlc9/ITurNK84GKhIGu2CvBGuvayNaEySfqnkyk5aZpxyWcHgQPjOO2O1IrBSo7Oa4pkDQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8332 Add "fsl,imx8ulp-usbmisc" compatible. Acked-by: Krzysztof Kozlowski Signed-off-by: Xu Yang --- Changes in v3: - new patch due to missed this little one Changes in v4: - no changes Changes in v5: - add Acked-by tag Changes in v6: - no changes Changes in v7: - no changes Changes in v8: - no changes Changes in v9: - no changes --- Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml b/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml index 2d3589d284b2..0a6e7ac1b37e 100644 --- a/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml +++ b/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml @@ -33,6 +33,7 @@ properties: - fsl,imx7ulp-usbmisc - fsl,imx8mm-usbmisc - fsl,imx8mn-usbmisc + - fsl,imx8ulp-usbmisc - const: fsl,imx7d-usbmisc - const: fsl,imx6q-usbmisc - items: From patchwork Fri Mar 15 07:24:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13593095 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2082.outbound.protection.outlook.com [40.107.6.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C49A3134BE for ; Fri, 15 Mar 2024 07:24:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.82 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487493; cv=fail; b=p0TakLO42T9h99wX+++SEh3woo/o+/59MGH4zYWE/BFsfXNU3sF4h/39B5lkiSlVSRcHHs6eEp4Tvi+Zzx2NekcSBTd6rTDPiRsrsTYs4gRs/AjuULtMv0FmGU8MAH6bsQSoy6aduTRPYZ1VIPGxByTE6WgsHo73YTfu5ZZLYbQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487493; c=relaxed/simple; bh=ZZ13aOG4VHSq76ylU4ItLD5AW+FudwIlksKwfZmjO4o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=AJ5iajkHBO+squqczZ+SWH/4+DvrkdggPQ9MzIN9cK8KFE6iigKHvSFhj9gu3yJJ/gbxV3swmoooQcNZK+tNUf1j36BY3UBvzEIdcs7SCFwiMc8bMR9KlN3lHQ+qJXJO+8YBeD9B5timIIAxy95G803ERBYyih9EOoUzM/H7XDA= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=Ay3JPXtH; arc=fail smtp.client-ip=40.107.6.82 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="Ay3JPXtH" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dlwS+xptDb6s0kA1jQLWqBts/+RfyDuVN+NMX9fOalpD2y30912Pg6m3yyMCfzcRt80FigZ6O+CMHXeMTyeub3F3C6DgCOSQN4ZpM1qEP+yiSjQZDSqak+lvSwPfon/EqxjJYop44u+aijA0W59LTC6WWrI0mg48UBkm6yewOS4vq/H+1FOzG8LByIcBS53D6nbHLccMLieHBNBLcZRHTVfY83/4FSQJb49JV5OCkQfEdu2ecegXNmfcO+j1gtu5xFvww3zHdFPIDGTKSbcsS53iK6m1sG0VPn33MLHfy2u5EMU6OyDMVJulxF4kFYR8e2OvA6WLXDFbosl0r7nOfg== 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=3s269dwNzt7fupNaWDyLDBy2xhA0wi7ImfCd0uGQlHo=; b=jJa1CCKTyqrzINTCPQCG73lk7UyzH5An24XJ3CB8skYq5SQHB5ly6NFchASHsfPR7kYTDR/v/mYVKhGMHEUncdcYRKLgWS0IaGfA9HyPUxhReEjrxbrwHPJOjJjlorbSYHpoUuHhso/T05lqjU1PQQO/pOEAD7vIU0UBpJ4epnj+RUW1gl81BxsLIE4Zc4M7KTW9f4tfegHoOAuxggAqpsd6ix/GMDJHccAbrYsnq2kVrkoA5GHvZ79hTpB1LTJBRYPpinrvdhkHSIQajg/Qli6LG5zRHpHGHfd4SsfF4m10NDsycsKcwCbk5u7IkioU3YwdcXjWocoOG5bYI9+9zQ== 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=3s269dwNzt7fupNaWDyLDBy2xhA0wi7ImfCd0uGQlHo=; b=Ay3JPXtHBmQAaXNcMKcCaVTUVMFqvzsXYGhyd2YrQkgsr67COXG8j2+/3xeJxM4/jM8BtvJvJQv7ik0wgRhC27ubyl3m6M5t19Of1Pq3b8QW/VeuKoX6yyzmnJWxX9HD+7l1S+5/HpQbOJWgZgSflTamAEchn88+vDHxgN3agwQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by DB9PR04MB8332.eurprd04.prod.outlook.com (2603:10a6:10:24f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 15 Mar 2024 07:24:48 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.021; Fri, 15 Mar 2024 07:24:48 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v9 02/11] arm64: dts: imx8ulp: add usb nodes Date: Fri, 15 Mar 2024 15:24:46 +0800 Message-Id: <20240315072455.2481613-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240315072455.2481613-1-xu.yang_2@nxp.com> References: <20240315072455.2481613-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2P153CA0043.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::12) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB8332:EE_ X-MS-Office365-Filtering-Correlation-Id: 85bbd7b7-3691-4c3d-d567-08dc44c0fece X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JHdrBhHXYO5Q+BYw8CZePJac/Bn3mD/W/98XHeKJoz+I2IWj+I0juuwVG9MtbGAPTptR2qw+HY5Uvojh9frVRIOciWVQe6agPpKJAdsGBt1sOuYTkRMqjz/h2Az2gB7fqpKhfKILROdBhxpAlxwodTK1LqVKNlmRRD4CSWbxesGncLxgYr0dPWwKpaBMHN1vpaZKsV1ZttQV0MIhgiKLmbGt/+rxvxYqlSbFkeC6rrAMxUtxWTbuemfvYy7Tds6yZVa91iUUVDf95Dd55OvB4yIfMTos5FSoTbChk+FMWObp180vhoz4QGw+2zBRmd+nL07/QDyC9ZhmrAoq8Q5h2lTpfe0WCuXkj2526p0xDoMAkGe3l6YTFVHi7Fx5Uc7DK71wjWwmshSVqNKuv0UVkkwKUVf/VU2blzBjelAbeqBDLFQLdHGxxckw7vP55OAtqnj/85DyO5HEg49vl+clqNy0+4ue/1h/2U0ChORnWKntMOGct8zX7BCIprZJ0yGu5O8e1DzbAzCyEBxeoAeeSzmuo5egyOTQzkoK5r8nvTDcinNpHpsd831D3IMG3Jx6W7SxciVDOOhpwsHs8NG9ojOUcSuCWrCsb/SDqkgJza2N7sn4pcK7kLp6jgd/jvyocsHfgqXZ79YRiQrnp7TjePP3Jq06hz13q98OvFZLY9OZjWaC2CYx38944QMCcKuEN41JUPigFUUailRBMbYpLg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bbAxpbugvjNr2cRB26/QUInq6+6lVRJyr3i9dV8ZAboOaUQdDuzrw0EitCtv0aHJlGe2gPpdz8YjhptgvtlC3EEUdkd1hFS5t5skwW+E4PsQ/MKiZUW+8+aKGIKdfAQQlq88g1TDcgI+duYEAx2V+qKpavLXLUxCxJaPffz6AF+foAJeqUX5OIx9lOevEMS3AjX5+8PL6L8x4tsykv41oM+dIjM8Ibd4KAziqkKw3I4hhaKALJfvjgc/D9/RD9FooFRSW5ARrFifUD9OHaJthZi2NEf8zd9cArd7F9xwf3eFNOZkjrNOsOrHmSlI+80gjLWJlgiqgCH54MsmqIaKpRYeqbdpf5Odsg3U6zTY9+OEk0NYaPP6T9U94yqm5QxiR9fc9l71/nO07IJhyoNrhRK57Ly5PtB56ZZds92oyi2g57aBHI3UM/RxPjuQPFyZScup5oVQzmGpzuHKqzJzUgGPB7Tuw2SlW5LiSx/63hpgH9JflrTiKSvR8/rEGHg8XuvuRBk30HzjdXv6e3GaYzKYE7d+z2GmrNgxDV5baxQstcTTaj0aVCnYjCRUB/VeK2Uf4YO7z1ursw1nRxqhj0yFTA3U+LvVuzrIaQ6VN13lYaoDFqbZ+/mEyRhHNRJPqUywCmy08uFo8gU3tPGII52WucGPXgaDb3dxS323KBN5RPUjJuMtya1B34ArLgDdkjaGnJI3PbDHFwcgHrkkmb+j2tNnkOUTqfKHmSmd9XUeze+c8aSEWjlHbzdEZuE9EEXiKjG9E4MrWAxOjWdekLWJ8RXDD7410KYnxFEvK4eEVJS8kTaDWOmRlqk/Oee1nwqVJT+Ye/vXjTkRxi9OJVr8lhz5zizKRBrE52tTPiz6OaiXx7XQfPtXyHsvDWRmxEau0Ii0W08tGPEuS9zYLURdE/fe95wYWGQq2NWMKwx13N0YO2y1k1RiikqgQBekGpfNYSW+MYy7rihXiltpC7JxxFrBbYTkqEeYS8OlmeZ09P/5EAHrFEQ51U/tRiCsb5gv3XLQobmW3AxVM+6ZUzePJqWHPD9+RGNn7FOhSxtCLIZ5k2FS2tIgkI1iAj+fncigIoCIGmDUE6YF88wAeD8Y31SPlkx7zVerfQxGwQWdfvMrsW1jmLcCzyrfaQLPBhRsJFhorXfJ6pjcD8q5oeJfrho43n7nAIJqtotbYeFU12Xlkb7WiqFgdu4/QJeqzIB4g+4RcQuRpQp6vS7lzxL+IZ9ZFtxdM1X4umKHHh9iJzG9UkXFhIhrkkArKzdXcAJBQ/DPl4bMDkldZZCURN9t2AqQcQaMecvdrvigxXDSxYohyqnx1KjpIt4REUmjFhZkq7ATgNPQlKdZ6uo3GG1ekmkSp/rtHdcXQ9/ihsBE3dqhI6Mqunz7vRz33LlbJI2o/j8DjESO+SMI4AmE6gJ62rsyrGD2M/FFKSL++PxgM+ZI0CXNZOPBurAuVaM87k/A16LhezT1bJOX2ZMXQ7/Qmo2eSHo7AlqioWPLCDuIXO85lhm6fOAO+Jmvvbu50Cy5yCyq3Y6R6McCWi/BtiBIB1S0te/E8axKdGL1SRnktJu+ldmQ0USPR2A7X+LJ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 85bbd7b7-3691-4c3d-d567-08dc44c0fece X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2024 07:24:48.0819 (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: 4IFtP7iBggUEKCRwV0HQeHTk9zaIfuQ+F0JdrGm/01BYJFELExwue4wNnEUiSr6ourmGTgNssiqNPb+y/J3bZw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8332 Add USB nodes on i.MX8ULP platform which has 2 USB controllers. Signed-off-by: Xu Yang --- Changes in v2: - no changes Changes in v3: - no changes Changes in v4: - no changes Changes in v5: - no changes Changes in v6: - drop usbphy aliases Changes in v7: - no changes Changes in v8: - no changes Changes in v9: - no changes --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi index c4a0082f30d3..7da9461a5745 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -472,6 +472,68 @@ usdhc2: mmc@298f0000 { status = "disabled"; }; + usbotg1: usb@29900000 { + compatible = "fsl,imx8ulp-usb", "fsl,imx7ulp-usb", "fsl,imx6ul-usb"; + reg = <0x29900000 0x200>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB0>; + power-domains = <&scmi_devpd IMX8ULP_PD_USB0>; + phys = <&usbphy1>; + fsl,usbmisc = <&usbmisc1 0>; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x8>; + rx-burst-size-dword = <0x8>; + status = "disabled"; + }; + + usbmisc1: usbmisc@29900200 { + compatible = "fsl,imx8ulp-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + #index-cells = <1>; + reg = <0x29900200 0x200>; + status = "disabled"; + }; + + usbphy1: usb-phy@29910000 { + compatible = "fsl,imx8ulp-usbphy", "fsl,imx7ulp-usbphy"; + reg = <0x29910000 0x10000>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB0_PHY>; + #phy-cells = <0>; + status = "disabled"; + }; + + usbotg2: usb@29920000 { + compatible = "fsl,imx8ulp-usb", "fsl,imx7ulp-usb", "fsl,imx6ul-usb"; + reg = <0x29920000 0x200>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB1>; + power-domains = <&scmi_devpd IMX8ULP_PD_USDHC2_USB1>; + phys = <&usbphy2>; + fsl,usbmisc = <&usbmisc2 0>; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x8>; + rx-burst-size-dword = <0x8>; + status = "disabled"; + }; + + usbmisc2: usbmisc@29920200 { + compatible = "fsl,imx8ulp-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + #index-cells = <1>; + reg = <0x29920200 0x200>; + status = "disabled"; + }; + + usbphy2: usb-phy@29930000 { + compatible = "fsl,imx8ulp-usbphy", "fsl,imx7ulp-usbphy"; + reg = <0x29930000 0x10000>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB1_PHY>; + #phy-cells = <0>; + status = "disabled"; + }; + fec: ethernet@29950000 { compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec", "fsl,imx6q-fec"; reg = <0x29950000 0x10000>; From patchwork Fri Mar 15 07:24:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13593096 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2061.outbound.protection.outlook.com [40.107.6.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E66D9156CF for ; Fri, 15 Mar 2024 07:24:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.61 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487497; cv=fail; b=sT9csdelzojFjWSoaLaLCcr4ttqU8/5Esc1bDj9jNgFwHumeGmiXbFfVwou4UP74QPYB0FsVTRtIsw9sqUflq0EFcCCwDpOu8sipRBqereYizXCW12HBBrpfTFiU3W9ImkbRwACNewMZKxFr48lJUaAdA1Mz1vSgCvaYPiQxfrw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487497; c=relaxed/simple; bh=nZwonckBn+oXRdd0znDDxJqdMhnUe+7z1w8v6ImmzPM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=TVarSf2OZ1ZLmBQ6RRsWEkzQlL/glKinKw9cgewoO51ShjK/xoY//ThsmNIK1ekuUUyzmSYVMai1IZ4EbKpJXwm3tUStHjAkxqNEUhzXlWLUhVG/dQVRYTZec7KNGU86j5fyMjj7/q5IC5YXdMIckAVTO+qLvd3679jYhmyxbqI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=OSw/0hap; arc=fail smtp.client-ip=40.107.6.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="OSw/0hap" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZYI/+4p/tPuedPB9c4wXz0horjEP885RdGcP/zpJ5IOLKBK1aQ1w4//OWFqRk24VEJNXH4BG1n06/TcV5LlJEsWF1u2GudmRuiJ7ZiMEvQ02xipUBOM+TeLP0e+qDFFMBcyBfAUX6U44IYnDjOugJPl85kJ9fquNNop4oP+7aDoY6AR60PaU3JzQqBOm1/8kYVOLcreUwfEcepux2aPGn4H4/4mbFRI81dAQLOotlDcVtOH8XsWEphgPORKDbIfOqiGU1wcqdnaagqnr8z3yXS5pKza3T8YDnbEyN2AVP00B20g6l2wij1Npr0SC8NzvblBrc063K+zfQWvmcmk7pA== 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=gbsVE+m0WfV6UaryDu1wPnTOZrhWmV8LcnRTSbkfBEg=; b=HaA13qnLCEzklt0R5KAq46bRRv2yvvalR1tgMFTIkjMNG2Ud+dEDhyHYdBNItsEnyyNPYGTrKFLJ2XRBOyu6qdPXhob7J5nI5NKqWsLSiw6KZ0APAnED8r+zpvt/xfTBDD1locHecDzQtjucovt/8K5QYDgPHZBrSWWC5NryFk1DMnSNDaFOmznCEwRM0njCPerf7Z1FHIGumDthtTtlizqmLzeMe3DcmvcZWF327TFlFHClM2LkIcmHE3lpHPMVK+I3m/Nw3bJqONzVG4DSR626KjYQ82ej8apFTM0yRazDuviLRZ5XxFq74quIxz24Qhs4bpShGKB6+iYVSnBvbQ== 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=gbsVE+m0WfV6UaryDu1wPnTOZrhWmV8LcnRTSbkfBEg=; b=OSw/0hapaEPfkmiwR9OokrqVoOAb0LEDEePn8edh7dI/e7sA5/XhIxHkemNX8C2NgfC23LXZqM9iOViSsZgvIXxvQwzGoBAvRSy6ZUnxYeTCIaqKlIBtSYXBFR7NDL7Ob283IXO0uaZwBESeN0bJcplp9KFXkPNQJGmrIvMYiO8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by DB9PR04MB8332.eurprd04.prod.outlook.com (2603:10a6:10:24f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 15 Mar 2024 07:24:53 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.021; Fri, 15 Mar 2024 07:24:53 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v9 03/11] arm64: dts: imx8ulp-evk: enable usb nodes and add ptn5150 nodes Date: Fri, 15 Mar 2024 15:24:47 +0800 Message-Id: <20240315072455.2481613-3-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240315072455.2481613-1-xu.yang_2@nxp.com> References: <20240315072455.2481613-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2P153CA0043.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::12) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB8332:EE_ X-MS-Office365-Filtering-Correlation-Id: bb29d3d3-8a16-4eea-8fc8-08dc44c101c8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: O4ayipuJcaTb2AcrSshwUJIrQtWHpmde4NP6lBRVyPU0mJ1nBuJEHrfOwjyvIcZG9eDtihuUY8xAGormtRkcHMQG3L4+RNe/HthaRbFpaoTThEeSIUXPNmUt4nTx1Oyg0y++JbieDmm+W7jbsgJ1tsR+OczMxv5RaCXbYU3/K3bBepmR6yGrx+BNz/aB/mGw5OdUt1eyCohcPnkwwm5B85WdWKqGrmYxP/tQqlyRRNqGv8nR8v8waNbj/ibLPocDj2J6gvXl1eag/eJ0cmNPJakMUq/BrdLgYBwNI7Ry08oxkoco30eXM0zhY2VeqsfhAM+P+mGPCT2QN4UXrzx/JXu+7TDGAm8VxOyLZH7clJNXn6l4fvHa6Hk6bogZB/U+tuSY3xZ+bJ1b06OQGIwqOPogRb9zqrwsf88dRNTHCflnOno9muBmDj64au+6OeWk0sIfsU9y2tAD6sLCN/1d0lbDuPgXjydY+KOyifj8pDDwFQ91Nu0fR/7ihNB9hJKe0PAZknqrYro/YbKFWM+1/QJqqdhKxOgEqc2p9+TDDiRwR5LMVogGsHe0+d/QTvhFD/cReKKoMLbvIFep0dZE0FnYDl6xLvdAOXSzx3eoHqmxJPmeoOWO+1MEyvlsy8Q9095fojGHW0wYb0q9gdkIER9EeW9Z79amLp8X0pvSZabn0H4bCu4XlK8cuFRnaaqQ/9DX7sVzZDAjQaBlefjMrQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: cb6zw+Tq5AIiN7E122HwRY0EhoeaQ+b+/CcZiW1rrj/SQx4A98Mqot7r9tFW795OcrFAzcpu7q2IiuJdTceX58vWGY/lyDDI8mWntWaX+lL0D/v64UF3r4leL6n092OauDMyT2VsKTAry3BDmUhUDlFoW1Bz5Ge6IIAXW8rniwNERUy6Vm7lmQKKNznzjtAefcqX1lv95nbSEUjmk58q2wjAvy/tj7oT8mX9l1za2Jc4grCXtWqjuPw5MVJNFDXGhCl04aqEUW9fftDiQetnJElNMy/eVB1UZ+Yuq5B+2nR+S/xARFbSOGtMKPH3BZdWIUpg1TSrkbCBiS9INA8k0UTBqT4Fs+GPo2P/drRS68z3C1qmkNeeLcigf5uAFo/C7qpMmhGliyJ3hHls6wSK7Jgr982wzleyNrxr8Jb9N9Y4ykVgTS7XzeMYqdoO+cse8pczIjZUG5fk0DWmyheAN5AjzWTyutTdz9qqaYEFz6XH5NiOm1sIwoYPTv07gtMgsJtC6CgOdYsESV5tFHL686Q0WqimJVZ0Fes8CfL+R09dNvn2YhveTf2mGRem5V9GxYDze0g8pUqIUbHWCqR9LuUn2+xMlY5tbL1Nik6O6SH20TsGZuvaoAAyLyu8AXBxB6IIQ8Q+nyftdZCG1FGCxtyokhhLH4TJ4Z5d6kCCBsaWvj8SEtAkm6zLlMjzPlNhTVKTlQJmZRpoRuxJ/k/5pMnw4zz8cAaexk6NDIN2ODAo6E7F7SnVENoKUVU8wh32uUaDvvPR/bmuD/pF3a96aortY7TxrdF4bdSKdbb50FNy/etmIkaxCuSTXSHefnNFaFcQCmlDeWVN1kKndiRtsdXoR/jhKnIo1awzO4ZAQD3ybWCCp+woMu0pJWqx9XTvH7thblzUgP+tg/BWGeckatsODL9cJ/LDrlb1TSYZ3xvrRsoZcFfZdXCangV3rQa6cY05dfhCaXszf/iIFsRxzXkRmf10IJ6Fjo2gfB5itj7BRTQSJgiKdjlaWwlsOf+FQNif487UQJUs0A8NQnBz8nhHS+F3sJUrcWAVgM0wBQu4mx9LWYbG7eOUgrLUyhlEJ51m+KWHryrM9ZfXXmHteuOGiWKC3q0N9LLTWu0sb9ikxRXI5p4G/J9FpWO8fRIFjRuK8u106hVeYADCSrjHbihtMIj/Ze6Gyr+UlMrK4SHtoPWnygwGMHQbapbf9A5CZ8BNy0oJmuU9aUE4ctRaVS2j7cuoc+s3KLwh8U1Zb+wCL826eevatECGnGEagRvPcPlkqmEAAulFTGtX6YqnXNer822KothrEKHCmN7258V72smnz017hh5MFz0gMuj7Cq/z8xbpjvLLtwC8PJeqocZAJBC6Jke8izZbL/BMjkSQYW9s2H+vP6Q9suN+n0dzES2BMJyEM8YlhBPCxFyN7WbKySV7yEihYkfWhkanBNyCN0YNsNYLD4bhj6aQSIcKT+OsEz4wm5sGgx4VlJ7nW9oRnoPJNUKWN42UO+U/5MRWrBjG+LvvXZgse/yLfoCg2+D/KjFlgVPBGUKk69Ed7dz6pKt55PNTwbN+OEIbM6rpQvbWSUIytUgn19Crk4r9 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bb29d3d3-8a16-4eea-8fc8-08dc44c101c8 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2024 07:24:53.1486 (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: g8qU3kc1ZPf7ALA7O2hWVAsQh9fGjYfsFZgCsPkHFW4YUgXrEkIW9mH70O7SzBCmIMOehwk2d8zI5uQ0b0bHkg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8332 Enable 2 USB nodes and add 2 PTN5150 nodes on i.MX8ULP evk board. Signed-off-by: Xu Yang --- Changes in v2: - fix format as suggusted by Fabio - add PTN5150 nodes Changes in v3: - no changes Changes in v4: - no changes Changes in v5: - no changes Changes in v6: - no changes Changes in v7: - no changes Changes in v8: - no changes Changes in v9: - no changes --- arch/arm64/boot/dts/freescale/imx8ulp-evk.dts | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts index 69dd8e31027c..bf418af31039 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts @@ -133,6 +133,64 @@ pcal6408: gpio@21 { gpio-controller; #gpio-cells = <2>; }; + + ptn5150_1: typec@1d { + compatible = "nxp,ptn5150"; + reg = <0x1d>; + int-gpios = <&gpiof 3 IRQ_TYPE_EDGE_FALLING>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_typec1>; + status = "disabled"; + }; + + ptn5150_2: typec@3d { + compatible = "nxp,ptn5150"; + reg = <0x3d>; + int-gpios = <&gpiof 5 IRQ_TYPE_EDGE_FALLING>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_typec2>; + status = "disabled"; + }; +}; + +&usbotg1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb1>; + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + over-current-active-low; + status = "okay"; +}; + +&usbphy1 { + fsl,tx-d-cal = <110>; + status = "okay"; +}; + +&usbmisc1 { + status = "okay"; +}; + +&usbotg2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb2>; + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + over-current-active-low; + status = "okay"; +}; + +&usbphy2 { + fsl,tx-d-cal = <110>; + status = "okay"; +}; + +&usbmisc2 { + status = "okay"; }; &usdhc0 { @@ -224,6 +282,32 @@ MX8ULP_PAD_PTE13__LPI2C7_SDA 0x20 >; }; + pinctrl_typec1: typec1grp { + fsl,pins = < + MX8ULP_PAD_PTF3__PTF3 0x3 + >; + }; + + pinctrl_typec2: typec2grp { + fsl,pins = < + MX8ULP_PAD_PTF5__PTF5 0x3 + >; + }; + + pinctrl_usb1: usb1grp { + fsl,pins = < + MX8ULP_PAD_PTF2__USB0_ID 0x10003 + MX8ULP_PAD_PTF4__USB0_OC 0x10003 + >; + }; + + pinctrl_usb2: usb2grp { + fsl,pins = < + MX8ULP_PAD_PTD23__USB1_ID 0x10003 + MX8ULP_PAD_PTF6__USB1_OC 0x10003 + >; + }; + pinctrl_usdhc0: usdhc0grp { fsl,pins = < MX8ULP_PAD_PTD1__SDHC0_CMD 0x3 From patchwork Fri Mar 15 07:24:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13593097 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2057.outbound.protection.outlook.com [40.107.6.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6FCD317995 for ; Fri, 15 Mar 2024 07:25:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.57 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487504; cv=fail; b=P6ho9VBPw1nPWv9qEIFsps1fSaKD+rkXVxXy4Jdq+vRJDFE47k6/dN9G/Vos63Mrm8mtfqJslGjHQmfE0lxHH4w1wW0hIYOTD5vHTcdWK7zXMO7n4Nx8/0VrLdY4pyt+rR2pPb3GFcBM9Ff28vWudgD5L5oV/JDDaxMGg9e/Q6A= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487504; c=relaxed/simple; bh=4SWITo8f2BB9DLCj1Zk5rHwYy86FLJLNh0Re29dYsU0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=Bq5K/grdozOZNDpxJ/N5P/FPUX6Yvm+T5/E5gKFaVqIsLjq4UDeMMMKQI0A1Xgli2Dd4Dkw0hLQOqwPqhSksa4j9UkK3Hle4l09X1mTk8L8BABRuOullC0OhuOJiQ15bkm8e2jboUjViFE2IYGWs7xazWaYE/vg23o3+DmQoEyo= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=UX6Vxm4h; arc=fail smtp.client-ip=40.107.6.57 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="UX6Vxm4h" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lfjra5wQyEKDWoG4FEoMgBiAf+t07mUxDPcB4K6yHSkRwTtDRHKgM+/9XLhqYgUq0Q1JiBeb66SG8eNJA4A6+1dLss7dGmn6C40HL7BQx7EW5vwTxX+LamfyRe9tmTFCqKpinWP+5cuPBsLWwi+BZAt7j2B4FHAYg7h9P6cOvkjV3xq8NAnEB8udPznv81a9sH1zqJU3yjX2qDZb+XH3v3nc3im45KO3H/SJRlmKhekG7+UNxtQgaa6IKyu+rxapYUK1WAl8TyxMCTkjzsgGkZz5MO6EL9Jfyv22XCIHyE6DB8KAH51PUQlwUee4dQTKNsx2QIDOdLAxOjQbrmTvXw== 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=W3vxszd3lkNqhYLQRSssvaWLbwZdWh/uS5AJNaIv+UI=; b=OWMWWfOSgqsqqLnsXAqZtyihTrhFGT0j3//DQz9orKFK75MRe88OeucngC2mD41gyHsI4dRQcbqwwHIq9pBdiX5oY6aj+37rxWP0JgBEGLSy7o3BWHINdnKC5/sVJBCCqukeXdh7cPc3pBp62K0Hnr6tbk64EHi7pgFOdcj2FdoE/WJZ4xeTOdKFLcEsRCp+SN45VNE6+xA8p4ED0Ty12iMkT+mj8+HSGkkGJFtKxKHoCNZ80L/l0CouvWVcWdsbYgFbSnOjkiKRB/4FNeqtEqUk0E5ziJa39lpHC4dHxxTbr/NdSctfQV8rpf/49L8R8dxhsAaoOFNZDEVzJlqnfg== 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=W3vxszd3lkNqhYLQRSssvaWLbwZdWh/uS5AJNaIv+UI=; b=UX6Vxm4hA7TwST9SQnJ7K7gWJLn/idE9hpe4sSBkHKMNB5vzZYz9KT1E73K6X2UG92W37QdWnWBYbUNEiEefGnn9sxmSHABKFk6b5iDbctM7Dl1VNIpSNsMKru2oFcjVH6K4vfcUf+CnK1kIC6ohjyhYKkb9aCqq5txwT8AZ7G0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by DB9PR04MB8332.eurprd04.prod.outlook.com (2603:10a6:10:24f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 15 Mar 2024 07:24:58 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.021; Fri, 15 Mar 2024 07:24:58 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v9 04/11] dt-bindings: usb: chipidea,usb2-imx: move imx parts to dedicated schema Date: Fri, 15 Mar 2024 15:24:48 +0800 Message-Id: <20240315072455.2481613-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240315072455.2481613-1-xu.yang_2@nxp.com> References: <20240315072455.2481613-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2P153CA0043.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::12) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB8332:EE_ X-MS-Office365-Filtering-Correlation-Id: 02621a41-a6e8-4aec-4470-08dc44c104cb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mUMEfdLL5reLjr6cELBP2DxJW27l2B9MsHjO+ZPLwom6d0aBHHQNjqabkGJkpDJuiOxtgWDnKruUGf5DaESj11u8DzSLOf2j2BGT8+yPyE+M0+ub8WL/xPF3cOUmqjYuH8H8tMNsgVbh0RIik/TXDF2E64WoBn9lnePTwSWjrrOV8qHBTXZjYJjgxo4Yrcjr0A71mrLCki2Hb+Zptba3OLjjm0wnA2vqj+HiZzdDNuXuPjTt8bilbF2EcyaJ2jjqJuEULo+JVeUog12D23u+SB3PR+ZbG0MOm4BFlEsohezRBFLPKORgJKQQh9Lhi/zxjgHocK/mumMg7/Dpg1eGNlXNXfhQSfjlCh84nrKMzjcVezfQyKpJo8wBa+yIwJFZzHmkizskiXOKnQmmbyNSBqz+F42LuA8c6NMffbSYvLfd2Az8NB1Iw1jouTh3A7wyu6nm44KMHom+fDo60gt8WHto1hiPk3FFJRkUVqdzoGpVJhmnJN8IaUxw3tJCIjpB22qRXlTE4SvrLGChp/vQJZ+2noXmDnECQZGutFJ9dshaVs/czBEmGIw4y4dyZRBcywlJ5xr74vqHbGn87hVeWiJmTodHykoT+sxz4tlzTo7txUtMOlpt1DClknTgGocYdkUkSUOARTOsRNvrydZ12647z6Sj+NVopU5NQEPgdXo= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0Ya0L/mjG0g830hbeYe8+oGaGSIOQj6t+tMoECIuQ8HtQc0XV1vW5RITx9Q8T5UAR5YzPXu/tGa3h/AaqA8dBy0qC2e9CkpWaD7XtWdHzPMkr9aV0iechiOU1/76/scI/LEWNTNZiXQtId/QF1XIQbvh8lEwKNGJfrtbxob298HkWVZ0WsZW7olafvjSkDxbdm7/595wMnpnJWEtU5SuFgqZ2gSIpu+i1iX4P3F0eaHwt1Tf+hDv9KO4tkMxFHArP1ye6a79uLFmXd+cJQLg7GKPls3bjse8GEBGCRVMJhbAgWGv0sJSzOkDTT2iqZPjoDxxH5ZvfHwVXz9Mv9RurBgldrdPXcRMzwAHmgpml2dRXnP8lfbz1EjttBQJmsJ8R6xCU3ST7lFmwIK+hEx74hLowk9/KrgDk5uT1LmExWm3WPtBXfmkySQbTrpl+CmdIITpboUrmDD3Dl6HcjXf2w95oNXi9ytSvFn3OuFBm643h74Nr4z7Nla0HuXLQx6SCxzmz6/tJaUSOlnZLVdosqIK9g/8dlrb0RrmEyJY4nKSayb2lRloVk3Lk0KrpSL/f3ghafSGZzCwY1rxRZXgEWJqkFi1lQFp+M4Nf17NPqmh7gQ6Wy5N5DcGkHaozCrBTKTuFh6YwMU/GaEHB/JWxfEXeTnDuWQp+A7ZOLgmnIYmMZoyzBikov4K9niW6PtJ7s618arVfsomCtzBKYZLtKYtHmy5cwTCsugiU5Or45Bp+LVoKyF/zgm5YikOtN71s1EYVxxOYry6gYVLcZzmddtlUzXxl8NexzJo+v6Go4JlD+movilXbb8mbVgea/og9QXLDOEfe/tZr/JOBINiTT47hUpz7NqfeLBxHp+EuvOMMpwni/FEoQ9Y62It3XjgpAL4SJgB3qubka0PlMWxglOEfZ/8y79noxWlsnQvZi5BNjqRWY2Vw116x0vxbexW42wnvsSgjfIdo9n9P6cRMqp3Sufh9l3SOb8nWk3hUebUWJRg8/y19tMLEHwYNkjuFPqhz/D9/PqkCayUNQhFaMHT7sQnE7uXCcUf2nMGR2M6UWKNCRwq8Qmm26CCvCukzIY5s3wM7QIfjMapogwhc1uEVKmporuTG9X8CO5q9gDUBFxh3s8AT8f5auqruStMMXcEhzjQlcOZEy2Ee8pm3jCtbG+Ym3wUrVbTsqv17I4/taMHndWwpBZuETPrips1L1I16SsU9TKj4i9pb2TnrzRa4VhfH9wo1w5fU1Y/cyTbIX45VBwapGjjKam9/mbZsP9dVEyNXVmSVFSmN3+J83yqhy6amfnaGgxARCQPlRCIAibs6nuAhnErk/cJwnDOpFdbXAit1N8tS4nDiBxetJ/WriuvZUiskGbpwIBFyu8t+cy2zU4r7+lEJiMq24IcYLDlatPfJo6+1H6pULGnJzJdYEAKpehPA2oYtcJWT7AI9N2WUAv+eA4mjZ9wsAPgOaeW450+XW/Rwxt65FA4hwldoE/CSdmiDC3bDiTpmtVz3J3WReI9Or1A6w7YMqwHWCNnrn8WlESfE6c3bFWyJMyqFnrHyY1mK3bA0JPcrLnwQ1uBojBmzEWSGdfdCJno X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 02621a41-a6e8-4aec-4470-08dc44c104cb X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2024 07:24:58.2725 (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: GVfIddrSksfkgEyNHjIXp/fCTA3wsKa3X+pR8FiZFlMw7lm5S5k5SR1nmabGGIyPKGc+kuRn7KN2Qj5O3rO5kw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8332 As more and more NXP i.MX chips come out, it becomes harder to maintain ci-hdrc-usb2.yaml if more stuffs like property restrictions are added to this file. This will separate i.MX parts out of ci-hdrc-usb2.yaml and add a new schema for NXP ChipIdea USB2 Controller, also add a common schema. 1. Copy common ci-hdrc-usb2.yaml properties to a new shared chipidea,usb2-common.yaml schema. 2. Move fsl,* compatible devices and imx spefific properties to dedicated binding file chipidea,usb2-imx.yaml. Reviewed-by: Rob Herring Signed-off-by: Xu Yang --- Changes in v6: - new patch Changes in v7: - not remove ci-hdrc-usb2.yaml and move imx parts to ci-hdrc-usb2-imx.yaml Changes in v8: - rename yaml name to chipidea,usb2-common.yaml and chipidea,usb2-imx.yaml - remove common properties from ci-hdrc-usb2.yaml - add new end line to chipidea,usb2-common.yaml - remove fsl,anatop since it's not needed by controller - fix pinctrl-names formats Changes in v9: - add Rb tag --- .../bindings/usb/chipidea,usb2-common.yaml | 200 ++++++++++ .../bindings/usb/chipidea,usb2-imx.yaml | 193 ++++++++++ .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 360 +----------------- 3 files changed, 396 insertions(+), 357 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/chipidea,usb2-common.yaml create mode 100644 Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml diff --git a/Documentation/devicetree/bindings/usb/chipidea,usb2-common.yaml b/Documentation/devicetree/bindings/usb/chipidea,usb2-common.yaml new file mode 100644 index 000000000000..d2a7d2ecf48a --- /dev/null +++ b/Documentation/devicetree/bindings/usb/chipidea,usb2-common.yaml @@ -0,0 +1,200 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/chipidea,usb2-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: USB2 ChipIdea USB controller Common Properties + +maintainers: + - Xu Yang + +properties: + reg: + minItems: 1 + maxItems: 2 + + interrupts: + minItems: 1 + maxItems: 2 + + clocks: + minItems: 1 + maxItems: 3 + + clock-names: + minItems: 1 + maxItems: 3 + + dr_mode: true + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + + reset-names: + maxItems: 1 + + "#reset-cells": + const: 1 + + phy_type: true + + itc-setting: + description: + interrupt threshold control register control, the setting should be + aligned with ITC bits at register USBCMD. + $ref: /schemas/types.yaml#/definitions/uint32 + + ahb-burst-config: + description: + it is vendor dependent, the required value should be aligned with + AHBBRST at SBUSCFG, the range is from 0x0 to 0x7. This property is + used to change AHB burst configuration, check the chipidea spec for + meaning of each value. If this property is not existed, it will use + the reset value. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x7 + + tx-burst-size-dword: + description: + it is vendor dependent, the tx burst size in dword (4 bytes), This + register represents the maximum length of a the burst in 32-bit + words while moving data from system memory to the USB bus, the value + of this property will only take effect if property "ahb-burst-config" + is set to 0, if this property is missing the reset default of the + hardware implementation will be used. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x20 + + rx-burst-size-dword: + description: + it is vendor dependent, the rx burst size in dword (4 bytes), This + register represents the maximum length of a the burst in 32-bit words + while moving data from the USB bus to system memory, the value of + this property will only take effect if property "ahb-burst-config" + is set to 0, if this property is missing the reset default of the + hardware implementation will be used. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x20 + + extcon: + description: + Phandles to external connector devices. First phandle should point + to external connector, which provide "USB" cable events, the second + should point to external connector device, which provide "USB-HOST" + cable events. If one of the external connector devices is not + required, empty <0> phandle should be specified. + $ref: /schemas/types.yaml#/definitions/phandle-array + minItems: 1 + items: + - description: vbus extcon + - description: id extcon + + phy-clkgate-delay-us: + description: + The delay time (us) between putting the PHY into low power mode and + gating the PHY clock. + + non-zero-ttctrl-ttha: + description: + After setting this property, the value of register ttctrl.ttha + will be 0x7f; if not, the value will be 0x0, this is the default + value. It needs to be very carefully for setting this property, it + is recommended that consult with your IC engineer before setting + this value. On the most of chipidea platforms, the "usage_tt" flag + at RTL is 0, so this property only affects siTD. + + If this property is not set, the max packet size is 1023 bytes, and + if the total of packet size for previous transactions are more than + 256 bytes, it can't accept any transactions within this frame. The + use case is single transaction, but higher frame rate. + + If this property is set, the max packet size is 188 bytes, it can + handle more transactions than above case, it can accept transactions + until it considers the left room size within frame is less than 188 + bytes, software needs to make sure it does not send more than 90% + maximum_periodic_data_per_frame. The use case is multiple + transactions, but less frame rate. + type: boolean + + mux-controls: + description: + The mux control for toggling host/device output of this controller. + It's expected that a mux state of 0 indicates device mode and a mux + state of 1 indicates host mode. + maxItems: 1 + + mux-control-names: + const: usb_switch + + pinctrl-names: + description: + Names for optional pin modes in "default", "host", "device". + In case of HSIC-mode, "idle" and "active" pin modes are mandatory. + In this case, the "idle" state needs to pull down the data and + strobe pin and the "active" state needs to pull up the strobe pin. + oneOf: + - items: + - const: idle + - const: active + - items: + - const: default + - const: host + - const: device + - items: + - const: default + - enum: + - host + - device + - items: + - const: default + + pinctrl-0: + maxItems: 1 + + pinctrl-1: + maxItems: 1 + + phys: + maxItems: 1 + + phy-names: + const: usb-phy + + vbus-supply: + description: reference to the VBUS regulator. + + usb-phy: + description: phandle for the PHY device. Use "phys" instead. + maxItems: 1 + deprecated: true + + port: + description: + Any connector to the data bus of this controller should be modelled + using the OF graph bindings specified, if the "usb-role-switch" + property is used. + $ref: /schemas/graph.yaml#/properties/port + + reset-gpios: + maxItems: 1 + +dependencies: + port: [ usb-role-switch ] + mux-controls: [ mux-control-names ] + +required: + - reg + - interrupts + +allOf: + - $ref: usb-hcd.yaml# + - $ref: usb-drd.yaml# + +additionalProperties: true diff --git a/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml new file mode 100644 index 000000000000..cdbb224e9f68 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml @@ -0,0 +1,193 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/chipidea,usb2-imx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP USB2 ChipIdea USB controller + +maintainers: + - Xu Yang + +properties: + compatible: + oneOf: + - enum: + - fsl,imx27-usb + - items: + - enum: + - fsl,imx23-usb + - fsl,imx25-usb + - fsl,imx28-usb + - fsl,imx35-usb + - fsl,imx50-usb + - fsl,imx51-usb + - fsl,imx53-usb + - fsl,imx6q-usb + - fsl,imx6sl-usb + - fsl,imx6sx-usb + - fsl,imx6ul-usb + - fsl,imx7d-usb + - fsl,vf610-usb + - const: fsl,imx27-usb + - items: + - enum: + - fsl,imx8dxl-usb + - fsl,imx8ulp-usb + - const: fsl,imx7ulp-usb + - const: fsl,imx6ul-usb + - items: + - enum: + - fsl,imx8mm-usb + - fsl,imx8mn-usb + - const: fsl,imx7d-usb + - const: fsl,imx27-usb + - items: + - enum: + - fsl,imx6sll-usb + - fsl,imx7ulp-usb + - const: fsl,imx6ul-usb + - const: fsl,imx27-usb + + clocks: + minItems: 1 + maxItems: 3 + + clock-names: + minItems: 1 + maxItems: 3 + + fsl,usbmisc: + description: + Phandler of non-core register device, with one argument that + indicate usb controller index + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to usbmisc node + - description: index of usb controller + + disable-over-current: + type: boolean + description: disable over current detect + + over-current-active-low: + type: boolean + description: over current signal polarity is active low + + over-current-active-high: + type: boolean + description: + Over current signal polarity is active high. It's recommended to + specify the over current polarity. + + power-active-high: + type: boolean + description: power signal polarity is active high + + external-vbus-divider: + type: boolean + description: enables off-chip resistor divider for Vbus + + samsung,picophy-pre-emp-curr-control: + description: + HS Transmitter Pre-Emphasis Current Control. This signal controls + the amount of current sourced to the USB_OTG*_DP and USB_OTG*_DN + pins after a J-to-K or K-to-J transition. The range is from 0x0 to + 0x3, the default value is 0x1. Details can refer to TXPREEMPAMPTUNE0 + bits of USBNC_n_PHY_CFG1. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x3 + + samsung,picophy-dc-vol-level-adjust: + description: + HS DC Voltage Level Adjustment. Adjust the high-speed transmitter DC + level voltage. The range is from 0x0 to 0xf, the default value is + 0x3. Details can refer to TXVREFTUNE0 bits of USBNC_n_PHY_CFG1. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0xf + + fsl,picophy-rise-fall-time-adjust: + description: + HS Transmitter Rise/Fall Time Adjustment. Adjust the rise/fall times + of the high-speed transmitter waveform. It has no unit. The rise/fall + time will be increased or decreased by a certain percentage relative + to design default time. (0:-10%; 1:design default; 2:+15%; 3:+20%) + Details can refer to TXRISETUNE0 bit of USBNC_n_PHY_CFG1. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 3 + default: 1 + + fsl,usbphy: + description: phandle of usb phy that connects to the port. Use "phys" instead. + $ref: /schemas/types.yaml#/definitions/phandle + deprecated: true + +required: + - compatible + +allOf: + - $ref: chipidea,usb2-common.yaml# + - if: + properties: + phy_type: + const: hsic + required: + - phy_type + then: + properties: + pinctrl-names: + items: + - const: idle + - const: active + +unevaluatedProperties: false + +examples: + - | + #include + #include + + usb@30b10000 { + compatible = "fsl,imx7d-usb", "fsl,imx27-usb"; + reg = <0x30b10000 0x200>; + interrupts = ; + clocks = <&clks IMX7D_USB_CTRL_CLK>; + fsl,usbphy = <&usbphynop1>; + fsl,usbmisc = <&usbmisc1 0>; + phy-clkgate-delay-us = <400>; + }; + + # Example for HSIC: + - | + #include + #include + + usb@2184400 { + compatible = "fsl,imx6q-usb", "fsl,imx27-usb"; + reg = <0x02184400 0x200>; + interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX6QDL_CLK_USBOH3>; + fsl,usbphy = <&usbphynop1>; + fsl,usbmisc = <&usbmisc 2>; + phy_type = "hsic"; + dr_mode = "host"; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; + pinctrl-names = "idle", "active"; + pinctrl-0 = <&pinctrl_usbh2_idle>; + pinctrl-1 = <&pinctrl_usbh2_active>; + #address-cells = <1>; + #size-cells = <0>; + + ethernet@1 { + compatible = "usb424,9730"; + reg = <1>; + }; + }; + +... diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index 3b56e0edb1c6..cc5787a8cfa3 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -15,7 +15,6 @@ properties: oneOf: - enum: - chipidea,usb2 - - fsl,imx27-usb - lsi,zevio-usb - nuvoton,npcm750-udc - nvidia,tegra20-ehci @@ -31,40 +30,6 @@ properties: - nvidia,tegra124-ehci - nvidia,tegra210-ehci - const: nvidia,tegra30-ehci - - items: - - enum: - - fsl,imx23-usb - - fsl,imx25-usb - - fsl,imx28-usb - - fsl,imx35-usb - - fsl,imx50-usb - - fsl,imx51-usb - - fsl,imx53-usb - - fsl,imx6q-usb - - fsl,imx6sl-usb - - fsl,imx6sx-usb - - fsl,imx6ul-usb - - fsl,imx7d-usb - - fsl,vf610-usb - - const: fsl,imx27-usb - - items: - - enum: - - fsl,imx8dxl-usb - - fsl,imx8ulp-usb - - const: fsl,imx7ulp-usb - - const: fsl,imx6ul-usb - - items: - - enum: - - fsl,imx8mm-usb - - fsl,imx8mn-usb - - const: fsl,imx7d-usb - - const: fsl,imx27-usb - - items: - - enum: - - fsl,imx6sll-usb - - fsl,imx7ulp-usb - - const: fsl,imx6ul-usb - - const: fsl,imx27-usb - items: - const: xlnx,zynq-usb-2.20a - const: chipidea,usb2 @@ -73,163 +38,18 @@ properties: - nuvoton,npcm845-udc - const: nuvoton,npcm750-udc - reg: - minItems: 1 - maxItems: 2 - - interrupts: - minItems: 1 - maxItems: 2 - clocks: minItems: 1 - maxItems: 3 + maxItems: 2 clock-names: minItems: 1 - maxItems: 3 - - dr_mode: true - - power-domains: - maxItems: 1 - - resets: - maxItems: 1 - - reset-names: - maxItems: 1 - - "#reset-cells": - const: 1 - - phy_type: true - - itc-setting: - description: - interrupt threshold control register control, the setting should be - aligned with ITC bits at register USBCMD. - $ref: /schemas/types.yaml#/definitions/uint32 - - ahb-burst-config: - description: - it is vendor dependent, the required value should be aligned with - AHBBRST at SBUSCFG, the range is from 0x0 to 0x7. This property is - used to change AHB burst configuration, check the chipidea spec for - meaning of each value. If this property is not existed, it will use - the reset value. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0x0 - maximum: 0x7 - - tx-burst-size-dword: - description: - it is vendor dependent, the tx burst size in dword (4 bytes), This - register represents the maximum length of a the burst in 32-bit - words while moving data from system memory to the USB bus, the value - of this property will only take effect if property "ahb-burst-config" - is set to 0, if this property is missing the reset default of the - hardware implementation will be used. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0x0 - maximum: 0x20 - - rx-burst-size-dword: - description: - it is vendor dependent, the rx burst size in dword (4 bytes), This - register represents the maximum length of a the burst in 32-bit words - while moving data from the USB bus to system memory, the value of - this property will only take effect if property "ahb-burst-config" - is set to 0, if this property is missing the reset default of the - hardware implementation will be used. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0x0 - maximum: 0x20 - - extcon: - description: - Phandles to external connector devices. First phandle should point - to external connector, which provide "USB" cable events, the second - should point to external connector device, which provide "USB-HOST" - cable events. If one of the external connector devices is not - required, empty <0> phandle should be specified. - $ref: /schemas/types.yaml#/definitions/phandle-array - minItems: 1 - items: - - description: vbus extcon - - description: id extcon - - phy-clkgate-delay-us: - description: - The delay time (us) between putting the PHY into low power mode and - gating the PHY clock. - - non-zero-ttctrl-ttha: - description: - After setting this property, the value of register ttctrl.ttha - will be 0x7f; if not, the value will be 0x0, this is the default - value. It needs to be very carefully for setting this property, it - is recommended that consult with your IC engineer before setting - this value. On the most of chipidea platforms, the "usage_tt" flag - at RTL is 0, so this property only affects siTD. - - If this property is not set, the max packet size is 1023 bytes, and - if the total of packet size for previous transactions are more than - 256 bytes, it can't accept any transactions within this frame. The - use case is single transaction, but higher frame rate. - - If this property is set, the max packet size is 188 bytes, it can - handle more transactions than above case, it can accept transactions - until it considers the left room size within frame is less than 188 - bytes, software needs to make sure it does not send more than 90% - maximum_periodic_data_per_frame. The use case is multiple - transactions, but less frame rate. - type: boolean - - mux-controls: - description: - The mux control for toggling host/device output of this controller. - It's expected that a mux state of 0 indicates device mode and a mux - state of 1 indicates host mode. - maxItems: 1 - - mux-control-names: - const: usb_switch + maxItems: 2 operating-points-v2: description: A phandle to the OPP table containing the performance states. $ref: /schemas/types.yaml#/definitions/phandle - pinctrl-names: - description: - Names for optional pin modes in "default", "host", "device". - In case of HSIC-mode, "idle" and "active" pin modes are mandatory. - In this case, the "idle" state needs to pull down the data and - strobe pin and the "active" state needs to pull up the strobe pin. - oneOf: - - items: - - const: idle - - const: active - - items: - - const: default - - enum: - - host - - device - - items: - - const: default - - pinctrl-0: - maxItems: 1 - - pinctrl-1: - maxItems: 1 - - phys: - maxItems: 1 - - phy-names: - const: usb-phy - phy-select: description: Phandler of TCSR node with two argument that indicate register @@ -240,87 +60,6 @@ properties: - description: register offset - description: phy index - vbus-supply: - description: reference to the VBUS regulator. - - fsl,usbmisc: - description: - Phandler of non-core register device, with one argument that - indicate usb controller index - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - - items: - - description: phandle to usbmisc node - - description: index of usb controller - - fsl,anatop: - description: phandle for the anatop node. - $ref: /schemas/types.yaml#/definitions/phandle - - disable-over-current: - type: boolean - description: disable over current detect - - over-current-active-low: - type: boolean - description: over current signal polarity is active low - - over-current-active-high: - type: boolean - description: - Over current signal polarity is active high. It's recommended to - specify the over current polarity. - - power-active-high: - type: boolean - description: power signal polarity is active high - - external-vbus-divider: - type: boolean - description: enables off-chip resistor divider for Vbus - - samsung,picophy-pre-emp-curr-control: - description: - HS Transmitter Pre-Emphasis Current Control. This signal controls - the amount of current sourced to the USB_OTG*_DP and USB_OTG*_DN - pins after a J-to-K or K-to-J transition. The range is from 0x0 to - 0x3, the default value is 0x1. Details can refer to TXPREEMPAMPTUNE0 - bits of USBNC_n_PHY_CFG1. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0x0 - maximum: 0x3 - - samsung,picophy-dc-vol-level-adjust: - description: - HS DC Voltage Level Adjustment. Adjust the high-speed transmitter DC - level voltage. The range is from 0x0 to 0xf, the default value is - 0x3. Details can refer to TXVREFTUNE0 bits of USBNC_n_PHY_CFG1. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0x0 - maximum: 0xf - - fsl,picophy-rise-fall-time-adjust: - description: - HS Transmitter Rise/Fall Time Adjustment. Adjust the rise/fall times - of the high-speed transmitter waveform. It has no unit. The rise/fall - time will be increased or decreased by a certain percentage relative - to design default time. (0:-10%; 1:design default; 2:+15%; 3:+20%) - Details can refer to TXRISETUNE0 bit of USBNC_n_PHY_CFG1. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 3 - default: 1 - - usb-phy: - description: phandle for the PHY device. Use "phys" instead. - maxItems: 1 - deprecated: true - - fsl,usbphy: - description: phandle of usb phy that connects to the port. Use "phys" instead. - $ref: /schemas/types.yaml#/definitions/phandle - deprecated: true - nvidia,phy: description: phandle of usb phy that connects to the port. Use "phys" instead. $ref: /schemas/types.yaml#/definitions/phandle @@ -331,16 +70,6 @@ properties: type: boolean deprecated: true - port: - description: - Any connector to the data bus of this controller should be modelled - using the OF graph bindings specified, if the "usb-role-switch" - property is used. - $ref: /schemas/graph.yaml#/properties/port - - reset-gpios: - maxItems: 1 - ulpi: type: object additionalProperties: false @@ -350,67 +79,13 @@ properties: type: object $ref: /schemas/phy/qcom,usb-hs-phy.yaml -dependencies: - port: [ usb-role-switch ] - mux-controls: [ mux-control-names ] - required: - compatible - - reg - - interrupts allOf: + - $ref: chipidea,usb2-common.yaml# - $ref: usb-hcd.yaml# - $ref: usb-drd.yaml# - - if: - properties: - phy_type: - const: hsic - required: - - phy_type - then: - properties: - pinctrl-names: - items: - - const: idle - - const: active - else: - properties: - pinctrl-names: - minItems: 1 - maxItems: 2 - oneOf: - - items: - - const: default - - enum: - - host - - device - - items: - - const: default - - if: - properties: - compatible: - contains: - enum: - - chipidea,usb2 - - lsi,zevio-usb - - nuvoton,npcm750-udc - - nvidia,tegra20-udc - - nvidia,tegra30-udc - - nvidia,tegra114-udc - - nvidia,tegra124-udc - - qcom,ci-hdrc - - xlnx,zynq-usb-2.20a - then: - properties: - fsl,usbmisc: false - disable-over-current: false - over-current-active-low: false - over-current-active-high: false - power-active-high: false - external-vbus-divider: false - samsung,picophy-pre-emp-curr-control: false - samsung,picophy-dc-vol-level-adjust: false unevaluatedProperties: false @@ -438,33 +113,4 @@ examples: mux-control-names = "usb_switch"; }; - # Example for HSIC: - - | - #include - #include - - usb@2184400 { - compatible = "fsl,imx6q-usb", "fsl,imx27-usb"; - reg = <0x02184400 0x200>; - interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clks IMX6QDL_CLK_USBOH3>; - fsl,usbphy = <&usbphynop1>; - fsl,usbmisc = <&usbmisc 2>; - phy_type = "hsic"; - dr_mode = "host"; - ahb-burst-config = <0x0>; - tx-burst-size-dword = <0x10>; - rx-burst-size-dword = <0x10>; - pinctrl-names = "idle", "active"; - pinctrl-0 = <&pinctrl_usbh2_idle>; - pinctrl-1 = <&pinctrl_usbh2_active>; - #address-cells = <1>; - #size-cells = <0>; - - ethernet@1 { - compatible = "usb424,9730"; - reg = <1>; - }; - }; - ... From patchwork Fri Mar 15 07:24:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13593098 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2057.outbound.protection.outlook.com [40.107.6.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71258179AA for ; Fri, 15 Mar 2024 07:25:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.57 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487506; cv=fail; b=GB8wdueUrRi2SKWmqjEQXA97ziOHTbhEodCJH/7OYZTkoUT/BDT8tOGFC6WDZt2DfD6d07gu6LePYJHIJFDHXiit+SH7DPkfSMNcpvKWlTvF04X/B0LeFBMYz0VcK256nI6/3xl+CRbtwO7a+AbMLnarTe6TCtpk8NOkss55d4o= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487506; c=relaxed/simple; bh=jWUjkbVPpXyiuIUgK17rG23Qskholwn238TDWK5EhyU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=MmJY0/i+v9wbqR9Z50LgcQgnwiEtyySdNc8qafzP4aOktWFNsdMUU7X+tDHiDs5RFsDKNkPh9KKabgLgyGbf9SP7nTsbdHwlq+nmQ3l4nCZlP0xgVtUEhE4uLhOvT8K+5s5d2YgxNN0QVGQn/lV10PpOj7sQ0eOGS2GZEs8W2I4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=AlXrq1Y7; arc=fail smtp.client-ip=40.107.6.57 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="AlXrq1Y7" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FPOgMhEWilfa47/UOfaRe5AHPD4V70H5rdLrYYa8bMRyc4WhCaicEx5oRpS/8efVISlvv6jWMRj9Vw/+WgidsCxOZTFriWyV9py81rNcb2aWmJ1ecrk9zXVtm5Rb7J5895+sXKF84yqewHz0+RyKFhV1duALl/tcC4GSdtO5QWm9lcZWVRle5KozlPS3fu8rG2QPYwaohXHv3LxIdaA5i48/kkxmr2UCkrFGUfdEZWHbnQaIzf/TWUZkiFhsNhk8nEpbYxy9+dOg96V67AqfKKP09ITeKgiTBagbWvY+zjgQb8dR2s4d893/Ja7nzUimtG/vGqBhR1cih4dfu4gttw== 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=ceSsEBGoD9/4fEJSFOCyeMAFG/8/IENQriopQczHw+Q=; b=BT2UgOqBn/If78bAMKEpv5LavgunIPWGU+6DhuZ+UV2CGM6N9D3yxWegmyZxG+9+6uApHJthf3HQqx2oyM8JgqYu8bll0DKgCJcbpIVGfrh8yKgx+SsuGJuM8QRCLFVlwwkTN9YVqdR6eeWN0RjmhjU1NRlsIw+rTJ3wyZ+07exczrSu9wmph2Ion5XmTFBVL3T09TcXZbzNKzyDO3dtc56gJsK8+64T/Yzl9k4CXEADy1m5ks1aK1F1PwG6/M7qJfNw/aXYcSowolqDDH9dSTWXqEAdlk89uyFt0hNF9+RxuzsEqi7wTrNqOlXmLWIlEJqpiXTwGMAen4NDWvQDRA== 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=ceSsEBGoD9/4fEJSFOCyeMAFG/8/IENQriopQczHw+Q=; b=AlXrq1Y7ih+lVUe1doKK8FueDmmTiBXfWhJRi0vYja2PLiGvhowHUYxZX4ZBfmgmk81edrZ0il2nAe1mjp9LdaISWncwqF/DTkXy05p2Egz1+Moe1w3MsvBHU8/VmS+VrB8ZxhOcASepJnp8xKOOsApo12p8P9ibnrS3rrgUdU4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by DB9PR04MB8332.eurprd04.prod.outlook.com (2603:10a6:10:24f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 15 Mar 2024 07:25:03 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.021; Fri, 15 Mar 2024 07:25:03 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v9 05/11] dt-bindings: usb: ci-hdrc-usb2-imx: add restrictions for reg, interrupts, clock and clock-names properties Date: Fri, 15 Mar 2024 15:24:49 +0800 Message-Id: <20240315072455.2481613-5-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240315072455.2481613-1-xu.yang_2@nxp.com> References: <20240315072455.2481613-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2P153CA0043.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::12) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB8332:EE_ X-MS-Office365-Filtering-Correlation-Id: 51b170a3-6b11-4944-2e35-08dc44c107da X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: eVnRqYyNKDaeWwAGo/Lspra55RspajOCejbPxhssQHRJzz6zIUaYJdi7XxoEjDd0ZK8inw3azRJHaObpFStuiv0tPHhJpH2swHPZW72IQWV7Ngs9aVxfCcSiTeTik940dn3XJC4bf8+D1BpRo+PCHEvWmdTRtmqXi6iMkpqpq0Cekj49/Dy43LHpU7adYH1Kcx1fQgD2Keb/PZ715WOkErmSYEYazvMwk/iy2TlEa9HL0lc36LcZMHBzaOtmkmeipGceYf4rwI1vk9t+l8B1f0w+Dutbpco9ceGWrKRHvP6eNCFXPljU0BK4RbjumPSqFi0Hp5GtnD/fo1P6YCqyf1plpuKaWOjIeQiHs+kRRK6rpkbNJOdGLQcv9p04RhsHn1+iuNhFxHfVNbgGLfxY8FUHf4JMSnjwFGb9/6/qFN4fyUSqQs4btEOokHbZi/KKpINeS08W7uKjDTGF1c1/kmvA1lt2fS03Wga/6Icic2DXDw3W6QRbTv/ABL8x1R22I6QZz/0hsgoDeguEOYS4FvfDWl4v4w8aqncmXN9d/7M4hTL39oGZwwa360PLNqwqnFeHTN1UdSYUXEcutW2Hj243ahF56RsWQRtQCunXvPB+ez04Qe2ZxItCaWSrTNJBmbLJtpjr3vzNKZGT6ApkIC/VdDFT4vMcEz9mIzJDVyb/fEKWpkz58dfgHS4vQmNVrgYpHiHZ+m33Xch2PeVxnsmLQmsKCQHBoYSxOqw70w8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZlcsgwYAEiPTcVPSeE7qU5ZaRAtGYgJKCRyuw3QRTQJvfNc9FTMbVnfi86fVCu+a4Gy3il/HdC13ya+eCP31Jc05MiBju6wERWdVqeVAohrtU9aZmi/zvWuhnmZ7yZbG/AVK5IDrSCd//btT3A0rtPUP5WA/vr3biMcWiOtfGP6CGg7W1dbZ2fAZ8EQ79AOb6e0RE8oYiCL9Wx29bXMdownSpS1lEcrg3nqXUGdRLUup0ePVNIMoO2sfoD04edUKkfZ9nSEyUS5hLrzKfeFKOFLIXNL0naCw5g/2wiEbUg6Dj9/QyI2bOG8OV6b7eHWZU/HWpYvwRiKL51biDQ60scTKoA9wCNpQ6Cx6BzZSjzEH/w14245pfB2uYXKyMfgedlfXlsQI9vJ+1Owq/X0wPDVm1TbYdGRhIltx30eksdB3eMXOm9wi9ShLBBkEkxJqC1enBNW9vOSOVC5zOgBxw/TLmMvNMbU5Ju5bT7Jns/TJQ0bkhxpwC5bY2L7oXXEtxVj23nLTJBid97wViDLtqTc5igHIbcS0NkfeF+RIW2yAZV9ZQ3HCNxSpZpVlj2hD23jEbax0bQhg4BySTI8QpQAL7C+YJEUMA2qWtJrd68H0f5MKGWgeo/TKY+fFRNyd+/d3pJ83BG/OP2739hvRIn62fSewtgxx20eThY6lbvEAZO2mWDpCKZIUyj/zC9btOrgziC+wektEk39v1c+2AncJJ+GRACgpy9htUD2uWGcdEQX6sTlaTcjb1mT2psX6C4BzAfyZQkTmh9dA2liLwHHcxJR9Znsb9ilzcSweMtVH8J6GsdhllltC/rPmwjpVR/0Xcb6X40vpBQA74XILyAoR4XkBi0IIv9H39EQdqe6lVa4iCDdrxkxsaqPN7Z69xEdG/k70bOXNQn0eCHAEnaQer7UEN1+4CeR4g0jSG45DTSIUgn3Qft9KKVOTH8zAXHUCQprVqYDwpXKSz7Fbn56NcNWpx3WybxoCxx+KY+hdBLV3oGnz8jVnaYJXIfF64UhHDZg3yV1xXj3DRbRmrquHY2eiNxbYdpnEJGJAi8J168cvWIvapUEmY0DWuOIAVmCIbixCazQAtQaTiPJDSXBAlz2y2l6mtrHhjCs42CaWAAQqBcwEOo8fvJgYK58mned4jcUy5kA39EnF0eqR4jBwMK+GfzPSfR0/3KduBgMWoMhqVo3kM4QjlX1aLESteUslMwoiRCXYAA5Qutz6ApjCszJDlFJCRhvZAgZJRjTd998bmaKsvCBHUkeGjO2dABSfKmVNRXXp3rqIDCNyUuGGov2TjU+LGvT4nF8zO87nK+sV8Zp2TZfl1tSpv30VaPNeiYcMjINy6sm1dP3sbtqMCthMIOFKUH3OW4oi1dZnnZpj/YLEcigUqlh1/mwqiYwNhQnhuRH/RUW+NjTkMjJR1VePbe+k0KJ+OT7sCORp7f7BfOHQhmgibznmILoe6ES4Y7HbtDuh/x69NQ44SJdtWaUkBF+lDPAqpiAaYVbpzMk2zMuofypGvQHvpBfwlmQcW4/zEoaIhHp0NvbQU5NvWJLdcd0hVyIiPh8zqs+B0v6zhk7IiiVbvQsX3ShT X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 51b170a3-6b11-4944-2e35-08dc44c107da X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2024 07:25:03.3458 (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: /Qkds8SN13OJI3OtrpUssXGS5/O6slY7hMa6DkVl8nCvco5N+lbPM0Ws03UaPmXQXO1TQpsdIDDVad8XlzqC5w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8332 Add restrictions for reg, interrupts, clock and clock-names properties for imx Socs. Signed-off-by: Xu Yang Reviewed-by: Rob Herring --- Changes in v4: - new patch since v3's discussion - split the reg, interrupts, clock and clock-names properties into common part and device-specific Changes in v5: - keep common property unchanged - make if-then more readable - remove non imx part Changes in v6: - new patch based on ci-hdrc-usb2-imx.yaml Changes in v7: - no changes Changes in v8: - remove if:else:if:else:if:else block Changes in v9: - remove maxItems - make clock-names if it's not needed --- .../bindings/usb/chipidea,usb2-imx.yaml | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml index cdbb224e9f68..e2eb60eaf6fe 100644 --- a/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml +++ b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml @@ -49,6 +49,12 @@ properties: - const: fsl,imx6ul-usb - const: fsl,imx27-usb + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + clocks: minItems: 1 maxItems: 3 @@ -144,6 +150,76 @@ allOf: - const: idle - const: active + # imx27 Soc needs three clocks + - if: + properties: + compatible: + const: fsl,imx27-usb + then: + properties: + clocks: + minItems: 3 + clock-names: + items: + - const: ipg + - const: ahb + - const: per + + # imx25 and imx35 Soc need three clocks + - if: + properties: + compatible: + contains: + enum: + - fsl,imx25-usb + - fsl,imx35-usb + then: + properties: + clocks: + minItems: 3 + clock-names: + items: + - const: ipg + - const: ahb + - const: per + + # imx7d Soc need one clock + - if: + properties: + compatible: + items: + - const: fsl,imx7d-usb + - const: fsl,imx27-usb + then: + properties: + clocks: + maxItems: 1 + clock-names: false + + # other Soc need one clock + - if: + properties: + compatible: + contains: + enum: + - fsl,imx23-usb + - fsl,imx28-usb + - fsl,imx50-usb + - fsl,imx51-usb + - fsl,imx53-usb + - fsl,imx6q-usb + - fsl,imx6sl-usb + - fsl,imx6sx-usb + - fsl,imx6ul-usb + - fsl,imx8mm-usb + - fsl,imx8mn-usb + - fsl,vf610-usb + then: + properties: + clocks: + maxItems: 1 + clock-names: false + unevaluatedProperties: false examples: From patchwork Fri Mar 15 07:24:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13593099 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2086.outbound.protection.outlook.com [40.107.6.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C78E517C76 for ; Fri, 15 Mar 2024 07:25:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.86 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487512; cv=fail; b=ZRq1o0THYNqxkFJ6XDRUB0rY8E3UGv/7zx8Q0WVJkw7VTZkf/9PjByWc+y5PE8o0moWZ4fAGAy7g7liXd309/RD5/mEz+Btl1VArmdiigLv7Pq/Yeo6cqUjw702YodkVaaCgBIlQuCFufVFMzwLvHJ5WwB3rnFegOGQ22P+gSeU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487512; c=relaxed/simple; bh=Jyp2cxDKcdQkoro5NIeATc1XtI79XmdMYDrbyqxHXJA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=gdBPXCCIjTke6R2EN5Zyw6yKQtJ9QUYZb2BOCj4M2DWtEIt12CYkjRVkDOVVTemvF61Bt9V80CuRSQ+miglLj9cwI3/joZkz8Z+aDm/dmMiQzNr5UoTBs2Mzxu7FfOG7KjkCQB727XsFLb70cFm0UkzK5NYcXUDfP0Sgq3sUbV8= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=pmDRodPw; arc=fail smtp.client-ip=40.107.6.86 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="pmDRodPw" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XOaJ41g4OedxYX2nxIUBn/r0DaKtQWzflsswF3uiSwmfzRybnGWjJ4sSml23aOkNlcrRlLbxp/xJqhUpPvTj6S3RgzqacLq43T5IpFdq3t3iubNXBwJ7eJkQhLujrv3Q1hBFld2AWImLARtojlxHB7txCgZaOaLc6g2/UmKLIQIAO2U9/JczQf9oL8QOJbgLU27VQTxN76IfslMDl2gLr8aeRPbpl32rR4ZTS0ceIdSoyEgYzDYJwSw5o8o27bgqH5mq/UVdFzlzyXrQr06ebiBIyN7lPsXJwPWkRJTz/7zsAvINI+3HBk0f0ORy3J4MLWv1Ff0qhDwOqXnFbWnbNA== 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=8LzmuZUn3wfVs7+EBkFSeN2WegzeKY0qUXBHUjJwGbc=; b=kfcz0TIR4TAcq1BLiBIxyLjFDdx2WK9jMc08H8j43PQwGf1p7EwhDC5ur7/iA2BLNQDclemtGAzxYJvizERQkiJ/CMrYIFC947q7b7bNOCC1nc1QoqyZJVjP2B7T1PT0rPyLqhV8FrSC5OjFIidpXF0BtwN6Sc/9cICNY/YPplQTfKXPTDOcMmSwWn7f0IhVnZ2pAOykjX70MqrF/CVfbAlx9AX+NMG13fKB4g5euyvXEtmao3V9vU0JP8xugHeXvo9QZhBklwHmztoN7JLkij0oq/MfybD7x2XBfP9ytMGHdlkdE4GOkbV977HuaDMzRPkgKF6E985/vEakTqIG3Q== 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=8LzmuZUn3wfVs7+EBkFSeN2WegzeKY0qUXBHUjJwGbc=; b=pmDRodPwNrT8eSDNPL/RVS2AEUV9TI+2KOAHqjq/UPA7hwTAtGoeHAyaDHqpbga6cdb6GtVZVJSTbWt1LJQdQPhxvVay70jim3ZeMh7kZUJKm0hZoG4QPGm/avv4pqLFCBstSmnYxWeEH01MpfoHXbugWZs1jwp61vVuogxc7kk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by DB9PR04MB8332.eurprd04.prod.outlook.com (2603:10a6:10:24f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 15 Mar 2024 07:25:08 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.021; Fri, 15 Mar 2024 07:25:08 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v9 06/11] dt-bindings: usb: ci-hdrc-usb2-imx: add compatible and clock-names restriction for imx93 Date: Fri, 15 Mar 2024 15:24:50 +0800 Message-Id: <20240315072455.2481613-6-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240315072455.2481613-1-xu.yang_2@nxp.com> References: <20240315072455.2481613-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2P153CA0043.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::12) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB8332:EE_ X-MS-Office365-Filtering-Correlation-Id: e275d3f4-e938-4d36-40b3-08dc44c10adf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NGJl8Q4TaZ6rV/86bLO1aPM0hCneayrM/YHXXIX1fLPJRFTbI7/qpAkHVn+NSNvUcUZVgYDqlaOxKe+sw3GxNQqfvKfzX6eCD1KiGGBs/D45Oeb4amfwTZzoab8gsERGdApxBICVPk2zl6HTiZ5gmg4DOGlmkM9KW256ZmBhCuWtuNEpVBj8gq8gcU1OJjomZ9jGXZdBpWfFodK4SKxKfGEGAG+kumfv1BvJonpR6/i9q31b8vvEfALEeKAGy5M/XN7QT6B32VoTsvSdMrRbpOcAKUsVuI9GziSsGmLNweiocnxDFbOvCOv2oPMgkgMSLpENLRV98+yagizilxhhZWkvMb1Np2jVbGp7KT0CC40D9IT2WYwUk/F+ZCrx+Jc3FfXUHPqWPkU583k2DkGC/KKyeZrDS2w+VisLDqNqWBRK9mDszd3DYddTZlS67FsOK9b2lD4BriTfO2HeE+BnVMxVfNjCy16Iy7eZnk9h6ziOmWztPKuQ/taqI4o5f4tZ+4/5Y8pv/cwd+ttxiVoeqBh25BSbKypGYP/vJ4DWHLTfQqMLA/D6SmWy4Pg2bw2tpebTsmdamSJ2Cle3JyeIqM1FaU2E9oDnnzG7nkR2WDL7ptfWR57VMtODJNZ5sPyIvtx5odvvH3Q7P+JcfoStlZltq33v0zn0I8jOpVBydxaAjcVVIA2TVtqdt13wc13x5Ti0Rfcas1A5RsCou0WnvQ7Rz8j9aCK6Yd18BLZ3Ixs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: HvLMszsULjH6oK0LS/HQJ4nXYpG7XT+/VCXKY3pjVr4Tpjyix1GoQQAOhaKax+4GkuUWuCPJEK5KzuaOlVIST5vhlBvszQzyx8Nm9Af521N+uceeG9yNNCNMm7JLKOUlfn1wrycfhaJ8g60QO+un8Jjqr7p1t6HJUaky+h+TwhDKB4L8TQRb4c1e5pB1noU6NsHu1DSH5yZGZD8x8FY3SYelWrXZyhTgpB9UAguGMOoEoE2LdxNqJXLta9uW722+PTS7Yzn1dmOzpWgc97svaT3u9dFoYw71XJxQcR96hRB2zgdRx3jSNHHQyKJz0bHF+uRQpGUeQFXLS/ojmV17ghzwVI4jYfHkJb0W+vuJ9FEsjEeuvFsVJiWBfWCzsgy46OFRQSbYiDmbBosF+hzuzXsGHA9rb7ILGf8f/7Uksyk+OZ9rJThX58K5QS/OXgzL218D+CLf5Qa8JomMkA+/PtTVtF7NnQ3Y9C6EdtQfrIHsItMDIupf3qlOSM8d+TQnwyj3cnqiy/xYcFHnFFeOpfiaoldxYTUn0wwrPzVAxO/ciJI3j7Bu68K1xDRvGlZe75Vqa6ACDzLVwmnf+Jz/GW5DpHu4RAyIrPD7zYB21OfFeo6F54v8JI+eBcAkrbunuqFz1EmU7XkfQDghRZzGU6fHy2C0UfoPBgGL40wfa4henIXvOjFi05p5W/Cw3SzNAY0MuKXktGougvFgHRMUoXTgvlFhtRNpjUGgqmXJCYTBEFJyBfUhlhcsvbrgig+C96086EEKG2FNnVjbhWvOq4saWA3TV8M5DObNY++sS7qTfCAyqOn7ifKcQQ4M9j8KZAAB0tz77zD7fgwD19zclKXjfaa0T2gwn77hNkAhe+kvhSZD+iBzODeBOGUmWBgldrh7vBKz5EPO+951Lef6YexyghRk+5r6ONMdfakZ19TT74e7lieeXlzpqYHPKLRzuaRbmV83bsrEi7Y+2RgNYb7oTngRy2zPRCgFfITlsULmwNUjTyBViV742yU6Z8dyNVHpdSjG8yZSz0p9mVx63NDZHi3y5ItUiG5QBZcrRCHDB7bAHvuuNtHxQuSJKWN08xjFkkBkiZVhzbq2IEekweOlvDkX89Gm/csyHPsrHE+U0t4lTOOmReKdLKf8HYyOmqvuPpF3OjFjf6fbwuZvrjhNm5QXoxQ78Ys6hvkNJcloAefWodbSehXWzPaBDOHZ1NHLVAliW8Dj3vZL3NJRt1yFZI4uXD8iTy33RlGxC/VkhGI41cyn1+0TpHB8Qz921eCTgvq4wZXSSaz28U8Y7o3UyTP88gXOfebxGxVwvp34Bf8B1+t0UO5V7h1wgxuX0xyelMCD1uThPQ7d0XY3JHrBv3bhFecxY/dkgOfYSwD6EbF6sUERYh9QJdQS1FGxROGgLU8WHslKsvikCrF4jyqbYRVV8gphbeT8xlPPSm9SJ1GwOiS16Z/KLzWMsKcjydCoNkKuGXc2VHE3Hvbos7310GqPlwTBrIHc4Z+MiPoWcWFkmVNhum6tvD6x84By3x7Ntdg1bY6cm8wn4PqzD8h3d7pKwKsg2UTOcr8aMMlFqDciNy/J3rVQGi0RaOVj X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e275d3f4-e938-4d36-40b3-08dc44c10adf X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2024 07:25:08.3457 (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: DwtQ8xM6Sj5QzjS2cU1EQhBphkCCvSRIMYr86Eg2ng4HDfLy8ZOdPwFvcIxF129ykq2wKDgZ+ca95qknlyKVVA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8332 The i.MX93 needs a wakup clock to work properly. This will add compatible and restriction for i.MX93 platform. Reviewed-by: Rob Herring Signed-off-by: Xu Yang --- Changes in v2: - no changes Changes in v3: - add clocks restriction Changes in v4: - use 'contains' rather 'items' Changes in v5: - rename clock name Changes in v6: - new patch based on ci-hdrc-usb2-imx.yaml Changes in v7: - no changes Changes in v8: - rewrite the restriction Changes in v9: - add Rb tag --- .../bindings/usb/chipidea,usb2-imx.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml index e2eb60eaf6fe..8f6136f5d72e 100644 --- a/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml +++ b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml @@ -40,6 +40,7 @@ properties: - enum: - fsl,imx8mm-usb - fsl,imx8mn-usb + - fsl,imx93-usb - const: fsl,imx7d-usb - const: fsl,imx27-usb - items: @@ -183,6 +184,23 @@ allOf: - const: ahb - const: per + # imx93 Soc needs two clocks + - if: + properties: + compatible: + contains: + enum: + - fsl,imx93-usb + then: + properties: + clocks: + minItems: 2 + maxItems: 2 + clock-names: + items: + - const: usb_ctrl_root + - const: usb_wakeup + # imx7d Soc need one clock - if: properties: From patchwork Fri Mar 15 07:24:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13593100 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2040.outbound.protection.outlook.com [40.107.7.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 679A818045 for ; Fri, 15 Mar 2024 07:25:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.7.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487518; cv=fail; b=qo64LphgqvpKllf0gyQMhknosKCJu5GUdDfJvS/gmeQXMhsXmRblvfa5XdD2Xtq4/S64Xgj6zOq7Zdn500juLTb9DTSI0sOlgyM7m5X1UhvAZ8KTsEN+61iDcyOOkU7jSgDG5db5TOUYhnMEsiavXD2g847PjfPJ4ktpsVNxtFQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487518; c=relaxed/simple; bh=iuxm19hU13iR8g0Es5bWI+8KhUiO3L5J53875hiuIIw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=s3UcdbXiZeYuoPS9Bv1LWW3NjA0g3Ay/Vlb8ih4vvTqD1bl5SDol0fibpOFAeGWd90ze69sbIehzpLdaLcotdlhoVCjwPhTjG1yNFhdfDfEKlJgbr3w34P9w7NHTlFes2dM05d+puhEW7MO+w+CDJFeSjBwgnQxaoZMdfhZ5ARQ= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=FOOWL+iW; arc=fail smtp.client-ip=40.107.7.40 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="FOOWL+iW" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AmH2zixGOEm5rR+z6+9akvtNZolQXcyXLI+uG9d7m73MmNPJINcC71Dub21a4nicuGfP+Osf9MJ95a6D0EyHD8k2+Hf7bYCYiZZsVZ4L0oUxmWkCxW5XkH3xLslO+XikXCBJzUH4F5a2M1NMw5DjhAoVmcCNMzO+iEX5zxAKak4bAgUwstFTa5TIanstqKNd2jfmEnsgzLU1lYQfhDwzxPKQJISO0ol8IAKZPemwb6w6YK5OqC3807nCPiEx2HPhqoUDfCInHB9mZ9spnK/oXxk3br0WQWqy+1/kujew+Jm+HlAjloaDOQnU3UkhdGR+60j+qD006Pyun9fEn5KrvA== 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=DQ+MjCh4oK5/RQlIAAMaYxHzGcFLdlJacclyGRoZm+E=; b=REWJ/dnlNHpS6WediPwzt9VrX2w8cqCvZzc0OJ9kbnD7f13i2QmJUruCNRg/NUQmXovE7QQrM2w/4Uldog5wYdkTJ3L+7ojwcYTETVGLiX6YTicwJfF1OZZHqr8zXJmkqb3gbWj+9ZaT63OFtk3VSLHtVA2iRqc9wo4TEVthqXocpyvR6oxsGNx+0vWXerRCO5n4n9+Rjp5sd1WsSS8XakAkYa9/mQJGIGf4qXltj8e8zeoaliB7d6JIh/QGImQBgASJDKIARDFb20UOLiidGbLKMHjKSPAisPhIl2XnAwpyoa4+f5Ums7yrxSS+tZKitmAPCs61KXPTnndaV6BeUg== 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=DQ+MjCh4oK5/RQlIAAMaYxHzGcFLdlJacclyGRoZm+E=; b=FOOWL+iWS2A2BandsF7w5a+AosvF5cgcUe6PW32sGpdyfzAV6oV9UpOMczAS4avgTfQAVY5Y7dltGJkXmit53O71hZcsyx3AQY/S53mJZmBLrWj/OV8yPzGqP9TPhFvUDEq8w3jUvJyz2s7OYBhmSryqz3TlCgw7ws4OG0PlkyM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by DB9PR04MB8332.eurprd04.prod.outlook.com (2603:10a6:10:24f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 15 Mar 2024 07:25:13 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.021; Fri, 15 Mar 2024 07:25:13 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v9 07/11] ARM: dts: imx6: remove fsl,anatop property from usb controller node Date: Fri, 15 Mar 2024 15:24:51 +0800 Message-Id: <20240315072455.2481613-7-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240315072455.2481613-1-xu.yang_2@nxp.com> References: <20240315072455.2481613-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2P153CA0043.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::12) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB8332:EE_ X-MS-Office365-Filtering-Correlation-Id: 1fa46286-2628-4829-a0ec-08dc44c10ddb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: f0NJmFtIIrlGT1w4z8TJchVF3sgwR0pTFhFJdPKSJT0bjJuX2kUNXD6+i3PCZjGC7oxmvAQVIKYZefpsAmdlQ/COOnTOr/ugZgpOZoIuJ442JG9IOEqBDyxL44+GSwVt1jnlwLrC6UVIS7piFJsY9f7tNjf1jm8ZFtsZqAq5qb7Gsh46xz0ZOqADCfxPNBTA2t0ixfBFdKFSyy94iT7P6m6w04CGB2tWHqMoCPNiBNdIFaYmPqVOjdiM7QGs5r2y0jlmZNAjBghAxwI/Odb4/6gYvyV34ARcX8VVFMxLz/fAqk6edEtJqYt6IRXwuHcWhXSndVcocHAsfC9OXWy+DfoQHa1qTKLBCffQYaIZkngb4xb0qABqnA8uQxgsi9WnEmaQTlllVpL1hnk1UBlC1/tEfpaR+Zss8hPc3IninK2Ot/FrOiGbbS6jeS82Fsa0JjGhMnX6AcdCxQcthvgEiGP6OFQY2GbQ7BBfjrbQdawQcMmyKmg9IHRJ3RWosDIfG/4nBm+1lEeNhZuKEiXEGF2mEtuIdwUBD+twA/530GP3TIuslawqHGzcEtlkuN67WXlzTKmowQ7o6WsLm/RyWPo3PSOKAn0hsbMLLuV2oP0usuSqwad9CuQsB1HlI13FHMnJgzlnLRgMGy2t1amTnKPKIg8qF+Mv2vK82204J6leef/ZubtvnIRgiXTzzM4EHunmQUYo8KKSUSta19416Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Cucy0LJnZl6yzPELXqdcPxp8QuvCgqpeGeulgVZ87xwefmBYO4JAIC1DjAD+DMqQanUJ5/ZpOIMctO+rWA9OvVHUYNjxQCC+DgE4hh2WPJXL/si8xtdl2S5muq5cklWgVYEVOxC/LHAarMZaGjUaiPrKJk8wdBBKkoUH00QcJsbM63Izfxhr2R5aVEGrTOMKdgZTxuBMthkU9fDFKEKTR9sDKDl5FENDr5SVrvhgOKHNTJRm8kKaA5qM9FFT4jpDQHAPkued6ppxI0w/qQg6IIRooLPaXo9wtybMLs9+NotgyFd6N00Hj5DhHDWvUuci9TVpZUdaH4aowyWRgsrNpurBUk+pDZ3pIHZIBpOiRs27UkuOcJyTcvFenPebTFLbsrzB9YBZkYguPSNbe2tPvAWwJu7H9Z/0W6cO0xRe0q/lRnQaIa5z/CXaE3RcfxHLvZpiDcTOusP7xuqw7696rrRCjaJ5OH0VmW2XNFxg28VbS1JvHuvwyvatrWOuFBBi1qpxHkP1SnSaVYmrqaFHlOa8SzLyYBfGdQafTP7/eSmvHkADvkBqWws1zMM1YGuiloyauRUda+Y+ZlCyMx3ekmCW+hCySKtkJRs3nDHPL2Dpvg7oqdL0fMg+sIKw9tNnwsRsr/TvfLt/lrsCllIFoGUCBSh9msZ0kDFf8TLfpemn3V85XIBWquGficAqUXChWC6ptQxvwGob3qwrHBaL91eG6Ch4Qbrk8qH1jukbLudUEyhbkbBVWGioLKLkBUMnPCaBV1H1x8GhMdZsXI4qZcY9Ib4CbO7DjsLUcwwTPSAzMTUmb+iRrTS4MY5w7FMfDdIsqH7E9pxRJ4a3BiutNUpanUn4fxUv8zgyDH2ioYDWyVSMPYS5BnCcU3TatEZm/BNYykAat3j+K0U7pdsaxQrp6S7hugR/1hGxJxQ7x9IGLV1lk94k5yHJGQ8abdtmZqeWVEEyPQXcOamemHGBZ9lV/QsN6A+84p7HKPW/tmHwgUWjpoMXpcAwuC3gi1KvyigRaupgm8rm00kXd28/EfjMwjPiT6b8e9upp2TVPEOT/7M7dzqaKJdkVSiZ00mMmPPpPBwsb5HGH7U3x5Akeq1Oxe3WCQETTNVOqstP/WKGULiMEbp14FPIXU/kVEnNN4o2T9fob6W7Hwh5bC+7kkavsh5A7mc/CWqx0bgkAx9CGRHqkKY7Hd9VDyOahbKhAGCMbwvG3SuPvCPwMl6ZAHdrWnkWL7jklZkqWsdJZD0sPlr63/LTv+R8Jh4PnOypT8C7WfTX3jiOsqzCA7SvyO71VeocEzZrpL7rRJ+FA5r7rgBiK0SIFnA2tu/1hT90SBn3Glvca7URb7FSodKrvk7+eS/2/8yRWxWlIpcp81X4FjkSpRI24PIWlMo9VQvOmXnf1TFk7gz9edITeyxzzgapqxtbaPkaVToNBzjdhvRYwRDcXJOAwS6XPp7X9TLIDgjtPXUInYd56cccbfpPjjR8MR/00XaFTx3fswbVPz3PzGIdxMQRjwJr0ciq4oyGl5o1oNTBgyELHSr5Umtdfq9kCt+UPQMpae/w/CsSbAsMkacBwKV8/6yBwFKzUMc6 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1fa46286-2628-4829-a0ec-08dc44c10ddb X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2024 07:25:13.4270 (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: fpqXjiYMe2xL7JGSVDKacZanmpthEARm5wVl83ocinZ3YoCWtbRN0duu2ZwnPznroxnlXFtjO1nWBrXxnLfRvw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8332 This property is not needed for usb controller. The usb phy needs it instead. Signed-off-by: Xu Yang --- Changes in v7: - new patch Changes in v8: - no changes Changes in v9: - no changes --- arch/arm/boot/dts/nxp/imx/imx6sll.dtsi | 1 - arch/arm/boot/dts/nxp/imx/imx6sx.dtsi | 2 -- arch/arm/boot/dts/nxp/imx/imx6ul.dtsi | 1 - 3 files changed, 4 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi index 3659fd5ecfa6..ddeb5b37fb78 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi @@ -683,7 +683,6 @@ usbotg1: usb@2184000 { clocks = <&clks IMX6SLL_CLK_USBOH3>; fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; - fsl,anatop = <&anatop>; ahb-burst-config = <0x0>; tx-burst-size-dword = <0x10>; rx-burst-size-dword = <0x10>; diff --git a/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi index df3a375f0a3e..b8d95957ca09 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi @@ -929,7 +929,6 @@ usbotg1: usb@2184000 { clocks = <&clks IMX6SX_CLK_USBOH3>; fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; - fsl,anatop = <&anatop>; ahb-burst-config = <0x0>; tx-burst-size-dword = <0x10>; rx-burst-size-dword = <0x10>; @@ -957,7 +956,6 @@ usbh: usb@2184400 { fsl,usbphy = <&usbphynop1>; fsl,usbmisc = <&usbmisc 2>; phy_type = "hsic"; - fsl,anatop = <&anatop>; dr_mode = "host"; ahb-burst-config = <0x0>; tx-burst-size-dword = <0x10>; diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi index a27a7554c2e7..9eb4eee0c272 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi @@ -855,7 +855,6 @@ usbotg1: usb@2184000 { clocks = <&clks IMX6UL_CLK_USBOH3>; fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; - fsl,anatop = <&anatop>; ahb-burst-config = <0x0>; tx-burst-size-dword = <0x10>; rx-burst-size-dword = <0x10>; From patchwork Fri Mar 15 07:24:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13593101 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2051.outbound.protection.outlook.com [40.107.6.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B2731863F for ; Fri, 15 Mar 2024 07:25:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.51 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487523; cv=fail; b=nL2ssgA6XzbuP33KX3AvERbhW1gmhMjqjcg4znRTde1NEcm7mO7F2KRXKsMfjUHqV+X0WQrxkhrfOQhp+YxCgXWamRlXh6nGNmJoni+0wCWSuJm5d+CaI9qLNx8YjhYUPQE750I/FMBF+O2DxT4S7GYD80wJzmxTzDTA0mDnzI4= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487523; c=relaxed/simple; bh=fa/YBworeohzz/UXthZEE06XYs/pp4XQt0lkKQIXlAI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=E53tThP9WMnrF6EL/PoVK2afib/29+xcf/k/Q0disHMs7NCHyLlhstyEaL7Fvt3thgFKVuWPJljIdapQ9AAperUiFF8stmFAXq3rxOehu1gh+p93chP8pSMZgnM8QG73hJ0za38/HW6ESwAQqeAtIi02G3hS1uh+3yMp9PQjuKs= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=cEjZMB1I; arc=fail smtp.client-ip=40.107.6.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="cEjZMB1I" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K01pD9Utbc/vpoTfrW1jmsMJ2WCYhIGWSbozzdJewWC2Nit5oxf0xn78n62CXhWpxghNO4iafhrzpLBJ2Y1rCIX/W8aCzWHfvm7DN6onsbaWeRLrRkIZgtj4mPRethpPb2kyrtJa+RzMfRX6nnjy9Im5WDcBT+NqrwESGyf1Epk7KoMexWhLWczftKHAGw2LLLenSNxptJpDwjKOys8OR+2PFHn7EtmFjuc491i906LSd4ohbX8tQtqHPGJj0FkNmfbQUcTI5lDqJpHdKZmWcwU2F7Hf0wQEwXZ0VVu0At4AChUYgxLY9SG+snaSnmhx/tp5j3LkQLqWSLqE+fkLGQ== 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=P8av7aGXGHjCKGNHRyn9BMYV1P78j7/mePouOMnbsuE=; b=hEcfCrvv3hAaQkf7yHvFhxKPZic/KPTN9IsPRjNWWcgSdLjFWaefMaeIS2o9FVrH4UseWGgCPoTOzhOWEK7/tp8PKZRVkvvwfbGlf/qrITZ8ysd+DTcG1F3fCvBgiMoMvkh3oMO+/2h2iKzCOROiACKOM53ZrycAcnez/qWwz/npIpO+n58mgv2G1++ep5h7rk1p7XyKPXuUSSfcWtkZ0hYyNQLISItcOYzHfAUgKwScVjhhI0JxIbyyrhhEzgDWJvcsxCjgAVy8Qs0BF1QvXXjdvIEXFM6eALqBgf2oGtjCOfOt3Nq6ua3sDs5xlpHiMdeuHjR9cIFBJWM8kE6e5w== 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=P8av7aGXGHjCKGNHRyn9BMYV1P78j7/mePouOMnbsuE=; b=cEjZMB1Ib0CRPSJywb2SNcw3vmp5Swl1JU4asFxVsiPHJgHBVQQxCtKgVJRlqFUJKtjRqflH0RTIhc0RAKEIyLx703lCTUiXZueUVMJ+jB/FsewwtafyWSCT7mN1Sf5ibGH2mnVEAS7Nt9myCU1roZISCEQGygE3kpUv5Hwy9MU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by DB9PR04MB8332.eurprd04.prod.outlook.com (2603:10a6:10:24f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 15 Mar 2024 07:25:18 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.021; Fri, 15 Mar 2024 07:25:18 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v9 08/11] arm64: dts: imx93: add usb nodes Date: Fri, 15 Mar 2024 15:24:52 +0800 Message-Id: <20240315072455.2481613-8-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240315072455.2481613-1-xu.yang_2@nxp.com> References: <20240315072455.2481613-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2P153CA0043.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::12) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB8332:EE_ X-MS-Office365-Filtering-Correlation-Id: 57d480a2-e02f-4ffb-8dce-08dc44c110f3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YbU5a3HUZ6eO2g4aImAsMCZZ1Oj99woDru6/zcwoFrIOYoGqwKcbH4iELlLeQ5vXop/O3R2hrnvs0Thwqrs/tL3gIrlpVPpxH8ZZbrowLleY6jdObyCyPcsyS1U3h/ORtAYATSQQFoDmaLKzuUDFQEwp1DwSDfZwn2H9n4p45hoKTeFqBij7xorw+2XxUkWaSP+YVLxRuYLG4m40AsNLvlrSozh1v85WCCQNe02/khrYyVYdZrSe2tTWXoqoGTQsObGqxYZqVqBPjNi249njoOxtsFLxOlphDCjbYjeX64zn07DiS3coRCq4KAbbXIQwUGlPjW75p9mABoYQq5RluY+zhp2+R8i03qVW+gNofFa/ZKiqpC6ad2CQyPMY/becidcr6gZIUI/vBCOfNttgVMcm8utvqpmhv9DvzIL8HIqw5xwBsbEkBdkEwcT4f3B6OBV65W89KVCcriSye/mhVRsoE17S1jZ9PuS4K8m9o//v09XxiDPlBBeou/nTB9narSfTyH3103C1JwiIvKuPVcigu/FdtrHOpOIDmfqGJE7yVd7fpYh3jNIcBPshldBQYkdE17MKHPOqqRRN9qQ+X2Gqdi0yRslkNdow6SoHaZy7lMVKdbMhR9wtoD7aOh6DyzNZHS4TroafdMeI0TViIxRxN8/EuH6oGBAA3rFNuP1v1iqG+aqVcyXFv1qEbf2QWs4sdKbElJILYTuGV6m5jUCORYsebr/yXB9c/I4Md/E= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ZlpspriULixnux8OYMsBS7SYpspX2abqjyvEMcqXh159U2Ht0ySVsxGEC38nSY/vgo+0xTIkNIJMiOLHUpelt4+7bQhaJ8LrY7uAsrn/cHq9laH0rh1/rj+Lle7ghaRi+0Gyu8SeS1FZ0Y7KYmIkRjeNBftET3XO2IZnNaAMcInYvKkxUq3QVqn00wmuvCBrpW/qDFdSL579hVt4xY54X940vh3Lraab2d8Npcb3B9mLoUUNcpz4PMfUinCYS7jaOfDIw3yG+JNxx1eBHdW9EmTc7cBcnSvW5VvVU3SaBNAiT0dMH+Ac79uidC0SnmU0zcsd0lVJ67Az2tNGo2aCcubxJGrj/yeyZaaZsIOX45X6Kth9WUcErV0j8h37hKLxzuOz3zBV8p/XVtbN7ZoqHiNAWGo+jMBUA9TMHa6AgXZLdYSZbqEDRi0BbbkCd4Qrq2rChVD+XhHsFSji/uRfaI88MjaiQBcDftpjWTvUoPZ5dhv2BeuZ3/jBnW0RB7EOxF6Qkwm3uetFmCPnOUKQQSFwd9/5KowwOnQrn3BFf6MxMA0xW1C/InXKZd2P836IUvCO+Ovrbe6MS6Q6v8KgmB635nI3UdXY4Z6OHFc63H9KmeLaCplHIFMJnWVvvzCSB39Yi7WiTba+GmddXsUwx+xxPT+lYmesuRABuiEv1kkVEKOD8BWjy4T8wIcPcvqBmJrhm4v0KaqSxXPQIm1a1VM2dszV2ZaVyV4TL34uYOPZRIuD6FsFDOGcpODfAfvV4/H31vXbWIiwneHgDB6aw1AFqi4xQAA0k8gbTiknULTKrQ2IymS0IOkGEYUJzEW4juE+LQQtwbn/kdfwWudjxyT7w68SotHPSqdNb9aAsYZHtjfY0sHRjTX4gQRX8v1jLfbI/eRf8P1MyDiSpNkbJTLk4k6JkgN55pkZZq9L2CZwti24pg+pumQ9yIKwmc+GzAZKkAf5WWBdY2i7oVkmWj5vLmycgwz5TZ75DrdMmkbFJiB4zl290qHr2vMYgiY4A5FjTct7YygbAfTHyvSLgbfRNKuWXJUNs51dakQJdrA0vqx1VjJ8AbbaTt0oj7zmXl4TBgmnFvjZyQvCQ10Rj85fgt24b5hUfH7mLf5/mZ3SHMByZjwrwT4at6hYZCM40lF54UWyAuikOHPMRCG+p4ttXxwHmwHYgqqpgSIWVXPSbv/LTIpOJwkUTZBrMB3HZJ/hlPq8+mgaTz8Uc3THhkITnazQYzi411xxug80mkLWYXGUuBrbVv14J42AksoAsVrLN8nyhJpIB2GzWAV54qLFmt4pPX9hlivGmtxtUMg4jen4A6DLvlygqNyW7J+N57vn6mMPDDnx7jbRJTjIq6VTZTwMJhSrBPJaORkJVV5RDUf+isZZR0j4IE69FWs69FDlayYK4PNDS/h+V9g+euRVKmmziZG6aPpwlMh8gakTwwZLtEdsIL/P6e+TbcicSA7JLTD9r2Ul4JYkSztBGKbupBYbMyM21Hbdm7iVKq3OSN2uLrANiafcyOOz7N+aN/h7HZW7Ux9UBATzjHrOJlzgIGxhxyjHHb1uk4YjQFwjqMQLmpqyxGSdkOZlTdpd X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 57d480a2-e02f-4ffb-8dce-08dc44c110f3 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2024 07:25:18.5156 (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: cpmUfkYfCCJKvAfgrEmVK1RGRg3K2cv7ZBoR6OgAV+pvWyB1EJcmsOq2qHDGzSKe9VDDn/9mQLJT+O5xVm44SQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8332 There are 2 USB controllers on i.MX93. Add them. Acked-by: Alexander Stein Tested-by: Alexander Stein # TQMa9352LA/CA Signed-off-by: Xu Yang --- Changes in v2: - fix format as suggested by Alexander - change compatible from fsl,imx8mm-usb to fsl,imx93-usb Changes in v3: - replace deprecated fsl,usbphy with phys as suggested by Alexander - reorder nodes Changes in v4: - fix the alignment Changes in v5: - rename usb_wakeup_clk to usb_wakeup Changes in v6: - rename usb_ctrl_root_clk to usb_ctrl_root Changes in v7: - no changes Changes in v8: - no changes Changes in v9: - no changes --- arch/arm64/boot/dts/freescale/imx93.dtsi | 58 ++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 8f2e7c42ad6e..4a7efccb4f67 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -183,6 +183,20 @@ mqs2: mqs2 { status = "disabled"; }; + usbphynop1: usbphynop1 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + clocks = <&clk IMX93_CLK_USB_PHY_BURUNIN>; + clock-names = "main_clk"; + }; + + usbphynop2: usbphynop2 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + clocks = <&clk IMX93_CLK_USB_PHY_BURUNIN>; + clock-names = "main_clk"; + }; + soc@0 { compatible = "simple-bus"; #address-cells = <1>; @@ -1167,6 +1181,50 @@ media_blk_ctrl: system-controller@4ac10000 { status = "disabled"; }; + usbotg1: usb@4c100000 { + compatible = "fsl,imx93-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; + reg = <0x4c100000 0x200>; + interrupts = ; + clocks = <&clk IMX93_CLK_USB_CONTROLLER_GATE>, + <&clk IMX93_CLK_HSIO_32K_GATE>; + clock-names = "usb_ctrl_root", "usb_wakeup"; + assigned-clocks = <&clk IMX93_CLK_HSIO>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>; + assigned-clock-rates = <133000000>; + phys = <&usbphynop1>; + fsl,usbmisc = <&usbmisc1 0>; + status = "disabled"; + }; + + usbmisc1: usbmisc@4c100200 { + compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + reg = <0x4c100200 0x200>; + #index-cells = <1>; + }; + + usbotg2: usb@4c200000 { + compatible = "fsl,imx93-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; + reg = <0x4c200000 0x200>; + interrupts = ; + clocks = <&clk IMX93_CLK_USB_CONTROLLER_GATE>, + <&clk IMX93_CLK_HSIO_32K_GATE>; + clock-names = "usb_ctrl_root", "usb_wakeup"; + assigned-clocks = <&clk IMX93_CLK_HSIO>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>; + assigned-clock-rates = <133000000>; + phys = <&usbphynop2>; + fsl,usbmisc = <&usbmisc2 0>; + status = "disabled"; + }; + + usbmisc2: usbmisc@4c200200 { + compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + reg = <0x4c200200 0x200>; + #index-cells = <1>; + }; + ddr-pmu@4e300dc0 { compatible = "fsl,imx93-ddr-pmu"; reg = <0x4e300dc0 0x200>; From patchwork Fri Mar 15 07:24:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13593102 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2078.outbound.protection.outlook.com [40.107.6.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3368218EB1 for ; Fri, 15 Mar 2024 07:25:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.78 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487529; cv=fail; b=asovQPLY/DQnpqVkT+XDn5A3udGX5VnNCuzRi6gegCSJt2SZ2riNHUuMMHr/ruKlJEhWCogAetKyA1yAp5ub5zermCPSKAqngbt0WnkkoaoZ4ZpL4oUDnFuCaIFuXvuddT2sM9t1uwVGQW40XRADXPNTsCfkQPBI4o1bsrRO0qM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487529; c=relaxed/simple; bh=fV/GYzwyWQiQ/Z/1vWPCydiLRmY61cmgrZZP9UD9Zpo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=bU/GpJ9pWUuGrHzcUvaOXLBNziIDygped04lgFEjGJuIkSGfKVQMhFuu/NQbHx3ubOFdbJEJbRkCNWWtibvNXasnuw7C01stutJ5oj8SnN4uTd2GgbN4AOUkhgg8WN89LfOzSjor4kQIhXgXVosyM7KXZ4kGqInelBDU1nZdkFA= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=CPbdWo1t; arc=fail smtp.client-ip=40.107.6.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="CPbdWo1t" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TdnpQMQUL1r/7+BNYsHW3rKyXBss577HMbs9ZvUXcLD7TwOvmjYUOJYP/pErV37m4Ag7dYcs60P1XQ1mWx4oWDolQOrXv+WzPELmE3qrV1YCSmvKAHMnA32n8DcxRM4nQCWJF3CpdcGbzWRiqYKPHJK0pi3dmY0JQ6NXpIUwvHClffooO90m01PAR16nfzfdRk0V2Xo83cx03bw1AcqvBvLS7/wbu7fiO/uqdeJFLvL9zZJ4nc7/nXpHczmejFc80t5yP+1WZsRNtPkTAO1QmEEYsMyJctmUP2FaZHuQQKJoI6NpwNU8LkhRqxB8ZzccgxMbdMUDw7ykILvDM3pNMw== 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=CKMjy7qroyuInmFdmbha+UmMdcVhlljvkwHsHvqiK0I=; b=JcddRtne+1WFdUzu/DhoWycKChZ91wkbgr6Nwa1rhNtGnMTOZi4Kt+ffpqdfCyUzfopITNmQx0gGT+6FAFljdMRDXMQ0VOd9aLsbvqgVCRHbVf1+uF1iIzO0zKtj+Y2A/v/Yj/HKsVTNV3/S9Kc8xywjpOTcheWtBejeiot3QOtXuYHgbLgRrZWGUdE2/9cvfyuvwgMejypYBjpymlN8LtgYD0CUYXKlaTbpK74Q6989LKF3ovSmlp7XlGRq19G3mymmLdRxVmK/Ex8ElOyi4jXJwBBZLWScJ3nq/oBk9eImgvyrlWldt8p4wfEbyCCOuBf8fy3RSypUCThKaywDnw== 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=CKMjy7qroyuInmFdmbha+UmMdcVhlljvkwHsHvqiK0I=; b=CPbdWo1txh5skf1mjq3J7pkwmfDWqri0uRl1wiBtyc7T4Hhp+SUXIapApst881821U5z5yDOSY7xjtY1L3rARiIfzvpVanc/DitxaECLIF+OGIXvKniHvdwUxRSLFpdcKnbCBwvzKETl6PLEEbH7rZZZfInlkG+qBfoieWBaG20= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by DB9PR04MB8332.eurprd04.prod.outlook.com (2603:10a6:10:24f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 15 Mar 2024 07:25:23 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.021; Fri, 15 Mar 2024 07:25:23 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v9 09/11] arm64: dts: imx93-11x11-evk: enable usb and typec nodes Date: Fri, 15 Mar 2024 15:24:53 +0800 Message-Id: <20240315072455.2481613-9-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240315072455.2481613-1-xu.yang_2@nxp.com> References: <20240315072455.2481613-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2P153CA0043.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::12) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB8332:EE_ X-MS-Office365-Filtering-Correlation-Id: c94cfe1b-e3a4-4a37-56c3-08dc44c113ec X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FTrWoYY7/LgaCiQsNM2N/FSRpZJR293j1HhTyrHmMWV2Hxfe6h08z9yLpubTkHZ9jXNZ1p5VPeYNw74Y0GRUEtTqLy44lOdF93icQnyCbR5NG5Uuh401n7wBBHd5AFp/+SVykTqiZ3S46SSGNE//G7D3m06gCUKkcCdG7cZE8xAxL1XdVwP3Bqfhe8A67p/Hey41w0TWAB9esz16nuIqyyfSVk0PnAtuXibhAmVjtmvDg3gOnuJYSwpI5fzG94k9UDtZo59UvqUP/5OkLg5Uz8pO2MtsZ4XuWc1TX4/nrHcNfD8zy+k188luzevJOfKPTTfhsy5OSn3YRMa3OppmOFTkkQiLkRoiMXDqN0ZklMBdZwHqbdEY9aBGwvUzmGBwT7qjXcmpQ/1g5KHUjciS+Rqu9yOCSf0OEo68tZL2t24tSqnWmP8VCs6MRjX3pfq3DuGP32z0zj0M9SUQ4X9upHi3RbejBReoQFvttHE/pws/P9U16w7c9OWrpaHkeZpBBmVGAcAX5LTk6b2LEEI6Gb2kQrgk+gtZ/3SE1CvJ4Upups68oyZAynrC/htLK2OSNC9z8qRA4cB7HGpo0ksDFmMkak/pLfRu8tihNv2JbapZbQNDXjVRz8bp7jdEv9r9yCiLBRfUEHPuqtlR0GF/24NgYtvaQEFiEOwxpzsdp+vqXTJAHy4i0uw0jytdlPpYFUeU1TMFALF1Sin9GeKdSA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: t605OjHlWXGwG/LSzF7E4pVFnOjKA/ENqSKLS2DHQEiP57dzhVdIq8Y5RTTph2ylRMeAl92MQ4dPc8KG3J8vjeyoS//v2AlGeziiaMpQqtvaDipZq1pVtadj/YohEq6e2/CLAa4340oxv/qxzt+Us9QFv00P3xZ2i50DeEvP8eAaLj2WXFi+Rbj+qP0b5goWML2coE9ucHSKMJ+TWib2Mu7CAyUHElb8G6QLcLn/w7ID8TC8uLfvN5nbJmuMhkZOHITlmf1Dt+pKKYygvienOYg7jQdGSWWYZF+bj2I2f9aVcu+Fu11h3R7RlKNjkGcc9gIidMavmEZN+A5P+8vb+KAOk4FUE38rd44NhksRbwzQ7IxZDsOAnlsQWxO69EeWivShxTSOoNHzXT57iSI78UOjSjix7GNnTJQQLqJxVwDvkWxoc7hwE+obPWQrQsMgbfJU2wOAky4pQYtbblG4wbB+PzS5VzuxBQuxDPW6X/V7wC+i/K5tjjSrmL7k6jTLdvloYMNJFpboUTexmI1H8Whb1zD8yltrRniezot+ndMtpSW/Yul3CjrohLMDTMC+Q2FFkc/ZEuy8nkQ8+OnL37AdPodNY3RBxIPfde1/0p2pZI6KAdVGTttvsbQ1Db1WcmwNz0LpJ3iDrsWlbLcvrfid9yll0RQm2UJtik09rsO59v8MDOB0WLPKohZxgXo1iI8r0UVjyW3bbXRscQYP3c8qbflmd6D/cgQbaZOziCphKn0SvLU5Vey2bpRRdObRVn0XD273qnUn6EV+SzYpxtLfNnPrPK3/iTZxZWO0nzBVMGpF0nV8WjHg3hClbAaWs0mx/wrK6vLlaE6bCOuvIvCkqNakokE+PTAaKXElTM4vGFmwUMVbXflD3RS0xlB9PtuBSy3i69JMv+lGh7p3VYvMsa66PNXChaGLFMNuMWBuTxuwqUb4N5euC2nBpkcaCMVhNjahnVNrPtzduHpO52QF1hnQB/vu+WWc0l4DOEEIOi+s9ZyhrgzVs5bihO8rySruq++Wxc7XJqkYEi0oqEpBXm4vCsmCicginNicoM/OZG25ZCvpbiUJ92473WtZFGPPXizeU9OSkWQOGU9O6HWKfeSJbOKuurpn6Rrbm/0k7KwmEpRD0aq2flrsH/vbA7Xl0z0Zohido0FbP9Lur0xp5Mvk4TiiKtgA70SixNiRXIUCeboz2YTVvWriCIbzta3ibOSV+ICPGImDzcQb8+JmJ2L3t1GWWHxufdxRCzire06y0NqwQ7AEZcJCUvjdQq4lYLKFI4h9BD3+g6hZ0fFBrChPp2DGNngCUu64+we/tN0k1J8zepNpTEPY6lm7WdeOU4ekBWcW8Ms5E/f56Xp5cRfCuEZpZov4Nb4JFd2b3mT12B84LWw1EDUfFV+wdV0xn9Bf3nKkZCd3Ba/N+IPjStVENYxLEy9I4m/fEb0ML5ilLijbeQoJFl5j8UqoRpvav1O20FY2TvruHOKThPL6IlwPnAHzGgRD4bEF/vc7bx50180zZAB2I3G+day14/m3CN/JWCde7jDYknEiIhnGCc+9B3PfEdIc56lhjbNxLSbmiXalp1UWMCY58iYP X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c94cfe1b-e3a4-4a37-56c3-08dc44c113ec X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2024 07:25:23.5041 (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: iTQM5MfRSi4aDNPjd3D2sxe/S4CL10xKAhVO8V/2B8ZOjw36qS2B8Ige/8lXCfHhm85SRIP6IbQdTouVVborRA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8332 There are 2 Type-C ports and 2 USB controllers on i.MX93. Enable them. Signed-off-by: Xu Yang --- Changes in v2: - remove status property in ptn5110 nodes - fix dt-schema warnings Changes in v3: - no changes Changes in v4: - no changes Changes in v5: - no changes Changes in v6: - no changes Changes in v7: - no changes Changes in v8: - no changes Changes in v9: - use compatible "nxp,ptn5110", "tcpci" --- .../boot/dts/freescale/imx93-11x11-evk.dts | 118 ++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 9921ea13ab48..ecc01d872e95 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -5,6 +5,7 @@ /dts-v1/; +#include #include "imx93.dtsi" / { @@ -104,6 +105,80 @@ &mu2 { status = "okay"; }; +&lpi2c3 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <400000>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_lpi2c3>; + pinctrl-1 = <&pinctrl_lpi2c3>; + status = "okay"; + + ptn5110: tcpc@50 { + compatible = "nxp,ptn5110", "tcpci"; + reg = <0x50>; + interrupt-parent = <&gpio3>; + interrupts = <27 IRQ_TYPE_LEVEL_LOW>; + + typec1_con: connector { + compatible = "usb-c-connector"; + label = "USB-C"; + power-role = "dual"; + data-role = "dual"; + try-power-role = "sink"; + source-pdos = ; + sink-pdos = ; + op-sink-microwatt = <15000000>; + self-powered; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec1_dr_sw: endpoint { + remote-endpoint = <&usb1_drd_sw>; + }; + }; + }; + }; + }; + + ptn5110_2: tcpc@51 { + compatible = "nxp,ptn5110", "tcpci"; + reg = <0x51>; + interrupt-parent = <&gpio3>; + interrupts = <27 IRQ_TYPE_LEVEL_LOW>; + + typec2_con: connector { + compatible = "usb-c-connector"; + label = "USB-C"; + power-role = "dual"; + data-role = "dual"; + try-power-role = "sink"; + source-pdos = ; + sink-pdos = ; + op-sink-microwatt = <15000000>; + self-powered; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec2_dr_sw: endpoint { + remote-endpoint = <&usb2_drd_sw>; + }; + }; + }; + }; + }; +}; + &eqos { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eqos>; @@ -156,6 +231,42 @@ &lpuart5 { status = "okay"; }; +&usbotg1 { + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + usb-role-switch; + disable-over-current; + samsung,picophy-pre-emp-curr-control = <3>; + samsung,picophy-dc-vol-level-adjust = <7>; + status = "okay"; + + port { + usb1_drd_sw: endpoint { + remote-endpoint = <&typec1_dr_sw>; + }; + }; +}; + +&usbotg2 { + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + usb-role-switch; + disable-over-current; + samsung,picophy-pre-emp-curr-control = <3>; + samsung,picophy-dc-vol-level-adjust = <7>; + status = "okay"; + + port { + usb2_drd_sw: endpoint { + remote-endpoint = <&typec2_dr_sw>; + }; + }; +}; + &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>; @@ -222,6 +333,13 @@ MX93_PAD_ENET2_TX_CTL__ENET1_RGMII_TX_CTL 0x57e >; }; + pinctrl_lpi2c3: lpi2c3grp { + fsl,pins = < + MX93_PAD_GPIO_IO28__LPI2C3_SDA 0x40000b9e + MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x40000b9e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX93_PAD_UART1_RXD__LPUART1_RX 0x31e From patchwork Fri Mar 15 07:24:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13593103 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2047.outbound.protection.outlook.com [40.107.6.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D5811A27E for ; Fri, 15 Mar 2024 07:25:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.47 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487533; cv=fail; b=Bkf8gB3vL0SILmEH9GCIx6kI0aAdt2s1ijmNKgAtnBs4GDYn/ieKKVZHpFu4BtSEWw0c/3YYy14InQx0Ex0+Svx1ID5tLWIKCjuml3UDWmn8KShf/EFmSBY32mqKfknh6BRNax9cEPEqudtgIK/tD35t3fHRbtg6akpRoJq298c= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487533; c=relaxed/simple; bh=jRcXYiV2blnf/W6QTuXGIzvFmZKwOmrx4hTXKSw8kxk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=VgFFjitkMIGNGZ5U3gTd9iTq+TU39x4dpgg5Ez0usq3axa3vt6MdsGYLexAXGnk1K8lUgeLBJwS9o5Moe+l1fIhPBSvI1EnCLKdkPNi7vosHmnt5oytekR0tJ+vUX9FKJtIpwqGewgmKiCsRlsxlsxh2uP7ST387q3CC2p5xpso= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=f6Utjm85; arc=fail smtp.client-ip=40.107.6.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="f6Utjm85" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PucX5gvzLf9mp0K3hT/nxyc0CYeX8i2BEIjzQsH6Qlny2DvEi+O6xEIHi5jI3VxFaEZqDcvJDj9QQNGH9JLc8c3Q5aTTYfFjLRuIsGNrOMQzSOzcuxCbL/6REPQgb/UCXOCwjw13YWW9gvz7phPoNBvpShKy32GD+f1Q0OYzVuAT23JxmlCAihQzhdwqKf/E78CvTY0UOS481Mf6ug/m/b9YZAJ1hf7DU4W92QRnrnwWc1GY3Duxm2G0yktpOXy+Qe4N7xsV0TaKvCdFc0MAlY/4sRW0TWn6sFAbTUDK+RBeIn58v69IuTcLYQW7dTCfcPKcLRbX2zmQd0JVGF0bdA== 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=arApGTtzxoeJ7S4Nfnb1krg1XZX4OxDY1kiNqkw+Cfo=; b=hMiirCDTSA5EW36D2JQAzP46iYhPpZzRJ4MXz2eIqKkTf5JICVic6uPu4K2sUVXuE5/1/LbX9P/3pJTgRwDVdb6yxsDaOjVP4YuF1R1yGUS+phm1j8OiHypFCu6RP8600hvPQnJ3Dymk/f642HC120HHfr1pNwgGhYxeN3+AbS9Wl/BmlrBlnsMUIsfLy3ut+aJ0UU4UmTFJHQK+qYJYBu2yoAcktV7cwBdQM1g/FWugSyCkLA49ReMe4v+//AROZSpq3lsObu0dAfhVfZu1wPSVAAa8Kwwv+65MWaX/rOS4HV7QzAIC3nSLEwhvsSdcrpwMZfMiWQU/rbmQ6CZVTQ== 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=arApGTtzxoeJ7S4Nfnb1krg1XZX4OxDY1kiNqkw+Cfo=; b=f6Utjm85xJ12uqB+5EevhZtKPXB88EiVPd3pQEAj8kibXI1mn+6pDtG2eiOQo6WrIpcBVI1o27qV7IDVcu7ZFzuJTLT34LKG2KKkAZHyCqx88lZ0ODZuTEufeNU4QL8HnZUBUaCxZkLN7LcMwag2/vXdP7AkOHN3AZVV22pGVdk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by DB9PR04MB8332.eurprd04.prod.outlook.com (2603:10a6:10:24f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 15 Mar 2024 07:25:28 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.021; Fri, 15 Mar 2024 07:25:28 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v9 10/11] arm64: dts: imx8m* remove clock-names property from usb controller node Date: Fri, 15 Mar 2024 15:24:54 +0800 Message-Id: <20240315072455.2481613-10-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240315072455.2481613-1-xu.yang_2@nxp.com> References: <20240315072455.2481613-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2P153CA0043.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::12) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB8332:EE_ X-MS-Office365-Filtering-Correlation-Id: 5836710d-a364-43b8-b220-08dc44c116ea X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9EYoYQquP4HvXTSpKrjA2oYdslKhlZWUF+j56EZE7ed2yF98CMu8HcSnB1uR3IfrTthV/Nc7+fnfi7dWI8J6tJ1uIscZtk7z3kqdCNIq18n5zwfFq7Nn+uIZW/aWDFzEDtoMwMcn52YomMkENh0LCkDhdaUgnJgqCAS5WyvjOZojLrcfYzANlzwe1RjFED5KhwW7XyT1/kXJ1jqHPqqhCxRPtL2vnC4qiaH+yuI5sGVdK8Ofa4duPav/+d/E1CIkv40JUKZhHBpFs72KjXxS9qRv4J06ODum6/3yFkGiQkIqRUcWUTiN3isqwTqvO4ff3CUzNn+UXy90vPXCjxIWQurfzaNif/TOXhEy66OUfBsWTPmV+37NFb3Ba7dxNnjeJ13cm64uQwowTKUfJT7RsPjWTxjDoM61c56v4SHm0Ktgyf31oZtvzpsCxZ2zVL3HjfJvYv0w+44QoPd7wKpHeQ4qMUzo8V6k/KaEFUGBVHRqb3aUSI2A6/xxTNjLAtG+O3b4RlsncTcJqSI30+0y5kj/5P6Z+w50AAhNQYx/L62iIxSaPB9EyviCl3tnRbTDu2O1luILcXNfgJz2xX0VZD9D6NqAMs/IIY9N/4+rAsLkUG+a3tKJO1UHspZZNl9dWLABUQE0b/DgAEBXd3Zm4H7pKZeMSLQWyOGbYuOqvht1JOaXAKQ2RyA7X7BGhX1oJ6wVItDZ9Yxf0jlOYiMtzxPJ3yEfF7fPfIZuRg79QTo= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bSpWes2+LraBENf6z5DxDdfz3rn3U5W7/iPinllr+sSdgwdhSvf5dme2WQ2S1hfnGiIfPVR1YEcf+LHQ8zL72Bx6YirFADMtO3U/ounA6Bu1b+DgukMZNAwkzMHRcfqrU5zv2kJx5lk1PRI9TjvioDv2r99PrNTNwW0Ji571hQSpvWWPxc7MdgRYG66ROFyQs+FUX16Pcdw5IgauK36T55WEw+8KWEWgrudShGWxNU04do/NSltm7+FZTIFlgX0mljjVmv7pxeplkQ2N2ZApJGDZKcJApqwydum8Jv7euqFjYtw5MYGqNKvEICjDAZcaLtE9zUySCRBtfwF4NtYS9TItD4k46MsZH1D/IF6jlHNbgJ+vPSyCW35cqWrSk/g3S6uIv8Twh3rEj4Tn1Fq62aGRWrgc6sbJU1i9n+W84u0qxzqruK/ycR/JyRaPQ4hjJbGOpjgjLck+xKljPtIkyMgdRBcX9F/KWArseaR/N2NIKUUhY8/O3Bl3wABBlkLCD1nJAE3AucKYvG++AWZhb7XkyhlsWO/GyRWo50xSPH+5XkYDfciONqyDg7sCXgErnxLYf5P78+Fcoq5LmXllGILYyNGvAje4YBJjm472fGQZi7Q2yeNJo1XDPio4zqeOFkekdfHVLXovzLCRZBL8lvkshs7aqTAOMUMZF7uXuSKdPxnUBDusTJMjPIocqt6kSPQdyfUR2GzEA1rZz1v4/klrGZFb4xwYKmqGpJczejgYnjxJvfqCEb5GDoKNWs6SQCfyQOLBjcoZ1m5bjQ1AwCQeZL1POOwlwXb4h7ma+djFu9/7DAebC8kZo94sfdYrcQwyOXCapgg9+nbJYTAh+ikEcS7AP0JE2hFei8Arkm80V/1K50gwlQ4S3k55gDviuxgdxHxNDTLAHOiYPYq5H7tv2u8Z4eiCyvacmdMhhsjI91ohL85d5VPHByyx1Tl21Xkj9dXRt3S0ZeS3rlHsUhqYdD3xUU0L58C66Hm9YHwkV6V5i8dfq2XAZwA2B2pRaDXy2Dlm331vu6eD3GtBn/niMneau2AfWpAnC2RNFHpv3yt9LlwTJwdzKB/5oAfI1Dy/TLuh0oBls8mCz5zRQpyJ5OqWzIhMLGKyztEM0FlI35QFVY3GLxqiAQ2NqFnk5hTB7fEMyFkDNKGyMLi3eeprxTeHNvDUqN9CpAQ3O7vY8QhQLYSO7RTDAcHFVNkQnyVdvX/DFWNqB0r6j5z5zcLzi0FZG017fUrrsIyxsE7g8v5KMiJH7LraEea6j8AwjsqDYSu8mLfzyxm4gCxOF5rqS6I9FUbC9Sr/m4WMt+xSsIuBLX27NNiKLsCU7Jljly+14mpuUSl3y30re7NOO26sQnEKsv5cobDmnMBiczYE9Yur0Ca3nGKO4tfkSnvSjSjWkhj3eHoJEPRK8B6rgPFt24bR/WTgIyEj289d4fac9LTf7z3tHlO9A9klHDFLcaEBTRaTftDN9cFLmBhEjv0Lwpon5pP1j4wFMSYqatmBE2wRnvO0xfEmd8a+VdHcvH9uQ/jz8NsGxl17btmYKw05lvCzObklwEuJ7VIbttn/XEsTRI7hJVycsbKWPEWx X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5836710d-a364-43b8-b220-08dc44c116ea X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2024 07:25:28.6271 (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: U/W9lCT+T14Lu16YSw1k8IAw+EOgFhn7DJFewXtSHaORGAW/NLzOPiSUuV6KiGqYGKyujHh/lbed97ImG3HLsQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8332 The clock-names property is not needed by usb controller node on imx8mm/n. This will remove it. Signed-off-by: Xu Yang --- Changes in v9: - new patch --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 -- arch/arm64/boot/dts/freescale/imx8mn.dtsi | 1 - 2 files changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 8a1b42b94dce..696e96b15585 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -1253,7 +1253,6 @@ usbotg1: usb@32e40000 { reg = <0x32e40000 0x200>; interrupts = ; clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; - clock-names = "usb1_ctrl_root_clk"; assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; phys = <&usbphynop1>; @@ -1274,7 +1273,6 @@ usbotg2: usb@32e50000 { reg = <0x32e50000 0x200>; interrupts = ; clocks = <&clk IMX8MM_CLK_USB1_CTRL_ROOT>; - clock-names = "usb1_ctrl_root_clk"; assigned-clocks = <&clk IMX8MM_CLK_USB_BUS>; assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_500M>; phys = <&usbphynop2>; diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 136e75c51251..f67816758b21 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -1213,7 +1213,6 @@ usbotg1: usb@32e40000 { reg = <0x32e40000 0x200>; interrupts = ; clocks = <&clk IMX8MN_CLK_USB1_CTRL_ROOT>; - clock-names = "usb1_ctrl_root_clk"; assigned-clocks = <&clk IMX8MN_CLK_USB_BUS>; assigned-clock-parents = <&clk IMX8MN_SYS_PLL2_500M>; phys = <&usbphynop1>; From patchwork Fri Mar 15 07:24:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13593104 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2075.outbound.protection.outlook.com [40.107.14.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3D2E15E81 for ; Fri, 15 Mar 2024 07:25:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.14.75 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487538; cv=fail; b=nbNSzbKixcn3KXSu1/EWB5wEt19WBk1ky305DDbwH4qVNLnoAWUmPyeKRxRiry+uBdL4un/itAdtDoMgedlfIhkrFP+qkfv5ZBIjz3MVENNMYfLCFLtnO/+X8Yvgs0ItxpzqniXOXR5FF8gxqxbZOU3IGzJLI9kGv5BAVyZqSk0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710487538; c=relaxed/simple; bh=3dmZHo07xt0iEkaiDPG7rQaCjgZRFTrlsze+xltTjBI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=oc1QSyWBlZpTPv5xsz2TjXoP7ASw/O/+NU7l2gF8rjELJfBvy2/e30BLVPB2psOo9DLBdSdrIX/8nAToplb8RoT8LD6pfUcVyfr0rIJcx+SW/ZU5E+QA/7yGn92ndOSO9Gyp76ZtI7AxfkXQjRB0/r3eMHoVrnxJpldVcKfQelI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=jwGHxwNU; arc=fail smtp.client-ip=40.107.14.75 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="jwGHxwNU" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LLWG4gpPLq5bRe4eM1g9koT3PZr0Wfbh0R5qxLgQrDf/Qe96gx2gQrDIalhdoocxKj2p0P38HFFmh1cHJkpPDUK500y3bkjqBJGGZBsYR0hQanL+k37CzBcEPBurRo/YJA6Nb8XQNIkgU99abOAOnQl3tWa+Sv0+Pypfqqy1okTpqtAstBNJhV3b9q7a5kulCOA1l6+UamSjRXBxn4WN2VQRAdgPv9+IfRHeoYfqhahAKg7C9c1vgleIjMb5yZrxAYIsPfQ8wocvhtpIVLFQnqUFYv8Z6qo6QVAo+RIaZgS82ORV8Ob5iGPu29i9xjUo/19oTB4suboeHS8rMKC4mw== 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=M2rCNipOyEvAT/IRvsmf1Mv73yjTb5Yo1brt8ffV3uE=; b=aiLLx6JF78G3hPa0WrwbNtvDC/FyIjE/H5ljBMOOeRf08uRmPOM39lsvaLMfqe+js6ZfC1T2MgjuB0ZTCg/7Lawu9FP3EBmOzcQzqgUnJeemJXFywMk5r4xZT1MCnbEjI9s/iMd1XVr+RyFlKafcOIAXSv8wip/pupC0cL/lI7S1U/MyQAiWcqczcwsyWTW+oTBkDUk8tUIp6MTXTulxzR851CCOavW5Qk8t9p/AdUuADzDeEibzd3HmLaz/4k0/6yplZ1DcmB3PVypujK51sOyV71tnV5IXBAtNs+45G/5bJZ17KDUBwLSqG76wee4V9Jehd/A/M1nGSmm8yFux9g== 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=M2rCNipOyEvAT/IRvsmf1Mv73yjTb5Yo1brt8ffV3uE=; b=jwGHxwNURWaBTHc4/6Itslb7CYzoV+X6koCAQpFdt3GEeNBVDJVgEwRSzyO0+MOdR2TXJZ6aSFHWOgOGc1lLsdaPRo17Xg5WqCw1tX+RHRAc+O5bBFqf7i3Vwa762MHyff80PTwf4fZKRNQrlEZYHFCuJfkvtWSyBfzqct4uw+E= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by DB9PR04MB8332.eurprd04.prod.outlook.com (2603:10a6:10:24f::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.26; Fri, 15 Mar 2024 07:25:33 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.021; Fri, 15 Mar 2024 07:25:33 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v9 11/11] usb: chipidea: ci_hdrc_imx: align usb wakeup clock name with dt-bindings Date: Fri, 15 Mar 2024 15:24:55 +0800 Message-Id: <20240315072455.2481613-11-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240315072455.2481613-1-xu.yang_2@nxp.com> References: <20240315072455.2481613-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2P153CA0043.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c6::12) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB8332:EE_ X-MS-Office365-Filtering-Correlation-Id: 85564c37-c3bc-4498-9162-08dc44c119f6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 68LZUvftbSfAumJxVSjNK1QZb59q6zfzPYsfx/aEBsPN7C2ynGuKMP3ZwTdwwcGIQV9t+dQt7O6F8zia3PPWDhH8gX1I3ijKFfeBEXSKE4SkzKQGwUUE8OjuaC35AYoGEJKdx3Opg+jf5gvFWtqXxJ+KB6D7LEH1WdA7Ps5lMoL6rczJGfi+ZqUD7rLR1wudp7bTffFpp3Qp4DzjFYG4nhA0Or8lwj2+XmUkB6bGFfiuvWljMlCsZ1ix7xuCKMjB3taPH22xklTVRvQBcCyCZO8xHR/7gFcApiXgQL6ecgFmJs/h9wRdvnyVHyGgGmqGOsLUV2PtqlcoanoRMkKpm7sZdRfKC0EdhjYMaIwY/zIW4cKJigsUNI8RusAGGXutQ4faw5tHejs/JVTE8SY2dgH7a8YiEoG6B2sPi6tfG8fxgW8RfxQR3v/L/kvao9rMa8Lb+iFLHipcvHFVG/w6AG1IZpK++ytksT31MrQu08cUZAqwJeKITI7zHuVT8ysGWN3bcZRr6sIQBF6hevfPhUvNJs2vZnIE0Ju2FsyZnB7gZw2HbNNTp7dEfPm5/OY6+TS8l0unHRn0U3k+vKNkDKj2E5RyGHUGogZBGKyRCETMlJ9y1iIpF6Rnv+ag5DYnHWV947g1OpfpicR4ui9DAlzrSiKech8c6kQvtk2b7HQtQpTVS2p9cDmMH1FhjeoOTEHnfxknc7r+4jUVJaWQk5pcHaYuNvtssVCjr3k/ZWs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(52116005)(376005)(7416005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: pCUNe+OdIkeh4BG9fTsWThHsGDJwmcspUBPvweJ2tKK5k7Bsrf/FNGsCEO2J3hRfFyDzeJpeUtHJRBYEFMXcyS4bRXZRC1rpNUJAeOCQ3wwucvBODMe1BfQCFvJbQeBcGiamTfjwOqLBJaGDfwuLeOdXSqVtPyaZ9B+QPX0XWzKMKYu/+H9FW1gJR0IGpnk76kZZSNhTl/v6/O58J0tTPamN3rwAbxwT7ncB8S5MKNmUH1RNZ16AddNd5Ub9mPA83kkUrwFrNP1XDJf5ewmxRY2nmT9J5bCVY9gYuMXEtec8fsZhPQS0hmAODExIrfZwSY9GbLBuKIaVCPuWZlagACEXCE7wrag18utThHPhJEaNI/lB2ShvAkLAtHOziffrNQjVQPX460wQUNyLbzu5bH7od92UYEWaQUO8Bynsxoh59oTxKT8Q04GG+xlq3jZgCx3uNOnhJaNcYGTAoF0eK1m5Q2hS+LmUkvKhHo68DhsPTuWKTRge2Cs4Fi+0q0Ew9wQ/PKmJy26fAyfcRbFKOk1s+TaAQckWWjHX55pccU+9ZO+5MggiKlL2GfHCm5CgNx2/MrUga+tsZJXOGtHmhu4fP/sJmWRxMK/Pa0euEOfemR4spstjcIIt7MCY6qNKnjwWc0xgo8sRGgJ6BfseN4M9IOEiB29bwBxJrwuQSJl7VA/cdjzU1N7ZzdEKShBodfQoRQ3WexEVVgC4qxfWLRxIWWMISBwPTUTo4rIgNyRms5/lO3nZHykdO/Vr3F+aU1X5KBmNeXcadXmEvdH+m7SMcD4RFi/ZMQ2SwP/7T/09h1claYUupHW8/K/r4cBldMj6prdPOEPdfVLeDb/90Yp15Kj9AnFXYpw500IEjranGBvXfmlvcy8PQFCRL5KLAJCj/ajatcOplZ+shCqYPY5igM6fukaZssvn44lXPD4uMvdqTEdqMKvR/UACcrl0bX3xY7y0qbP68Es68SoQJ4yd3465WdJspN7s1f+lkPFQFyN99yK2YrJZnb3BWoxIhI2MSW+tPkdwqVQuNvqlihPYaw4WLhe9Fnl/oLmiOmuRWkc1W4VFfKZ8bt6wwpquWg+YSCj0GcwTlLidzxMED2f6J66CH4VIyJYWF09pUdjmZwQirmLzsCMN2TtNyOrflXAFecRiGX8NeUL8Xsx3aYdUXxTSC6SYl4sCOpdpuDzInwMGip8caVJeaVaDWRkxRgzLlhtpxAPCB8mOl7cVKd82DKwHP5rDhTnJKxGMCToJ/lNzIwlhG0rwnqgFsq6CI287aqMJQ2tN1aYFvoYrZkmrR8ZB+AD6P/bR3n8B7SXLebz4Tn65pUoHKfN3v2OzTwulcOzOM8DOBpnVjlYd75p+UmDUyor3S01U8Qn5q6Ck18Ag0z5Uuh0CDs9xCvAfEVXwuV+GUBuP1Ve5MRUuiVECRPaOTVD2FDZ6YS5H+flZIiPpNecwiqq737sY3f26p6a1fGPBJ8cB/QD9CG4vnh6bTSD2ac1DvBb9dvU5wXxQW0Fd07zFo/hJj7vetFvEG/ns2ODMjgD4g6V0QKdYM7wTW3AK1p2ieOwo1VZRnswtVR+XP9qGLFDrshJRD8eb X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 85564c37-c3bc-4498-9162-08dc44c119f6 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2024 07:25:33.7533 (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: rBRS9mlPGyVWdqwQEwt1uueDkQUANV6ghswRK/Ld+5F3LQi/vptrFc82O2pnndiwCcTZbgM7IFSozjfGGGgDrA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8332 The dt-bindings is going to use "usb_wakeup" as wakup clock name. This will align the change with dt-bindings. Acked-by: Peter Chen Signed-off-by: Xu Yang --- Changes in v5: - new patch Changes in v6: - add Acked-by tag Changes in v7: - no changes Changes in v8: - no changes Changes in v9: - no changes --- drivers/usb/chipidea/ci_hdrc_imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index ae9a6a17ec6e..a17b6d619305 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c @@ -212,7 +212,7 @@ static int imx_get_clks(struct device *dev) /* Get wakeup clock. Not all of the platforms need to * handle this clock. So make it optional. */ - data->clk_wakeup = devm_clk_get_optional(dev, "usb_wakeup_clk"); + data->clk_wakeup = devm_clk_get_optional(dev, "usb_wakeup"); if (IS_ERR(data->clk_wakeup)) ret = dev_err_probe(dev, PTR_ERR(data->clk_wakeup), "Failed to get wakeup clk\n");