From patchwork Fri Jan 12 11:17:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13518316 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 59232C4706C for ; Fri, 12 Jan 2024 11:12:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=6FLPickbh9+BgPzfiXU7Vn3HSOGIsCkTIYafCPQMkyo=; b=otZAFCxHPK9plg JFHe4LsZJdst0VgqKWDEQWajQOabs+08PWUac7z2h/9nyTxH12AvKZu7X91+QFuVjYqVnGYghCMnj uO8br+w4BiHwPn9aEuuwxkTqa5GZu+gjRZ8HR+ZMDmL1Nn3BxhL5wdp4oBaed82lEIiZxWvEaWqex aOSwroet4BxOsnDOELIEk8DY7l20+i3xNs4yvfClowKaRGXXMWl0rkq6F/AAcOhujbs/HSQ+Nsvtu 3JxpJCrm2oogSpzAgZM9b95nk4JIfxgaqQnbtLQtifhNqV3FzxVb+5TgZbjcadOF/yoCbgREJAIhN 3Zayisg3cGPCLa1zqI/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rOFRx-002Y8X-2B; Fri, 12 Jan 2024 11:11:45 +0000 Received: from mail-db5eur02on20600.outbound.protection.outlook.com ([2a01:111:f403:2608::600] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rOFRv-002Y7H-13 for linux-arm-kernel@lists.infradead.org; Fri, 12 Jan 2024 11:11:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hJCliqBSB8tF9XfEhIVtX3/wMX+05Tl6Fz8QFRQrd8krR5ex35cJ7wJ2n1dQjHfM/y1JIFthoHscEJjSWEYl0b5za28g6SRxaSofJSLm0PD3uBqUCPBXNY6Qke7wLkkjFaJ5PY9ut0usCSmETdWy8GxiEcKNpuxKyaPVrMySoSUgMr0uWbQSNIRNodMJjmhptbPBO9LLUlEAEFzCMtVzWC4lq9akIISD/goLyMgSAKhnrPXqEtnuiYWpDNHEeKe9gFtoilnErVlaS6FIcb7Jbr/jXPHxAEg0zQwPN2uC5nPpBGT7fGWyvKwtok7dhPbEOfqOhFsm2aefff55yNniCQ== 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=9q4+e285CENj80xGLmDBkvIsMLy7R5BI9ZByU8M582c=; b=Kum9yX7+rhGsBeJGpRBBysz39lQI8zr9EEmFIduvZMNTzjjM6U4xh8dV7duPKFyH3FgPyjdRCIyX0WIza0q/ZTjTS0xmS2/iPYMdJubIUaXKD2tZNgVF4YXaoxA5HDNDHinEJqnHELOhLPbA7qlq/DoCJpg4fwE3O6yEywMHJ4lcUTYFSw6rQwWZy2Z4TWN5IdILkTxdq0FF47yiUKGPYjYUIBm9kuF9iiUqIbKwMfB+6o2cy9np2K6FyTgOM4YslnnSBJAzJZ2IubXp7VRGyLfuv3mq0QuYJT5X0yoN6nXNFiA1VcBEIFFx+ldlEsOposAu5uR6qIcMe2qsy2xexw== 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=9q4+e285CENj80xGLmDBkvIsMLy7R5BI9ZByU8M582c=; b=RvYPkZ4G2Kc9mfkQxolMi8ir/+f96SIRE5Z8EygtIlETjB9A6OpI60eiO9rEiQUpXSVz7Ud2z7gMnjJydxqTu07Ui3zrhsXmezHxGozuXOi/fqWSvfeCqoDoYp0dgdrJRjXyuvrFuU86d87SmChZQQ6E1D0q+KUhvwYHeRuSK+8= 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 PR3PR04MB7227.eurprd04.prod.outlook.com (2603:10a6:102:82::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Fri, 12 Jan 2024 11:11:37 +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.7181.019; Fri, 12 Jan 2024 11:11:37 +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 v3 1/6] dt-bindings: usb: usbmisc-imx: add fsl,imx8ulp-usbmisc compatible Date: Fri, 12 Jan 2024 19:17:42 +0800 Message-Id: <20240112111747.1250915-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI2P153CA0020.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::19) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PR3PR04MB7227:EE_ X-MS-Office365-Filtering-Correlation-Id: 24b2b5e6-2ea5-4f55-e5b3-08dc135f3e92 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LSHR4KfaZjmpCw5TzYHEk9e2Ndk//+G86NjANoQjNdj7c0BQhUeKh3ab4ojXk2NY0zcC5SFqjfwyS0LZVG3QhG49/P5dV6I2R27waCO6+gvb+TX+l9N5bCifacWepCONY06Gti3lBZVpVBn3tdc/d3iclh9YQ7kw7mhvKjfBiX7A8Mwn9VEgW2TGNswVbpPuM4AxpgN3qweG0Yh0gcCYZiVZhbsrV7TnR97daBYh+0UcysvLElos2+tMhXNmsbLfp1lyzvh5RXqTBrYJn1ryZ9HFi3pB/DFXLIWkn0upVGEJDwjhekQJLLeRRZohAMjhMw0TKFfG9SChZtEIKviwUxovoMtl0RtUbv8d+bAis95Rss02/sk/exe5iUtbZYg6HaLUexETguAst9A1325jXbOJZC5pDOwtOn+O6wYjFnG7St2huTG2h6gDzg1rbYgqUNpt2bVzWyFEB2PYw4n9ptDCWg6siTmL/Zmc1QALLC2/9sj8LqpMIdavggM8mkqik5VgG7fZS4ulWrxGt8cFtAXmIPrQWxvBv9dCBYTp+AjzJAuDuqCDOqPp3VggucsNSzuo9hroN+5NSGtjk8JzbuI+i9gx8z58Q44oWJnceKocAdJSH8BA+fsBckc1jyPk 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)(396003)(346002)(376002)(136003)(39860400002)(366004)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(38100700002)(6506007)(66946007)(478600001)(66476007)(316002)(66556008)(86362001)(8936002)(4326008)(8676002)(52116002)(6486002)(2616005)(5660300002)(6666004)(6512007)(4744005)(7416002)(2906002)(1076003)(36756003)(41300700001)(26005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ifXJiQC4CiCBzNJrf6q4dazcB9QvwZ66V0u5jnnJc9QcaC++tn81XUe14gSLwkAcnIrwCQJgE/8mAhDaWZa5XX6bc7RdMcKXY5NFSXdGjwNNwY7ljeID9dmYFNpFKgSGMAAuTJPgGjNgxEPa8l0rSuH+d5A2sjDkDiZ4wtHdIeE4f3eE7/IhE0mevzb48glhmyCiVpLpAE5f8NAmofitEUEkYyDPU0jJr5UVC3E5jRE50uTug915kvsZ5m6++Z3RaqVw/jqEBn000ITwwwXnRHaDI8G98xK6SeY7fINFjKrwhptrye9wMVUqTQVLYpczF/n9v6c+YntTIA7pQHKXTGPt1He3Rku9tHmHdpsz7tMRr9LBAlv2njeRBSudq7++fh5NPGDcb1zUF98krenWJBK6mJ18wCt3+F0MtRs+fqOUqqC50jH6ms4+cC8EaLjb5URhgufRPw1obMxM5tanxNvHCXK7K1yK0egpL2xzR6MI2zsA8iN7JFVxfze0rP997ZT5RdOxYEB1zpv/OtZkwq38sIX+qANAMtczd0FqnN9C+ca+vaEqJ1yVrMhj9vvWqmmo7kbZoXtjArWrf6pqoeklmXkJeJuTueixxvuBs/5JeZ2Rd6E/vJCAVNvQlmjvMGxL3jgXTMeeJr4xn8SkKOoP7Mhlk3d6u+jRawK33u8RzHOABMow0Xp37oXctby7juXjqbzhHnIKp9HhGeT/ST+7zQPaHUb1WZOWjIxTufA4VLkb7/0iYcxaVlYUA0opqrOEjE4aG0SS28Jsn8LFioBmbAz99crRA2sj4VU9ABK60cZ9y/72mE0Og7s6pgFDErNxwEc6+CEdoML47xkceYdDQ/16fD+MA3++XoWeX5JhqzcDlWSNJeTRXaU9WtM6PgdBHktmmCiE7NJu5YkFeeQ+lUiwARMCNFmvaQ7F/oTxYjsUwLmKsI/0wLIAQDmYWZim1FEoaISWCbGHPs5DutesJ79jon0d+TqbHpQCMamCn1RoFoD5h8tQlL/rrr5opuD6YlZF0F3eMMUIFlX87FTQxAyGX56YKQp7rsv6I89YbDOqowIK1g+ANYKyQrLqP/29aR/l42m15VO3JqxmvGnra6JGJFdlUmJpj/uIx6xLH49wUadyYbUgrW6/Cj1VHNZGm/Qdjp9vqwQk3Hy9ocA7fGA6ggWwNjNniCnSbqWtG824TosDI5eyops/nW0szzdo9IuswQ55M8LSSW3sLPeoNQPXixkYzzyucnBwXpccsB3NG7mVBAXJQ6Bs7n26J6P+04FT4y6XrdjJTHOl5EZV4HNW9ADNypfRLKyp6xxOrV5Dv8jHHi2H9STITBeeHqP4gTCQcSWEOuC7ZOYXygBrm1Fyvc+dBkf+ggWOOtRpKakNvpJ6Kst3Rcwa5r5olNHxJKzLf9TLRSo00AEw0ZdgYNJWYhSS5nW8P8raUskA8ZY9mNMNtqPmerjVHUsDYKI7xoD2Mp5qaUyFeK0zl7Exk51aV9bRRAivXSJEK8Jn4GjOQR5PG8k17uB+2FwjkT80+pzATPKd62HgFYK4J6y3kXhGP3Jx8o5mbCmiODuD+sZsYFUe/n7VHCqm2M/I X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 24b2b5e6-2ea5-4f55-e5b3-08dc135f3e92 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 11:11:37.5643 (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: BjV/5SldhZY2Xj7JtphK6zfBuZj67ujNTyybHcgSdf2iUVjlVtjjzTKOqtt/exQkzAkXQvxkC2Edx8Y0nEyz0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7227 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240112_031143_377734_B1EC2A9B X-CRM114-Status: UNSURE ( 8.36 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add "fsl,imx8ulp-usbmisc" compatible. Signed-off-by: Xu Yang --- Changes in v3: - new patch due to missed this little one --- 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 12 11:17:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13518317 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B7E0CC47422 for ; Fri, 12 Jan 2024 11:12:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=E0cBgrLlIFdtG0Y5nMYlGABRMVK3bD+Oam/OBsQcnLQ=; b=u15Q8hk1/6yqXt fu2B09hc+xFje9ECSmkECnSEevY2Ie1zYVYqsuX+TWak1oq0YamRokUSUHVa7yaBFWZwBjy8XA0kQ Ipr1cjgRCOdPBTaPbR5kcFGtHeJfYyz5NxtKBO2oCVCen2UeUc10tQsnAPVQ9GON26SQDKZTW2Z4N b9AteGSi3B6kV8XBhqrkUrNk6WyyfRZZTg3rIgE+OUjanHGiMrTAG9qOrW6QSZ3JltFaUMIGrFM2D Qw8qeol5PNHcJ7sjJmpC6v/fiF1PjZsObw9IQRhjjwpR/NRAykwgjoyEJwqA3i5ITwoiDnX7ymtWw J0Bn0Gt83FOghPK8oVvA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rOFS1-002Y99-16; Fri, 12 Jan 2024 11:11:49 +0000 Received: from mail-db5eur02on20600.outbound.protection.outlook.com ([2a01:111:f403:2608::600] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rOFRw-002Y7H-35 for linux-arm-kernel@lists.infradead.org; Fri, 12 Jan 2024 11:11:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SSSCczhWA4lfKVyOSuqkO8FTGiz6+ekyWvDIuS5VczZ++wq68I7qx1gAB2LRYPaV1LPULzVfokBMPp6JmVEqjL4OqphHOCZMM4kTslb+MZb/G+6j2NhwTa6KnHw8BD5S3VJaEsscEaAKP+0ab61Yh8ZK6INULN70hizoibSIwbTNi4IZgjECl1EuvVB8n7dB8z5SmzTDlmgQOShQUnWkyygPVX6/CxDNd5xsNJyCZICbxKsMHtGkdSX5/1VjmVnX8YibxESVCOtmyhzi/wiS1pL0npe5WZCRlLaWKKsY1SLzASdu0x5nGM0vRp/Gyk0sNmdrq2L/O7Yp00ZjpAsgdQ== 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=r2zAZscEYnXvr7Mi6vnBJI88z9aWRyRDBhOwV892VVU=; b=UiK7P7fkVVFbyjE2DHySiaFcrlEzT/JGSvA0WLbRMpesVH7WBjLdqUdaDp7Fppb1b8/0lT+8xyxrVvS3P2qR98zXhUFWmUS280j+hZ5DVZ6VkQTbFjAD4qf/8D0ba0b1zlriaLgh4AeiFcRBDLbXRNVvTvIvxaxJWgInmW7I3ge3aOJucjOxkNlurYw6RiHtDWCDUzlkuIYurLsqtXm9jL/40RcsSv09icONBqXFN3y1jbtn4PHOK7b7UskgcptNv3OieruOxCYtAcSelBhWM78hlIHRnK4uu+LQp77its+UmiUUG7R03pvlLJL06y2wHSq/BkcI6AjKZirqlfmHdQ== 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=r2zAZscEYnXvr7Mi6vnBJI88z9aWRyRDBhOwV892VVU=; b=YGKJMCKHmMY3WhA+YBgRGospLA3f6lOVJenRKPtfmjwUh5WOEWtow8uzZRVshh1Jt4fFEMdBL1kQQdiytuxKY/SVKqGi/ww/VF20iX26Rs23v1LZxIAxAbiDhoqnnvTv+RV+Mk1wsUKbfATUJoDX7t9gj2ZLWruTI/xtEzkvikg= 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 PR3PR04MB7227.eurprd04.prod.outlook.com (2603:10a6:102:82::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Fri, 12 Jan 2024 11:11:41 +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.7181.019; Fri, 12 Jan 2024 11:11:41 +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 v3 2/6] arm64: dts: imx8ulp: add usb nodes Date: Fri, 12 Jan 2024 19:17:43 +0800 Message-Id: <20240112111747.1250915-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240112111747.1250915-1-xu.yang_2@nxp.com> References: <20240112111747.1250915-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0020.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::19) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PR3PR04MB7227:EE_ X-MS-Office365-Filtering-Correlation-Id: 13f1f47c-fb2e-4ce9-692f-08dc135f411b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FingOQdfcazoXdpDdOE0qs7fuwaB7btCX/wEYcGyyG0tmJWKVcwG0QZm0BMOUJBs3TKDKyXsvFjYqKkLzsJ9qfhk3dPiGSeeyQ/rVEizO00MKWR1kJbnF8TDylnk4Wz8mGniaV7UU+H6wEKyUmbmFugLNnNFHcksUq/+Weinsmd1FLnjUMJF67Y81F/ZyH+mtg7CJyfO0pICQkdIfiQLbvTMRc07oQpZQX/SVeZwLpvO9OOUO1isRCfGjMAAo4j3DUB8XT9VKrO58iQeK4IEvTb5eIvvAHiwjdXsJ8mSYrClyesWE/+6u+SIX+S9a9w0KkhKdeiARq4tIoVMIxgMjQPDZ6atW3aUfF1Q9NWr0jWTIAAQEecEDJzOxDLXFCvIjW6/67iuwvZs9ESTtHYgocBfM0ahqY1WZHgNwsG1GYT2R4cnq151/pB8KsDZIVnLa3W/IaahZO2hKMUAy5DIK/4IgvSe15EB6C0nwlvGzGr2CYcBN0ImWPW/gVmGnk/5Iu2Dhu6Q3furYgwNMeJ/R9ldqSopzdkkLG89IyaRaFl/myW9bPfebHEhHDD/ZIwKOh45D8ETzfo0TFFkj7hWL+NsweFYLMSq6f17e0SwdJYVMkg38PK8faM6eTc7A6wSriXB40+CllBlJarRlAUCgA== 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)(396003)(346002)(376002)(136003)(39860400002)(366004)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(38100700002)(6506007)(66946007)(478600001)(66476007)(316002)(66556008)(83380400001)(86362001)(8936002)(4326008)(8676002)(52116002)(6486002)(2616005)(5660300002)(6512007)(7416002)(2906002)(1076003)(36756003)(41300700001)(26005)(38350700005)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: njnsLPNV+y3+0UG1uqqGMxKZxND5ISR/NXG0YQqmQtb3kq/xyQPTjaLKlvMW2A39RV8SCBy+J2e9o6BVoxng5d7mXad4v/4yxwBw406x1M1FACXQ7Gq7Mll+v2lK5qO/q2yndu62BXhU+OFakRoZTVQCYKj5uPwD/7dyF5frIGDjRhD+ROz0YBIOEEvrDkiOrRi0NWrosNYvZTKlzTn348GeLb9SRPrP/SpBurTHtmpYXyHK4daCNmEnQHv6P3meRLVbHSleIoVxyWs+8qd2qP/8m5rJTK9/z9uyC/eC4DrS1lPeaA2a3FiHVhrYWZy/+614+I9n5gKp0EUsoXBrEd902ROFyw63asny/s4mICjr+LWx7/njVt/vcAvKsZefVwbaMVeESxb2r7F5KqMsHCubpzSuSK6J67q8XzexS/kRiR786LbM3U9cWEdcIqIKsJUXP8Rf6k5oerb25zNVufdC95PcMtOMdxW59GS5yeqxO+tKnm5+lzuMh4E1bquvZE+BmcF0Q7wx/PlTPrsy12SoW4LFjgwSl83UxRuH5/T9f8cEtnfPOfbwth8tkC5jlCNQ/8vnup0t2RXGJTZrEIkJgw/c5m4xMlSsvN4e2X1PlC2A02QE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Source: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 11:11:41.6993 (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: vwm220jCOVP9R0k4HY1ArkhoZSAqu91kP7Llt0BYx4w/VF5n5XNcMbKzf++vFlqUwZvheuU1EAVa5db0+ByJfA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7227 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240112_031144_996030_69EF1C04 X-CRM114-Status: GOOD ( 10.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- 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 12 11:17:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13518318 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EFDDCC4706C for ; Fri, 12 Jan 2024 11:12:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Uzc2sC76x5v1KCPHyQMxHeFxFLQsISedIhH4faj07Xw=; b=SuqMpaOnOgMdqh CvMa955M1h2h0d0xqDWwUAB1uK6xG8rTO0iCqF0ZoAuLOly8P4r05okMyCduOmB+ChtCzn2j5iYfS pZA9mZvOcg6LgT5vYHsZiwN7MnrTYdfDz+Q0cjbbaSZP+a7omy1lRbI+ZpYB/9m3ivX9yqYBzfl4y gKJ8y6j2QysN/llmrABzmrLQwSSOV8BW/CIFbDyNm1BOXMvJ0uVcyc4BY5Nfa28NDyUJOltgul0zV JT+khcUYhHnC1FgC7C8dOk7JtzI38879WmmjKr2M1+PRjNayrXn4n7O4pV7NIhJ71T9Keu8gwiClV ezl0dtBMk8C2eit3kxIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rOFS6-002YAl-2G; Fri, 12 Jan 2024 11:11:54 +0000 Received: from mail-db5eur02on20600.outbound.protection.outlook.com ([2a01:111:f403:2608::600] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rOFS4-002Y9V-0J for linux-arm-kernel@lists.infradead.org; Fri, 12 Jan 2024 11:11:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JmvQzzQUM4Oo8x+VAMEr2Dy12Qp/fWLBf/poM5TPqXqlEy5Z0DnZIGPGhwX7+QUGc3FJnuvUiPgMfamGX4hnny6rJJhAABWIS5p2OceXry/RwnlATswkdqi+mRmTJTNgNcGs3bI0DbjKhEGyP8XBtdieANmor+AR7kX4A/ESbbfId4sguOQSsT+3D1tsIQaSbBJ6ZrCh6P7ozx6FKzXky/wTCgA4jamGCkPRiGflqagjmO0SM4Fl0tZEN/95ChIbcVn8v9TlY1mss61u5QMepi/nQXg2B2jkivsPmquqWK1aT/PdnwjTDLWFvQFYgXwOnou9EOSpoFsT4zU6RCVDnA== 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=Zit3191EBYOlefVrX4C17UkZg9XqeXbCvic4XxZ9aBc=; b=XqU7DHb8+ww7wRPLSAIQpyTmhkbrELgykawrP2dgfjh7AF8xmVPcDUV/46C5YYOQ0v9v/chS2e5N1sFHyWq1mqHBtSm6HEGW/VAFLElF2qFMzro+kn/dVbGMHUHP+7dCDeYbfxaGfexU8tMAawijGtWwpblv69Ti4cqm4dMQ3opFkAlr1G1wr9raUAtHyGlTUTDVef+WrD305Q49JYFsnDkvLbk3EqFoybPQx7hMwQ/QP3flRh/8JhOb+Tja/TaVBMlEy9De2Kt/W4CygEZeHls04+GJKqejiH9yxGjOg7MFEzLElAAGMSYmUb1cGe8I3gTzYGIRq1hxJ3L7cd15Eg== 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=Zit3191EBYOlefVrX4C17UkZg9XqeXbCvic4XxZ9aBc=; b=mVPEen2w+ZwRvwgLSOk6Zd6zIqGuQo4ghPpJuMmxQnbqpSwnwuMjKb6ERi9nVNHBAC7tpmQH3DVFr9iw5E/gH1dgG/L022IQNNO17DDf+n9zP95Uq+hvjpr+2z+WJFCqzvC1PW0GTHHhq4bhINAKE94q9rBPOvibFA82K5QBXiU= 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 PR3PR04MB7227.eurprd04.prod.outlook.com (2603:10a6:102:82::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Fri, 12 Jan 2024 11:11:46 +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.7181.019; Fri, 12 Jan 2024 11:11:46 +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 v3 3/6] arm64: dts: imx8ulp-evk: enable usb nodes and add ptn5150 nodes Date: Fri, 12 Jan 2024 19:17:44 +0800 Message-Id: <20240112111747.1250915-3-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240112111747.1250915-1-xu.yang_2@nxp.com> References: <20240112111747.1250915-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0020.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::19) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PR3PR04MB7227:EE_ X-MS-Office365-Filtering-Correlation-Id: ace55456-d168-4667-eb80-08dc135f43c2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: unX7apggyHLNjOYpyT1ptO6rN5/jCj0/6cRamXVxKJQq2mSjU6WI7Td/s1nAdwlwy2puZVwk+FLpTWEevoVTWoUO/23UHwbRAaBthvKiXxphZOajcLmzCVqm6NAIDDvBGGqdh072sJtqbNedwP0tIDp8mBFp7yoXiwgWtqS5MxPpmeW6mE+82gLdIsmQYOSFItAAGF9/ESvIpMYleGOjL7mrYMmEWKPnpwLqYHYLbfPEpENvj+vMzv1eLUqo8/OXkx0kWUAkgplpGK4CXfIhKBBR8rIyJ6IrU1z7txy42tJtTbUGymatusJxhy+oVw0zT4LcEIrLbP6JdgkJpCdXJJdoLfxXHYzMSbV0+Pn2wE/ce6R+GK+9Kei9ZjsTlXc1GWDhALtSu36KuKFSfZbi6hbR5f/pMcgI+ql2/QKt0ZcfDQa52/WXHDZRyIGj8HsoqvbMTAcVVRFwavGJmVNKlaTYDpSuWLsltC5HNv8hrcPexKpNXp2CTEy7/TkEJJd7QqGsWOWVa3vC9Ndm/eiowoPWYogZzzgygDrpiZQvQeqCQ/LFhlOPB2KvlxusDtUL9Gy9tAV2agg0YEGUexYlxpLOTQDl0/vugiRn2M3To7NjwPh030+qYnd00YzE8M8KctD2nbqRaQxyTx3F2T/Y1/JxbgfqRMLRFdt1+PeiQ+u4bOAfsI/cLZAPgkwQ2eJg 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)(396003)(346002)(376002)(136003)(39860400002)(366004)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(38100700002)(6506007)(66946007)(478600001)(66476007)(316002)(66556008)(83380400001)(86362001)(8936002)(4326008)(8676002)(52116002)(6486002)(2616005)(5660300002)(6512007)(7416002)(2906002)(1076003)(36756003)(41300700001)(26005)(38350700005)(32563001)(414714003)(473944003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ezdwYPTVvH+Nwdk3BCDWZ6smqyn4fWuQlxuUJnlSJCFpPBJmKaltpCExm5+LAgrmEVnSBrOeo5jWvD2dyyi3GotWE4gwzxZR9C4mfClLosfk+89EazLmhnr8uqP/flvSmzPXxeblHAYEGPq98ZUGPygzJaDGU7Xy5JGHP0VmrTQl2PpOZn6ffDH8QmMiRDOZHROZXsD4lAjH06mvLZXP4Oc6VzsG9NEo9dz4Q5PqUADfC0NqkM+cLnbRW/4VHFYAv/SGrW4Ki3psl2qUKGgfEwQNbgD+JoyUezhf5nFRHJle8WshhVUFnqwQQ3JQWQEZZStLWj6oQTIVf306SffaFnsf+tO0ECzoo9DH27FzDLMHKnkFSAgOn7mKEM3/4fxU6/lokFFfh8wNWhOIn1j9UJVc8u6B+vDfJ5NiZ4XN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Vw1s0uLMbQh3c28ktJZSZZ3A76Nx0NqNtWby9M7Vu+6R1pdPOoYSv7es37bsrtZZQPjxWJSZaZVOOSMmSu5+aMaO2lwsVZQNITyRD X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ace55456-d168-4667-eb80-08dc135f43c2 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 11:11:46.2202 (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: dOvq/9pUM5fYD0wsDgR0aFAZDefKF+nNkb2M7PGrHPeOG8PFZOkZfyMk7LztKltGaqWeK30hYhH7jqdwrN/zCw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7227 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240112_031152_138645_B38CF51B X-CRM114-Status: GOOD ( 10.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- 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 12 11:17:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13518319 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A5925C47422 for ; Fri, 12 Jan 2024 11:12:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=G91+pM5ukOOMNC9nFXTSOW/eFVqinyNEgRnZgo0UoCQ=; b=AZKnCM6+4uRVob NDMYWDSxFK7RidJ/iQCwsXgOdyHWuDfZN2Z8dg6czXrakjkRaQkn1Sv/c34W54sgePgSYdrQlsv3j g4ruQOzMPEt77rj+VkW71ASi1g3eT0+4hxO8lH9by5Qm+vW+1kfNqGB1UbE9EXEz2JTe4UM9EHuVT uS7X4tko2+zt5puxcEMqPVamZOcF5YEnIZ17Q26Ej6aavWbupus/9Vlk6R5A7C1wGhMyXuEVo2ouR XCaYpkup/gHz0nlYURDEsa8AEm9YgiXOtXyh4g00E3DJEM0LpFDlFq+bu8dnw10AZZ4rnkmHf6iF9 4P8e1+x0eClPrPCf6MYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rOFSA-002YCW-1H; Fri, 12 Jan 2024 11:11:58 +0000 Received: from mail-vi1eur05on20601.outbound.protection.outlook.com ([2a01:111:f403:2613::601] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rOFS7-002YAS-0o for linux-arm-kernel@lists.infradead.org; Fri, 12 Jan 2024 11:11:56 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jsPHbAgw1n8MMP7J8PWLlNT877I7lMAMHphjWz0SDtQ0IZl3VUKC7oGsX03Q7IjOOv5n4r9YbEDqoqdN3GUIJwGJZpPhotJkUFP1RqZltdWSJRDzouJGnSLjid77rtvwd9JYRfxsAiiaFReXaJcAcF66S2oQhvZYlFZji01PL48cTVyIwui4DgTxk+Dx7cXQBueb3iT0Vi/0cdn14VcR0YngISxGnS87jOxIDrudWwBld8IbZIbzM59LwTdXnQl0YpqEXfLyGAMU/w9LYm2QKYHQ+y46racNpGJacCwGBZZDCjxnH8lwRGMY0MVxIaUFl83EXIObhQiCtTm1WG0Wzw== 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=v0KH+Bxs60hhO/WNpRN56CPb61/plNwM7HwzIXrqbCA=; b=PeLR5A8y1uYhOPWUK497G2O+J167noEmrhXXWqaWnEScMn5cl2c3hB5zHAkiWE9HOMYzON3q1LFK1gdo+1ZNO5h9L4VmO82vf762AVgIQ1wmWKqURw9hy8FZeKBINCIXW7pkesIxq0n6l7ChbY82t1iVlu52ZWfvhgTmlCQRG65YREUMp8yIAJ8EeQtWLOyQ7lU7vU+6HMrZZPxFum2W5mGpoRWACHkZTeSLoSND8uuuHEi7K9rLkmLkg72zHOShr7wRB8AjVueby38tWvorgoEPwrtDwpgbdghvqiBtauR0vRjxIMDCddqgvo/kQsQ5R1z4KpyF2bhqCJDQ/JZHaQ== 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=v0KH+Bxs60hhO/WNpRN56CPb61/plNwM7HwzIXrqbCA=; b=hyZFht2yYtHd88LW8z3TZJrAMbYqIDH8k8Bln1QMgPc5EeQckv2uzzHrWmDGnMrmbisMBbs66QvNTt1JGT/P0zeDBgeJP3MCCBYeLyXfLl0QkTQofto4FXrPrJ/1O3v3Go5vgoTo11z0wwW64mUDWCRUzofGnZNvnrqAwrBOrgk= 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 DB9PR04MB10010.eurprd04.prod.outlook.com (2603:10a6:10:4ee::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Fri, 12 Jan 2024 11:11:50 +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.7181.019; Fri, 12 Jan 2024 11:11:50 +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 v3 4/6] dt-bindings: usb: ci-hdrc-usb2: add compatible and clock-names restriction for imx93 Date: Fri, 12 Jan 2024 19:17:45 +0800 Message-Id: <20240112111747.1250915-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240112111747.1250915-1-xu.yang_2@nxp.com> References: <20240112111747.1250915-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0020.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::19) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB10010:EE_ X-MS-Office365-Filtering-Correlation-Id: f9ba9eb6-3d73-43ff-20b6-08dc135f463d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YLjCMI1+Zk1AZYAur42FAoACpT1CP479iFrTzPGUN6Qbihpf7k5UaisBktC/Gg6GVN9yIwDGD3mimWxaayhnv8POcyrB1DYLp5qMmbiAwysLRiMZYd3ZYjilyrKkgE8SqkIREawMMf3MeZP6BLgSgqUPEecYYxTMXFHnown6KZYVJeKfpc3OOX2JIPc4lpTUGCuL7Mqt8B4h+tp/0NZbpTZuQXfAepxk8QwzuT4xXqEEzJIZXK6IrjHNVX7osOWPHqwnx7UfqwqNIpgdaTY54ddOMzApJnXXyWu3JNsEPZsAdeju6TB8HdYXrhQUWnUknsE02jB4N3fhwlONesGpm8rb7h9KASdSbVkLatQAx7mu8q2OyI1TUVD1xBQm3KsK9CZ6r/E01EJ4TtQyJxLG34cDaXAVx00KLtcichYaJqHIeccuNTiiuRnc3Rqa5sET7fE6ex0Lk+zJzF4GT3SiVnrq2RBlaSPHAwFpixSGJIzRhyTBuIyTvYgI4GlFjgYcXAvE7xjiTby07IP/SHclAn7bDTgHMjs5ZcYid1s943RFcNl2I2Si5CW2w9OiR8RadwrLoDXsH5q3ImCd5ti7ymDzzWxur5/IxjPUghT6SWN2E/cR+tZHAHwkLJfmdP0e 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)(39860400002)(136003)(346002)(376002)(366004)(396003)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(38350700005)(83380400001)(26005)(478600001)(6512007)(1076003)(6666004)(5660300002)(8676002)(316002)(52116002)(6486002)(8936002)(66476007)(66946007)(66556008)(2616005)(7416002)(6506007)(2906002)(38100700002)(4326008)(86362001)(41300700001)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: P/1Dw99hFrVyxsjOIoBSYDkYdwkhQim3IDr7v8nPOFsFo6bgvJ1avx56bon6qUMM0DVnLUPMUEajRN1Rtm/U/XQuucM/h4Rvw1iOqiHYjojyovY257fICQOwKMISieYYhXdDzb5ebcxiBP2XLfpNqmdoLWcd1Z294i7Dxqej9ZiWvZ7c/rGoLBB+ik9gzZaFHv1z2FVSd0I9prdX+jr8mx4LGiIhL/0Y3DY6pwZdDjuibz+xjfWLgrk6DfBVXVa0NpKBlmS2IeCGLPQ2QwHN8Npd24yGNeE04u7kQdlhj/z1qTLDp0iHsOaA3RTg+j6UB3e3KrRUHEpx+6wgu4ifESJvTlIDpbojVnZmILjuUwm/kH74EQpvG2R5OJSS9G/LiL2SNUYZf7A6OAyoqhtRRGJiog9CNM4peDSMcrO/7pOTkjThq72BxfYPLIW9LxWJ+XqPEghnFgrgclCs7hFFe1bR9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L9Dd29unrDkIlskuhgiOwwbFuSiZIhiD6LaroNd2bx2nODJpzcas6Nf9sbpX X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f9ba9eb6-3d73-43ff-20b6-08dc135f463d X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 11:11:50.3339 (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: MrUbiPKKjfyLL2H0ACTjgaLxrl5g0HF3vbdkY6HUcWiCFOVc1GsacMABZi3G9SabyLitiLp2Pwdu5ToRI+xrxw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB10010 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240112_031155_297883_48DE4526 X-CRM114-Status: UNSURE ( 9.22 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Acked-by: Alexander Stein --- Changes in v2: - no changes Changes in v3: - add clocks restriction --- .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index b7e664f7395b..6e75099b6394 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: @@ -412,6 +413,21 @@ allOf: samsung,picophy-pre-emp-curr-control: false samsung,picophy-dc-vol-level-adjust: false + - if: + properties: + compatible: + contains: + const: fsl,imx93-usb + then: + properties: + clock-names: + items: + - const: usb_ctrl_root_clk + - const: usb_wakeup_clk + clocks: + minItems: 2 + maxItems: 2 + unevaluatedProperties: false examples: From patchwork Fri Jan 12 11:17:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13518320 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5E2EEC4706C for ; Fri, 12 Jan 2024 11:12:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lB0yQdBoRl5MvnIENeXM8XKypxtNt7zusDVPiXZEnFY=; b=1QmP8/0rfq+O8O KKNN2tAATFkPIOJi9nDTmwUpU7RFCXIsMVxwUKtuePcll/gHWKorp21WXvoiTkIL2JMHEa1QCnK5v 8cQ1eSTbxRDoHZzLg/C8jINfibp5VE5IyLIO8nCu3m8Sjy8qvQF+DssgOfC+zBb4asn1I29qWd+lh zHXYj/g1LJHSbEHynvqsIrTdBJvtjLGx+8WmveYMeDzfpQMOx+e+Cs1QDTUfy+XJcaZk/EWp9aISb YOgl3VjPERpc7AURSEGJkIcRDQ1ek9CHSFMYhe2GPbCpHe8zbDIyrz8TmbfRyG5fxHvc7j2Ckybg8 Rijytr1IM4QR4urzZKmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rOFSE-002YDn-0M; Fri, 12 Jan 2024 11:12:02 +0000 Received: from mail-vi1eur05on20601.outbound.protection.outlook.com ([2a01:111:f403:2613::601] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rOFS8-002YAS-30 for linux-arm-kernel@lists.infradead.org; Fri, 12 Jan 2024 11:11:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QHOK6LqKu5pWRCOoKmQWr1xImQQrPjHaY1M85nbDMDWrDi205OJyKM9hU+bB1EjoI0JQq7So539yHj4fnTZSfPocf7JB6sV7rOkze5t2urVS+YE48/zqSM0Gcgur7zXsqF4cKtepgIbsbxXQfSwoRcXLw+rnG5lI1THyDO0v1Uy+fn7lmz3MV41zBzsEqLgbmEBwxsx1UOcZj/W63jbF3sSi6xuD+FW5JPdmGWMXJzhgfkhuinf5s1TBkyMKrI5bs0dm2Ay2sQ7U6g4SywC0og4aqm3VrBKnwR7Sd730cKCaio5wCWhCYqlzjnz/0WCY9jL7nZaf38v95nbsf3xLYA== 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=PuSSmeLyWza0M9zQvmOWLsdbJSu8iu9Ec68CnPazHYw=; b=nNnhFfFQKp0g8ajom6MTrPDtQg7MCobfrOynyIOFywQobNb0K3rg6336eh/Qu32rse6pNYAAhOmJ6UT8B7YeIDvVMzmd3TXHAQrNbLF3m/28GZfEthaqSJ+4DIbCfHuQ/UmGe5RnsDNdiPapEmYrL81yT1gq8xkX+VYfEJUmy13mNLmSWgoWtD6FBB6qcDjIc+WnWIVlefcNNowSAqHQ6UDvkDMFNz6PvOyjboMPa0Km4HmqejABySu4VmqATGiSB0sc9EtJmm03CMyshurD48/wet29SZoZJtQ+KTLQ1WauRhp17IJC/GCf8t4wyyRppLBL4pt1IAXbbbDQAHuNwQ== 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=PuSSmeLyWza0M9zQvmOWLsdbJSu8iu9Ec68CnPazHYw=; b=TpIkDrzOX2IHqOAbjSO//szFxrmyDIRiq0ARROKCcnAkrWV+V2Xd0bBABoidnX84WEvcRgwPmvZ+l4FAEonHq4WtT2/79IEDL9WyaKwZGmYJZSVR2uScVoZUWxu5tNt7+CMWJnMpBRxYlMdb+LxyTXQ8hXOwdfivxA+mB6Ii/LM= 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 DB9PR04MB10010.eurprd04.prod.outlook.com (2603:10a6:10:4ee::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Fri, 12 Jan 2024 11:11:54 +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.7181.019; Fri, 12 Jan 2024 11:11:54 +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 v3 5/6] arm64: dts: imx93: add usb nodes Date: Fri, 12 Jan 2024 19:17:46 +0800 Message-Id: <20240112111747.1250915-5-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240112111747.1250915-1-xu.yang_2@nxp.com> References: <20240112111747.1250915-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0020.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::19) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB10010:EE_ X-MS-Office365-Filtering-Correlation-Id: 614a5f49-d81a-476c-2ecd-08dc135f48b0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CRSg/PjVfCu5Zkf/ieIBRVCwnKPDfxrJlgUW0rZpZxqLUKjLTZ6zv9BdNMJl7x5aMSV9obu/OBia83dTxkGmmyjB8DuzG1usMkqENQ9F3GL1iV3/bZ1JVsodSBMd0OcUmLE2IfpAo6CNv7I9Tvy6wy+NIgJ2TR/v2SJ6/3K71FsRDFoV1TZBz9YNufpGYxIfpiBf6reypxkykbHeUkb5w5JPCk/+XDjUYFaHidJWcTA7xEV0+2/3Nf2bugE/2YCNM4Vbu0/+W8jiKjGbN9zYLTAcCNjpIeuT/PX88LiCc1qYrS/u2rhvh/mEFsNxP9TCRKEv/53wJsIBQj7eFQTSTgeuY/PXdt837hLj2XCsw7ai6B6yI+6SDP8fd/sLWJQLLGujgaa9DrjJE1QpKlS0EOKAyYYH9auyju1xEyPkPW++0hCILDf0sU7gFcjaqWvus4cRRwuTo+KxfWNEWD4VBa33Sd+9c7QB1Lih/Bl8rwUpCncC5lESQWjQ9c9kx/EhFXrBkTYdD5fuYf5XVfCi/hzK61PG7P4d8HOTgf4BZ/t3jv2kNJgv4H5a4qYT4w5IfyFwSjWXFhSH5+on+638If0mcDFyvM2WodBPBJYcU2nqFUKZ2IpjZGjRuhKzWfg/ 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)(39860400002)(136003)(346002)(376002)(366004)(396003)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(38350700005)(83380400001)(26005)(478600001)(6512007)(1076003)(6666004)(5660300002)(8676002)(316002)(52116002)(6486002)(8936002)(66476007)(66946007)(66556008)(2616005)(7416002)(6506007)(2906002)(38100700002)(4326008)(86362001)(41300700001)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IM8TiEVrv+IqW+mFZ2H6KjDb7Io3iNhKkHntcL/lbJ+LY3fXz5Hls/x3ZgE/e5Z4FjlyiL0JI7GobDhom+SyAJLWhKruVUWTIUw8RYVqwPeWEUl01bnlOg5X9KCk8P6Hb91MH7qZ0Fd/W+LOk1SI4FKcVFJEjScxFt6U62NYAx+Hw+X/0lclmmm2RDKarz3PYc+MrHJ80vCMIrpB1qFKRrN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ikzxUno7vVL6wsA1ut8ky9F1kFBb2oZZFSkrkJPeKbbQLx5CMq75jf96PwVtkynwzDNNCHmZ5K8RpJnc8I6vvrRt3yIazOrUin+erEmzF3Fo3Rv2Fhbtqup+GtEIVce+mwtKTRj9G73zob8cB1WxgYqFeh+bmqrJPZM41M1APZTNYkxvhQ5paUK7OynxbEHSp+7XlfDWWI63QcvHNUbYbjidnP3Pbb35cjHoRAC96xmkTXPBQAmZBcNGKjFr97as/wfctB9NW1jYtDQn8WuOfA60ggiW6HCLtnQrkmS3AXF4iwkUpp/Dgr X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 614a5f49-d81a-476c-2ecd-08dc135f48b0 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 11:11:54.5593 (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: xerbjqkln2ch0WVfHrHRNf3iIBCFk+xN5XZ8zLCaYZwB2vWilctPLi98myQeXE2YfGaG1WTQEnx/fwKUDGvwTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB10010 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240112_031156_967076_0E9DE922 X-CRM114-Status: GOOD ( 10.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There are 2 USB controllers on i.MX93. Add them. Signed-off-by: Xu Yang Acked-by: Alexander Stein Tested-by: Alexander Stein # TQMa9352LA/CA --- 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 --- 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..10124758c579 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 12 11:17:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13518321 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BF6DCC4706C for ; Fri, 12 Jan 2024 11:12:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fj5xU1IX6jpzkGKLjBgXILlFpQsiFu3QUhHm01t+EAM=; b=4MEXGxE+vQKgMW gfzI1Jhcmx8eEBtMQi1ujxaEiaoALVYM4OBU5AsLAQwI7y6wCyY0K6+Dr+qQtE/2Rb/8IalGuJmgi X4jcbwcUM96DIK4qIt1629dzclW7vuo67Zw7GNo/I7L9dx9JEsERci9FmWdcCHafhfFw4V/+OlnrB jILkvn98PcYvntIf1mQdfBEKClx6KAknQwo3Mtlu+AhOa7qlBe6D0FQGmCZCZLzziJdpaXlws6NHm Wo7X2ULu96G1HWhX1gPdLFrxKvcHBLIFNUbCQjNr+7vssAupwhiYtVWXzCv/3h+1LYeDcpOqLbqhd wCVMvf1hjb3k6NGxzu0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rOFSI-002YFz-1U; Fri, 12 Jan 2024 11:12:06 +0000 Received: from mail-vi1eur05on20601.outbound.protection.outlook.com ([2a01:111:f403:2613::601] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rOFSF-002YDo-16 for linux-arm-kernel@lists.infradead.org; Fri, 12 Jan 2024 11:12:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A+THVR6WXiJMaP/UbBL3u0NVwZDx6xwmMuL6CebRLxOVutUT9RxjNpi9hdU1hwfTP1/+dPKVF+RbDu0jQb/pnCjNT1OvZDyItCCgGdiW35nqeWhc1RafPSuDEasb/RKC7mCeEVLAvmlFlurvmejhCJYP4l343CeHX7WrX3Cjzo63dNmkJoDatpmDH9LKVQL8Rgm3LORj98ilEP9deN8X1z+F5Hl2UrHGKRb8N3FKL+bQfFtUShRJ/YU9RB1U2ymW7zBRzr/Fsm+J63/9D+fZyRoYtNQp5cQtgXi9cTElAV3/xy+6Ql9DZ/k60BiKMgRM9gl34OJjIFOWPIIlIEIdnw== 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=8uos3BzBLBUtdmlkPucXiZvMvZ1Ekko7DwnJ0IgHzv4=; b=ReOwJACNjJrZwiOJHf5w4921Q7ihqXmT46/3Vw/5u1aDM0FwO2g6V83lmVwHLLW0ZdrikM5RYwl+Yx0bBs74Lme7i6/r0Ge/dl05BhTlIyOpRzCY9/0/vkU4ExPwB0jtu8J0pbNJ6uLE4JE+884EWJ6jjmizO9KFh8WWHD2ovrX4sacYiPilF+qe3ozAj3jOfY5WDutKmeKNfV7WhuI/+WEAilXKojU44itMSBo9u9sXXh12a4lc5TMuIjRPngaMoJn8E4HXpDi6YLoMLXco2160qGgDE7GhpYvMi5z1Ujs93/yf/t1e1g/RXAWRkvD1kCZNnQf4+1MZ+ZMAN/M+vQ== 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=8uos3BzBLBUtdmlkPucXiZvMvZ1Ekko7DwnJ0IgHzv4=; b=Nub/A/9hXCoSyiGeQolLr8O4tXMGMgq/+IKkws9rJJUJBzt/CFuZXqXqtlqLIx4tFQqh4wVFa9f+/EUog1NSvV07NdqRxHuzc5vd9/FF5jJtgpV9UVmTaJ2XzTSzzNqpoLeoUqbVp+sun1LqHiTL27YeXa4DwGxGjlkOih1489A= 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 DB9PR04MB10010.eurprd04.prod.outlook.com (2603:10a6:10:4ee::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.21; Fri, 12 Jan 2024 11:11:58 +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.7181.019; Fri, 12 Jan 2024 11:11:58 +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 v3 6/6] arm64: dts: imx93-11x11-evk: enable usb and typec nodes Date: Fri, 12 Jan 2024 19:17:47 +0800 Message-Id: <20240112111747.1250915-6-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240112111747.1250915-1-xu.yang_2@nxp.com> References: <20240112111747.1250915-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0020.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::19) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|DB9PR04MB10010:EE_ X-MS-Office365-Filtering-Correlation-Id: 5641fe93-7e3a-45fe-61a8-08dc135f4b68 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rHACFMdQN91+faeP8gGXjMyodMmkNIPhaP8tiUkN731yDTm+EiYuv92yhp4PX2Zdhg5xchEMlB5pzr8lrQwGxmkegfLPioZTBUxOI4k2vxGHn3YPErH6lzpMyR2vhJVdqJuHO4m0tzGwnI+68Z5ND2uVdD6gHPQ5wDd2CGIfFUrfRjxQLRKZLvLzNA40+H6M25imPqxGqjM8+8cILhY4T5dniuxqaRYoALOtk8eUHS4MWnq14iM0M5o4sznZQOgvKXJu56V4RfxGFop+5FA6VeIcFt/PtkDIEEwZI5HcIDGlR1yDTuxb5vmInFj0LI+Qy/wroG9sGoQyThz00swch5ZOXDOp5o6tY5rFwBeTGVQ3T0zljALMpqwdZ/+AZ2kXRmL344HL4k+SBUNj+6OsrwtsCAwVU+fZoyE1Ypn4XT+Aj6YV8HbdBCCBMe6uKH7KpjevRWmjyBkNVNHyzChT0kxKiCl8Ec6zlm6ugzbwhUssQtD9cvtiodobgwc0Z455zV7HgtUNOoWIpzOFVKETli8uB/FZBwFSbKY4+Tv30arrJ6OIeLNH3Qt1o5Rvc7oTv484ZKw+4ZZa0Si8XT03SxaXmkCGo+vb1VZI9HfBYc8RcGPUv+UIXmhvBVp2pIEQxJG7A1EswBj/epLf13ZkQ7AfvRlKBW9vZ09Q9pWt2YI= 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)(39860400002)(136003)(346002)(376002)(366004)(396003)(230273577357003)(230922051799003)(230173577357003)(186009)(64100799003)(1800799012)(451199024)(38350700005)(83380400001)(26005)(478600001)(6512007)(1076003)(6666004)(5660300002)(8676002)(316002)(52116002)(6486002)(8936002)(66476007)(66946007)(66556008)(2616005)(7416002)(6506007)(2906002)(38100700002)(4326008)(86362001)(41300700001)(36756003)(473944003);DIR:OUT;SFP:1101; X-MS-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wcTYK+1Ofsawxn5jewGoRZPRvVO5xrMy0v31HArMmUi+9FpdhFztVmckUrtIhBNJah4I3PqNp2MdicxO7dMmZ+nxOCaKcmscKrTVoXt+Wd1Ok72M5psE0kkvBlN8197F0MkFBy+fRv1mbvEhEwPgE7PSexcx1S5hvbYhlNt5w2WAuddrNIQ0kXwZ/LW0KhD8cAMBflwH6+mcbjWgpl2Parud4cwOU4wqxJFRjOPSTUfZkc3Z+DabWB94LjwJCYOLb6iA+7SiMvcj4KKnoMZdYnpfHT1Izi+xYJSL0eRVNdKalTmyt9QOyQIk4jMAFOjT7Lhjl7ZKyfrD5WrxMKZtLYU3rqjNHm4lzFUp7NUyFxylIant5oIb/pMPMdFpsy2WLnjsLUH4keRoE/iv6kzO/ymQvB58AEi0Kr1MuKyp3dFRCRw+IPaTZHK4a+7+TJKpD8pX50hzBPnYZBH7qCOtrGNLgvhBLBC9dQFgHfwzJGWE0gjRuYJSmZ7eiYivadZ/ji4T7md2fhaGsdumFMkaCVfGc3vXPbbe1mEfKe6gJ/it3qkcAJwrlVrd3V6RxsU31osTU X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5641fe93-7e3a-45fe-61a8-08dc135f4b68 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 11:11:58.8879 (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: g9zr1nUgIzBjFZCE66My875cb+8fvzoAz/aj4y1a5K1Vih1scwQY+VghLGv9sQ4Vl7rnaIHvBosF7KjUoiqaEQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB10010 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240112_031203_383089_A46A1D74 X-CRM114-Status: GOOD ( 10.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- .../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