From patchwork Fri Jan 19 07:19:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 764456 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2042.outbound.protection.outlook.com [40.107.13.42]) (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 36A7C63D9; Fri, 19 Jan 2024 07:13:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705648403; cv=fail; b=g+EqDmHUBWZ6YEY5WFIdb+QLf2sp/9sFiYKzGbB6erPsnywnxE6hrXXESgFgLNc/1P9xE4XiZ5cjHEKjnaqYb0uOrb8E5DdNNSpPvUUmMhoJgH51l6uu8PmB50TGjyLC7zyHFiNSp19fMsLUbFJD4CJn7tRSecyCo8TNbOrp6mc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705648403; c=relaxed/simple; bh=znhTN9WTRSkFpjRhWNobwLb/UzIiu5qSgALoaMCF5YY=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=U9A7SmP3mC4Ha/dKLTgR1FIb4LiRHkE9DNNf9aTyeP+dbXLw0W4xj/HTZaz6PseyFV59a/qPtXkSpwC5Lrd/yFuJiTFXaOPBosQtDvfPyAgPEqWgumOQ3msKP7wzWGRJMr7k3nWkldWKDIJvhrL+vE+sgrFRKkse1lPxTyxFryU= 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=XWn3HWDh; arc=fail smtp.client-ip=40.107.13.42 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="XWn3HWDh" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n19nh+g1tCWJL9POfQrhqlmUQsNGjCShJlkWipH6w+ApGEwR0pzbxwrRqZhGgWH1vkUrx0+t0gTvhJRP2ZUSG5ZvsMzR7qQrB8ef1LJNhTfh+I0+BEyIyGYjApUXgRdfodm419yKgztdv6TpH/2PwJF71rAjUeYLNfgZ8LNvymVewIx5zaiW5hEAErPLR/YHZ0lSekVXvZkBTDhNkV1IvEWRxmOD2tuyVp8Zs499pTjL+ruujdZRtCxZW49sI4wFLKCON+UoThTXG1kntLiQs9M3GrE7Sh0pf4g9bx0aU9bQPDnOg1Icqi1BiMuZpan/F6jIrq34eprdt4KjUwPg9Q== 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=/0srKspLqwAIzkVz9SKMmuyk690bxfg53+L9o6m59v0=; b=ighhgxj3AbqqdKQH/p7ksfbYB5eSaR85NRFZJ4dEH/XLN0QxVdi5cocjxolaPbA+qGTfP4y09wX+3xUie2bJnJgOm46iOfQYiTVMJTuY0ljzrNiedjz209vtbe11Ash0U7DExGkLNpstGg8RF0iAD29+rIt1GN+ZXMn7BCx+QxD1Th8CQSxGOd1DkkkH8dE9F0q1kd+lm/5zdwRP8L/LyExtcsHcZkRs7iqbWs5lttnvu+xFvZ/FEx+DEfxHO2re9n28AoC47MyVm7jaJbRF5K6C5rYaAZOsUDeoHGY7fQ4mWC9LKxkBUocuQSgna7sLMlznt2ctwU/qs6ctVlc1ew== 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=/0srKspLqwAIzkVz9SKMmuyk690bxfg53+L9o6m59v0=; b=XWn3HWDhhHC/aEZrd8ChJZsx0Q7KXpFzOTu7/zbiUE+9240D4IeakrdQNOjG3GGpQl9ZPjbhMFPh7PPzyO7m3BHRO/niOyCety4Z7dv6Ord/TLimDWc4WdJOUsJL2a36IDXsF1EFXYb3wIl9pAC1FWioFCZOZtztcmaasrTNtRc= 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 GV1PR04MB9134.eurprd04.prod.outlook.com (2603:10a6:150:25::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Fri, 19 Jan 2024 07:13:18 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a%4]) with mapi id 15.20.7202.024; Fri, 19 Jan 2024 07:13:17 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v4 1/7] dt-bindings: usb: usbmisc-imx: add fsl, imx8ulp-usbmisc compatible Date: Fri, 19 Jan 2024 15:19:30 +0800 Message-Id: <20240119071936.3481439-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI2P153CA0031.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::7) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|GV1PR04MB9134:EE_ X-MS-Office365-Filtering-Correlation-Id: 6bb84ba2-96af-43c4-dd7d-08dc18be1c32 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: F8DYO4IpmqM0gl8QPzpjsGnqpnxg3pW31sWgH+kl/C0SoiDBC7xsboxFriVJ76mK7gRB94nq4bfjyPvcIm/KoiJJUucilrC3KVirO7Zh1/2QtHsxWfamQGBsWApFxdszwoPrSWcSsMR8ZfWrDXFA1QtxCAK9mh6jTkNaxr0LbexL/f+QgfyvoF4ft2wtZAxwCYPeQOCM+3krjs13g6xMVAvOsIW/Xz8tzTS1fEOfldJhqkcFQGrTn1XsTl+KWCIvNMQxmXZC2Wgb2pyDaTsmCU0MLq0M5KWLBBBPk+EsUwDsSS+llnZaJHfQcX6005GjykR1ti0PZn43M3ShWi6yhXL3DVIrwUK+25g7o3CBa3go2eNhKDDRCvRF7IOfoM8XdgwEDIpeXKa4O//s3fxtEuHCR12aXZBFDtk+7VO5nYvRHk1ah5G2bMxhB9Ydu6PA8+KHHoFFF/BH16aYRFnUOIyd4V+BfGA4oKxsSGR5dJWwqrw5j0hjyfkFRTpWJOBxV2PW9lKoYtRDH5yhX5t+QE571Ycf7RSe+i4fF9wWt8Sp+mTDSJFxOrRx0oO5YEBcgVwEFXG7KY4Jdd6pXG7kAzwmvKqmbo/Z5dmviXOegb+f5hWAalx3/WGipmzG/G2D 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)(366004)(136003)(39860400002)(396003)(376002)(346002)(230922051799003)(64100799003)(186009)(1800799012)(451199024)(41300700001)(26005)(6512007)(86362001)(36756003)(38350700005)(4326008)(8676002)(5660300002)(8936002)(6486002)(7416002)(52116002)(2616005)(6506007)(1076003)(38100700002)(66946007)(66556008)(316002)(2906002)(66476007)(6666004)(478600001)(4744005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FKpLeNrDrBFxPH3/sAgTT3HvbztKVuRx33cuZe5lHytJImW84BZSSVIdkxwM7nEtgg/Nte08BAu2yepLU0fOi7rMsES7qfuPeQhV5S+6NA+8mgSkneKGUmpqfz+od7s4WXGSQhi9zZ3z0aXc/Dbx0HVc6VuKURyD3E1a8yPsz0kiFdcH33iO2wyuPE67nqhsCcT9MaESa6wOm2Lo57v25pIGrW4R6yUlzOjouPQvNabM9aHh38NKqj74uGmJ1htvF78wkA8mQTPCyOLLD4jHTCl7Lcx380n0ZkOmCenhNwhyq7uWyarCln7l3+M0EuQL5jU7Z0pFBZeDmxAFWAcEaSWomwfU2/Lu4aUOTGaptgnyiDEXOPYXiY5FukJm0mSNATWe64kzvCv9JurQOIgLGgqPsCcQ6oktdWbrc0eAnB+n+CEBgtBo/X3XW6r3S1nmNbG6hcmSzATmZQP5IQqHd+qDKAyNrHUBD3XqYrpfaGqGnqPahy+xVcplGCN/dua3SlhH9omYHGkEj7ObVYHJb5MYWPiTb8G3XVmCKIZQtSiALtAxN6sR2wWP5oPqbd0cAOGpFRoWetLB1WcXsDziaEDjHBnvIRXfS7TpBl7/zooR+7cVvZI3FW00K3kAaNWc2+tAf0v7PynfHuHQPey/+jfQ0c5xUhbwK/YZiVVYZUZ6KQuMGw9CvjIRtUg6Xy5bCrcNi35hnE5CbWUG6KeWJHp0XV4PkWisl7eBsUzayPhaJMupvUwThLx3G16yMxCvnMqz1lOdclyeLKyDIFhZnarJALru1I2vBcZX6sljhefEKVyi3WsNbc9u7WPoK2LROF96xxaRpv3kZ8FgoITCfRnSngHs2mZ/1rbviY9VVMYqhb2WETy6X9EIaJPdIlLVnSyN7KRkDuE3ELe+lhxMH2ChUbeu+0FYDkXafbNTQU8qf58+QpS+cSdm8bEQN1uBKgvdxkIc05nOBLJKnh9XrEY86U4JxqgJmmnURa4faNbPnEsIthof6stDZ/oztn+/j8f9Lo6mE0jhMfC2yz4xNfDUy+C171s6uvd7fdQ/b56RsfQ5PWU5kkG/556nblLE8deQ5tBsLxuJGavh1Xfp1m6KCY278KGbsALEgMGo91Zz2wPfpNyqz5tdjada2fvczKDms1sHT4fsaNSNfN8CW6fVVK0KM5+MDw7mQpXhbCzRnRut1X7akt+DioEMQnGCNWkI51Svw2hCouT8Nsm9GSSHESX6tZOXObVagmLB2n888aSYMI/xlDx7Uy3HJ7o1wpz7DBZJ+7wZDGzMfeaW7Pj+U8ne9nDv+JmxDqkfQMxIHxVh8uEwdT6t6i0+lZhT1Bt8TCzLfJ70gxAVtFrhG8KW+PtZJX2u8tp8q6wwXlZxFXf3q1APEoDeF1Wzvlm9rxyCTQdmLvwDgrnIkAPO9voV4IK2qLBjEw+nxINdnpSo6LcEg2/pFHaL9HtPEqjY5hlYvTkfniNDi4vnrLh8s6fxNAXQztOnlMeLUoDsb6yxYrz55acgESvqBxHN2XW/U4WhH2kMf878O+sEvbi+1rvkyZ5DUUe4GZcvhq4VHDWl077wgDJYzm9MysqSVNqO X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6bb84ba2-96af-43c4-dd7d-08dc18be1c32 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2024 07:13:17.8905 (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: BQd68btdqg80JLokQSIr8lUxHojeiK5YxJmIt6ROfwwwiJuF9sEnn8s+NLeb94knoKfGmpkmpJhpyCCwLhYgzA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9134 Add "fsl,imx8ulp-usbmisc" compatible. Signed-off-by: Xu Yang Acked-by: Krzysztof Kozlowski --- Changes in v3: - new patch due to missed this little one Changes in v4: - 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 Jan 19 07:19:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 764218 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2042.outbound.protection.outlook.com [40.107.13.42]) (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 A57326AA0; Fri, 19 Jan 2024 07:13:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705648405; cv=fail; b=OVvcEIbDVmcXC+T2QM93nd6QY1ieoQYJoOHAwF9pD1vw7ak6z/m/QMsYsCZqQVG9EVPzQkg2cknjJjqSS0GT/Mjb5fSEtH4sHg8RXkDaFPWqPQScfULWdKsEnB6EfMi+ioC7aIWeZrNKcAgijWvzxfwzQRwBYh3gFMLnKluHSdo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705648405; c=relaxed/simple; bh=MAcoF/rHcvdyRTqdOrmAW8soRdhV5dPFzWbN5kqIzuA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=TJJKqkOKo6NnV0y8lMS8ia1mvG52mDNrdQQYo6F1C5EJStudYTH++zdc1j2pUCw8Cw5CQkjP6hNzdpbKdr5vzYXr3WCrR3L/mUnr1qYSDIXgXWMoxumPsOuOEAZTDloAXayJROELAC3tp2e9xo/yvY7GDb5MABQMpNAEUoJDk68= 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=LHcQb/Cv; arc=fail smtp.client-ip=40.107.13.42 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="LHcQb/Cv" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Rwx4l7+HLwBIozD3FsmhcYtgCHStx1STpE2hIuIGR+stmRKczp7F4v0eREwQacdyEAhnNDVf0kpV1pU8RWj0+BGUCeGrWkhMtCI2yGiifZMFf2pQqBFD4yXz4eHqC8/TU65XUox+ooh84sNhJdU+V3IlLY4VrNc9cdxw6iCaWOKXOF6zeFRObsRdB41YVa8DI19souCgUlqR0QInUhR6rfbaxhi/ugOCO+JUzThdTj754J8k0dBJROLMyPJds1hovytUpbrP8oPs50FcsiJW59Y/HPngz38caPlzuk/2YqLIG+HlGIGPqvqmMWrxahGdoDOwqo0we/NjgC+eC+8u7g== 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=NFkn4RTjErJnqCYjVPhVl8+XOLXhdQSmRvKpPqlx0rQ=; b=RgDSkR84ZecJnW94DhoIt/l8JDJ2hz2aXwXKn5RlqIKcCCD1Kg98sluFyK9nId3DJ7Jiv1F09DSYvWwEEKKYVvfOi10noXCO59TSpC1LGrbWzwI3t9XB7gwEeYiqurCT1+ldnS82DGfXZHgfiBFiYk2UX4Oa8tIJFE75ejsstZEwDjYPqZokUaj1famVWu7kQnvP6gWfNjh+xtk71GBhZ4O6rrRg4pNSOpaqiPnRYxezAb4l2L5eUN5ad5xqlfjNrXfu9bkCgqSj4bKUwBKcqfoC9BLV9nSwZPNccHAQ8TddRwf3VIQmN1xPhiuc/IQNdNaXbLYTlDQpyhJpzDQaNA== 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=NFkn4RTjErJnqCYjVPhVl8+XOLXhdQSmRvKpPqlx0rQ=; b=LHcQb/CvAbgwU7zQeF+MMAhz1/K+z8qciD8tdy2O/PCGCXGY4EaWuY6g+Q5NIo1/wxuEn2Vyh9dcSAVR/5CyKzP7fsX+DkdkR4nSvLEVacujBNdjGC6/Lnel0mdAWW3S6CW6irGnMOGjphPp3KiqGMTxUoE6a2cJ6pUk8YIN4pw= 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 GV1PR04MB9134.eurprd04.prod.outlook.com (2603:10a6:150:25::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Fri, 19 Jan 2024 07:13:22 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a%4]) with mapi id 15.20.7202.024; Fri, 19 Jan 2024 07:13:22 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v4 2/7] arm64: dts: imx8ulp: add usb nodes Date: Fri, 19 Jan 2024 15:19:31 +0800 Message-Id: <20240119071936.3481439-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240119071936.3481439-1-xu.yang_2@nxp.com> References: <20240119071936.3481439-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0031.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::7) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|GV1PR04MB9134:EE_ X-MS-Office365-Filtering-Correlation-Id: 591d89d5-7300-43d8-3fde-08dc18be1ed3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hQZhsgdwlxTl+oiHfLd78VldWpAmL1gZphrF22wcxKFCCRbl14jBVQjqmRURmtA9VKFBUiUbDTvMnsQNMHfEE6pBXJutBFjBPI38fdxNpxZBd1hsVqZa/QwPNy1MGwpS8LvRBaL2iQp3gs0q21mCyBExgSqFpB3bxYCYbqvMjfslTqV5M4hlSw1GOWcJLLgwDBsxn3nuaFeu3MqJCFaIEm0eYIqlzfA8/RfezBJm65RvlP3LVz2Q09rGHSVOHlrFPusVnX3alID2d1gtcZ4Houa8I2YwOYyvpu6rsIoZ0IhA4E0Gq9ZVlMOeajk6MfMJLeWWdcxoOUTocxO8VPxvgUBy33zOU+XZh1MLw9lTFLBvW3w/xlZzdk1d3lwm6PS6HXDP8U+YV1QuehSruzJK9ObnA4a09N+uAKhLP6GY/odIjDjHbWFo1nlUCXFU3B8CUWiBxeOI4o1Cp+LnOKW6pbL3nhDctpiKvvRz86s513evonwbaX87utghFdu2IsVH466NMGzHh4zBIgX0fm3ovTxsOcsJ9kpLUYgPe2fJ5RBV9T9HNJpjoQzzz636/0SdLrCMC9s8eiJcBEQOy8C33tiXulBag9oxFtftHIKfjSD2PT66I6YtcRUeDPL7LsT3ub5tfWnX4i2DIkLOE5ZtDQ== 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)(366004)(136003)(39860400002)(396003)(376002)(346002)(230922051799003)(64100799003)(186009)(1800799012)(451199024)(41300700001)(26005)(6512007)(83380400001)(86362001)(36756003)(38350700005)(4326008)(8676002)(5660300002)(8936002)(6486002)(7416002)(52116002)(2616005)(6506007)(1076003)(38100700002)(66946007)(66556008)(316002)(2906002)(66476007)(6666004)(478600001)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WS0WkGIjSk/4dErz6jMlB7DA5m+27kKpdCqQ00k/fmNBXsBT0wp/JB55vTEguy4gpA8ehIf4Lv3n9axx/rcRYIa/ucj5KWnE5uMuP00GsKvuyx/HK4zYJp58IKrEkj4dcySEysgOmt0xX13S9eAvZm+33WorZI+oeE5kpxTIALDcc2fBLRIxsl9OryOYjtuVsMcS3q2T54zBGwVXN1A8w/Mkyvi847UETZp3bN2VoVi6CNfu+BPfJPzi1ccXYcb4/ps0pebYhcjlKV55PG+M0shIKOztQX5BrwFX1RxkpgTunBKXyelfZEeoghNIfcfaihFAOQAbo6gO3JveJKzTbZ2nktG8LE/62N6zSVav4CXKXlMCnEfEB5FvxPkUE8OrXWQmll8epoUxP0qBNLkXbVeKYtPiv6Et867TPjAh6fJHP5Ch+9YecogmO493hCDxKE/kAVMXp7dPquZoVpCssS4mqgLMR5xL7sIFQpw2Ub3Tb5MJKoY4qplvQ5BKhgTFi+r5xMMu/EK6MLjSqerWl4J1NzTytfahTTSjs2Mqvqb0eXoUh0qTdWMzRIlmvzJumsaOSgfx3JNO22+VRSI5TaqsBt102zLFUvH14q1NlyJU34Ql6R1ilq6IvH+pf1VhBYBvF90W+sxsH52J8cjFy/g7mEqP1CcoRBK9VYM4W9sj3Ht2JZJGybzyKO7URZB9UHw15DB1DyyUeq+mj/7o7ROq2qr2V0LHUdbUYnJA2raABpo3gRwzPrYB0WlYg2JRGHU0JQeTv30IwE7Rfc8w9D+YjAKhvp1JI8AytWWmbNO0xSXTdNLOKbkGLU9rNj5CUynDgcjLsY+MKz1VED/RkqSvQLPYgkvUGpRY4Q8s0+6eFCHwquMikIw67+X1rhy8J43GGHQ6zNnZrRBaXMLvDMT3nx7E32LvQgb6I9MtUgL65Yolue7RIZOyF6bAXIL1m4IcZLVHeO9g5SpL9smZ9Tz23xNlOXex52vdYAjK0J3hnq3dTlDoNK2j+Khy4tz48C6ux+JVsH5/QH18o/G16xC5uTUwZ4BcHjEsvB4P/upaVJCwV6VWa6xhozxX7mZPAhI2m8u4jbK64bkDobfP1yeJkolLM958iddlmUX94klGpocP98PORorpq0Z6jeTD7z7Rl0cnHofySNN8doZtYNSsbMxZk5sJd7WfO8W4vx/U9aQXkuVynLPR3YE1/8Sjj0kHHo1lGL2Rx3gCHzy4LnWKR/1JoGj4va4VYHPhekYzJle4SYUEE9kGhPdxjYXHXGiDA/DswAqC6HYvuAHpj9Gd3DNhNe7zC76G6BRTISb8wjgZm/dPVaLhM/akmHB2jMA7KDJJH1ZjjJpuVBzLw/QRQhejtC3z2QI9tOp9ZCuQeuIEc6TpN1rdHTh/1YsSOMs2v/NCf8qtlUal1BjNOSS6ceOc3oqtibVFzWX/5lRmhIfTf28NEKSH9zPc+cMzmSTXJnNle7ZTumh90suK4X5zi9613sWW5f68CszOEo28pYzfDYmfaWsXCQwCw3GtqhU59lan8Ntx+d2rG31PZgU6BkxbTWyennsPHIeZhTLgjyFELOM0EQEMnTyprmYz X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 591d89d5-7300-43d8-3fde-08dc18be1ed3 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2024 07:13:22.1684 (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: MtoWSoxoO29/XSMHV+dCYa2D2LzDkV7lXIh7+v5JyGDXWY8QIjR6aD3olcMixIqVLm5KlIbDpREsi3w15P38ZQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9134 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 --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi index c4a0082f30d3..ead1f57e08ef 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -28,6 +28,8 @@ aliases { serial1 = &lpuart5; serial2 = &lpuart6; serial3 = &lpuart7; + usbphy0 = &usbphy1; + usbphy1 = &usbphy2; }; cpus { @@ -472,6 +474,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 Jan 19 07:19: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: 764455 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2083.outbound.protection.outlook.com [40.107.13.83]) (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 11A35C13B; Fri, 19 Jan 2024 07:13:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.83 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705648411; cv=fail; b=iGTZJ26Rr1r3feovG/zOSmK9HLiQJLA7W5Fte2JH1lF2GyxCGkiozPJb7UaZV2RrptpNOslqRo7CrEmKiiAn6XGcpGop+F6moPlgAQyemMmZHCQ3fkbsW6UnS307WfWvp8ZEvMVKzQ/YaCkCsZtwoVuKG37MZc3OIfR6ruyMkuA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705648411; c=relaxed/simple; bh=AorFnCWj5wFyg6XEPIPrNCrcwOJZ+eEka/AQHAuF+uE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=NeR9exxWT1b6dXtOnCV6Y+dHQjg4qM+86uGWeBp03kQBksfhg2BGdv/y2u1Qw0lVCH8GSaXktkmLwQziMMi8oehxKfZicfz4jytQ/WdOe7OcX5zi1Oh9rP6oEWGZDcmnOmb6kC40jdEp7KVNpqwyAmnLlET/ABbhpzFKTK29Zg8= 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=flwUygz7; arc=fail smtp.client-ip=40.107.13.83 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="flwUygz7" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m2D5uO6DUZwgc7qFRaIOHoVsbKGupT1fSig2hJQF/t/kWDfBWPZ/SZ7hLzE+bsVEypWb3IaU5PIlwI5oDbyvQKKY2ZjLt3pq3KyboMQSK2tWzU7SoUnOuK34UsTjlZrQCasGR55DoAo3LIOXBSox7z+E830avN5KDIiUTHz9mMLR/Lcbr9BS1FSJxM9xf59FbAGCjaK7h++9FZfVit7SqPl1CfoImib44esCUJmcSvDFyG8poqB+DVQzHwObnEr1snpt3gtcqWiZYdsfwnSuvE86Gd815ps80zoetutYM7v3E79CMkM6fBe9wuqjs69d6e5AulueMwKN8cHCv1DVUA== 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=thQMYdFO2yxZaFTZ+dOpxcw3VkK7OIaATkx670RmRP8=; b=TCpfXZZtBVlji4ULxasDKiZcfHCdrI5ybSkeqgb1l2M3pKjNFG+1hz7shK9GpyS0hqJrkrSAFw6b0yLcvXTNPlEISMKzp8AiEblVuZdzJns3cQ02D+12BcZLXFY6RYnGHqllPEAX82Yg9V1QhkylA8h2e57yGgNVTTsTHooOs/imz/xPFZ6tmcNeCGvZX01tUcZiKyMkYysKnybJ7NWqUTha8o220d+sfPiEAZ1fI+xeascieUlGkiMMT8KedagMBW7BbdVgMSjNapb1ti2iZb2YqBy70a8ox9ZUFq4Dj2H531JLS+Yvv4n8hoKCr40KjNgiejb/NYbsR3g9wc/piA== 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=thQMYdFO2yxZaFTZ+dOpxcw3VkK7OIaATkx670RmRP8=; b=flwUygz7sSD9J91RKIBQjd0SvpgAYK73baAugFr56uwYeeMjsVcVV3OcJ6M6qstJT/Nhk6fDda9gZ5MeGWlVhZ/T6j3ISDKtPzxB+snjm+lCUDyubMUG+s5y3lX1RkIKyjGZ+xNJoJ1MOY5VxJ59AZT7skW+wxdlUZhe2YpXCTI= 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 GV1PR04MB9134.eurprd04.prod.outlook.com (2603:10a6:150:25::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Fri, 19 Jan 2024 07:13:26 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a%4]) with mapi id 15.20.7202.024; Fri, 19 Jan 2024 07:13:26 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v4 3/7] arm64: dts: imx8ulp-evk: enable usb nodes and add ptn5150 nodes Date: Fri, 19 Jan 2024 15:19:32 +0800 Message-Id: <20240119071936.3481439-3-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240119071936.3481439-1-xu.yang_2@nxp.com> References: <20240119071936.3481439-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0031.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::7) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|GV1PR04MB9134:EE_ X-MS-Office365-Filtering-Correlation-Id: d1662c2a-6ecc-47a6-6702-08dc18be2178 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XglFoYyM8MLUjDL14022L2yBxiUge4q3UTXDP2Efu5xyP1MsG6hrhv0ImcHQFuFIS0O5m8hnwoTiavNrAdwcIskU0ywJxKxKSEWZ7CEmCUL6GQ84i4xs5H5eU00n5zUQocRLrJsyxDMotJKUBEaRVy2oyFAWhHlzBKBEYkKSflaJ8nBxbH4QUG7SOyL9bD7k0dASQBTj48OiASz6KANInuq58K00WtXuDwtJY8/q0E+2zHoG8n8b1M/0JlY/w5uYvsqdLbXUiapKYC3LHBrwddX9AOYZGCLZPvVs9T1B9FPSIgyTlFLZYhCc9HjBSOwXom3v6ZKubBvGWWfAc0/HBZIwUGaeEFXztrQYk//l1LBsssNeUBtxA5IOMPFR13pAioi4Jqhm9b/HkDFo7o+LUgsn13bP7KHKPp0cyXNpjXojDnxOi2jvPT23fbq7JYLBe/odfkRR5m0bjS3PqJ7gQvWmwFb02jDJFGttUBS+Rdkfl30hp/GW8JUiAB6mO7mzTBaHqsaBQUyf4eMIAPuihMSu2v0LjqvonMjxlJlQ1LFJQe/frTiiCODEPlnGVsQ4IUFQS9Ia1jW9tn6N3RuPMMw+PHRyn8cKWj3SanmjSeCcmrCSp1fZA+jmo2tH4hYzhILjAP7MuNvoBdH74/J90RWOKTZ7/PE1ZTgqdY8kRkltEEJv5V4RuPu13rXGjM45 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)(366004)(136003)(39860400002)(396003)(376002)(346002)(230922051799003)(64100799003)(186009)(1800799012)(451199024)(41300700001)(26005)(6512007)(83380400001)(86362001)(36756003)(38350700005)(4326008)(8676002)(5660300002)(8936002)(6486002)(7416002)(52116002)(2616005)(6506007)(1076003)(38100700002)(66946007)(66556008)(316002)(2906002)(66476007)(6666004)(478600001)(32563001)(473944003)(414714003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yVUZRlSDSeWDcWpRcK5orhen5e84jEvhU5lsd87FsT2EoJ4nZPIQtslBT47m3y9jL/uRHIP04/HsdQ4zzKRE+hgcSLKu0CrdrALd4yaI3deDAgfu+bIlcxfK304doBYGwSxn/YCCu5DCFsKUX0uimgdJZohzBrkleznKcutYhwlLHDuZVYIQtpI5FkAtlLoGDzkjKyvDUSXwGxvm3MC+FtJKG3Jifn0BpieIxYPKouh7YbtumQyjKisI/d+NL45eVYY3M0+pGsivGMJ2V6GnlrJqbyBgqRs19/64lDJv4TiHnyE413VYYwsw/B/91aqnCWllIPdBdC6fiwXN/HLWMwk4Edl42BcDiFShb7a93re6/Yz9W8UeydJ8vJ7s2LSSJDH1bVqmNy2xcHNPSSYkbMgDFmb38rHHZL3JMxNxE8iq01w2a9wgUsxBLNR05DgB524e4w1xrT1iz4SpTWasieZFD5sS7PHoDiEigffdOsAizLX0kbNB6sm0uKu7JSeoLGl7DLhn3J0/5y6ITKWrewSSW2gZMJnPIoWEcjstr47vZRTWFTMfCoTr764srcIdD9lcGiABlEfnWAzA1EBuQydEz4k/+yIyEP+c7GDu5Tzgg5XW2ohOG56ACnOok6OVsPGaW5HwK8Hj4GOFbNAFfJm4gqXkenDdvQgdd+nVpmRnIcwnMjso9gweWS6jwAJF9T6dOhwVl9e7Gu/oIuyPOB/OKkJ/2kHcTi91er9P+nrBr961E9y5KaDqRRB/8wpmNb7lfc/4o2MQ3v69KlEF/cd6RH/Ie1SskE36w7VDGjaLBCrbI2HdkKODPGMxuenWu5JLGrjXNgft5l6McQw1jK2Wi6+Hmokj1Jy0Y3szzpJY6wAGMcIydEuw/shpzbGl8NgFzVRByxTbvOEUxQvGIPqF6AtFeGHbp0A0ZWm6ny8ZNm+aKkKoo0494G13nUD8Iyl8+eLZmpoOLUkc+ljSGfzCl1w5Ejyn6KKFQUQv6aORHWNPmhAL2TwLL54jdV56Fc3jQmJStIw70UFmPrR8b1qPLWkG0M/OJCAXq3IIEo2Ni7uySr6SpmtRSQ+9EMY1uc9JBiuBdTHixC0iPRvMPu1Xmg90E4Fg9wtKK7dqDnKoLXLsG2O7Np1Mh/RywG4S2n+xGPash0uQw7ezfcQbcvt+ql98l83S9WJoZv9/SVM6tJfgOyWNWnb7Ev8O+mkH6GpUybwhUqDEBmHt+stjkulaHeGLk2C3rgQ3iCMh9SQ91H6DJBKnEqZUrzxxeOeWFL+Sv+yPv8F8KHbPYI7TIJN96Ig7cRudL1tZfrKcCrDvBTJa3rW8zovWCgqHCunqaKxx4m0IaANBWxm3QlKbcaNFaR/AeKK/OTO5jn+CgWWx4s3z6mGzvKYP4KagFgABkGPDWfQSxJaI1leoCtN8RFrLW5r7KCaa64pVDtdm3iHW5QoXTCZrKMgzXUXPbg+6nXL1BYrsQOpwVZEuHkSrILGZHrpZ+vpYUwZENP+JY7X95Zexu3eCAqXz9AnU0GdGYKeH1FvdAXWmKcrUK453a51EZG2BMVyLaWsSvidHtMOiL6MWg2DC4BS+FBD9THko X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d1662c2a-6ecc-47a6-6702-08dc18be2178 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2024 07:13:26.6954 (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: up3EEEcTwSeZ3qCU4xbkcoqpaSFFOLFbf+G1osJ+xgf2SRxGM5peO0/CXrw+MY4Knk9uiwRCVIZPTBP7Ba3P/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9134 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 --- 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 Jan 19 07:19: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: 764217 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2040.outbound.protection.outlook.com [40.107.13.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 41A706FB8; Fri, 19 Jan 2024 07:13:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705648416; cv=fail; b=c8iPMUBFN3qdHyL1ngzT40LizEMMQj/WEL3bqwE/GPIU8qQUiIfyd2EhwIIwyYkYayA1Nh9GF/EXdpsET3OGx0kazBKJf6n4VCfKQHHrS/lZnVg3Cj5gMijftPwTfbw9JutFkV+GDKRBlZrCxwWDAdbEuLklgeDiHYJnAIVaBDk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705648416; c=relaxed/simple; bh=7zigopz7ncHDBZG7sHH9JzCNfaUgM4SaphbYlblx4Ms=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=oi92xryEMrYaNqnkPzRNlNCvz9AVjmTrVa37elp1d/LH/+wpHvt8WYy+YBMZRLIoejFMMfw2lBxEGLN6wI1F1HOx3yGDYyiKQKakgcdeEE2pd2rI0IUffVji4C213nMRv2goCfZMRfwL9j2vwcJXlcQsBidke0Kgsa1KO8/eS98= 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=E4Ybr0Uy; arc=fail smtp.client-ip=40.107.13.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="E4Ybr0Uy" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=atVg2y/wJ9gol8LKZqohO0uw2S01/u10vujNBzSioJt5gg6WADSWxtEtGiYv5XNXiY/CHEm+XcOV/mb3iM2tuogc1lgROMSTbBdJOm4wdKERyV62cSwbXolICKFampvpJFVwtDgFiJB2mqZGi5IbyZMXuZJF0jNAVs3OYe1SDBo4G9zUdUt2iVLJ3NV3xwUk/5F2p05uhWlstF4sg078SIepBr7uFUYIT9gJQNpYHG0+Idx2fe/pCReot7L94XGJoQcQmwmHH7HoObwA6mrl9g1w4iViRVLqSLVVU13NeSLZaODI1neEyvofVK0NbHZgDqZpB5C8WLv0Sl96xCvCWw== 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=7E3MKFsuK6VLew+/qqk1S6m3OPNH5jF6YRiUJf52SHM=; b=FrWgAUIM4jk3g9wbq864LMRMcLd63Qr8quXLd5wsf0VwH9NyGGBmDmKI/GM8gMHAz32Mkcb5iYjJfZlIUNHYd5x0GXUQYanV1bF0EMkD7Rc1g7M6HXrQn0bY0i9UsUsexQBILYGLniYJxcvAJ/5c9/7+GN0cUAkRyskGThMeX19vGf2RCmH8mzs67y0mhlgRMkc/MAyYEHjd9LZzJNSxUGGhCxbO3CjTBZiKCi4ydq1fqDD+gXdxhZpNtmBob7cI7ruuA1dh6YItpPOOiE3YSIPz8LUGnDcpeAap+sAr71zZfSLqBujJiwIaPDG2vU/3TZ/9RAd+MZRineMkCrEe/A== 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=7E3MKFsuK6VLew+/qqk1S6m3OPNH5jF6YRiUJf52SHM=; b=E4Ybr0Uy8KPLE8VDC3ZM75zmdm4BDOdVS2IXMPrK17OhoCl2mw5n3ULuvbpf9D78UzCyoKZug7EHwMpxf2TyOArzC+YUYWPlG09/H/1R9Mq62O+EeGovljjR3UQfuXPAN1SUUCwKxP6xfiEM+6Z54iq7vgFHhaewjBxiPwRfbSk= 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 GV1PR04MB9134.eurprd04.prod.outlook.com (2603:10a6:150:25::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Fri, 19 Jan 2024 07:13:30 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a%4]) with mapi id 15.20.7202.024; Fri, 19 Jan 2024 07:13:30 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v4 4/7] dt-bindings: usb: ci-hdrc-usb2: add restrictions for reg, interrupts, clock and clock-names properties Date: Fri, 19 Jan 2024 15:19:33 +0800 Message-Id: <20240119071936.3481439-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240119071936.3481439-1-xu.yang_2@nxp.com> References: <20240119071936.3481439-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0031.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::7) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|GV1PR04MB9134:EE_ X-MS-Office365-Filtering-Correlation-Id: ed314a74-101a-467c-ca43-08dc18be23f9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: afa1N2zzsw7xodmgHTsykR0Z+H38YAO/09YmjalSZalFd6dq2GcnjsVK5DCPDoDD/xLU5Gsc7YAqiRoCoh5znM5Xtx2L2VykDpkA7tHNiRdgc7thCIdcdaOIMPhj7YFQSMwCZywylRTSXU8LW5RiamvUaGDWsv8Vt2eIRlZI/oJv/q0f8CxseOO2fj0RCtIRKi1z4oIC4IhetmczhLfwkZTKv0nRKFRE1BrbsgdRaLl44XzcOyQUsvJ7HyutjRjaGWd10uJTJI+xGpw2cGuhiV3uHKWyGvYPtLLTf2XSkXhCJG8N5jqA3HTbJAU4FFGHQ4qx+X4dZpeza+YQaeNTbQAldFujrQLw+bfqPdShlcd7JwfqG1wrmpZBvXS1qdKZ2n/WNF9/EYX4RwQ9id43gsZDummd1mo6XTVZx825dyWUxB3l4ggDsfp/KCDFctyY5QduAzAd+7PpNbuLpNAvHOK6xgj7c0IeqFd/WDHR0e6T1nFjxq7+3xKdepNYiyRZ+OlqjoaSo+KfZScORo0U9WA1sBq6cNHkyCw94uodq8DHvbVVpsgtinR1BENWP7CVo2bvzc+twL47pY72C9Ljc3eTTYz4oDrHnxGQW5lv0YKbIqDT9MQ5qMftfvB+sGzu 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)(366004)(136003)(39860400002)(396003)(376002)(346002)(230922051799003)(64100799003)(186009)(1800799012)(451199024)(41300700001)(26005)(6512007)(83380400001)(86362001)(36756003)(38350700005)(4326008)(8676002)(5660300002)(8936002)(6486002)(7416002)(52116002)(2616005)(6506007)(1076003)(38100700002)(66946007)(66556008)(316002)(2906002)(66476007)(478600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Cf6R2c7VqddkdMru0fSRB9+Fv5RtKn4RCDFdivOEjrKCEG9Pk0B6qv02Im06JmViVo58Qaf6ky1It0BNSR0tL9USkJpBAblb23SkkJTB11tJeoaqJr2inmi/GlV6TItQvXDi4j1dcSNe5ppR1n1l8vq1mbo/lk9wjoRICok0mspiS9iPGxUO0rQVvlcNmr3cCvxuCUE2oVO9oPrT4vWJqr6OHDMSUA0fNN4AuNwtYwzwmjTignI6xIjBk8V3iWNqcbAC5b8O2aSjqDG5kFui2ZSmtu5Q2qthJjnY7vODSF5C58NzzKlCu1jXo2IT7GuW4AxFJy2Lm/GcE1otQYiKsi+Rrk/XzGoPj5bXJOBNxYxF0VEasUwyho/oOgEFKwbEV+SInJPxA2BipzDTMNObR1vbWuOXW1zUySvQs3lsSLkx9R64FUNPxXFes29ZvMrByEA5fsO+Wen9LBjA8NdD2y1yOQPFiPLkJr+K3qTJs5XDDDqB3BOgBEF4VCD5OkvYdkTcel8a9RstX+4t7Bwjnsi4FaB377o0lAXKn3ANZDktWwwGcuSgTxee2mEzVh1ptk1kxNnCGutmdlU8AilGKUVHsgSN2KVJVfp/GkcNu5yMOi20HqsuWsDMTCzp3manGBW5j7E5ORHKIRDEviyUymeGiWv0BO77bMkzHWLtmCD6XAqqUQ1MPXl9A77sFDI1eGqOvDzdW82tCWTtUxvYbK9BldXLHKWSmRv9BC55ezvdchMh4BexhB37G3RvRp9R2PvCkXrxz99a2wwFz7G+eAShdIfPDEhbxqIV/hryfxyuRqTFtKbjA8Fp+gEVJKs6XE51MHYqI1yjeCLXiPHso/Ngu/1oDautbBOghajZYpNwlMll1XM0Nz3IXkgHWaNUMXHilTqmW5rPWX5/JFr4NeRv1E1DebuV1ZDtW+/Ufa2pVK5ZSI31kjnZP/WgIEeKa5QL96RKwroye4h9EUMOHAGveYCbbkOgHpIJpmRO93UNAUaBhpuL9VAey3H4138SqnAHqppsXU0OtKXrKjWnCW0x+BfcgZf3yA7z2JOlVRiJaoC3MLE7fZrCrNv2VnU/HJ2bH73kNSemZsIoAV9C4gyMBLyEf21nbCVFT9yX4sydJ1a64kMw4WH2CvsokJToDs7tNy4H0xOTGTW3NZn19+QnU3ny6A+yLzaDXM5SsSUy7vGKoFEiJLupoq0pM8j1IJGZul1DYK2sLv3RCVPBAyL93YbiVZouT7sjbszZS3s807LYV8Z40M56CH9SPb6+HL382Amh0XeNP3UPWetnvunAOOP6jD9/fb9WeYjaxAhsghNWUgALEVS3ENiXyVVA9+OVzftJd60wHflrP8wCs1HadILliSgFFj6fosSb+psb358Cauh4EW5xIRnpDAY7RFaZFhZcd8/eTGykc8kZ5ujkcevTld7dd/ajiB/BCXlhyyPnxJsjE3aHa1PGdDiKR0dZdjjDc5N6P5u5zloq+toANZ8zILwNtVZhuN4Oy6XW/Rrr/sQrBpVjwAcqUO+dBUAK8XdBxzn3TsJEAsg7j/0tVZXSigvO8S65XhRN3Zk96GHtu3UkfinG942kOvq1 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ed314a74-101a-467c-ca43-08dc18be23f9 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2024 07:13:30.9136 (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: +kgShmSkxfxOLgI+HU4ikamsQnFoivaEtb94T4/R5dcoQ9fhxpbxki4mJ2gImeTeZd3TttEGuAa2UuwAGnYfmQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9134 Change reg, interrupts, clock and clock-names as common properties and add restrictions on them for different compatibles. 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 --- .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 118 +++++++++++++++--- 1 file changed, 102 insertions(+), 16 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index b7e664f7395b..78e30ca0a8ca 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -73,22 +73,10 @@ properties: - nuvoton,npcm845-udc - const: nuvoton,npcm750-udc - reg: - minItems: 1 - maxItems: 2 - - interrupts: - minItems: 1 - maxItems: 2 - - clocks: - minItems: 1 - maxItems: 3 - - clock-names: - minItems: 1 - maxItems: 3 - + reg: true + interrupts: true + clocks: true + clock-names: true dr_mode: true power-domains: @@ -412,6 +400,104 @@ allOf: samsung,picophy-pre-emp-curr-control: false samsung,picophy-dc-vol-level-adjust: false + - if: + properties: + compatible: + oneOf: + - items: + - const: fsl,imx27-usb + - items: + - enum: + - fsl,imx25-usb + - fsl,imx35-usb + - const: fsl,imx27-usb + then: + properties: + clocks: + minItems: 3 + maxItems: 3 + clock-names: + minItems: 3 + maxItems: 3 + items: + anyOf: + - const: ipg + - const: ahb + - const: per + + - if: + properties: + compatible: + oneOf: + - items: + - const: qcom,ci-hdrc + then: + properties: + reg: + minItems: 2 + maxItems: 2 + interrupts: + minItems: 1 + maxItems: 2 + clocks: + minItems: 2 + maxItems: 3 + clock-names: + minItems: 2 + maxItems: 3 + items: + anyOf: + - const: core + - const: iface + - const: fs + description: optional + + - if: + properties: + compatible: + contains: + oneOf: + - const: chipidea,usb2 + - const: fsl,imx23-usb + - const: fsl,imx28-usb + - const: fsl,imx7d-usb + - const: fsl,vf610-usb + - const: lsi,zevio-usb + - const: nuvoton,npcm750-udc + - pattern: '^fsl,imx5[0-3]+-usb$' + - pattern: '^fsl,imx6[a-z]+-usb$' + - pattern: '^nvidia,tegra[0-9]+-ehci$' + - pattern: '^nvidia,tegra[0-9]+-udc$' + then: + properties: + clocks: + minItems: 1 + maxItems: 1 + clock-names: + minItems: 1 + maxItems: 1 + + - if: + properties: + compatible: + contains: + oneOf: + - const: chipidea,usb2 + - const: fsl,imx27-usb + - const: fsl,imx6ul-usb + - const: lsi,zevio-usb + - const: nuvoton,npcm750-udc + - pattern: '^nvidia,tegra[0-9]+-ehci$' + - pattern: '^nvidia,tegra[0-9]+-udc$' + then: + properties: + reg: + minItems: 1 + maxItems: 1 + interrupts: + minItems: 1 + maxItems: 1 + unevaluatedProperties: false examples: From patchwork Fri Jan 19 07:19: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: 764454 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2051.outbound.protection.outlook.com [40.107.247.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 85A1E6FB8; Fri, 19 Jan 2024 07:13:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.247.51 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705648420; cv=fail; b=pT5+I6sCjwMKLwtET8QeLJdAhZGqdEtpfJ9hDYvzEoZWNsnViwK/I3gyprHMLfb5oNC53zljLnMUsrQSn1sIGpfCXiifr+P61WN/Blp5+1m7MWi6S3Vxit1QI/T9jnkjgeR/+Rsaj4vE0FXBytZALexJu7e7QKXnOZkFAim3RHA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705648420; c=relaxed/simple; bh=twieTJLcqCIKYvGymIUEEIBPcLn5OH/Rpggw/z73jGY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=op4hV9JFq+Pz71Nv+g/bk4qJC6B31B8s8JeLS8LSjxpoEFDEQhQpXDV3GBW7EhKsOMlv1TFiBUnKTTIVysbR+zOHO4Yzf+7b1V340Xfki7i9lrLe2Rrf1Xsma5+5U4mNxen6pX0H19r2OvxZjVtrwVfICY182HSbYTv039t7JIg= 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=qUL//4Qi; arc=fail smtp.client-ip=40.107.247.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="qUL//4Qi" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AiipJ0tErT9TVDo+mdlBMhLZxNBehyil4jPB0tucHx3XBPCNS4+pf8rHEbtDiai2lhgo7rDolXvJtl6X1AsA0QBWGrUwG8RNrKjcEWwJSUfwWAetVyxa7US3P0LvCCVS8JcRzkcHShqWJqSVX93htWrsulhrkZROMDwJXNZpaW7t/bokk3M/OX9E4JAtA8t7l38YjXDfXsxHvEc1xabSsJQ2kDyD8a3wQ+S06/rN8afUxd9aEN77n2Zvo6O2z/LzpCM0EwLPLVKut08AlynGM3q14wyhYryWnWUNPjgqsU4SsIFBLrthr0iLEqXBIgEMZD3CGGRzs10nflyW2EZSWA== 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=iod/7ZZZ+8GBLodqyA0NJ4bwya8NaDqKKmZ+P3A5ttM=; b=OKOR31tHmfkNx91DFQUwWHP3epV5069ZpG+71bFkhBOes+x2rWWQsMEhkFErxE4D9Z6/fPQapWC9BSmCE8kHLff7WlQJJiYwJRGOjlzcrD3XwbqT98Q+4Wsj50SSSDoalWA9NIpzk3xDZKPSFTJ3/RXg5xJAdq5YrfWCkIVX1Zsxnf+qFh1r2Vi4O7nc/NpPFnXswcc4tJmwD6XW+IaZGXwKUOsiLtugA8ExYfSbVhNzOAIGR0f7xY7E442Oa6B3dLuoXnZO1PZlrebdTeZJqs/UTboN0C7QdOxT61ANA6bMUbQ2iiEX+boosICXanJX2Wun6GkehC3ENdDRORQzoA== 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=iod/7ZZZ+8GBLodqyA0NJ4bwya8NaDqKKmZ+P3A5ttM=; b=qUL//4Qi9wG5EcK3blWX4Bz9RCdYBSb+Uh1Y4J1vCvddGyKDSLu5adMAKK8twCYSaT4WkU9P9qBt/qR+HbN2Na7CWfoBiyDy38enI7jJq80KF72yyidfggxvmoh7khO4uv/37kbGBXe02XbXLMr3IWYiTA37+ToWX3KrrhwMDKE= 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 GV1PR04MB9134.eurprd04.prod.outlook.com (2603:10a6:150:25::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Fri, 19 Jan 2024 07:13:35 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a%4]) with mapi id 15.20.7202.024; Fri, 19 Jan 2024 07:13:35 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v4 5/7] dt-bindings: usb: ci-hdrc-usb2: add compatible and clock-names restriction for imx93 Date: Fri, 19 Jan 2024 15:19:34 +0800 Message-Id: <20240119071936.3481439-5-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240119071936.3481439-1-xu.yang_2@nxp.com> References: <20240119071936.3481439-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0031.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::7) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|GV1PR04MB9134:EE_ X-MS-Office365-Filtering-Correlation-Id: f2f5b8e7-c40b-4580-8dca-08dc18be26bb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HzSPMZTQ8gOTemH4jpjlHvaHa3o+GvrAjR9w/25k0ZOdJEIf7G/brKcPRBVly9OxMW9VnsnqblzFrjplXwke3C2XLANWJbcUb21lFjR5zSE/zmg7g9/qB3CXVNjRLIT9tM6uAPZ26I8CSuImithpnX7yYoA0WW2BtilieoU9VMcgoq78A0KWkGRcOuRJ1jgkpCNSsXtsLXIA2MJgIMl3Ba8dlQDtt2CJ5mrIAKoZ3vb9e7EZdECUJh2N/Q0bbdbsyeFuP8zlQqqVxeZqIwJPPYRkPNi42G/yR/GfSamMEJqiQ1lfXLQ0JdLnWHcJuLEHDpHL9Sm1JulMFOsM85HUv3lJyFrYjLeCm0ajwtZbfOs0IinWyqWawzVDnqkISK54h98axO9ftGz6mVfElEhQRrQrHuO10RljixPmQm0T5JRUkAL5zx9LxBQQPsP11HWvCptz1jA5OyWN9s+N836SQWyASBLfBNZkZHT/UH4tcNNO4214O607DOOOfKCD+irC90wNBuSiVdC8gPMQ4a9TR9cpLO3lWJLlIjdUGDB4YefxFPWQU/ev8BVokIPUPcWqlEhe3Zt41/CcIbfilqepzjVR4QLqMS/fEe2B7M6pmfn2n3fHCQ3DLkQp5njFA9F7 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)(366004)(136003)(39860400002)(396003)(376002)(346002)(230922051799003)(64100799003)(186009)(1800799012)(451199024)(41300700001)(26005)(6512007)(83380400001)(86362001)(36756003)(38350700005)(4326008)(8676002)(5660300002)(8936002)(6486002)(7416002)(52116002)(2616005)(6506007)(1076003)(38100700002)(66946007)(66556008)(316002)(2906002)(66476007)(478600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: e5X9mZAtKk9RUwVKYDZJqLdPItjbrKwjnfiqQldJjDj1cDcUFB2BNUeU2ZTIwL3Ekpb4LiBDREgdf1N2L6r4NHhxI2abIsgOt0uCRauYCpKywy7j//+KLyb7IGUvpBYc+rfkx/Vqk8ORAxH2iyvRym7u6G74CtlNGJDXSWkBEg64sl0Yb2T8UKq53j/D3bgcqSrq3Sk+aoUKLkSAeHGygk9AyalTu3GOkL2w4QwnKEu30nHjWgjhwadTI/0LXMUJmzjgIHFLNmXGmFlBnxlqMq/8suagLWr6aS9W84sfZ68mq0GPSW06Qxd68zaoD8ulg7iJHeUxlKHUnDrlRv215JnHmnHGcmukZKsZxFF/21wkqVkCLmEktCmPuYSFd/Riyy8jN7Y3ph2OUi4B9KYL3FlNQjcgYjRnip9+qsB5sY0gfbU/nGPIQVxPRixY4UpbO+4n4SWlw9mgD7qkBcseQlapHs0Ztj67m2YTgmefFefJFx/5JyG0nImHv0IsO3R//Zh7l6Mk1Wnl3lbkOesNm3YB/RnymxN9cehW+4zPI1OLPjCVPzd+BE4rWvjETy99vEVBJX2fwLQzVWmIxD829g9g+z7qsWcNcjDDrU/PoscKRNgEiaCj6iaCRf0VmTbgnhswnzpiqeWLwvbPJsQgqo9kQNZhSxkh45VE0Bbww8tyNvdTi0uPFKKHj702AdoKnfQ3vdoIqJh8ocTPEIWIvRBWq247voxfVskEWwnr3tPPX18jPTDSj/mJJzZXfN+aS9o6BQto/xhPHra/j41zr5DPdb4YNbpcqBQE1hsJafriR+7o+kmlMWbn1bxFO+z2uboWlFLcnOKERtFe0KtnVXuVYtq3IoEjVeMhsFGrcLXSh7VCGquFCq+w8GmbgFvjh8e3TjV5bOw76rENHiQFvY1M78W7VCkF0BRdfJAK+d9Ye/TUZ/ph2f/tThNTfIF0/QFCe4CejZoYzM3YSGCDplWav58k7oM3XrT9YW8lZ07E3fVT/BtXEZZwpeb4dOYGXnAThzIH8t01h8ACYaU4+USy52g08yrBMSRMNWQfoo/G9thc2+NvN38wc2OD4uLzK5X+CHFdWrDE6AOy5N3X9Bq8/g/qf82wyzgpqN58yDoxf8/l9DfFFGeEm8/bL+/jv7+Ddir8ixzn9mf/9demwerKbELwauvhrpbkBZH3aZu7PbBSWipP2k4KewY28oQFydfWTYlwBB8B65/6a5/TufqO+6mDrXGyto0V2k64/hOn7lMTxQ6M2V07Ed/qN9epIrYxSEMpF1KQOxFFpCF+yF3hm9f5+p5ipk/LhRKiQkiCAt+oML1IWVbL77/fkrYtNayjjPoGkVQrPrem7JEQFz7F5RAjEwyHrRBT9ESGiQ9M+G8SsLKcyvKiBOQ+f2cn2rKC6NzqAUq8kx8zO+c/Kbd0o9A0uv3G6VlRsm+8KEcuLzlLuubUiQ1sr1YoQ5Z705e5SIWWHPNoAN8SAZjsz72U/5y7AT+5z2N/xgGSD05Ss6GNNYLIrm8KV6CTl000vAigbzvnm8VeE1ubb2xn6iUSsHc9hCW91eLZZbdX7LLQy4p1oiggnY5UKNOwzvwh X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f2f5b8e7-c40b-4580-8dca-08dc18be26bb X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2024 07:13:35.5297 (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: seBORlK3+QR2vn3NCr1It7e5yc1A2kCabEn8+oYLPVysRbu/obHmfjHLoK/MFkMF5YTnOtWbuueZYzJA68GlXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9134 The i.MX93 needs a wakup clock to work properly. This will add compatible and restriction for i.MX93 platform. Signed-off-by: Xu Yang --- Changes in v2: - no changes Changes in v3: - add clocks restriction Changes in v4: - use 'contains' rather 'items' --- .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 47 ++++++++++++++----- 1 file changed, 34 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index 78e30ca0a8ca..a86cb5de1688 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -57,6 +57,7 @@ properties: - enum: - fsl,imx8mm-usb - fsl,imx8mn-usb + - fsl,imx93-usb - const: fsl,imx7d-usb - const: fsl,imx27-usb - items: @@ -455,19 +456,23 @@ allOf: - if: properties: compatible: - contains: - oneOf: - - const: chipidea,usb2 - - const: fsl,imx23-usb - - const: fsl,imx28-usb - - const: fsl,imx7d-usb - - const: fsl,vf610-usb - - const: lsi,zevio-usb - - const: nuvoton,npcm750-udc - - pattern: '^fsl,imx5[0-3]+-usb$' - - pattern: '^fsl,imx6[a-z]+-usb$' - - pattern: '^nvidia,tegra[0-9]+-ehci$' - - pattern: '^nvidia,tegra[0-9]+-udc$' + oneOf: + - contains: + oneOf: + - const: chipidea,usb2 + - const: fsl,imx23-usb + - const: fsl,imx28-usb + - const: fsl,vf610-usb + - const: lsi,zevio-usb + - const: nuvoton,npcm750-udc + - pattern: '^fsl,imx5[0-3]+-usb$' + - pattern: '^fsl,imx6[a-z]+-usb$' + - pattern: '^fsl,imx8[a-z]+-usb$' + - pattern: '^nvidia,tegra[0-9]+-ehci$' + - pattern: '^nvidia,tegra[0-9]+-udc$' + - items: + - const: fsl,imx7d-usb + - const: fsl,imx27-usb then: properties: clocks: @@ -477,6 +482,22 @@ allOf: minItems: 1 maxItems: 1 + - if: + properties: + compatible: + contains: + const: fsl,imx93-usb + then: + properties: + clocks: + minItems: 2 + maxItems: 2 + clock-names: + minItems: 2 + maxItems: 2 + contains: + const: usb_wakeup_clk + - if: properties: compatible: From patchwork Fri Jan 19 07:19:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 764216 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2050.outbound.protection.outlook.com [40.107.13.50]) (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 D08306FB1; Fri, 19 Jan 2024 07:13:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.50 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705648424; cv=fail; b=VFcqTlmkkKMMKYVeu4BlX01mqx25Eu7RRQuiWSZsTUyAfrg2JQi1mjq11U3XYdkHli4de/LLhcJUeJJBPNIajDhb4NeCSB/3G39BZAmM9YwKrself6SVgXLqT03z5w1+eXcBFOHlnhnzQymzt8jOPwbvfGgjkuaxvJ8LWkbyS7M= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705648424; c=relaxed/simple; bh=NGdqsWwQHAEW9n4PUGWOHwKFReKRqFiei+zIzDI/2TI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=JOKAQFIxbwrq33tixs24NDeDLFXtl5zwTsmjQtWAwDiAtGJrXslyLIJyxsfhXIgyrDU5GZ+fnDiPmAObKkJ5I8D8KwhJ01D0bRq5LwQ1E5ZDj9enK95MH61nlNEQVQdVHrN+j4QzMgWNjreBHrgUNGvOxgJc60rFzGmbEYFgPHQ= 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=hIb3sLfX; arc=fail smtp.client-ip=40.107.13.50 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="hIb3sLfX" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ex1xlBofN0tFA6nvxxcCA115rqvtqZwnLIDU37nzvyibpO8CzAho0Z7YW7/l4Q74Pd+XAXY0+rocoftfuWdDniLNszjk0Uhb8OzrOBsr41KrY7sU6nK/uNCIQ7Cb9PWRhz5TxysBz2/3lqiqRgD+BflRfw6aUAacBfPlmkF+v5DAPr36HiPfxVnmrCTahr7qKxKlOCn0QTfp0sAiND3icABaOA8N8Mpnwb3GVaHd0/mw2v5LmQIJCxoleXXJYjwwVHqojtI1kjMHDIF9qWTJDkPOs+B7sq1AIfp3QodAEl1wV8mNfPbnlz7qRgEUWCI0p27v1I8AJVCuV74X/TcE8g== 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=qhSRMY23yVBtKkq7EVou1L35ZmTub9FQjU0zy+qCynk=; b=IcAAks/HZBb3jn4pl7J/j6iGoZYYMezYF1zBJvypOYO1xkUK/ICTmam6yc+A8s2B0mPP9XWnuXZMleEIDy2cYt6/ACHpPZ8ywoktsPJvs/PLE0t8UnwRzvzDnx4vW/pV/ahdgtdip873dqTq0Ma4fQ/eEH1kf/Gl89EPn9us89jACPjqlXymdxAr9IrxFHFlDGy98YPO9jMPKFGn3Nn4WZVrjvhM4vGUQ/Wdx9m/dK9jrtNxgLogZi9wNJdAgwvYps2h+Eoa8ebjx/n/XYUx/nZK0i6vZvwmYNPjAOeGx9SB5UDAoh0Kg0uAqxyUpDhdJCDv5kbkZ4gIy1x/GEL35w== 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=qhSRMY23yVBtKkq7EVou1L35ZmTub9FQjU0zy+qCynk=; b=hIb3sLfXMHwKraBQZYTm2s2sWhYRBUT5icNrV9+bBTME2AuivxpAw0yK5dT2pGRtA82FGuZnXXJmqjrf7ASZUel5xt329GARGpl3Yb/bjkapkMEG8g+dHJwNsNHih6dJO002sgi+h+XWWi3yEq5uVrm72cfzfDKO/EEJBAHrssM= 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 GV1PR04MB9134.eurprd04.prod.outlook.com (2603:10a6:150:25::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Fri, 19 Jan 2024 07:13:39 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a%4]) with mapi id 15.20.7202.024; Fri, 19 Jan 2024 07:13:39 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v4 6/7] arm64: dts: imx93: add usb nodes Date: Fri, 19 Jan 2024 15:19:35 +0800 Message-Id: <20240119071936.3481439-6-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240119071936.3481439-1-xu.yang_2@nxp.com> References: <20240119071936.3481439-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0031.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::7) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|GV1PR04MB9134:EE_ X-MS-Office365-Filtering-Correlation-Id: bb0dd06a-2fcb-4425-538b-08dc18be293f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qNKAbF/GFJ/Gy2y9fjCh7kZXbZdg8Ia+wIeciDuB2+1KxnhSLA86rSkyP+exKXyBypp2oi9e3aXj10Nc0hwFPxkThZNCelhAF+x4OnDwsheVOvZzhrumIm0tIFfwrSX9NvvCoptWROmJ8buvSVcboL3aiDmvmxzsqoxNxUnlvOEZ03jdJnlx2AKECMaewoi/kN1Qv+JvhH3ePhoUekTqluAdbBwc8yVVOhXcAhEAi0wgIHDiw9H1zNtE2ECfdlKl7vx4lIwiK7Qp8nzz7ViVsQuF/5xGAqytl6R/MAo9fol0/a6qw7t2sTRsct/HGQNvONm2/bD6IEPbtj26k9A9BXsF8niV+iYk8rwilUTl7uFsL2a8glGOm1pMrYW/lOEKLaPwoFc+r9bCtOILmoIWM8f4DQZQoMv3eToEDOJPJYRbFeMvA0+CuYXpsjy2wsU3OL5wdM9btKlGs872g+wbuWlhAnBTcCHON14r9ieWPfSc0y5Ogb4VIAfDSNjhBE91c9+XihSVOKTYYMRkFkFLavButmcrC16zRhGfcwpjM4peg35gFPY1eIqDQkjUpQSgJg5xxUeNMKRvq4/agxrChqGe5aKmOx1glzb/85XNdaprBWJH/IbAsM7tb5HeoiGE 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)(366004)(136003)(39860400002)(396003)(376002)(346002)(230922051799003)(64100799003)(186009)(1800799012)(451199024)(41300700001)(26005)(6512007)(83380400001)(86362001)(36756003)(38350700005)(4326008)(8676002)(5660300002)(8936002)(6486002)(7416002)(52116002)(2616005)(6506007)(1076003)(38100700002)(66946007)(66556008)(316002)(2906002)(66476007)(6666004)(478600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CRNH3bFvu7s6Le/M9j4n+wDODmNKtwEhwuoiZ4y9Nov5EYmIuXZl5u3NrMqUvFlku8AnzOMP20NFwyF8v908KWBp5TiWXP8b5usYSrT/kqXL4u5xMg5SqrN7cNPt4s1WbsgXO9arrR1fGV+nfzlCa8e94Oih7ZAhoMzZ0RCaKHikX42bZhFrkJ6rq00Cs/Vp8g+igJlkyIX5HUTWBjPft6bTEsV2YZPuXWIyZsBK1BOgzZBJwsY3d6tVBHX4moYRd6itxwfd4nfeRJj4D0j+RBK/M4f0cPzXEgIY3fpF3/JFDy/YhpVFCS5h48M12O0Q+FACA7I6l7005qX6zzw7kR2QiKHdKSWLw4j6OJbpuHBbQZPy5nVa2cDy7r0qa565NBHTfsiMX0wDXC2bOFp3O+cxGEeJ57PEW7V+ebkyOy4off1FAqnSMc5p2IvJV90EHeIQY1pse0rO1yzsZ9k4BGE//Gn/ULhPzEe2C8adEPYI8DrmUuwJaiNUOKHuwxL7kyci+5tbIlzLVSHuc5wDI/sQ9pQYU6dhBGwhLEEjzQhcYShJle5arkDM7PhLjqDUivhsEAXoIzjyQEy11MBwWcL5PxX/eSTm3+AFL52K+2teVyoRioT4fMUSgkVlnqCmkRU3CtgUtaG160HJ6s6MDv8LOlvG2Tq6Vs5BnkYzqpHDvBY0uhHZ3zcMa+gCZVKq6tct+Fo2h5/batusdsw6X3uDVBl0jpnnCIGfRSEhgladVvILkPb8+Hku/3qxACQTxgG5Y50UreStm39PIs87XUk2HTuaaCwMFeSWxdJBN2MA7bmGeFLJSZAMcCo4hOQj7EqLS5GR8zmC2JWu3jLFFVFBZarboE6R8xxhnX6XKvTUXIlS0U/+pC0yPJPuRviQQtvih/aRIB8prlBvKnMdSjakaedFcHjP/QYoU1vGG/WlQcat81USKAPF94YgQ3QZTrFFMqYjVMS0onCmsqfMMzMWBypE2Y9MWi3kC4dhr+p/A9oss6P2CNffbbkpCCh5P9MQeyoeAhu9oiAx4frsLXvfeL/vFRsaAE6xGPP4pJEYI5y5K9Pfsru3azVr19orK/BP7kdYHAZ0wIrvIqU8utpCglHWQt88SOYAySf92PF0EBeuFWmquYfgBsaKK168OwamAViy5IVM5KZR2JZnG/F0HCfT+54pIX+Kqakf2vwRt16E8zz3NoOGQf18AaqTZdG18yZSKjhkpEBAtUMr6pb/oFSWqCGLazWHeu1Wc1FioQtsJlZXYe7lELM0g5EUyzANo7c8UvL+LPZe3Vg6npZVC/C5K/4kTqccU/nnPWAfZuLFEtzHJoeL1clHa9+73mzkqg2Vi8t6MveLsQPHwcXUrGyEgL3Uodmis2BLTQHG+6TCmqcAXBe8mtVnGRfWvPIONO0h5e1hpbQRbLmTyzJX1BVyWqNQCBvNpYH/SH56Y7hFNL4+ECBp9hra5qi4zh6BuQGypLTP2sxbGYa/LCx0q3suA1eh8ZKcbmGbd1htGvKaW0U8lvv0d0yfV0PUBbH/D6xk63hokXqQu07y63D8wf3Uvhf1sgHBri9tFJTYZMXTuJaelXQS2yg8X/+P X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bb0dd06a-2fcb-4425-538b-08dc18be293f X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2024 07:13:39.6788 (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: C0EYcfM84PCLfgBsGftdP1YGt6Hi1D7lqU+fd2YDKST7k1ZzUb622Q8gR5wAbg08Ijn49kEsuaXrjoYH3MFaAQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9134 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 --- 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 34c0540276d1..dea0d14bbda0 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -171,6 +171,20 @@ cm33: remoteproc-cm33 { 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>; @@ -1054,6 +1068,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_clk", "usb_wakeup_clk"; + 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_clk", "usb_wakeup_clk"; + 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 Jan 19 07:19:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 764453 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2087.outbound.protection.outlook.com [40.107.13.87]) (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 18C006FB1; Fri, 19 Jan 2024 07:13:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.13.87 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705648428; cv=fail; b=BjBMdHeQPgPKVaMV1J2716ujhy5YETciXZBS/cRBB5q7WhrADMWmDd7bXZdjqWVFyVSXYr150jiHLJQwwA2HryQhBwlgT/d/co+5CkhXSZABXS6jgCzUWF+anlPAmSXkQho74Wvc6VHdFyeaJzR81XWvknl3b/qpxKddIA9qmsc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705648428; c=relaxed/simple; bh=o8xaxSqB1CJzC36eWJl+rxElj6oclh46CzvhQ+1FdUY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=SZq33MA1a03wgwabe2B/mZrxyE9GS5B9VssXLE320KIMKRu+yX+zpTbiiWD19U0Ew5agjR1GHl+dIaHKIT5tr+26tczQMhDYJEG9iF9wA5ZEJBZxMKLP0ceYYLcSR4mEwqB7iNObIjEgj7KRAzXgtT+KRULJ2M2pf6EJQJyhUOg= 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=rg7WyPUs; arc=fail smtp.client-ip=40.107.13.87 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="rg7WyPUs" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VnyHJkhRrSpuHPnFwrDXXVjFKv16rJKEftza8DQFEvNE1WR3egkE+ADVf4xjQzyU04CErpPhtom5uR0drkgSvMAgnBAkMD4oXcEbEOReCy0dxNB9dpeHseiEYEpvAt3sNdq3g9763o8QTdiwog9QSmwwmPCHSFYahDQZmJ1O1b3L/zpW7Omqcc/2tbjnkNnN4QjXDVhbZNzi2gRKNLt7J7/C6mr6qrd3ssSl5lKAv5wmRXy2hN9liGq6WcdTStTes+/L7ycuLeLHZErKTuvL4i/Mv9CiCC7EKbc4nwX6az7jfQcVVt7BX1XXfViQIzVhmiXD82KQmXBRM4I+JYEcVw== 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=D9JAVRhV/LIvNuqU/Syq01QSEzHk5yIR5SsMmudWLX0=; b=CwzdJYaXGfCiwfrF6mTXqqg7vMum78I4v35DP2jhvs0k2vOKaatc3P/ZrDLFwa7MRnhcAgEbH1pjCRHAV1yySMLjJJRguzAFu5KH799e6HAj4+lGs2NFR7buwj3eQ3iZsXScfN0rI4GLYhskG7Wl5BkvEvI7I/IaWpT80vqauPtBQt2T6z0CRsORc5miAoSfWuxYyspKMARbnz/PtQ5KxheMW6v6W+a45702c4BP6zwThWduYrKGCNS9GLeQ4F1bn8bZLDZVKfc4ppDI3HXym49OsuPF/yzf1jTYIkP1QCRjNILORUfn/s3oJEqS6g5k34qj9sHDA5HEmeiWksi0nw== 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=D9JAVRhV/LIvNuqU/Syq01QSEzHk5yIR5SsMmudWLX0=; b=rg7WyPUspGPPiYi3c7J0M73xiluBPSefjdn1CDlBH13Sovf9/AzZSHFtFuw2jugFMGl4zvQKKJr61+p2D1oaSJOReHNT/JOXaLUWxQMPjh8ucoul9wOY9LjBD95dT7CuLyMyKouIDGUTRWfS8y/0H8lMkDkamxb4HJ+R/Rp1hRU= 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 GV1PR04MB9134.eurprd04.prod.outlook.com (2603:10a6:150:25::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Fri, 19 Jan 2024 07:13:43 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::efd8:23d4:18bf:630a%4]) with mapi id 15.20.7202.024; Fri, 19 Jan 2024 07:13:43 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: [PATCH v4 7/7] arm64: dts: imx93-11x11-evk: enable usb and typec nodes Date: Fri, 19 Jan 2024 15:19:36 +0800 Message-Id: <20240119071936.3481439-7-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240119071936.3481439-1-xu.yang_2@nxp.com> References: <20240119071936.3481439-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0031.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::7) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|GV1PR04MB9134:EE_ X-MS-Office365-Filtering-Correlation-Id: 08423638-abab-4c47-b892-08dc18be2bc0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 3wU+BGAUu85+dG5K13eHkSApXt+WSVY2elYnCm8BcKCwdW983PHn9p0VEpTv6XO6KlLo/sTV0Feft6FNoUFO/n+dpCpjrRLzexX69jREObi08eChkCHtIW3JHo4sEJbLrk2Dtn8TCrSdeb+PcBEXNrGSjVlwQRAV2KOYRccQdOugBq0VW10Uebqqbgb7XaI7ONs1UNZFyGpQV9RMOu54cNBh22mGv77SjMWDCSxeJfFVNni2HAKtunan6/XgD9F+vFEvdafM9lbzNl9AeSP5SDolBJYPYbW34Xr1CcWNHucj7NqVSYhzxEXfhbt16XSTakZnv/mOBUqcr3AkhPRfXRqoHP02w5K63qXYGBYYCHbb6PguXpKEFxooQrPKtdwlZ0xqJ5QKsbBIPMcZRbfUkmgQApgB8iGU93btCpIlacdSKqe8WC8Ok1KWV+DgEA3nimG+lxNqX38lUJitBvErkaY8XiMEILuvLajS4UWQHaZr1QvGxaPvD39UziKebLcGHVMkfMzQN8oruPoVwO8x4Xu7qmiL7qX8n1L/8kKimWOXyGtTqBA4eg0qkWeXwix0riMtW3Jw0yEsZVQicD2o06Mc7LwWAurZZTqVj7X2w3z847tD+l7TqSjPfmD+NtO1jTdiBhVAB/nbC2yzcRiCuAmx2WKJcSLC5tIAxXTj94A= 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)(366004)(136003)(39860400002)(396003)(376002)(346002)(230273577357003)(230922051799003)(230173577357003)(64100799003)(186009)(1800799012)(451199024)(41300700001)(26005)(6512007)(83380400001)(86362001)(36756003)(38350700005)(4326008)(8676002)(5660300002)(8936002)(6486002)(7416002)(52116002)(2616005)(6506007)(1076003)(38100700002)(66946007)(66556008)(316002)(2906002)(66476007)(6666004)(478600001)(473944003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: v2XKOJC+922bRU6F0fYJ5IZyuNCyPRLxvUhj8onCWJsRIPbVFYtts8Hygjf8lCHuDfin7o6cWefPJILgGUhaKelbpxjDn2CKyBx4zlnmJjBTwG0sELBT5OaPZAQm3NltyarwUOnCXAkUKZ6AixoGro80DsHSxQhvTAjpWkk51l5vmgXMUkKia7qMvp1Kv2ao6CS5MiOr8vIfcmKUa6PgIQeblTECzm9u3McYF1fERDHU6NOWEfm6Gs47uFbk7daDtrwYjdQix0pQHCYDPZFIi80uxbwMe99ZzCXbpqO8tDV6U5c2Cqv+Cmfr8e+I4/KsrYt+QvPy4n3/YI26wlaoTK2IhArXDVTVbcM9Nh13xoKlLrAuWcu5IKgHw7xgj6XD4ru805NH9N17fCqvL8K0vJN3HJ+SeOoAa8NPldQkWMjU0jJnO9s4JvHWAhhsFt8Nvm1Hd9wv5lexBJBw9Ia5ctUcEc311b57IFV3FGqBTRFQpDkWCUonhkoVZQDSn08ICYXJkVyymqg1Bo8t3V1ugVjPAWFuSPWhvsvqaRukADAkWUyyd4kkXzTCc6e+nmoDnm8BKFMSzaXFPnSxnoIMVPgGwQTQGV4MGh4HuoRz4saTD1c1jKHwGjox9o8rnrXMcG5RFQsRWDEsno65rWIDK9iyn4eVoErYR64yKcuj/SO01SFSgCPKbLRdNa4U6sIsGsZyfPcFmoy9FKo9AcWRAZuclIZ0Cs8+dOxAH2rYdRjWMEIPmSeS5iDofEFVqlalhWMzIJtDxzk7MKdrVQMppvl+YXqBW1Gma5/gx8OaDNqQ3W7BdZvhzO9fXVWmaM4kAFm+iQpjMN0PmhghTO60SvCBxoPnbRN55k29xKQnsAcr1hUzRrmg0FK9F36Bao6Q3+6flCjA103W7Hdo2Hi/AHV8gw7FaRilogycDBhlEGYJZPQfbUEsXKnlFQk7F2up2dXSgO0e52vI+14ypW2ZpS29vKSV27JoD7dUOHGoAN5BokcHORSNWxjDlV7LK3jQotILNl76AYlpA7nDjlwwpB4pV9SLB19BzRWlWfq8QtwvmHJO94bHb8jKid3MvombfHOTyAiR3BA12BoMc7lV7a+ZZcRSqDaI6pq2K6YE7PLkrS8XCIR4f09QB1314Gj0AwwSEbLYww0wqCtltIOtRrvVjq3V3bGs3iL/3OyXKetavoi5ojVkUfgiYobZ07PmkBe4RieA8ka8xqE797FoUOl0jrRKa8JCnZvAWKe4OBXylcwELFvyOHuwVQeRKZ5vhJK9Zjp+AHwAhNeBRJmxPHssAUDcbF3Kjp2SBmWrbHb1uyXxK89z1wKXiSchbkUaaglRWNx2eynYAx9nQug3Cmfj7mN9TSodhta4/XHwOM0cobjTx26ZvfPHaq1MY2T5cNjq1J2vPqLY85a1jBnxRuMqJSyjoyAj50XsCr7ePflAc0nY42a94isDuCBF+Zys1fwFBn1CDviz7j5n5Izk5kx3wUq/Jc8OESX2w8pBFvc+RMRX0o246Z+urqN3Q/w0sTSL52986SUGqF4PgyQKltD2VWMAUmPF7ecolfVTk5ZOC/Z0mL+78uPAxziF6/ts X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 08423638-abab-4c47-b892-08dc18be2bc0 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2024 07:13:43.8435 (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: zxF4sjdB++FrBJZc0PXzJu28ynJQKbR1sfPWNcOvgWGGspfLfb5z29xbChcK/LvLU0LYWjLLtKNgq8WVkst9ow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR04MB9134 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 --- .../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 2b9d47716f75..87c7cfacdc7b 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" / { @@ -103,6 +104,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"; + 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"; + 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>; @@ -155,6 +230,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>; @@ -221,6 +332,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