From patchwork Thu Mar 21 08:14:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 1914310 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=IXDDjfwA; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45d1:ec00::1; helo=ny.mirrors.kernel.org; envelope-from=devicetree+bounces-52091-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [IPv6:2604:1380:45d1:ec00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V0dY11t25z1yWy for ; Thu, 21 Mar 2024 19:14:45 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1D2121C20B13 for ; Thu, 21 Mar 2024 08:14:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1AE359147; Thu, 21 Mar 2024 08:14:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="IXDDjfwA" X-Original-To: devicetree@vger.kernel.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2088.outbound.protection.outlook.com [40.107.21.88]) (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 A458B1DFD2; Thu, 21 Mar 2024 08:14:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.88 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008870; cv=fail; b=bHRSsdi5w2FxOFP7y1wntqlDwGsy83SkXTp1S7sEGhvqnMFv4MMkl8DVNQWVhn4t/e12H93Xur1h7gaYjmdJNZv5t3XUqy5kdjuhhvSZ5V2j1cR1Mrfc2vOb0DA+jowQ5xII4ZlAhSrBWcrqqJdurx7a6bwn7SFePw2gFPP2ScI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008870; c=relaxed/simple; bh=sRGmEeyhKeGWOaf8mTKNraTh5/baJPdYJeqBnIFd9x0=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=qRzPwdfmUJc/cS9q6EcZifq4moONwoyEZSC0thK0hBX7AH7sY1rCU+pQNPqQX0bkx7HAckG2PK8ryt0UFJ67N2kYp6eqX1WJw/VfJTmNKdK+0RpHo17FhZvFeglf6pNDSSarfhvyncxcUx+LX7+c5Y2fG53JJnDX7m0bBTYhKZ0= 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=IXDDjfwA; arc=fail smtp.client-ip=40.107.21.88 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R2ttVEeyQUmiRarxNQCk5xyc2C4y/slFonPM7ywpaKeWg3UKhxNosyKPx8cp6lKOIFzct09AltPGaD0BJpLYpK5VjqHquEHsGzGrk6u2yT2+hj5tezNhBf2qxXC8xukjWxcRHTPBI0KzdebbU4V5kF8aPL3xNICQ85bTEO2RU8C1Q8WMZJC+tgGFkmXSzAb9YdrWLqY/EaLc0I2FocDze+tqRhsujdl32q3dQZvMawLLjYuWqMSYhG9gVe+Z8rlWOHgDqPDX04wS7vF2j/XORRUqBJw633ldZNCa8vqB1i8W794eqDejEQ5zhr2n1hdrUWLAvs1SUEiftF3vw3qegg== 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=hSHyOddBEJo9ceYWhM5FWULK+mE9tqxnELWq/3vYdVk=; b=Bg6l+3isHzCci4UrRUfP/WwzMBK3gAzWXkqdQ6Ic5tbVaXVha0LIisID/mrvXl7XtOkVgMlpuaJDMVT2dGiNKaAdbyYE4YXAgHfu6V4jFUzssCSrkEy9nWvcknzfHGrL4hrykilmkNtUb+xebD1pchxNloQzQl+jaCcS3exdMysSABZwZp7Xu0ZMULmMRuaa9T0CyFAKoZ7r4fJfqgCxCT5IKnPF9ZHXxF1O3uiPNdRWqW3QE0SKWt2D8IoKe4FTbiCYQRr522teNxBnTZjJYCR7ITShnu5WpKx5jDG5z7LQomoyY+tWkQLNfFZOgV47ZclGQccG5jq1HAej7faYPw== 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=hSHyOddBEJo9ceYWhM5FWULK+mE9tqxnELWq/3vYdVk=; b=IXDDjfwAxbBcBX6DDVwl1Q8QfXw+zgPsaw5/deuLZRzuK2mAbfquOYEwmULdC0xCXAmZmS6eQ0bhdpl/mIwDSmHTLv3l8mJnsMxbcE5twbgyAmSxUdrcXne1tnL/MkA+TxfBcMeJjvAnuDp6Pl4DKSL/Myf/L5c9eVx4PEwqSDw= 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 AS8PR04MB9191.eurprd04.prod.outlook.com (2603:10a6:20b:44e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.30; Thu, 21 Mar 2024 08:14:25 +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.023; Thu, 21 Mar 2024 08:14:24 +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 v10 01/11] dt-bindings: usb: usbmisc-imx: add fsl,imx8ulp-usbmisc compatible Date: Thu, 21 Mar 2024 16:14:29 +0800 Message-Id: <20240321081439.541799-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SG2PR02CA0022.apcprd02.prod.outlook.com (2603:1096:3:17::34) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9191:EE_ X-MS-Office365-Filtering-Correlation-Id: ba8471af-87dd-43f7-5e09-08dc497eeb83 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8XcKpOxUxBrOIV8H+77MX7yhEtWZdEsG2Wca6+it4+NbSlSmBI+J1aP/gCXJ1RdvsU0YBUk4VNauSM6VZzOS6qYNFU9KIXy8Pjzm1Pu2idWAuB8grpwvJtTuGbTofGRFV9rsDCoBbfoBdG4R0DTxC5LeHeev7CbcFIkl1dWiaGRiiSZS/jDz3XGFZEd2aDTdz5Kk+ixnW8FllY1E28iS28N4slFdUhQxUpnNHm/a7dYx0XC6tzJiJnh76vy6NYRvjkvnBUXuPtpcSx6lT2iP4xwtoAjU1hdpcUVMP5EAjYFLJr2crcA7a5JRVFS1JJMUEmBZuQcBMbzjI+O/wgyD6+G3oMxUc/lbhq63OS1YQGkPcYmq2x1c0sOw0m5Dg7FdnGUpIiMbAsO0tVlLPOCqDRzrqEmGg8G5xCC8ostPnlBpiEFNLni288oNl9cgAR5kI1vWJxjhMlriWWzWWiip4fqzTf0faYSZx8b0gNnsZ1/rTagRv4ld+wq5N4uNBapN34Mfb8s/SAKOw4+ezC6yxiVlUogOu+yJdm81a+ZdCXWgc5b7vZPmzWryiGgOEBNvnWOv+Rvzfsp/UtvLvBOhlpdb/kDFF3P5W2I4EsHMqZ57s9Fx5YA0BXOy4jc8hfh8MPzTu+IGex3rCE+1aSVFqMrXoahE+KkVXuWEUnn+pWyao/cqmUtKNi6TeAmbSMuCiu6gz9ZlsaIqNEEqNobk12rgIALNys6LQuG1KLPDQSM= 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)(52116005)(376005)(7416005)(366007)(1800799015)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Tzk+YriZH0DzCdrGwqx6LX3IRWyRb2a7sYz6ngu8Qw1gULAjI6nhPr4lYiqFz73qPZuv37SD45g2//w9PTFjRPuCoQceemBTBM5osJZbUUfV+xNeCgFy8ZlX6e8u47PBpUvrKTPkolrin+mBCKv1gZTj2XzVt9rI2xGmudn98Xao5sfbnd5BYeMM1TEbei7dXM3pL5NgQNRE9bjNcamAbk1VQH7tasniTAqETQjaUgleQWFl0F1b3d6F8vF22D+kzgVSYDuME3iYr/0P7c/7XQJ2k1ujZuYdKgSzm/ndBIg757kEq1OLMPzeIMOtUWc7A5fZ4U0FgNYfBNvVJeRLSi8C3eaarFtNv5hClRWExuzzHGzMZUfQyph6RDSb9Lmu8AjZXKr92Oa1Z0AK6QsIeqeNa/aKedohs1NNDEaFTPtokOyQHhr7Ys5eMAvcbqVTLsChe0Ul0xKx2WMAN706gguAhFFhVomwlvHAq8z0dZTyBGgBf+gZ0knh/8yzC5Yb8HKKFgyUSMSwyNrJXofDH00o9vjgi1QHCVhcW+nJsE4uhqokEZ4NNqrE3LjarPqVGPq98Knad0kWpTXrNVjy7ldMK3CiWZ6BLj0VVTwqZCbYEdx5NiJ6r2svoZF3XHusI+ToQw9DWuFRD1IRHxO7Gq+zgp4rSmTKnmYNDyqLdw2bRJp3lNeg1fTeZhMOuUwfCmZXL/dV/VYku6aoJrV7Jdz1BH1VVaPt4noSAhemYLHKNxITOrAlam8yw8AevqKgeinLWmv1zEt4d/QS8CfL1FMEgf/G0MN4qjzWvJD3VqMVJ9csYHshZnMDUikZ8K3I0moOgd/bF9mQCrFV1xSWazvHxD3rhSKI+wE70sM7aajbHrxhOGiyP+XsW123h2CqcYnN8+ZlHLseVY6UPdBnZaN2K6UxNPQw6gtdhf2q8sJKzhgIaM4Pdf1jZGnvbzGbDauTokvuE7fU6ukY6jvnpcmBGtYuEMFtQXSnhvbmSFwg6QS7uJFU9ZIlp8CCUMBfUmkNnEp+de+sJaBpZX8n7Vk9JWWQv8VxdYag1Z4eKO0qoAO0r3qK9GhTCY/BdMh+wcDyiR/PqW0E2mUupZe4GjcrpleuuKGC16YFd38dJ47yUKADThNQygay7n3qB4KJGWSYzbETmzadu64J3U9acG21cBZYbl/26+do4xtdmOdfK7OE6qW8YUZvrJrDm9ueygP3ByRArzCO/9ez0gPGFTDy6Fi3BM7BFuXoMzaP1vuI8gL8C+rCShmoQLJ6ZtmBqSYtIIGjSSse/DYCVMV1B2+qwnfVtl4yBB6vzwI7dPeCxIgr4uLadOAQi51tNRqlbfegQYoWNZ18Amii5fzo4n4ApamIj3pXLqSh3SzxU5dEcMW+DACJdmrVYuncEIy5erRodfiayas3b1tpQMKXBqnVjbzrCoO5zlv1BAy/8sS0ywfNKkAAfV9AnUSSrcr/L/VGguSJQeMHSnFzuXooewNtgpv4ZErRWTWC4IaepMO686W6xucchWxd4OBYHohBooFRtQPHMkqpvZeSTccKeE7BLNoRlFAq8kETqE5EfqGOZBlpEfDBEO4mLT6azvHP X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ba8471af-87dd-43f7-5e09-08dc497eeb83 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2024 08:14:24.9186 (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: ttG0A9kzernkp1Hw3XtvJ1pndmHJm42s68QmNIwru3ByTDbMGHnwJub8a7g879dc3JdRVntQHAexZ1H64lOqTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9191 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 Changes in v10: - 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 Thu Mar 21 08:14:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 1914311 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=EmnLM+lA; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:45d1:ec00::1; helo=ny.mirrors.kernel.org; envelope-from=devicetree+bounces-52094-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [IPv6:2604:1380:45d1:ec00::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V0dYy5Frhz1yWs for ; Thu, 21 Mar 2024 19:15:34 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 819501C21147 for ; Thu, 21 Mar 2024 08:15:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EC82577F35; Thu, 21 Mar 2024 08:14:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="EmnLM+lA" X-Original-To: devicetree@vger.kernel.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2059.outbound.protection.outlook.com [40.107.21.59]) (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 AFB8977F27; Thu, 21 Mar 2024 08:14:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.59 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008886; cv=fail; b=bp+kHNyhY/xhD2gjbiiOItuovCWLzZ8h982bNaTjHhgG2dJZfO52AKogl45rikJq1LG7oiUn21vhc7puoJA5berlrsJri2wAMJnBeeE1fFmrc9SLZ4Pgs1c/Ui4D6rIGnhT8l9IL1Jnn3VCR6XOCZpWPcf63Nbl0sj4phant5jU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008886; c=relaxed/simple; bh=r9V90u9L6C/MhFFcEAKj3gvsT97DoMmaO/ENS7Jer1I=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=YQO7mHX1YYDmfWkmgV3jT9kc/FJ9LicW4dDkWXm2WeMDFuBG9JbKiMOTk9KmM6fxUdUXiTDWkMUhX8w5YWgrkm91flPjZnQ6y1us7pzSnMbQO8TzZ5Wks8BKktUrs85/55zP3PmzNLnKaw8D623MMXOLSWSut9cipkHnL5Tj6G4= 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=EmnLM+lA; arc=fail smtp.client-ip=40.107.21.59 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lkpcGCHI4u+Ho2UjnSeIlZy6Va1Yku3eI0UOKloyeU2eFPkVBlSucdFE2YchsnZh0NK0j7/3Bcg/R6ylGklxq01DolNvSXD8kc1+iEXtGjU2WnNOMCJV7Z/WPEgJyzP3cAvOy3+ofayyG2FmoTZAoxrFueJjz9xy2exz7CO2sGz854negD0ZemEdYb72wLTExSx5AW7TuQgq65/W1/gD1e5bCtFUYeO2W9QKO9M5TW3KPtsGlIzvCSSYBAkfH26h1uF4n5TCIZWNHCWyLw8ajeIcIYxh0D6+wnaQaYEBB1Lvb6eXGNLZUZ3SQuLLO93u+wAbqaMl2Bo38WuadPSy2Q== 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=ymAa+aSuAn7HQrlJXJU79VtPZK115RslhJZzV8dit40=; b=NeLPfEoIp2PDAjFS5j++UBOghQKpC2Up7aYnnwCwd+5lweqmE6VFa8A/fGHZN1ATtlwYNtnMjB+8G98vy3sCpogOfesSFB53VBmLuSPyFuizifnqwWc7knwNM2hspJPDopmiGuxWAr6Gz5TVWMiRYkmn7P95DrFXT5ax45j6zltFV+Xx4laHVorCytdti6yixO7tjMUGyLq2TWeyBCBoQ3cR/gj33PWCushWdsEjNSB1C1wgs9M2C2L4PiugxqFOtg3aFdtYTdutOsVXqJeVe+CFz1aR6cl+UuwKEjpHiXY1IXUmRl8+UeYe9a5DTuMG3SF2i8nSF6q9ihtHGkzPlQ== 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=ymAa+aSuAn7HQrlJXJU79VtPZK115RslhJZzV8dit40=; b=EmnLM+lAODmLNu4bbfqidyNFnhclvmb3dfgkxQwZ/CcuXQpX1ogFlarjDndd2ggmNPdxhiu9rzbFgZLztDFxPNS8wDerf4qBkJZ3oCu5xAD6brROyxWGKvSJgcrKd0y7xMms1BlUc3Nfi/8m0el8ZUQPNVGkqo8DnSIBFxawUJ0= 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 AS8PR04MB9191.eurprd04.prod.outlook.com (2603:10a6:20b:44e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.30; Thu, 21 Mar 2024 08:14:40 +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.023; Thu, 21 Mar 2024 08:14:40 +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 v10 04/11] dt-bindings: usb: chipidea,usb2-imx: move imx parts to dedicated schema Date: Thu, 21 Mar 2024 16:14:32 +0800 Message-Id: <20240321081439.541799-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240321081439.541799-1-xu.yang_2@nxp.com> References: <20240321081439.541799-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0022.apcprd02.prod.outlook.com (2603:1096:3:17::34) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9191:EE_ X-MS-Office365-Filtering-Correlation-Id: 3b7b1dd6-ce96-400f-7193-08dc497ef4bc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CWTwGTm++2gEF7DQaa79MYnhHih9cP+404yKNgamuVWd7/N1VMOVaVpf7QkOWm0CO2G9R2ubxgb50/XHmA8xRcWXMBjAjpDSJ/S+88nCjNoWgPrjV0qPLehrSBVO6pFWhNFxWA1/QXgL9BwBj340Hk52UYpj46mUVxefW+HP/aOWAVu+Od2fX+1gADb5+qYdOb1i05LD3xCbXCwoNYhkPJdGg0OTW7uuED+9eIftYTK2ZHsG7sISgGrbhs4ncntpORmzr0a/QCbB0v17IH/w0+u6rSncQe7Ve1JQ7WMdyr+sipHRsCfRLYux4BjqS9oCHyE2b2DXd78K/zbHZQ86jImadOvlN+e3xQ/Wyhcw/dXG3gCqqgsUDB8Qdvg0qMF3DxgWgSed/r8XNqGyOuQuYsmZO+jCIzrbVezRpcdZKHC6fp64FOkbzftNTK5r4ouaG0Rw/eEeNI4FofHdjR2HNuTHrGsXsoGETfzEax+FiwzRBucMkVB465VHgWOrBsoEKyXoAu4U20qhYN9lrDSaiyvh6mccZ17tBPYrlXVaGudwV59/s4OZpEQPnaUPwtSjAWPgM3gfWEdo/EysTIf3kIFQidfLFPYShbIDvovQvrW37rF5AmUc4Kfz9xYEw9AuF6afykIibhO+D7YtB+j3JXdYbLbloxxYid0s5EmKC9M= 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)(52116005)(376005)(7416005)(366007)(1800799015)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Euw6uWmOr5RO8F7kGizCjA2SsmmKU7URg0x9efBZpUV7g2esaxMB4FhVgOD+V3FuxUuG6prCkHENe/h27oi780G5AlewKSzRsMJQ0KsZP6H/1mPsEtvWEB5bWfU7Q/znH1Z2pe30cK/zDZ4/B/0GqfViFhhpW3eJ4NZMZFTVqs378pc8J2glf6w2Tna+4JbsU4M+IA7laPZICXV6+tyjh3NZSBcinBo5f0xz9UsrTPbRrqVBUyGVR3IFRd34lP35m0uw0qH0E6UsTF4q3nVLOmrdBX56Fx7GJDbxP5D3yBETutOLkI3cMoXerdYcAKpfUgyqfktxYZnc1ND0W9YiraUZjJAR1oaKNa8A0EVPhP2rMgQjzD69Ya9o6jlLsKC5UZOcLwdnYPCv7ijzq58mP/03UY0xxM13dM0hF8kvkXoEqRV+5XQ8v+xkaPEMiNVFRvaX8fXAmrDqBVbri1J5vAFwKNFck62AGUCMcacW8tbF+DvDz4UnVJYyN1QU0H8HFvBS7JGDy/lr0G04w/EhH67ieswNhr/Ib/pr7KqIpH2/Xq9Y2T24lmYS1ghBPSrOEfs8BuTNuTjYxWXqATH0nGVltf5K2XUB+Qxl4hBA4iGGhypgk8SfBXzn8BcRAgyGLj5jYOmBfJTzqsQAqXJZY0SZMPkNIj43p8E97mpkSgA4Z7eR3dsK1X8LmoyrTBEHEKV+TBHHAqMhyFMapLVD6TLQ4+KO4AoajMUlhzWVRQ69sqfE/7FJ7c95n/+EkVKtQWsak/xrmnPOlbx2ux7R9Wr5jAy++DX/MyHTmjjiV+qT7gsEtHE53F9dA4xXL0XDF9+wrEM2JeuzD7t2ES63P3PqvrIND8C4SplisKO12h5fM66e2uVhgA8McyY/Cu2oqDuZ6sDO+OfVOr84UHXtJk/nQNCMwkjGuQTJF73wPBqnVqoHy3XAntNat7czVVn1jyZ8DsPW7myvz2Ii8XH+7HKrpntR3KS/wzLrhCzn6jEu29IpVfT70SwBzmc6m537QEEKD1UExTQxoRXgj+LN11ZwsDiSLhlp1L0QgLQgFLrHuNn9Z5HnjBb977ARB5e0as5DvYkW4Cm67+YclQ8DHdJlTBHtVuSo7q4oLgAn96ElbE42RTphpPB4qpuGkLV06l5jnppAzmWtlknKM59uo101lcSuXFgcRdUiTIbdkJbJS+pHG+fTCSxvkQumgDK2njz5Zv/Pr+K0sGDFPvLATE3KdTtT39K9zyNMES3L9W83SaVBup5G5QWjak9GcXlYVIShvwbYVCh8U7cSqa0HpU9nk0+J5Wid+ip0iCrtQi4HZs+4XLmZZse0yOycKflisSkuZzYsTCcVgPiLN4CzWmfSs0WvHkqDuzd3aj4iFWYfVhoFUu1GPtUYQCPyIIb0/8zw0ufAI8HAOmzJMcb2mh5967HaEjvtNdYyoRaUbwktjusSsubWWJPC5VFkEUe8Kysyz+VZG9jaYhijcanuyL+Xzut8O7Xu/HuPQ1/pHG7YPYdeR28839qYnEdwZ7UON3kgB3hCl5C9TauvqCjrRZoDmd+EUZFySXUNPPvNWVbtlf9yEzONtjSraLkN+xut X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3b7b1dd6-ce96-400f-7193-08dc497ef4bc X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2024 08:14:40.4011 (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: QhzRN8s9SW0ftpfU0DPIp0leAuX7E66MRDhyXi/3zTu6T3z8UQScs823SZ/dtZV6ugvOucc0ik581R8QxjthPg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9191 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 Changes in v10: - no changes --- .../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 Thu Mar 21 08:14:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 1914312 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=DafXXMJe; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=devicetree+bounces-52095-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V0dZ76Xljz1yWs for ; Thu, 21 Mar 2024 19:15:43 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E255D1F222C9 for ; Thu, 21 Mar 2024 08:15:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36E537826C; Thu, 21 Mar 2024 08:14:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="DafXXMJe" X-Original-To: devicetree@vger.kernel.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2059.outbound.protection.outlook.com [40.107.21.59]) (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 0FCE077F3B; Thu, 21 Mar 2024 08:14:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.59 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008889; cv=fail; b=fhpzR+k2J2ptSojr0oxtme42j/LJgmeYO9NqrWI9IuriXiDoUufW8hs2M4iH7GcmpqWzJaF7+8uQ7sLdcJdcmumCJNIlIF1NaQ2zLpQrVHzk2O+n1wjXc/VxWNpl776gppXkdm35upkvoYcVSuwCOM38Aj3erQiIm9YgAzrn9ZM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008889; c=relaxed/simple; bh=HKgAzNYtDyIQm2RhMYsS5+zUBF+JVmrUYz31el0KN5w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=ND4yyZw0LL5mrsSconCPWpQZrFpt15wkuZ6BJjEuPPZLmfPKLuQvcrR4sp2UZQEG2RJ6OZ8nvELkOKTuGoiqTRJeXlGae/94yrsVZHqv0hvtWfeLTmbFVt+E/+9vdsmBcicZL+T22GBUrNJ+gzTZ6f4ounTjJeHy9WTaYDsEaE4= 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=DafXXMJe; arc=fail smtp.client-ip=40.107.21.59 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SwybwEykkNcnhDtmP51+JNiSRwnbyHPujt+2WJJDpD6JPOuiSS992kDO158tc+ZZM79NAG9QZph5/sqs7WcscSBmNYBGmii4gWkE17G60wOWX0L+vIcUuBQHjFP7k1I2LU8deSa2yfzKK/DFaIPJahL7QWz8tOS/9LxT0nYgFDmpbzKRUtt8ASPx84Ucw4XJhctMRbcHWJZZ4Oa+OT4JpxpGNwOcv3s3w+m5dEWEROSqq5A3U2UN2NBeHrLjIovCvLzrsYbxyf1yAc+zD0aAjTnTy3hUKqiVxo61fZVWu1SdnTWJ/X2WxfKF1GDyEE9G5mOFxtVxxya8j43SRDdhUg== 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=E2NJpTRmPkwFMb95KaHsNw4/4jsuJe+h2oKUJPL9b7U=; b=ZhMBwifUtoEvUvNHuT6Q3nU57NJcn3/9/mBPKXa0DdwQJeJEh/qUDKSizBKhhLGnT35ERC8K6NZJSehZ8Te1jW5shZH/JIpFTtoUSWjAnyn9RelXm/Vvl9qkDnKxphmdhLQJHkyF/HPOB+oOayhmt3Gcshvmv6Ud7wIzWkT0QA3TDzD2kBrqLz7Nrx1c8GffQpcMabfxnmQZPaCaaLCvXmfA/JyLSS+PIi/gpuKgCuWZ7u1H2KSUPJrqtnqBZziLm8pnIibKsRJC7ro/Z0RV6w/MzTtqITbEDEU1gXOh2en5QjoxPGpOyrE7N1D3oO5kgN+r/HZpUeY2ZoSDqjXxVg== 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=E2NJpTRmPkwFMb95KaHsNw4/4jsuJe+h2oKUJPL9b7U=; b=DafXXMJewiVhZ6nHLjRN/sKosfGq6jsnyRmD2uVE7xekuEzWO26LxeKFOGJo5e0FzJdxGbq4pwYs2JoLwXgXbFaRBrhPUaytOPavqlmXg0qHJMnLhkj7mZ4HZctY6AeZ7uDUC4KNa9PvkjFmTHUUi5zHYrL62szjMaNg0uPaNrg= 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 AS8PR04MB9191.eurprd04.prod.outlook.com (2603:10a6:20b:44e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.30; Thu, 21 Mar 2024 08:14:46 +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.023; Thu, 21 Mar 2024 08:14:45 +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 v10 05/11] dt-bindings: usb: ci-hdrc-usb2-imx: add restrictions for reg, interrupts, clock and clock-names properties Date: Thu, 21 Mar 2024 16:14:33 +0800 Message-Id: <20240321081439.541799-5-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240321081439.541799-1-xu.yang_2@nxp.com> References: <20240321081439.541799-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0022.apcprd02.prod.outlook.com (2603:1096:3:17::34) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9191:EE_ X-MS-Office365-Filtering-Correlation-Id: 78a379e2-b021-4fd5-7984-08dc497ef81d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6hlQN0UI1QbtolXTLa/m88l9angV0qV8waYGC6IepxrRv3yYlJoIprfShh+cbioGG+WYXVaDUkyAfgA+fzBP9SOhlg6tDHdy9BMrpvaweAecikb1n9pIyfvbG0ilqC2dZAjT8ml4B8PZ/x39oo5fwYnclCGOCN2KYc/JRNDEhd+6aC4ix+KpgWKFERU0MlhoO4Zdb6HEvmvnkSakAdCzRZcAbp1zNKcd1cVjVVkxbQ+XwX4h9elfBRC0VaHhgO4JVm8ywAe+TEyMGCsvVvyGYmdLWX0Pub0RQUl7PqjEm8Z+nw9vQodhHBdMflJMrlIL+1gNZ8rdyde8FZ7nxajlQHi+YMVKb7bO4fF64EqqFJdNj9+WNUk+zW6NzHwoll+3+12dYVhWAsjItiYqz0zSRQklUQ12lB5ZNgGQ2qH5nblbw6rY4njHIrZNpd9uLXf7OxIVqYk6GK4dMJ4LjS36TuyMC/78doLdWyvnaMRbHT6PQPSsPvdf7aFwYHuvG4kMWeH71bZxNhgC3Wb3S6Oyc5LnwkzOHG9q0GAks4M2UvXOwcERjJPngUx3lrn09+rk3u9qX7DQAV2jq3FTNQTNwwjjCAIpoed5V6a6/E/GmIKEOC/2OyCC7MKhj+xeD0N/ItXTaSNjoQL8G0sPYqS4nCs7V75Kl6tPAIKLUnOfSXZZJdFPvdsd/952Jbg9uA3QDUi1yfiRJ6wO8CA0r6vgeTkfPe/jWiwM+slw4N3xP9c= 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)(52116005)(376005)(7416005)(366007)(1800799015)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +EfPj+eCJOBRnwXfLaSH+5hyfBHLVLTxI3yvd/xgySCXil3l1N3hZVL44rUs0+SrD/6F+WKTZUi/Ktt/EL1gby8wiyJu5LmZynvnILxYnkUUI359Yvs2vlMGPE6gmfI+lNxnw8PrDIQE+QgV9QhS8jy6hpeXDp0qrdrfbNuQB6Q6f0OO/2XiqSspBhNADQT9BAKCRe+4gFKiQU9lRrsJqVECmrGQTETra3lZvNOVuI2FijITRXx3Eq+0WJYr4nLYZ08/Z5m1oRPtD78pD1oz1zUABax4ye+R5v859ibgPK//IGrc/B7Wf+6KcsNsZ9tqb2Izv8QWKtBEz37yYQRUy0RUntLyLmqWG9ebzzgND+FBxU/Xg2w5Fpd8S+W9mNUVh6mCDdaqqi1WogQRoGQ4Qp8qyIy0FL5LUOWyTcrM5jxt2f2HNnSxI0W/TZpEFMCxXzdS+ic9N71IuOQN6UrP3S7U9fdYPGZ7Z/MGJ+usCDq7wTXXbeiAxDN/peQdZY0YDufCtLLXPNlN6pM3J3DHwhD+aOs2To80b3qjv34uHC63b88+06/ds/OJE7IQ1C8ABVTckBhb/qSIvvUn0h7ErZHdt6h59+r+QGNDyesrkhjSlGiBUt4+/9KAqZ+OGWbPN2TDeFufXUBXG5kMpbULv4dDgVcqpIWKcqQXY4/Y4xGXazE/akUK78ADY1b8OLkxiSA9TpjdUeJRMbgqaoRaSL+Gpw3Y3RxpnNqcfO5HLz2MYaXu4Ajq3ySMPu/ymcu2YhBp+mp4L5QvEeGTmtIe2d/tWwBieX15oiKfdoN+uf8zqub2z3Dlad7XQ8ACa9ulutVjiaQecApYebb0ffoOxJq4iYqeiPbXf2jzgEytLVZYRJQyhfWl4JsO1USJNwSP1+5QoXLKT1PFW2gadDYlSJh2OWVTv0hi25M7rTCvMsW3gsKngzLj+KxRIhx2yLJEKMsm1TticOMctaMmPmezDC2JCBCv7Mg8hyND+uee4keCZpEB5wpHDBaOhd579Igmr5SIeuTkKRiCxN59EyTv+fOU+37Qoq3G2Dput6W1f5eqxSzZRJgcdLqz86wwkHQs8LtZZq2MEEI0SbNMZ1D0rP0ykglwO9kbI3AhoaVHvKoKlRZ0vOo8BbaNTi3CMLrqYdzYYX9xJfO4PzC18Q14FB5mbfvXiTG/5yM3lUcOhBj+soBYgDIBaRn75seQoxDe3sZwDwNry1xGWpZMeNrvEm9gTpUogPiUIPj8qFC9qO4oyBWS1bbLuaGanK8f1Y4Op1dkAZpPmeMF02n4tZj0RAxRSrSEDgbYiSNZCoNMST5wPwrcTiQN4EeiUi533f2Glw1D5C62qmZZOYjya+CPSQH+sGvwqJhbua9p/eC45xGCGkq/Q6HEEtaVnaD83mZkOE1SfYFwEck0V7yQ/8sfNAijbBGlzC1hjM1IqUODvRu+lWhBiV8B3/s4GKTB/4VEnFqi/QUsqyvR9fZh3clkXgeiPCOry6rKXjbKEfur8D8y8pWLVrDNeUxLNpjRYZejJLmOmAM8l5uIBEPlHck8i5pRcc9fcavjy9H4/WMPjXEe0GdTL6j1wXCu9BzkNAd+ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78a379e2-b021-4fd5-7984-08dc497ef81d X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2024 08:14:45.9114 (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: gwQ87NfnwijPDB6QZR7lG6ZwDQJNkFD+sTt+8mWswOZY2O2z4OomAVZ6i+0NQpweZpgIjuu/sl4JQUTQ8JBAmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9191 Add restrictions for reg, interrupts, clock and clock-names properties for imx Socs. Reviewed-by: Rob Herring Signed-off-by: Xu Yang --- 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 Changes in v10: - add Rb tag --- .../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 Thu Mar 21 08:14:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 1914313 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector2 header.b=ApNQ0wpt; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2604:1380:4601:e00::3; helo=am.mirrors.kernel.org; envelope-from=devicetree+bounces-52096-incoming-dt=patchwork.ozlabs.org@vger.kernel.org; receiver=patchwork.ozlabs.org) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org [IPv6:2604:1380:4601:e00::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V0dZc2TNmz1yWs for ; Thu, 21 Mar 2024 19:16:08 +1100 (AEDT) Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 654581F2231B for ; Thu, 21 Mar 2024 08:16:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 641BB78661; Thu, 21 Mar 2024 08:14:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="ApNQ0wpt" X-Original-To: devicetree@vger.kernel.org Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2057.outbound.protection.outlook.com [40.107.8.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 34C8277F3B; Thu, 21 Mar 2024 08:14:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.57 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008896; cv=fail; b=sqzPabvc7fFO1bx3FdHUKFno4d/HDDJfqtnARytxfzyNal/2krYRu/eyrlCsZoPIgWWfi1MljSYG1t4ibb00K/9TyaBZsYWb8gYipXmHOPWsjfO/nUpG80QcjpVmz2nsNUP4pLw/vO51fnTv2kXUeDzqVWAmJX2GRSrTjbn3QsM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008896; c=relaxed/simple; bh=CCPXe444/w1DYYMZ3YyxnbbQDnhjNqNbwibD0+N4oIw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=nE03FLQX3LPDB73CIo+CWa+Asq8+IGskfHyGuZkJmsK2FEzOt3RJCXLqtu5aHD0dTJRYH01RVb/YEe+nC4atuuxXAHqhlItKBPaI6qrji0oqMtvhw10SlrgdakXelrvX7oTIboqhWrKnildI5+BMMwFztuWurvju8rWyElP5LTg= 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=ApNQ0wpt; arc=fail smtp.client-ip=40.107.8.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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HiHTCZSXsGURnHa+aZuFo3D4832/CklsfaCVIY9NrcAZ3rJVQDs631awvmsipnJVw39kYhiAmPCclEF2zm2r05IiJNAM/Bp77TTAjPK9vnspdWiUmpfJC4mQv5o985ydEhdv8zpAtg7qjB9Kwfl+K6l0WI/Db4YI5W7jSpvY0/EWlzv0nnGtLhGlsHW6w9acEZ4pwyaC+6QgzY2/AK+/7p1iZkQ/+DrIMR7C63/ERkHyLpL6oA7mg1tWgA+VJqO4aSyU9CqHbPYJ7Jr22yaiBgVOto7JQMRCxaPPH63oqDsiMJ0Y7WkwNY92Yacgb+xrzZiyN4fY4SyjW65r4q7kog== 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=VeFMEyE63d76LT40ZCRB1CvY+6xkoN9CZD7zDmnFPd4=; b=VqD5isvo22bLmFGOHdsScyuWeCiokBlxk0HouiJZVdQrztpa43JZ18Pwex2wXIDPoekoGrKzUhiWG8WDj9jBd3SlnTaMd2P7wyqKEvxLWz2IUuaCdy+vA25ouMbJhAKSJFfXt6oQR5WQYU9AN6naNYeH0UAYwukzrGAPnMN+91rsW6zA6+PBEpX/cgfa2o769H9Q7uzE5DmXEUFPBgi/XQ7nQpa8uvZ6h9DAb8ntHQW2iLODPkQRf//DJVC5mBh3+fW5BCVPG0moE6n9sTZqyVxddTWK2ynD+8i3O35dEqXcasCJanqMYjft2KX/+6VQj/jBUvnJvFJkqJn7HpfQIg== 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=VeFMEyE63d76LT40ZCRB1CvY+6xkoN9CZD7zDmnFPd4=; b=ApNQ0wptWO22q5b7PvzucOM53rjoAKyZ2AdYjCPwWUnx7tfSD84doWxBqgZJiZXOjMlu+TBEWETy4SMzprf5ODonwCs2U4VvYdyt9dVrBeZDlUhn2utN7ukaTvL/TFXuN6Led6/2lseoOouThfop1ROzXZjaqtaRp/xb1lU9dbw= 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 AS8PR04MB9191.eurprd04.prod.outlook.com (2603:10a6:20b:44e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.30; Thu, 21 Mar 2024 08:14:51 +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.023; Thu, 21 Mar 2024 08:14:51 +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 v10 06/11] dt-bindings: usb: ci-hdrc-usb2-imx: add compatible and clock-names restriction for imx93 Date: Thu, 21 Mar 2024 16:14:34 +0800 Message-Id: <20240321081439.541799-6-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240321081439.541799-1-xu.yang_2@nxp.com> References: <20240321081439.541799-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0022.apcprd02.prod.outlook.com (2603:1096:3:17::34) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9191:EE_ X-MS-Office365-Filtering-Correlation-Id: 9aec85de-9940-4a3e-623e-08dc497efb50 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4nOoRrmzNq5pF4Md8pPubRTdirM+AVJ26jnyWEryz2AF5hfgi0s4b/QSEpLjAA30iKA5MBoqmbvbFn31AZpPcguFeZWRKUm1gt/xGLCmcITmOXWe0V+nhoO42saWZsOf7lCYldWJCiCPHDqOIlvmBfq0GHKrWZ1Eetr98cKiHwFIuc3yPNwDmRFESgb2XAmGhrj6F93/njdUmOoggvUUd9zHjVtoxn6trrWcXG+Qvh0zk0aFfeuNA/Ku9R0nUwYcRORDOo1Hrp4It4+yTnpDKlCTPc7K9qz3cZ1IZCUqtH6IvdEvET6IMBomzMu4b92NGyE5O0d0aqhe7mVz1rlTWsPixMB+t8c4SEealRLDseEOm+bXLcMDOuZl8sicBCwJ+LnQjVuacmzIRmY8v/8fwsqa0mXJmdQZ45hUXgCRRg55HacqaXYKvgxM+j1kJTc92bWo0jyK4ABG/bxs3Dy5Mfg1y3J5Wt5TBnOKOy0TXPT5FjEhMRL2cLeVcWcDA3o0E7I3+LcRIyok+zqRPGXUiABWos6a+NoY+9wqtV/YV5CWsyBx+ZsKmvfBTRoIT0988Itc04NcglYn6WMtDoEqysIFRiEzEEe0JnnyeCf0oaWM7I2/FdNFPxMocKYR+fNaEl/KQA1wK2AMgVDrzBndZZeCOYzmhymKMKb7g5OwgbBoJgN/DarMKSShF5V6A2SGdUCQp3gGxE07GWL0X4c7YaoWbjsMLevwOYeLvIsWHb0= 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)(52116005)(376005)(7416005)(366007)(1800799015)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Zu5pF77OapdPFb8/1FTNoAMvW/DpyqHRfdHudmHHseUrWjixocB9rpwvufPsYk7XhMgqKxRBXar6OHCMCp7ZBqY5syBKXwf25+oStlesf1uvKH8CkoIoCfDmgYLObB4wanyOrsKF+7I/loGQRWya8nxvf7a7Rft9/XAH5/FM+1v1bEBIGnKooS7qdyh2ehkMertRn7wi7GRjV+udunjNXUKRXhKJ8zGABKEjQqAK5+Dq7wH0NQyJrRjSMEoaas4Ui6FATotN/oD6wYWUsRhsnmjI/B87hltDRLZcuajOTdLcKIQza5jWQSOwtWBK57toH0YQ2vfY4GeRtjbEg6dZQuj0SK/HZqMf+tP7qC0DFIhvn3pyAC5MlaiGb4bbpx+OZhNuASKNs5JSBybhwbC05e+UdePu48wWqq3VfvvsJ7aSalFDjC7GW/KUgapdYEkS6l2dglmcUqzu+nBqXJVfVODLOvC+Q/ii6RDWPfbllBeihGCpH8XanWsExdM2FxdSVQgppVkTOsUVi1Qn/tRx+IXuV1vzYngMI8RD/rGIgMka8nfOcaSzRRMCinhmjwl21o3/onhXW/jbXXfPQ1E86hdbzJ2Y1PqiGrtE3ibQHnxKLAC6i4Q8wL6vLGqtBwmHsXXOhTLHfyPBssee6WjR6yic7bw3Yf1VUZzHM2JYV8NS4QigThU0CzVjn8Jh7qcFgDuQyILrCLUFMun0slbm7bdqAnKHi6wl7CGW8J37cMRfMO95M3S4vKEr2Xp8xLsX6ET0/x0WICH4NJ4+FBY2qtySaULn25t4Hev5DbMdz9LC8TZ7gLqCDDrf1h21kk1NgdBOUMhFbm/tWPl7hATynnNoA57MdlnAM6xoDimwkwOtpmxLx4o+6Xvm32G43O552b7CozFMKy9mdyd9W9NrgMrz159+DEms6KYyZ437FGoFABmg6pIJe6hI5RaNNMlM8RFDiNyptI8UUcfpTxpqsnMxsUAsYltzTmds+85xWSl6B0wzKcEutPGnSNw33Ajg1vUH+LNg00fy04KCXuWtt2+OTiCgjPqSFKDuR+u4eODGCOyuwC3YxdTH3RDL4TVamwOlKo/5ugc9MW8Oe/h9cOYpvBL2xA2DNiw6zB8UptF67A10cCuE0ysOwVmUeWzxh8pzUaqHRl5LI9/PhW/F7FHZoze62/0Jh8mAco0+hefGMUkwkTs757xp0YhdxK80Z6U8xm+EjiZgu6xJ/kjnY/uNwDGLKbmLhpLTa+/VTDjMdj27p8MPgF6thS7BMNvAxLaEv9ef34N5Gv66HhkuYyv3jFTIbi84Pko9Rws46SYZ2yOv/XKPZwnYnEUCUnKwgX+fjoPUS2DqH15gaK0Sd85oLcmKjJVkRO4vx4AJswmflmRaUjGqqsV/FLytksLYpHnpAtZoz3U9lTr9SMpxmyDiwf1j/6sPRdO+GaQCsA0S5RMkytNs7TPH9xcDtLikU2c6wq6ip/6LmiW9vmuS5Sua3u5Wra7AQ6cYz26Q0M7nZ8KafDnI6d3auppESgC2jmj4Fyf4onhb+6/5QCMfO2tDQsOP8rN3Kq6VQmbYRKci9ugRcFPTGvgbiQSBp1+S X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9aec85de-9940-4a3e-623e-08dc497efb50 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2024 08:14:51.3015 (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: EJ2I6wEFISwlKrqSg3SlMLdeOClHlX7Qrb5n8CFLK8ZLiPwbYmyH3rU6JTcylZ8Hf74I23iHZctMW1qGz8rhrg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9191 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 Changes in v10: - no changes --- .../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: