From patchwork Wed Feb 21 14:58:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13564995 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2088.outbound.protection.outlook.com [40.107.6.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5F7482AEF1; Wed, 21 Feb 2024 06:51:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.88 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498300; cv=fail; b=MvKAStJw7oBM5ZLFj31FtGqmvCSMYus+/rjPmSnEJCWphit3SioHvKGMKpYF5w79xTKzk8CRL4kvyRKeX3KdBQe7new8TUx5xdDMzyeyWqCqIZUnXB83DZ79+JQeHRkXGVpz2YkiRCSg+ChTSNOkm/AmniG8ufR7X+gDr3c5gVI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498300; c=relaxed/simple; bh=u5hInCalo+svZbvVshuo29Y82jX6K6IDHvvu3d6rIuw=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=TyHWu5A7Ubwa8YZ7JI7cDa0MAcv8aco4d0viR/3UWjQpZj3PyzTYzBWtsvcaPM8sS0o6d9UX/Xb0JmpofWZC1Xw58DEOrxvFue6DCpxb2NJ4Fj+jMvK0Qa8fAg4+ZDkc+l+IOMDxwRHUwDZGe7e3K1e70NOmvFu3imxuUZt8x18= 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=XsZYRgHg; arc=fail smtp.client-ip=40.107.6.88 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="XsZYRgHg" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HNqsKwhRe/degU/P1CoMKna4hrvqjphQrijrpJJMKp+olFBvCnIyEp3MAk3WAZIPYimPgIKgnp/9fonOQ7mlaPHe8z+5vx6qEnMB6eRLYXtaj+TGxaLPPjwrwBOtiabYXJNKollapJQ/xL59H7EwYMl6L3ep8QpztBTyrG9eZGfh+dlpFQLkDX/BAQ9equ5RlqmVSMNTuKTVBFNn5Bmb28U8FkoHctLideiopbFdqV/r/FbK/yL96LcNrWXKiTUQx1Gjl3Mgm8wKk1mUKsPEbBgPl8pV1b4Os3oKhSCAl3NIs8zkYuwtMNKh66xuWzFpf0rSEjCZyUC50WlSTozOKw== 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=lJOtsv9vOHwn13dtC/HFOhSMqFabrrOR9Mj6iUBep/c=; b=R/pJjM5HjGjYjtJ5yLUpsXonDF65yvLX3VYx6pnnlsAMXNbB1/LhHuUZsHEKswcYuz3SyN3+YYAM4uzxKOH4jkklESBHthUpC7/p2cIl1XiLBeW4EjpH4kP/fwOaUuIZV8jy9lRG0dBxpM1a3G+0JQH2Iir5KfSJtTBiJWKHrhlU3wzoJomEKmk6mBd3/ESafGC4eewKVCbv+HK5vgZdusi8u/R4n6+N8l9rOInAVIBgHfxNX9nwj6Hj62EOt5EVxsk6Ddt8jje3C87KpSEdDKwyE7pZ/dNhLvvAZwQOn9J9Y18b77FzenHnGqny9av9QlbzzYsmIChCtxeQnSetNA== 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=lJOtsv9vOHwn13dtC/HFOhSMqFabrrOR9Mj6iUBep/c=; b=XsZYRgHg+85QHLY0vkfVNOTwVbCgqB4aF1l8BPyYQnpKrzBfFd5to2NhyuDiXzCh37CYNBDaOqWxVZmFvTxsSVAyJTAnhe9vAjHCxh01Kf/8huwXjofOx/qcRzJYjbmMorSebjTiVLQ+K43yiUXa/qRWaooSi+5pZcAjDY3orq8= 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 PAXPR04MB9304.eurprd04.prod.outlook.com (2603:10a6:102:2b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Wed, 21 Feb 2024 06:51:35 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:51:35 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 1/9] dt-bindings: usb: usbmisc-imx: add fsl,imx8ulp-usbmisc compatible Date: Wed, 21 Feb 2024 22:58:38 +0800 Message-Id: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) 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_|PAXPR04MB9304:EE_ X-MS-Office365-Filtering-Correlation-Id: 443e9679-f7ec-459b-519e-08dc32a98b64 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Z/3I3AmyLOUdSf1eIR5zT6g2fX7dxABU/yF16AhsUFW3EpTfJr2PEynabDCoEvuWs9/TNpDcLSYu5JgbiLCwpncZyQYS2RYxv7U3w+5Ma0bkc/LA4MLrca7HkJZdoL2E5NJ8O9IEq2R1zyPHYeYFIM8ostsdth5ZF/O0QWTQFvbxtuv2mODUcSIZStPrge9szcxTewDsDj374lvb9jOQEVlgsTUHvrPq022RRAZvuI9x/8/xtpgz2x9BvxwMTv84VfxLz7VLMmmM1DGSsMrsIHhzGE4U4Ri8I1tZEnpGxhH8bXDR5lxhuX5gFtK4aj1OHm7OLLsfjRDumFbegbqHHhSx2wegm2xrXJ0nHB86Ign3aUkatbaMXmkPINkoatj/FSR4s90zbLuS9hW/7HkXbLKAQ+z33nVatHcXg4cgYID63+dKK576XVJgKExhHjGOl21cTz6ARgmIyxv6TsYCOUGJp17tmhbGsbFfySzcuwi3yTVJXrj3uqGt4DSFCN8IHBBZmOS9DlkKfvjN7SY/mKGKeJrx7qF48lpz0mfjmZX4NkdMJB2YFnk2fX+eErBAQjQu/BAkhuO4ir2xgtQqaEKopK4biWNvG5BCKAG/mt/Qfh+U03Ewa6hyZgbR3XL6 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)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: jxZse7tj8d1x1JAtvyVbWHX5KXvn6uBcDp/w77Z3kZhbqwEhRQZavEQTXoetd3jxPbBGg+HNdPCGgN+iXdD0Hq32EGdorUxVrJW0YU1Ay7PFOlAficrTQfgSWW0RNhxXrI2KAvZ0K5gHPHvEQ4VJ6YmKYwWEyxH0+D7YZw93TjB4Lq7Z7J+Bfw6SBsf+diOpST2Xvb0zbbjvy1ZlzMu8/8vO/TOHigba+TkvU7KCcSWsvxvexy/RSDJt0zKriYRO8wfyRlwFy9T7iM4uQYpfYxfkbndU7m6AnuhG2ZbxD+wgvi+OSVXrB3fMWPj1oijyBUKeQTQI5rvU9W1YtTn275I7AvMqoMDPuSeuflxQlYMDL2ijWpSmsagW1RMemMUTJ2aR63Dkjf0aSFQZH0EwTLTyPur3L11ZLztHEyxQKEE9yL7YPEKvNfNmP5EdFGKu9m4SDJqoBLmQpBogrVYmCyPPc9Air3NbhsdHSlIXVhiPFMCseT1z8JShNba+97lpkDET5Jnp88fCwXiOsPUsp+215ZNHL5TYwVo6gZwlQq/PcaCT2a3zHb0FTswTY5IoroWOep7KbA0+ra0NYKjiVEhLl83Kn+5VmTfT6UaKkL37goKcYYiTDmlwDjvT3lOL15Vuo/8KvRp7Dw1VHqPnzzTFWzE1bqFHVCmiF4MUyDTxsiwLisHu23njyJ/tW6r3H//up0yYXsD9PMy7ey/lCBt9h6YBEE/OcaEtc9NDLPmy1fogcsW+sOlbXASxkMEVz16qasqy7HE5bXbdEy5THR5HMJSiRJefPvy0d5PAMTD4H2qP5twAbZ3P5EHjYmYZ9/OZCjtksZa7BXaEkc3KYUYA8pC4Rcb2egHYik4F7qzLCywlRssYGaZmSrl9UVmEbf3CbuHQmzMEbMVi9AYaiRNnEsVrYNZyJbXx9b682AFQqUtvtrCuWq660GFqEdDxUlY1XilmA3pgKrkAb6ENPQyBeiBHG62NrZYjYJV2fL9s4COIyWt2SShsr41QjyIhhFofkU5b3QMtMs/b+sjPf3AT8RkhhEJEQdqwYw8qr3y8W1UdslRNFrgbfSqCpjLjeGk1wRw8tGLvoocdMxcmxS+2S93Zyu49U/jbudRRwPGiuwkPWRTAAaDqmLVoHypWh7L6UYxAKYtWHTLJzhg1KmmeLgLtIq14Gy7QgN0fsgqJCIqB9VEHzmgBHVrtw4r+WinV0T8apopvIe5J4aSyS1/fkz+dK+oKhJbirw+O4BOm2NS1+b0eyi+dkU/UvMSOTto7NSluKXHLPPr/Gura5o3wWAPZGEjKNUxfHRIFIfQfcumgIErJCgqpHqcWkN3VOhQOgcVUNrp2RAIh4m6gcOfQ4yLiF5c2jWGxYCSjMe9BLnX7WQFuN4aH1II/kv+vpI9ivUM7trzRiCBRG3u+0EDVB1DFxGw6QByDHy2W5dFeCIAbUYllpOWDFsmyhXe02+7vmyukoSOd4/pkrKGAahtUR/6a9IEV9x0fZ1i5iAw2Fl4d66jw7DsNayiunr50pwc3uhkbFwOgfkEMZLZ6jQtH285d7PVIMzw97E5+9Blmb+oiNa62yztdLrdIuhTc X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 443e9679-f7ec-459b-519e-08dc32a98b64 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:51:35.4249 (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: cuTbbTwjPcZvez+VC1qkFvFT/G6jywdKro5itVFQctVYOu+OnB2Jr4IQS47wY36Auo+hLrDDOq1cDAYd+UJyeQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9304 Add "fsl,imx8ulp-usbmisc" compatible. Acked-by: Krzysztof Kozlowski Signed-off-by: Xu Yang --- Changes in v3: - new patch due to missed this little one Changes in v4: - no changes Changes in v5: - add Acked-by tag Changes in v6: - no changes --- 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 Wed Feb 21 14:58:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13564996 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2046.outbound.protection.outlook.com [40.107.21.46]) (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 E1B1B3A1DC; Wed, 21 Feb 2024 06:51:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.46 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498304; cv=fail; b=ju8SdiQqQjnjRVQ+aZ1zzewMSDsF99M1M6D200dvmpS2Mqik0y8fM21rKRtNSVruXXqoIROGbgOM7BWS1w1yhOCWaRIWdc46JLQbphcx4sq4ISYQfQydPKxAHqGTBPM5Df1XSBXz+I2f/6xgRAh3CJaM1GtI9kN9E9rXnDc0sJI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498304; c=relaxed/simple; bh=ip3NRcBjJBYZQAjTt8tdTZ8nyIXPf/o9InNMQ3QIVE4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=tvlwj2MFip/RAIO7yO4D/v8FqkGhydf08AgANXIr+zKXN0oA5feF2LqfoEPfq6bQv8GKBG1PkBKqMLJ2x+H5EnmayZ8VhvoB6MyuJc7wv25wEzqsucBOXcQxbtKp8evyf1oUeQgghfwheZcXjNgGpHbzn/2I/wm8eb0wWV/5IeM= 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=A9Mlz7fT; arc=fail smtp.client-ip=40.107.21.46 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="A9Mlz7fT" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jmotrnNs28Ey3beio//2/fdlo2I3a8nKAzEsuuB1KJM+wpiYs5hu92e133prtk8YQVroKxwfsEOhtr3jwpJbOn9xmwrcXHDlfiMszANwOGipaa6prjtjN9XuLTK8LYokF1+nBZ7CoWHISZkVNc0gL+bvAB/NsA3ZSfgPBtIBk04+WE3Uathy6X9z2J+veEtgHilL9bzqi3MjnFJjZuEfgLg7GcfG4YwKV21WvlCQs0YIfttmK5PurHr7SfojTqllnuZqYzcbqmn+mUSC7HTafPTgXcxGiOeNwxNiereQY2/DrgYmzIis5pxG2MLTtrCmE1IRLmjZg2D191YV8+Ku/Q== 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=+3DUPiZyCIF0dCjWANuXzOz5GbsYzZUw6r+jJ0bIXTw=; b=DYk77QPS0mtvmJAbXscsQSBIzMs2RmBDC/5DJPqmH8+dOVnmoyBWnVWdh62PFpVwbpdH7tNsVo/bzTvlb2hDY54JPVeuQpvkglXRN91icXqTD8tsCIoT1/OSnRLX61a+bAvVIjutI/XfkA+NOCjvC64aN0VoJg9WLwSKXLJQ1j8Yfd0B0TEULq1F4LwPCPEJl2VwyMPbHfF1jXmE+Ic1ulkPqjqA386UDjg2uSqS6P+p1RalvAiIY/7DKaH7tMft6GV219jvP5MieIPtkWl7tR4h9vP4+8cc9AjOHz+AfFPwpz4je93LTLBSQ3+Kzu4I3nRPxnIIT+HACm56nLBo4g== 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=+3DUPiZyCIF0dCjWANuXzOz5GbsYzZUw6r+jJ0bIXTw=; b=A9Mlz7fTslTsdYMYG695feUMu8vCwNwEsVz9qy82lt/37DKIXz2Kjk1cWFXXjzINeeNHDPSbWm8iDHO0W09BoEAYKA37o1I6Gk2qOunprEuUAyapBb2YkqxXVlAsbxozOetsW3VEAVXuOA/6gmS4Qp8mCQyXv6IUB7tVqlmY4nk= 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 PAXPR04MB9304.eurprd04.prod.outlook.com (2603:10a6:102:2b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Wed, 21 Feb 2024 06:51:40 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:51:40 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 2/9] arm64: dts: imx8ulp: add usb nodes Date: Wed, 21 Feb 2024 22:58:39 +0800 Message-Id: <20240221145846.1611627-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) 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_|PAXPR04MB9304:EE_ X-MS-Office365-Filtering-Correlation-Id: 5c0ccf0e-6ea1-4f9f-02f7-08dc32a98e66 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CYM2MsFKAQpYnPgDVNihnJOJtxRNJcRrMXVZCBcvhGoMlNvs2V0piLItt5CSwhFV2+3lehlpbELc9TXkJdT4oAA4f8q9mkMZRSLDRJb4Yx+dyfkdKrKu1D1VgG9NOIJAKRESfblHxyfH6EVnZMMlmcsjMa2n5HiE0XuJrtUrp/8QQr5wxP3HKNhRkU4quJtAqOlsnObiSSUNO+H87hCW0aZLm/YGWqpUu9pv9z0l0njjqyFgy4FAWIEm5EhWdTwJD3dLVencn/AKX++OuiqrUSVC79NocvOc5o0ejJOCdynJbRIyqvN+8RI+gtB2fhqzMRgjmSf1a3VPidLFJ6m36XsICsbPQgfmOuk+OBvCbI6ziqN8WIWyCXQqY+hIDMTz52+a/SyjCnDMHX8InT5qbaCzlWe3Bl6Pet3q7otHLAGdSUe6WbwHpe6AFjZ7bEctw3SDx057dnvlXRwpBS6TPt6JXgDc3Th//RKU+HQlK3YV2+x+juSmWkCRh2iLRaid6i8XYvGyjX7mLid+pn8SA48NqZiIKJklm7ccwnAQ1GqC/3wvvC1LjXpcoxvt6gr7iRxEzuEKdFUmrgykiqic24jgNqFsyeJXGQJt+DBqRa/ykiCxrA4blfo+UfmUO3kl 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)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Swx8PeLUDFHFZWPUIuBC8Rst3OOK2Ef7pg7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JGwZz22uSlVb6fLKnUQ0oArYFY+XebUcu3dKINelkQTHrqKp0f2WjX/UP5AY2wCMYV8W9sn76uCsoU11KLNmdBH0bRfIuezDEIthlXIx71E/Nd0MfJov/GecFXOBRAzRHepdGEKfSvcfM4sjS7D5kMOc/cgtDzyacgXy3RtiG/otGjc4aag+v0vRHVjrzKWtdQjGLWTt6pdtlEaIYUTQI+dYZxLVlGkgK6ENzS1h05bnwr0rCSBjKppOdo2Ulfe/yzKMyJGC8aDQvk+/42zHUH7QEXPDZRIr86B4b1OHgjLnyqPTeqefZMSujrssU4fOMDic4ZWNgHzHou2qG47mKAQo8T+IY3kTHOhwYaOYWGmbXrfMCyL2YTexUdGcd9fqa0lsUIMH2hQXZ9JZ5LokFVuNMGWO6mKmnOZ0z1G8M3BY3KozGqMp5k9dRzKdM0zO8HNguQV5lly06EQb+mcwvg72/m89OVrtqGDdY9GZoLn9 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5c0ccf0e-6ea1-4f9f-02f7-08dc32a98e66 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:51:40.1682 (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: MQpkZZZMMwmNBi9o8swei+7GKaokkTrXtOBV0q3HH0r09PLcUqkNGHCewoS73+z/m74t+ZWXAR10NI6sOk+iAw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9304 Add USB nodes on i.MX8ULP platform which has 2 USB controllers. Signed-off-by: Xu Yang --- Changes in v2: - no changes Changes in v3: - no changes Changes in v4: - no changes Changes in v5: - no changes Changes in v6: - drop usbphy aliases --- arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 62 ++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi index c4a0082f30d3..7da9461a5745 100644 --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi @@ -472,6 +472,68 @@ usdhc2: mmc@298f0000 { status = "disabled"; }; + usbotg1: usb@29900000 { + compatible = "fsl,imx8ulp-usb", "fsl,imx7ulp-usb", "fsl,imx6ul-usb"; + reg = <0x29900000 0x200>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB0>; + power-domains = <&scmi_devpd IMX8ULP_PD_USB0>; + phys = <&usbphy1>; + fsl,usbmisc = <&usbmisc1 0>; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x8>; + rx-burst-size-dword = <0x8>; + status = "disabled"; + }; + + usbmisc1: usbmisc@29900200 { + compatible = "fsl,imx8ulp-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + #index-cells = <1>; + reg = <0x29900200 0x200>; + status = "disabled"; + }; + + usbphy1: usb-phy@29910000 { + compatible = "fsl,imx8ulp-usbphy", "fsl,imx7ulp-usbphy"; + reg = <0x29910000 0x10000>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB0_PHY>; + #phy-cells = <0>; + status = "disabled"; + }; + + usbotg2: usb@29920000 { + compatible = "fsl,imx8ulp-usb", "fsl,imx7ulp-usb", "fsl,imx6ul-usb"; + reg = <0x29920000 0x200>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB1>; + power-domains = <&scmi_devpd IMX8ULP_PD_USDHC2_USB1>; + phys = <&usbphy2>; + fsl,usbmisc = <&usbmisc2 0>; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x8>; + rx-burst-size-dword = <0x8>; + status = "disabled"; + }; + + usbmisc2: usbmisc@29920200 { + compatible = "fsl,imx8ulp-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + #index-cells = <1>; + reg = <0x29920200 0x200>; + status = "disabled"; + }; + + usbphy2: usb-phy@29930000 { + compatible = "fsl,imx8ulp-usbphy", "fsl,imx7ulp-usbphy"; + reg = <0x29930000 0x10000>; + interrupts = ; + clocks = <&pcc4 IMX8ULP_CLK_USB1_PHY>; + #phy-cells = <0>; + status = "disabled"; + }; + fec: ethernet@29950000 { compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec", "fsl,imx6q-fec"; reg = <0x29950000 0x10000>; From patchwork Wed Feb 21 14:58:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13564997 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2047.outbound.protection.outlook.com [40.107.6.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A05F73A8E1; Wed, 21 Feb 2024 06:51:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.47 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498309; cv=fail; b=tlSy/lA7WrhyI+hSwiCxGx1M596oviu+pp9e8CBqLCJhtxXH4pL1J1+jHrzAx0MPNzC9KXq1dht3dh5o6fjQ3ZS9FWPapOGWqHHZbnfs5Zpgql8jh7sLARhghRdT0utPdiLsdr94IsX6MkkiJUZnar2lb97Jv0vEU9oQuFUNFTI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498309; c=relaxed/simple; bh=nq1ihAcP1x1dSdpb/cAV8aLY/EzNGN9j7TrqPenQ2/8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=glYF1bfXtMweNb1iwdrxh7FFscZY6jxbrxkIyCBjHO191TXu2wTQz9paYMUY1zBJ8CqZIeEMNylvIPzphO40doLSWsMOOiAATraAA7F8js9rPU4cd9fzfiOObbR4mKQ2nfZm9XaFivyqVrtMUaYzjuKvZEvKwEPb+J8Ars8ShW0= 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=W8JlJZGw; arc=fail smtp.client-ip=40.107.6.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="W8JlJZGw" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MJdti1zECQUKRUg597zR6QcdIx0UCOjWhAUiBeKzrFFKNEzGXid+TahITe12vVlbnPj16qj+4UsVRqJUy21FA1EajBPSZJe4nq1H+4e9/SI/nDjCIxwva/N2Q36hTB5PYP2d9KGIEm5AVmTcx6pftlh+SVeaEao6Kem1KOj6SI/MLIT9eRTVzKXPCsb8sDd3yKEywz1hbTL13P4PXHULsqASyIPVnvOZoXvqMGmAFZvs/o21OI+zn+CGNo3wxo0s57VKPdDA2jmdb6gy1pJ6nbafThCn/MUGY97sdQlYXOv+uxORU3/WIfSeAuSdeNDBV95A5VjHTvYybFATAVoM6g== 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=b4zReIWs7rc4IupR5I6CHPP+Uxix/ZgoGRzkBt7yCRc=; b=ib6tdNF3ePLfhHNM5Rgclml+YqBCXs+yoQR8+E/iqpyeDe0cKGAAKl5JbOMcjuEMP2GGI9cnWHkYxAflN545JiN2oSWq15FEk1bFaxbyqgtE4u7Edutz5xlp3rI0IMsUBmuEvZpwW86xXX3nY9L/YKEhfR/mvA183sA5fCbHVjCVOIuALY55HcRguIGVzQJEBuXaaxKsc902Ixd3fcnRFbCNhyaZfyGQ07cviSjQiLljp63aopER9W+dFsiU3eEvPW9SQumi9Dk+gRKEmDqGIziNdofhRFTbf1mcchO4gZqWfbnylT1SMpmSO2VZcD7pX5YghnrSJerBUIaOD6xqXA== 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=b4zReIWs7rc4IupR5I6CHPP+Uxix/ZgoGRzkBt7yCRc=; b=W8JlJZGwTz9aLCWGO/xp/rPri1JnXsYWd3m6md5L3yyhMUkhWHhCNrOzgTobJ8/ugOEs1kqN0yR0tt0g6Z+AJ5n1EP/qZQzOlYc73teGG1offk2ZU754gjBk27XwC75QgKT98wMI1wpnALelokBBPYv1HMeVUZ74MUAYojikOlw= 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 PAXPR04MB9304.eurprd04.prod.outlook.com (2603:10a6:102:2b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Wed, 21 Feb 2024 06:51:45 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:51:45 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 3/9] arm64: dts: imx8ulp-evk: enable usb nodes and add ptn5150 nodes Date: Wed, 21 Feb 2024 22:58:40 +0800 Message-Id: <20240221145846.1611627-3-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) 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_|PAXPR04MB9304:EE_ X-MS-Office365-Filtering-Correlation-Id: 26be403d-2bbf-4203-2afc-08dc32a99140 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tziXB8j4jlZCDdeO0z2fsF3jkN6itbB4ENSQn9wSZoNyUwCR+71PD0ktQg4GKePY1yMZ/6nHTtjAk8NOMFZtQZpwvhLHjvMNIbzsB/K5VUKhFDo76mN0gbOz9ZN4BcSU3JhtWlGMJEg9RxQuxj9UGkggoZrIUUxK1svm2aL7K2w1Sx+kkHqOg2C2wvyMID4Ydrmk0g5yben2Cj1VfuEcaCFTQEiW4ba+y6soLe2px5SuQEelvKUsP7luh4Ey4d3nBE5QpImwxyC7EDCGH2Gf5sjvGc1PJnpKC+edRQ2JVozd0+XaeKlTgjEm7mbqhmEsk6Su0o1MCZGjBo+Wo9VHE4XDeasHTdq2HKH6scyd30rLDqfJUPD46S246VdZZFLg8oMvnhIgx6xEiCH3RZMokTiGke1vIXJGk7K6FCWOHntZMq0ObZ3y93L+BKHfCBDA6kc4t/a/5HWdDo8SNTCk2ODkUuYGnlv/QOtgyqUn6sVhIYMBK8FKHMNiTJresLidlrJlSycKHpmaGkxu5gkZ3gO1762VJ+3Z5Na8HvRT7MptlpZFi+pVxP2sA+PaRE7zSoC/WEcCXIrsK8OCqfZjeg/qsUTDhfFsB3OtBSUMakZq6CQCNGqO5LBVnZ2LSO9B 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)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: VIWJmRPkYcrCX8YDhD6jRxGgXpssvtVIhtmXmztK3KlAxwvSYs6QlxTXCMIUaD1+RaZSOw/ENhiAXhDBYMpOVF51M8kKqLtd/Vqp3/fPnX4Ei8XHmiOu8/CXyw1VIWn/AR0qlCQ2+mRPYEPYJ2v80XmHpgEbh3ifOnVQ9b7b2IM+1sxPKEKR61LbC/QS1M/5cEGdrlRyh+vcbR7ZWnmfMMPMu3vQlexE14NQUpaLF7ZcFTIFkyFBBPDxthrwbvCXBXo1MzC3zArG52JHoRy+zfD3uACS2nSWQGi/zb9J1c6osnobaVzMtIZTQdhmglSiEmXouSy9r1eUOLI5P0t1jCGrNZ/KsVv6B81ifVYu8/6JlhlgUI0zRX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38l3gFPpHI4LUbn5aQJtm7xx1qOeKuThcbO+hNvDJlTWQRqySmP69/zvXzOc0vIvhPq5+vuGGPuB5ccnGh39ALPUgnWAS4R8WAD/L7TUoKt1KOOUeNgmTdT/FbPW4AZollU2gVpnzMGzO X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26be403d-2bbf-4203-2afc-08dc32a99140 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:51:45.0151 (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: S9MT5I/B+07OpdBMP6tnMJCOq4RsAv4YrRGtY6a/SJro4ggtBkXztQRGVm1XAaP7DX9rpwTTSaVspBhzgCSnzQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9304 Enable 2 USB nodes and add 2 PTN5150 nodes on i.MX8ULP evk board. Signed-off-by: Xu Yang --- Changes in v2: - fix format as suggusted by Fabio - add PTN5150 nodes Changes in v3: - no changes Changes in v4: - no changes Changes in v5: - no changes Changes in v6: - no changes --- 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 Wed Feb 21 14:58:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13564998 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2042.outbound.protection.outlook.com [40.107.6.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 D474E3AC25; Wed, 21 Feb 2024 06:51:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498315; cv=fail; b=XqVaXFuYnDkPO9383SAhzsgEEBQQWAgJB1hPY+67Iub10O7Ff2c1f1erWwGXJldu6K6rvM6pSF5OCmSkN5uKvtLjDzYl+xtJ0Y147jPn2yc6fjcaeFFiMsEp8DQGpacb8CodNsO1jwPENWbdG15kdzU3T4YZYQGz7fvZLXrZuUo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498315; c=relaxed/simple; bh=zoB1G40HMGMaUnbvkdET6FupLf9uQGhM6mAxm/eXZeI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=pCdAJ9pCiQymPN5vGDsSnCFLy8oVit0kBHV8GnUa1mWmqC1bnR0QxsZaGE1s0y+88l6hHoEPUZ+0CxmbgIK5jx2IhmgNkxjs/7h6H99NSzqRNX2w5gsNvYLkEGlGeXBbHE13+6tYbshbsgeweVpKiDX3QRnQ+4YdRzItjhp9qCA= 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=BzRQpNhq; arc=fail smtp.client-ip=40.107.6.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="BzRQpNhq" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=izT7RGscfNrSXZ8Se6DW9Mb9tVbbmOEN9C1n8E3ghGFQ04RH7zCIXWNo9KOmeHHLZvYcU7TKX78lAigcGaTBuKQp9ASAr7QugtwSZXD8Mkj3mVEqAOZw6KSzEBwLEbDeM+UjalPssFRcOoGYFzqYaMdtw4QuSN08LDuYd6ISYWA5qqmsfab20NeRUW7ZOOAfACHgFyg1BFb9TRla9d26qIHw5uGA3U/PSHSmG/gnE1FXx5uMOgOkO/KxvVdP/9603Lkcm1NhgGDHaikP6gp2WHCP6DLcaK8oe+ZlXbIOEQsvHxvNPjwv77zKajWRmTljIQqoou9CNfREGWfmHom1yw== 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=Efo77SPUftdc6VSRPIBJO/of8Og+4gFvmQDRGFG4FDE=; b=SbpeD1674dcfMBr1u8h21v/0rUeX6cJBV0qXiz09UEPijBr9CdssXC5FQyWoIX0qUyKuaVGDCrlVcdeGCHI2c/wzRNDHi5AUqvJtAC0m5CfXsui82unatDZNBVJ++Y9mXWa6vyD5pb1fejxtg1IzxaJLzHnluZmKtjn/ZoNOltT5beokY56LMtSWJFy2gW2IiVUVgcTv9OoU/nOJ0dT4rd8yHCPTXKycpu+TauuJ3YofFP+CJGArs1kx4/XGSoX1Vyi25tYfDg6MIg2Mtx+yy3wUF2i+8PpOAfdvdP3lFQ6JDXNzXJqclT1FEdkSWQKO6b8mmdNwhrBA3weW6NTzNw== 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=Efo77SPUftdc6VSRPIBJO/of8Og+4gFvmQDRGFG4FDE=; b=BzRQpNhqKDhJKjCZwemAyoKK0w2J5raCPc/DeNC5la/hszV47b6qEUFMib60hzbK2tjjCKiQAcrRKOPrZJw6bnXYa1gqs9gg3f4q8jfSY0H0xh22/QiKL9HvRqC5jGQnaKhQkDA3aPTKJQkhgtcNvNExNZWMwsbxgnRJNDUi8SI= 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 PAXPR04MB9304.eurprd04.prod.outlook.com (2603:10a6:102:2b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Wed, 21 Feb 2024 06:51:50 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:51:50 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 4/9] dt-bindings: usb: add NXP ChipIdea USB2 Controller schema Date: Wed, 21 Feb 2024 22:58:41 +0800 Message-Id: <20240221145846.1611627-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) 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_|PAXPR04MB9304:EE_ X-MS-Office365-Filtering-Correlation-Id: 7ea61284-dede-4a24-4131-08dc32a99446 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: J5L8OSup3E+InYyi6MQtWnK6Kmw8uVL5Bmm8zOA1J5fUa7YUkwHXvLBQncovokpOFdhlMchl3ByPaVzigaJS8Lht57qngLTWZkCZB+Z52uk5QzpKojmS7ILuFPwzAPUN+GbII4wMqGpAj4wuySZlqjpJ0pmAaD23tbdNnmXpX9sY52DGyaF8iwy5glx/SLAVP0JM4ZRXMnc6Ki5xJYkQ8B+1nI2u30AvStziNbK7BrPdsePd4CPKFlQyLP/3QKTCVzjeVCC0Fhh+Z7DLibkwJWIsNz9KYm3FMu0vjMZjgnC9809EtTdkP6E9gUyzgqir72D4Faz8BJ/n0VoUaqgtAODGeXVkWvyRQ4i/PW0E2gwyYSdSHwPSJypgF+8r3Cv0r4n558c5+OFekl3w4kxwax8NzIbsiS0/3ta/nopp8nK+UobtQmCjk8DPgzhAYG5KIr2bDz2MjjvORWFlpAWpi0JUMNRyHgSjeCQv2Z5TVlII2l2s0VsHG27KHRl4DEUZZkda9qJBKMXNDEWj6o2GQ270ZFHVmpyoL+mHDgqJtiZC0fu5Xp75sIuwwHiCR6MRqeECdN0jFFDaul9Zl8/hVDmmE8T/GGfJT10IDPb5dL8= 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)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: g4tibJfEXPexFzoTuwm9LfIG/KyTT8qoJKvxg0fAr9tTIgP4v4sCiHb2g4JZHvHzRW1RmMVVbMx8xcGxQ0EZ4v21nQNXkIGvMvH3B66kWvRgMZGlFwONRrLZYkvDG+YJvQmWLdZZnc1B5Bym4R6GNAIU4MUXlFBDPi+e3/EUTE/N+Nr7fOq7jbMtnEPW2QaZxcfcZBDtgdWURmbgwBkSf67X0dEYHPbYwvttSI2R+Bo6UBMyeiQ9YkFAk3kN+v0FuBkpdLC8oYN3NOGBPRZow76stLAeiLDzaGHtZcqFkstUjfrIai9h93r0myp6pWAvwd9ROpFDQ9Czc18uxP9KLzTMpe+90UmS7DDY3MsVwPBA9K2DguVH2leS3inIURQqhIJClw+Kiakpfgezk9jHCGrQOz2/4jKoJG2lioUX/w37naK3UQkv/Jg05CRPKqaUZ6MhPvzSWBrBVWBdK4YpXej6SlsDhdzhT+4Egstx5hDTxgRoJGJYJbOZLezezeOxXTp0JiUiUjxDKtV/VumdYeaOifLbzZkcoodOROwg4NWsad7sZZPZlWvaQozus8vZhpxzJ1ko6T34DCJHyuAm1NuunuBi8lhEiGmjEegKEmz1b8Vb7cw4y3psSwG9hb8e+hTmfthnDY2KJzR3MU64ywCB52wlappSxDlG7ZSIfbM+hTFVoy6FqR4bBuOXyFAKj3AohySSQzLYAL7SALb6U4TdKVq2JtnwFasnMHe6I73+KwJWPg+D1/LCp5CMpCDwxMX0gd24mJDzsPuBpVdpRpmAz2+j3tI84aDhxZVGizANgEgXYfu9GMI2NQk75Pf5vPON7BhSTsdQLbbXErIiG0UNGyaFvz/FUAMJ00wT+33+4cOYMNHjzy/QEmZl+83stjUZCrFySbCbz/YNDYzbKFOPsqO25kyeY3Yl7bFkrtWmnVV+Et/ULvha4BQUKfOvizRPMgn/GFlxaAd857uWAQGLME7SnbR4390d7sU4Ii9lUwZ1xg84IGZb/v4EIuCcJGan9yZdmdxUYWuqzVPSyx5r4jpkBlzp2gdsrO9eCpvBIx3MwCXWT515oUd++QgqPZp5AUd7PR+2Ajay/i6qVkirIVdaJrLtgrpPiMtyKp7RT7c3Gtuxyp9RSol2FpmFx/+0WX0PSUUeNzmzqu/3CYCvfi3LDxFbuQUtVt/+FAAXzZd7kpe7K0U93suoZNObP6ojXq+jPtt2EKuoDQfgrvuTWDcpBGz5w+IQu1O8WS/C9wClpHGFpRCI0qAhIClMYBt0ARCcklJfaHXu0PLzI3dqkn0bWVcLbJammy/rLeeSyzstaMVm0gJWL5q5a+QsSoXKSLahY2tSvPHRa8Vcqt1zI8QRRiGP1f5NHceyh6FGP7ZK69rLZCK9PxG+Yh7eH6KcJWkP4n9tHa4Tt36FYCcR8eCQ1Bodoxk4T3ik+/xehxrxGt9PIUXP+y+QT7Akc1fpgw1km0flpyhRHx/4SRG5iplhzddgrjbYDJedVjp6f4338QvnsBozSsm/79QZWX6dRWmltQdg/AA3OZc6DU6+cqDYVEKrv7nhk7R+jdVoqKmwEXyB4QZBW8+cmb6/ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7ea61284-dede-4a24-4131-08dc32a99446 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:51:49.9852 (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: 8KTo4MvLOBC6WHQb85tToVXSx3B79qD+VskwcsQ/iliNHCYN4yyIjppWVF4vk74TFzrMigjMohWuEipVRXInCw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9304 As more and more NXP i.MX chips come out, it becomes harder to maintain ci-hdrc-usb2.yaml if more stuffs like property restrictions are added to this file. This will separate i.MX parts out of ci-hdrc-usb2.yaml and add a new schema for NXP ChipIdea USB2 Controller. Signed-off-by: Xu Yang --- Changes in v6: - new patch --- .../bindings/usb/ci-hdrc-usb2-imx.yaml | 75 +++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml new file mode 100644 index 000000000000..2ec62f564bf5 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml @@ -0,0 +1,75 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/ci-hdrc-usb2-imx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP USB2 ChipIdea USB controller + +maintainers: + - Xu Yang + +properties: + compatible: + oneOf: + - enum: + - fsl,imx27-usb + - items: + - enum: + - fsl,imx23-usb + - fsl,imx25-usb + - fsl,imx28-usb + - fsl,imx35-usb + - fsl,imx50-usb + - fsl,imx51-usb + - fsl,imx53-usb + - fsl,imx6q-usb + - fsl,imx6sl-usb + - fsl,imx6sx-usb + - fsl,imx6ul-usb + - fsl,imx7d-usb + - fsl,vf610-usb + - const: fsl,imx27-usb + - items: + - enum: + - fsl,imx8dxl-usb + - fsl,imx8ulp-usb + - const: fsl,imx7ulp-usb + - const: fsl,imx6ul-usb + - items: + - enum: + - fsl,imx8mm-usb + - fsl,imx8mn-usb + - const: fsl,imx7d-usb + - const: fsl,imx27-usb + - items: + - enum: + - fsl,imx6sll-usb + - fsl,imx7ulp-usb + - const: fsl,imx6ul-usb + - const: fsl,imx27-usb + +allOf: + - $ref: ci-hdrc-usb2.yaml# + +required: + - compatible + +unevaluatedProperties: false + +examples: + - | + #include + #include + + usb@30b10000 { + compatible = "fsl,imx7d-usb", "fsl,imx27-usb"; + reg = <0x30b10000 0x200>; + interrupts = ; + clocks = <&clks IMX7D_USB_CTRL_CLK>; + fsl,usbphy = <&usbphynop1>; + fsl,usbmisc = <&usbmisc1 0>; + phy-clkgate-delay-us = <400>; + }; + +... From patchwork Wed Feb 21 14:58: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: 13564999 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2072.outbound.protection.outlook.com [40.107.21.72]) (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 1ECF43A26E; Wed, 21 Feb 2024 06:51:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.72 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498320; cv=fail; b=sTKKS+Vy7IBpozhli6EyCKnZYp2c45yBBIq4CiHsY/WVHf9c3LSBehv76V1kynjKlYbexs50ulJ+VC0N+oP4ZiW6VgtJuAkNTtyLQQ7bVVjs1BjKW183SKplXLayIluAkY6DnuPGv23xxFwjbM1o/AqeOds3ErrBeR+0TBon420= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498320; c=relaxed/simple; bh=WHEn0kFo6K+a/0iGnhQiuooMIGSbmpKtktXaRVHR6xk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=GX+QPdWAegRH87P+SFETmD8xKI2+1E7sGIZ5EXm3iZRqly34nn9NFq036F+vvGPbHqPwz85zf38VgbFrr0g16HbmokR1fYXt0nButEzLdlfUqEb3QAte6d0yPAhlC3bg0ACaZYswl5Joohjn+mcMBXUN5ISvfK7q06dIG/wmJGo= 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=G61f3/3y; arc=fail smtp.client-ip=40.107.21.72 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="G61f3/3y" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IKx4fFWWgzjOEy/rtUSwtX4VHj8Re6T+A3yL7Y1VzBpLmIrlo1qqrGZw27JciKY3CRma3x60yxVyPr8xeCokcF+G0Lx8yBEIl565c9f7h5iUj4hXho3UMbPGJm3kdjGO/tp7Cy97zbRyOyKo4KFlfWmDv6+LjD52TLcqtjkuKV3v++FyrQD/xKKVj5G+bmmuAUakB8Jn6TfCChaVvX09DHXbCza0m3md8voP+YAjd6K3Q/FOTZekU1w9/3D9ovXb96mIk6mtbDdnH5VOndq1M0KbNsAnUVC22mDMaOko54MuSjBIa9XoxesPXddlVfTrnSrpYFkVQQhvotdhzD4o1Q== 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=pkKIFr7sFhI248q5m3aGpcxjKLrVv25prkH9EcL/3Fc=; b=AmPTh0Q6th8L56OEL4yFKvIQe2pvynktU+EuQxldEBwjvGOvUVsYQ8GI96OOiL7g9tuXRHaHaai7aCe5zi5Zi/xywa5LBaKfhcapWUJIOaFIbTTuwv02iG/OCsDd90H4hlh3StdXFCJdo8GHgxvS5EivhOBVF98dkLG78PwuBM9bQXEiXNt7fGEtxltdREEFTploHNBD9EC2tEJDkltRNnAmU/Ss2QEI6plks7NRNWifCMmbSaNbhmYv/RGAM8h7kYL1CZ9N4e1WJDBTqohzDoMgz3cYx/ip/L8ivfbZoidWkpm3VcEGIiSOZpCInaqY61pOOrdw9FI/vkOSJgDH/g== 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=pkKIFr7sFhI248q5m3aGpcxjKLrVv25prkH9EcL/3Fc=; b=G61f3/3y0yrOshkxW9LllQGsiqiW/0MeLWcILgk+EqZNVDukPtMwCNN0AUjfH/L/mGMfCpzcYrtz6fiV29GIW3lccK8j4C1XNJZWUG0CuUthRThs162YdXSpZwnP+GVzHlYJ/64S+tTCkd1C49CIYdMVqJbRNxpern7u0bVZxUw= 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 PAXPR04MB9304.eurprd04.prod.outlook.com (2603:10a6:102:2b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Wed, 21 Feb 2024 06:51:55 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:51:55 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 5/9] dt-bindings: usb: ci-hdrc-usb2-imx: add restrictions for reg, interrupts, clock and clock-names properties Date: Wed, 21 Feb 2024 22:58:42 +0800 Message-Id: <20240221145846.1611627-5-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) 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_|PAXPR04MB9304:EE_ X-MS-Office365-Filtering-Correlation-Id: 21b3dbfb-8c25-456e-61e8-08dc32a99716 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vV7xNuueqDLYwwhR27jVQXtfTgwj14cVExKRT5umlkfS/uWil6x37RWmFIRC9Z7a9iT7RSq92pCrdbmX9oJu4hOzUMJP2Xp6frJiMnr2tpxtvfyihTG3TRtjiULTGCPVSsr7ilMZhwR0GPqxA8T1zkVWpos0EL1r/m9NJ0QaILWg+a3ZVvEcOULxmCM/jxF1/oJT1EGK6Fi+IQZkh2sa7ZNDJ8F/vuqa4R2E9oTlD+SOWAuxBZQbf02rmoKvqEhUflhFQzZz0pLLe33w+nEQ/vQdvl15Vrx6K3gMJBGMZruSBu5zusul3ZkeYwNQ1QAj8jBznVs04EzrFeVT7SFzCCTTGW7Xzvx/k8f/RGXoH+bDDiAjDCi5JHIlHZ2CTC7uXpz6GPguyXt9gwVmxKiMat1q7m6IihmR35ztBYu3bQ5E8aJwPh+wJzQ6OhMxlBCV158dkxhpNMR9tLEuX44JvyvqdZyUPKYMw1yMyBcZfAtuEovEc7wJ62+2gB1QQ7qiToxlXvGfapaR+k4H1Uf4xTbqzH5yR1Y9XUSJIer/6CRiAaILVqgJQ4aXSe38gOntR8Rk1xHmEk1nXjjAOukHy0TxMpOUz1Jvpyyh5LBvx/41wQ8HqT7RZMlH/ARrJdOv 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)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0AiKq7PoW24y+FC/3D1u/fVvFTxUzlH95PCyRqKwScn5Ahk/af4KstGyLQshIa+WsLJ6hecWQ67BoqwYXJFSAFY4Ros/f33aNin14tLrxort1ptzqNz3AIKi1oONlV2T2pAfLPEmRjtlVZ2GIRuln+h4LF5VyvI/n9V6m7HKG0wfBjA43zEZer0HFWQI+0HCC505gNuo3I3/THrmlv6nBramYmqxI1BE4srFf3dgoHFzNSlfyJ/BC6Me3CtfTvatRWALt8O+pwDb07itgRh5Dfi/XDYOX5RzzllZSVxnjYj4+atba9TJ9uhaCe4vJzBOW1+Fig1B3fdmyKI9fEmJUuvWOlm6os+jFOmq4Pr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OKluk/FH6X0rFpqYU/ydbC0nLwEg1/v1TsYi4WGLFJEKZIJXpFTVwu1mOD5ZnGT93FoO50mbWhx3AIxYIv3Q1gOEaJ4U9ezG27qWaK1B9zY5+CHvNamgaH0W570WiLRDxu/AF9fBO8YybcMh/Ox7v68/1l7rU5KIbUw4+E05atewD+ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21b3dbfb-8c25-456e-61e8-08dc32a99716 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:51:54.7891 (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: fpU0G7UEY6wp6Anwq2kqUidAxaNQoZ9UOSUq/H0f8HzshTRrtETrPJblN4bDAlxIYowqbLWUb1AasL0VAzELrQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9304 Add restrictions for reg, interrupts, clock and clock-names properties for imx Socs. Signed-off-by: Xu Yang --- Changes in v4: - new patch since v3's discussion - split the reg, interrupts, clock and clock-names properties into common part and device-specific Changes in v5: - keep common property unchanged - make if-then more readable - remove non imx part Changes in v6: - new patch based on ci-hdrc-usb2-imx.yaml --- .../bindings/usb/ci-hdrc-usb2-imx.yaml | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml index 2ec62f564bf5..20bb048938ff 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml @@ -49,11 +49,63 @@ properties: - const: fsl,imx6ul-usb - const: fsl,imx27-usb + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + allOf: - $ref: ci-hdrc-usb2.yaml# + # imx27 Soc needs three clocks + - if: + properties: + compatible: + const: fsl,imx27-usb + then: + properties: + clocks: + minItems: 3 + maxItems: 3 + clock-names: + items: + - const: ipg + - const: ahb + - const: per + else: + # imx25 and imx35 Soc need three clocks + if: + properties: + compatible: + contains: + enum: + - fsl,imx25-usb + - fsl,imx35-usb + then: + properties: + clocks: + minItems: 3 + maxItems: 3 + clock-names: + items: + - const: ipg + - const: ahb + - const: per + else: + # other imx Socs only need one clock + properties: + clocks: + minItems: 1 + maxItems: 1 + clock-names: + minItems: 1 + maxItems: 1 + required: - compatible + - reg + - interrupts unevaluatedProperties: false From patchwork Wed Feb 21 14:58: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: 13565000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2087.outbound.protection.outlook.com [40.107.21.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 6C79E3B7AC; Wed, 21 Feb 2024 06:52:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.87 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498324; cv=fail; b=FVfOVCVXuwti0MkAd9pnsfjoWG5e10iFOE9c44OC6xX6s6au/77UpWOw5cUkacuWOC/lIe2JOZWPrMcZCTcGtaQqGhiyFYhn6SThnscLiCH7UOgI3Rov3LsCHnsaFFP8VdQUFv4qPZajmsnko7HKr7suDw/h2TA/JQorMvotfqw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498324; c=relaxed/simple; bh=84d6R1DjzfEv0mguGzV/HDDHEJJ43Y8IJxivMYmh4z0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=SA1/jyY5nM/XCHuYm1K69Gt7JXtWC1FFc2uXDOiE2tI+nz/DTnzDAZQv2rLczQH8aB3cO21q3w5kouFcifFPXMDU4AfJAcPSVdLpmcbRR9ThHvODwawEjFmmhUd0pi4WmVZ9BXrl5foawcgvXrlkVditLMb0NREAueJXeIMMHQQ= 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=UQaKSsVG; arc=fail smtp.client-ip=40.107.21.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="UQaKSsVG" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fB+vMC2eeqogTu02sbal06tw7lv3Z+1C0O+KlplPul1bgcJx2p/AhaMqVR8wj57v2eevEmVVY0xere7HDgCjRT2er51GiCW7RDQGOBNT1g2w+bs62qhifA2Bczt3NOjG6qunW0O8fCZj+XYxcx6EZcF+2yLVosOGMBNt2YGqu5kQwktFr5zLZQZy/8+/sx4pXUr8iCBkesNUpVnXZ66Q6gP9klyB9g7PfYwPiWNMamDeurakk4LHNUsn1N4nR39jsU/x3iTDgmFIZ/wz9LUzalGOwSt+Por509Um5YqwnOZx0D1XjQ32PTNlcOmd9DOhaOh4GPjvEFhJIA+hdxb3PQ== 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=g9fOD2PdxJFOZn/4B1zkyF7lrQHB0KFowI8W9q8vrZk=; b=avvCN8VfAQFOK8CLE3+b8DpArvdu3cmPT4MuRVZlcJbbMzWXnaAnzgqyV9ENsdtMazpP6gnSZFsRS1LXtWchbm0pg0hNJ4I19aZsLxp/VTSfMrTCheSpPylDJ3BtcSxFU0HdJcDqQgHohHWAOs03v26HGVA1ErZl5yIk9Q+nrbYmzPhVvqx+beWSh0QW3Ynst8qA0u7bJmW3yS4P8MMdgRkktmkLZ3E20XC3YyoDGDphCaPnpzoOkjIvtoHk93k9JneIKQ+xDYOT8Y+zJ1Sn4NRDUpjBsN2l5I5Ydc/v+alpG1/QayMRZtbPeOonTIBuFnw/RxI17fVIAqWF1KtKwQ== 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=g9fOD2PdxJFOZn/4B1zkyF7lrQHB0KFowI8W9q8vrZk=; b=UQaKSsVGchmdS3FgRZPaj9sX0nQw1XhPQwwSlflBjziUylwT7noxt4MrcFW9tir/SJMnls2X73GmiXJCULr1kmQzoaPsVptMu4FIJ4qlXZE3QVe72/3wESKi9fI55S3rdY4M1G0MIFDCvvc5YrztUs7bL22HeZ7qSh2sbUByF8I= 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 PAXPR04MB9304.eurprd04.prod.outlook.com (2603:10a6:102:2b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Wed, 21 Feb 2024 06:51:59 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:51:59 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 6/9] dt-bindings: usb: ci-hdrc-usb2-imx: add compatible and clock-names restriction for imx93 Date: Wed, 21 Feb 2024 22:58:43 +0800 Message-Id: <20240221145846.1611627-6-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) 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_|PAXPR04MB9304:EE_ X-MS-Office365-Filtering-Correlation-Id: 5d9702cb-9c6d-44f9-65ab-08dc32a999ee X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HKIv0g/4CJm7TOpN9wmy5RBEWnkecW3oDSoDQqX5rkMaOzmDKsXDxRMNiUfRk1bIW9L0qgRgFrF0UxlnAdCMMrs1JlkGvo6eR+f++d19lV5pcc1md6eoAMNrsIB+tE3mJc6PnrjywwohW56OLcVd3GCUeH5IA3j1ZJNFBs29zWpa80Iu6cpQxUqLrP4+GFC0SlWBZlcenIML3o4j0N//fs/KOtqht2IWxIre2PEET2IBTL3AFBNfDcKFUumuxzM9Kdm6ZPjEMNaWpu3ns2Mf1Su6lJN9K9EJDGzKqmWPY1AtsK9nQoPY0fdInQhZ1AzuWBz2rEjgsWJphfa0ZR/9YTu2hkMJdG4bB/QKleriVQp4UbwOmmCTsvyobAujvDUcXH9ZKqlf2fUQKDYEReb+Az0jriJU5ZbZjKrZbnsRxgehMaOmz1DDTLxee4tpPh9n9egjuuX9O2tB3nXEfDGld8fTYy50OHtgfnmUOhBGZfRK8Guce4i950MU3KWgBcXYuMOK0uERs0QCGLwPJRCL5cpxjT7F6X1ulyOje+u1rz6evoVScLxfntyQlGAmSHKzY9nS6HZFs8FZoFtkW6bnqEgP/utgmz8OOyKBbSO3vMLbfY0m+VgM3dd6YN9XOxJR 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)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: cCIY+C356jxTy747VNs6V6jJXFKhbDXFmhHYhUzW2BGS8jueSiU2xycgaH9LIeRnDAfHQLJkNnKy0aKXaGckbl2X6yvNfGGb46TM35UTql4NIvOS7KXN4nLtjC8hPzzLHh363QZlRYr/YPmg6X9wLJ02gi1V0VDw+bCBAp0MAgww5vFST8NK3vtRqu0fXgDQUfXjgs64Ec32HGgXjPiqR+OsbsSxGHCsFmX26eRWF+bqmyUCRYs4MGz9h1e43U3zKzox6tql6TXii1jQbxkf6qls1gJZpS/Imn1Lm1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IGiWfOqxru0h5CPQwisbUGgZDCxT8j7whhHN3ZUZUM62PfSBPr9TFI8WLnpSZajNbY0mfikoR5aE96KvIgJkotrOhlsG6KeQQggbozB+IBYAstZQFnzGpW/JgnJATvgfRuV20aXltDkNAcTBLisv3EXoX2uWgR7MnmYMd2T47EMafNLXEj8qP+KZyxG6JUQTiNBEYy4Co39Sk5E9tMGTBNQQRa2+/IgUYn7NRt2vy4+ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d9702cb-9c6d-44f9-65ab-08dc32a999ee X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:51:59.5750 (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: bJDEjuyB3caESfrTajuLBQe0WpusKl2+kuTI5GcU6+s2GC8n347EtuiAxTQD1y5Gvwe1BfZUdQzg8vXd099m+w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9304 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' Changes in v5: - rename clock name Changes in v6: - new patch based on ci-hdrc-usb2-imx.yaml --- .../bindings/usb/ci-hdrc-usb2-imx.yaml | 34 ++++++++++++++----- .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 1 + 2 files changed, 27 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml index 20bb048938ff..d509cfbcf0d5 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2-imx.yaml @@ -40,6 +40,7 @@ properties: - enum: - fsl,imx8mm-usb - fsl,imx8mn-usb + - fsl,imx93-usb - const: fsl,imx7d-usb - const: fsl,imx27-usb - items: @@ -93,14 +94,31 @@ allOf: - const: ahb - const: per else: - # other imx Socs only need one clock - properties: - clocks: - minItems: 1 - maxItems: 1 - clock-names: - minItems: 1 - maxItems: 1 + # imx93 Soc needs two clocks + if: + properties: + compatible: + contains: + enum: + - fsl,imx93-usb + then: + properties: + clocks: + minItems: 2 + maxItems: 2 + clock-names: + items: + - const: usb_ctrl_root + - const: usb_wakeup + else: + # other imx Socs only need one clock + properties: + clocks: + minItems: 1 + maxItems: 1 + clock-names: + minItems: 1 + maxItems: 1 required: - compatible diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index 3b56e0edb1c6..ff826414bcb2 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: From patchwork Wed Feb 21 14:58: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: 13565001 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2079.outbound.protection.outlook.com [40.107.20.79]) (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 5EBD43BB4C; Wed, 21 Feb 2024 06:52:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.79 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498329; cv=fail; b=IJXJpDEoMxVBYsHDqqudsC1PypI7sh5Gx+jkuzClFPxCXRmbWdDHTGv225oEjiGfvFrZjmpmRiIIaPnPBAW6IFf9/JDEztCWVL5ZSligK5liXe/0USxiW1I25vBZOuW7CjSluF0ACr6H4KFEHWpBP2+RpEeOaDM2RKgMopveWcM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498329; c=relaxed/simple; bh=jmsEIIrxVlsX8CR5LTLM+eaREHvOtDv5OZFe5RyBabA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=ivzUrFw041kk48kVOrAmunC7Dx+o4cKsYX2CtB6unXESmUhBTpgdRI9da0ZQLm5BIf2Hyk2Q85iNoozVDrr+qarRz1tTa0Mhu40dyQhb6N80UZ3KEAH2E4YBUyxYTivoh8kNW0xldLbTu1Qr6JR+KAA3FRsX4XG9ddGJeHBYZds= 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=ZKELYpOX; arc=fail smtp.client-ip=40.107.20.79 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="ZKELYpOX" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LOrllwEw8iiZDWecjB3Dbe4ME2XUzKzW0Xfa1Wl3+WtwWXr5wlDQPkkytZ5N8B6e2o8Tnx85B7eWJBBeI14Gl+/KE5VnUf4esjDjjg9bgxxqC83eavg9ou7QAbQrxKaYfIzflONeFP+P2XTTd4lbF7jsr7ZmhRLtm6oYroBgYcFC0NpeIbCe8Z8sBWlg5yAuruFn599LQ3kPPlkl0oh2IhNekh0/6vJ8CzkH727Qk7EBZS6xGFUfuHeP643jCJMrWu4qHogNbhHNhn1DD4NqeTaZzTZaL9+VXjYXTse19V8VNYnzwBBolhcXTK2HEtyF263Y1XC7dTl3hIrOco+eXw== 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=CZk5CIesGMDmmmZaQzckc0HoESG5V5PKQKLRWtDUAh4=; b=geMeHv+kYVtGwNRUS21odi+bIXteF+ePX7vQl2ByOmSp5WMFHCYqp76UO1srpcswgrM5p2ohCpRqt4jXnIQSZw0MUx+lK0cshaCQFjwoviXFXl9kfZMsLAENRd81Fli6dAHQYHL3Rc4hBye1zUDQuM434LQd8B91Tr9x6wcVQxLuAEWrVDZPQSkMJ7OIRYpCyBS1xVS6EyaVmaq88jsW6+NgoGj/OOM+Iffl3f5+M2iXczuTh5B40rQT177VqRsbdqf7oUswZPNqwj1vf5LybHV8J1UZpfP78zxhMI5UH8VvgbvCRBOcYdYsaOV2T7CR7mrdpSSTeXryceJGtZKPBw== 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=CZk5CIesGMDmmmZaQzckc0HoESG5V5PKQKLRWtDUAh4=; b=ZKELYpOXAbYkxpW3+Ga2QLXvPAWpAyTBxTRKzkgJfSnwQfMbEevZb/J/3WYuEXA3jX0sq1rslU4AAyFoMN8q1zGImmL2ModFAIUHQ0+35ETcJt0RewkPiTxLxmBWoDS3NUCqVmMRTTbJFR8sa5WVOiJRe8Kjn0zeAJqdYkafupg= 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 PAXPR04MB8476.eurprd04.prod.outlook.com (2603:10a6:102:1df::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.21; Wed, 21 Feb 2024 06:52:04 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:52:04 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 7/9] arm64: dts: imx93: add usb nodes Date: Wed, 21 Feb 2024 22:58:44 +0800 Message-Id: <20240221145846.1611627-7-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) 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_|PAXPR04MB8476:EE_ X-MS-Office365-Filtering-Correlation-Id: abb3210b-d687-4441-53db-08dc32a99cfc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dpAngd5wMFCdJryE63OFi1VxrdGH8IrSAh8jbCNmwJBWI/LQaqRDUCPMPqD2GZL6DEYpFxSvsxyyaidlcCxjRzaCdESwxXCZrwoL6WaBXYarP1+avEm3zgOsBU2D+vD7I+wsoxaeTeQoKKHbGnF1sJUm54KshN7pnJuDW2DlIAbA/mHOzkMzjbpG+8QGZ20tuEEtWvXwgGHd4taidbsXxVHV/vJTh0kjx0BykbvsBBMG7pzkkjcyE1efSPXtZLAQoD/2hYXnEo2RpAjwTk4QunKxHmxfYxFrgDXOf+6Ch1A9LNZqvEuxoxeQUbQtl+KPOtOpcxZnXXIlhGBqHfck7trLUcpWseKXpx0W4XHU954G48jnN6DiB1O80iHgM4vogEH8SCrLyOg6Kj1nWb/ASRiNrRcuvoq2NTwNaB8zs+E06BevpqjL7qjidwmwmuxoZRqlHM+jCMtGCLA8Fe4J8+KtVE55+S6Es8M92outcRBMDRWq0msBtsL2/+jcRFIU1oyGfm9psb4GOmAxaOdYw3JIh/JF/lMStdEvshlsUAxIpJOXwA5YxYTZqrS4M+Nb/rMAdzPAp7Am/X1q0m/pM6N1h8jtzS8QQAr3LKcmdQKJoniKe0eK4io0nwtgqQFm 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)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dJAGliZ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T9Frxf3BbKE+4GiT+119AtiGv30/WZfvIXWvNQhIH8al20IlB3MNynyLU4LkhfXVtpeZssEX3t1C1cgWzX0A18kJNZ78t/fubQf+GsEMXr3/jMcKHSOZU2sQVgi+ArNMuq4Q6hOVfkGmHirRsVLCSiiTMJJfyzFiG28YrRiYEJcQ1ZULoPQGUg8j0VGUqGt8RKnN8so/4AYl0Cd8C8y7RNfRfykynoAtLQlvWfvkSxRVO8v7j5CYFWG8Bc18r6UeYnosEYHbaaOOUSmo+Iwt+NK0a3nMDgmYppmLDDygqtxFv9dCXZ2lhyxDe31VCoK3sn9m5UKpECb/szQm4e0PLJ3X2IfBw8225nKI64+NcojJaMImBWzjlm0uHZmOoilGIGigP5RlxXQvR2eGmv4Qx4DnaCq9zr2qX/01/KG83HpXFh69ZV2RVuKvQIqCcygMunQRpZUI3/l7QiHipXiXhjZq/5LU5kMAiIo9Dhks4c7qMbV0P X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: abb3210b-d687-4441-53db-08dc32a99cfc X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:52:04.5949 (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: sUQHMn/vGNc8LkJx3KnqX+gPgY4XCNteEg+z4Gi+KlpdusvC7lQCPUaaCzbr75C+nxq4C9fszvzMwFzq6UZcWQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8476 There are 2 USB controllers on i.MX93. Add them. Acked-by: Alexander Stein Tested-by: Alexander Stein # TQMa9352LA/CA Signed-off-by: Xu Yang --- Changes in v2: - fix format as suggested by Alexander - change compatible from fsl,imx8mm-usb to fsl,imx93-usb Changes in v3: - replace deprecated fsl,usbphy with phys as suggested by Alexander - reorder nodes Changes in v4: - fix the alignment Changes in v5: - rename usb_wakeup_clk to usb_wakeup Changes in v6: - rename usb_ctrl_root_clk to usb_ctrl_root --- arch/arm64/boot/dts/freescale/imx93.dtsi | 58 ++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 8f2e7c42ad6e..4a7efccb4f67 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -183,6 +183,20 @@ mqs2: mqs2 { status = "disabled"; }; + usbphynop1: usbphynop1 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + clocks = <&clk IMX93_CLK_USB_PHY_BURUNIN>; + clock-names = "main_clk"; + }; + + usbphynop2: usbphynop2 { + compatible = "usb-nop-xceiv"; + #phy-cells = <0>; + clocks = <&clk IMX93_CLK_USB_PHY_BURUNIN>; + clock-names = "main_clk"; + }; + soc@0 { compatible = "simple-bus"; #address-cells = <1>; @@ -1167,6 +1181,50 @@ media_blk_ctrl: system-controller@4ac10000 { status = "disabled"; }; + usbotg1: usb@4c100000 { + compatible = "fsl,imx93-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; + reg = <0x4c100000 0x200>; + interrupts = ; + clocks = <&clk IMX93_CLK_USB_CONTROLLER_GATE>, + <&clk IMX93_CLK_HSIO_32K_GATE>; + clock-names = "usb_ctrl_root", "usb_wakeup"; + assigned-clocks = <&clk IMX93_CLK_HSIO>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>; + assigned-clock-rates = <133000000>; + phys = <&usbphynop1>; + fsl,usbmisc = <&usbmisc1 0>; + status = "disabled"; + }; + + usbmisc1: usbmisc@4c100200 { + compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + reg = <0x4c100200 0x200>; + #index-cells = <1>; + }; + + usbotg2: usb@4c200000 { + compatible = "fsl,imx93-usb", "fsl,imx7d-usb", "fsl,imx27-usb"; + reg = <0x4c200000 0x200>; + interrupts = ; + clocks = <&clk IMX93_CLK_USB_CONTROLLER_GATE>, + <&clk IMX93_CLK_HSIO_32K_GATE>; + clock-names = "usb_ctrl_root", "usb_wakeup"; + assigned-clocks = <&clk IMX93_CLK_HSIO>; + assigned-clock-parents = <&clk IMX93_CLK_SYS_PLL_PFD1_DIV2>; + assigned-clock-rates = <133000000>; + phys = <&usbphynop2>; + fsl,usbmisc = <&usbmisc2 0>; + status = "disabled"; + }; + + usbmisc2: usbmisc@4c200200 { + compatible = "fsl,imx8mm-usbmisc", "fsl,imx7d-usbmisc", + "fsl,imx6q-usbmisc"; + reg = <0x4c200200 0x200>; + #index-cells = <1>; + }; + ddr-pmu@4e300dc0 { compatible = "fsl,imx93-ddr-pmu"; reg = <0x4e300dc0 0x200>; From patchwork Wed Feb 21 14:58: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: 13565002 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2042.outbound.protection.outlook.com [40.107.20.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 D17753C46C; Wed, 21 Feb 2024 06:52:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.42 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498333; cv=fail; b=aTgcTrOdPtVS8cEG71kHpA3fZQD5GqwDSUHhM0vfhk0BcdU6PpRI08YeJ7eyF8WrtXxoKmfPbGP54Fj5b12iWTiwqpHGotKpHNQR8/VXICw1CEs39dp9jvkPJl9kzSaoNOaEev2VDJLlq+wRgn6qiINX/IjKlbsfPgis2nVMUZc= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498333; c=relaxed/simple; bh=Qx86eHCjg1cF/7o2AvTnfgbgk+3N+N5s4LS0sX8x8Xw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=XS9Hcn5v6ILmqzdQ1Iq1FtLyiLYnoSUDwfVspUI81t19csoCJJpKBJ0vJnNAiHVP+njJLRwUyBCK9GYJbAetQhcXkZcKzoyvCeLFbSS/Qy5sJQnLgO++EmmbCl1eh19uFAGU16O2ONjAdQc8tpufoQMC/usmNVZsfWNSX5PISCg= 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=M7LJhhxS; arc=fail smtp.client-ip=40.107.20.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="M7LJhhxS" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EymkLCK4rDvLfHKlTyDzfGGqZipiQybShwa9PZXM8Z9Qf+6eme6iUmQmjb8HHW313Wj2Un8eWrOC3dSZrutxf2PX+ExXJ4ObscEWwjRUlSFhYj+04bDDAyL/ogqKKKfu+n3d9o5lgW1illDf8m/wa8n3/UoeM3e6rEAMvyZWtNnxdYB0C/nCYvx4wGOSapvZSfkQuU5aj/4Two9tzXwsfNhdIPl+uKZBvAAjbTVZz5L5o6V4d5haFyhluYFcpLkFw1yBq4OrdXM7od2sApf7RIai9Qq7Y1x3EZx8Qjda8EW6VZ9+s3TcjNRGQldcOSa06igP/y41nDuJHU6JoJg+jQ== 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=wY9dqhfR6wgdb/jnJT0Pv4zgG36U8S0PrQH+Y8xtoAU=; b=UpIGLz+5dfgB3iXhpOY4DmFtJI1mxVN2UC8ReoBhNmmhGFQvOsFVQrtjtA8nHdOziyLgu8mWLYsxMmz0by2UXtvHcPcLYdueL9dJaludBHKz8MHx9V41TeUKd732BrZpGNN7ODj1IBOm/ZP3JYyhlS/ZnK6vY8SVpmbUVcVrBb94WRQ0Mo/Zz9NFO6vEyp2pWppA2+HfCV2LsyfkF6HACBl79S5glw59NSt7Md1saV12oDxbeMfXfD1ih6sFfaVySGm6q6xUSYgjqJyMa/yuYuqfdw7x7p5Qr0d13OxDHpEMMO3qdA/OItI56ra17tGnuAwXciF6xGrqx51UXGu6Cg== 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=wY9dqhfR6wgdb/jnJT0Pv4zgG36U8S0PrQH+Y8xtoAU=; b=M7LJhhxSEP7JFCaBlFZOTRto8o+INBiQ1C8Ms3rX9OqLTCR72JyQZ5WlFSvuBVsqw1Im+tA2RmaLGs+oviDTBOej1PvP2c9mj4L7SHpUyGmN7l+GcX+e7VhEE+GlyVinue3ORYoxm3u6C+qCGIyaumAFqeGNV1DlH4p6KiEQPlY= 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 PAXPR04MB8476.eurprd04.prod.outlook.com (2603:10a6:102:1df::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.21; Wed, 21 Feb 2024 06:52:09 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:52:09 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 8/9] arm64: dts: imx93-11x11-evk: enable usb and typec nodes Date: Wed, 21 Feb 2024 22:58:45 +0800 Message-Id: <20240221145846.1611627-8-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) 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_|PAXPR04MB8476:EE_ X-MS-Office365-Filtering-Correlation-Id: fcff1eff-b26b-419e-2e4e-08dc32a99fcf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HNotIHtAM2lIz0a6TdvimBoVDOallLSy6TTMF+6gM8ddFjsMVNOFzbRWWiXWK53D6+ljrzrXFcXFdNaJRVqqZAciLCrEnbMdxjyXtVgJqUBzXg8+OQN4UKsAPPAlWOETNCxHDyMmUuXSY+UdzUTkRN19rdCb3MD+Hp6Qn1Z6OaJzzdr/bKNdTR90G1+b9lzBZ6BjXMrs5PYJfPAcu3dgjNwj3TfvbzLjJEeFW4MYmF5PwoyxO3ols6gfGGR76yvig8Qmzn6ysI8mvG1Pof9S6q/FkIsj0laCBV0mVuZ/2VlB8Ulb6Q/CKMCly6PJ231uSS2LCRehoNg5Nou8vAZbIepe5puyXsacC8HYwoPTTz8FtcXavfa1Aqal8xH38GIvU+b7Q4aKv7MkDmc2lsXk8Toi6gy0dT6gKizGaLP6nimYAm7zklA+tRDvAgBHwcisWCiWVuExoGWyFnb6rVd3AcqEPWqattVhneUbj2nrl524yHPPvSQZVdYGjYOEFkwaUIekF34ClDHh9KzCYRXsQXa8m+HQfBbYV/mBvJx6NAKfQxZjimvD8OL5++FtRnOTZcHBPxm3RSQCAUDvx3b7EAoBbs5edLXA54eI8/qqLOA= 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)(230273577357003)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 9IgAzmPTJfsNdbOf9fUiFffzdhcVkx5Ll9BLrhqE3Eotx63DTupm7mSwc0ZDkpwuLy8TNRZqEkD0IZxXG6HrefcoEyMl4AUj3N01OpmhTCmLDczY1Kt83aBBJ7ycpRRaCxMuX+jrT4YT4jy0Zkr1EsFZXT5kEk3DyXOnBmTvW4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I1oJvmZvk9Acq8shcgsM1sMDXQdmxyoFZB4P2RxJgnF9GFxy4ilhu4+rflNFkiKx60jo66BtnqJs4tSPUaqi+lcZCPU6TrZNPzOhySz8hhfvjpLogBhFJeE6a/D6rSxXC9Rl43vT3c5DresWRXv6uJrwgvhMCJYVCJIvISKGTvkoZPCHSUHHs83uSURXq9X1YYAaVuFYZL3KVRvI6WriC+tW+zpGd7u9iTRB1CLlrM7Qa6b+tDyRZtBrP1whM/GanyXeQDfqEZBPFR26vZj1Hz64dkCpWB0mkJOL/mOboVsqjr5xjt9ZTceHOGdaYg2AOmjUI4sDsuKeRYXxEuPFipz7P2AJjwoqEwcYOygviW1W09 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fcff1eff-b26b-419e-2e4e-08dc32a99fcf X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:52:09.3375 (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: RvMYd3beogvGFXwyVI8rALSgSf+zXSOoUiNnLxsmTLeEyjrTPu3XSuhGdoF07IWjUr6EHtFAZvhGf1+gehQ7sw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8476 There are 2 Type-C ports and 2 USB controllers on i.MX93. Enable them. Signed-off-by: Xu Yang --- Changes in v2: - remove status property in ptn5110 nodes - fix dt-schema warnings Changes in v3: - no changes Changes in v4: - no changes Changes in v5: - no changes Changes in v6: - no changes --- .../boot/dts/freescale/imx93-11x11-evk.dts | 118 ++++++++++++++++++ 1 file changed, 118 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts index 9921ea13ab48..ec4cb50445fc 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -5,6 +5,7 @@ /dts-v1/; +#include #include "imx93.dtsi" / { @@ -104,6 +105,80 @@ &mu2 { status = "okay"; }; +&lpi2c3 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <400000>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_lpi2c3>; + pinctrl-1 = <&pinctrl_lpi2c3>; + status = "okay"; + + ptn5110: tcpc@50 { + compatible = "nxp,ptn5110"; + 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>; @@ -156,6 +231,42 @@ &lpuart5 { status = "okay"; }; +&usbotg1 { + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + usb-role-switch; + disable-over-current; + samsung,picophy-pre-emp-curr-control = <3>; + samsung,picophy-dc-vol-level-adjust = <7>; + status = "okay"; + + port { + usb1_drd_sw: endpoint { + remote-endpoint = <&typec1_dr_sw>; + }; + }; +}; + +&usbotg2 { + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + usb-role-switch; + disable-over-current; + samsung,picophy-pre-emp-curr-control = <3>; + samsung,picophy-dc-vol-level-adjust = <7>; + status = "okay"; + + port { + usb2_drd_sw: endpoint { + remote-endpoint = <&typec2_dr_sw>; + }; + }; +}; + &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>; @@ -222,6 +333,13 @@ MX93_PAD_ENET2_TX_CTL__ENET1_RGMII_TX_CTL 0x57e >; }; + pinctrl_lpi2c3: lpi2c3grp { + fsl,pins = < + MX93_PAD_GPIO_IO28__LPI2C3_SDA 0x40000b9e + MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x40000b9e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX93_PAD_UART1_RXD__LPUART1_RX 0x31e From patchwork Wed Feb 21 14:58: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: 13565003 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2066.outbound.protection.outlook.com [40.107.20.66]) (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 67CD23C6A3; Wed, 21 Feb 2024 06:52:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.66 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498339; cv=fail; b=cnbMuMqRIMNcq7leKhIYLGh4Og5B9n9hHMhVHmUnnd5sPpxW0tJoVbKu3Wk9Yehekhmr1Ku+euRAC5vH/HtUJNp5gpvgLr7lr9h0rqGTvCTlsPODRCNJIUKoqSKNRSNb56Ysb6PnY/E+3JrYOcCBUc2fuIeAZA7RDxqCZ8lB88k= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708498339; c=relaxed/simple; bh=1rOvfG3CVvw0sQpSUWtVmBbFTH39Wh/LYtTjrBe3UyQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=F+vx6FapokLijO+Z/LnpFHu9jXJsYdij0N+dE57Tvaveai2Kjl83f66RYNnovMtZ9Im1sVEifDdY3O/uMDU9kYNwQTR6HgocPOUgNLXCLt+nN3H3qausPRxwcNv5QoxbtewyV6Upo265Rx2Ly/zoNySWaOA0fcwQMEs0N/cWCfw= 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=Ixea7G9V; arc=fail smtp.client-ip=40.107.20.66 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="Ixea7G9V" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A+cLPdQ6xKGYE1065jtr1Md7uvwVXZyNPAut1v5tuMEiuOKZZpC2bXEsS+tBj/AqGzRUPARUrmbhPPVZq1lpnjuqtMVVwIzylbl45huh+3YsaTsqaqnmvbUQjU4Uivxumki2d2IJR5dwXCCSt2RuK2gWZH5tHuiVXFLn0+qu0QWc5BaZeOsNxshnXvUVHRsYVCt3thxInj8ArotbkC9k95+KmVYTMvISriTHHQTGMxBJhyK7Szz15pbWX/gK2xg7l0BU5icJiljjFIMAVJBIDh1y1zho4sM1Zy+xw/RrlzCHOZeqSHcBj8CI9YrybXMswg2dPVesDEOgwA33mZMrrQ== 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=xxAZWu6W5ALc+lct55lahttCBBz52BPvq60V32g4JA4=; b=OgnqWbZQh2gYSef6dHOyWumHyayys1YwNfBTH2WYh4kXze7Vz6OHrjHAiOCWipx0CSOyvzgIOzHR+eAgY453Z80G36tEF0wcAGKBXMVFkdWs9K7ydEMmDxZGQpgjTS167pRi1WLb2Fld427Smai5HsCXo+z49dko9EjIh1ei8Gp0KAimRlvKAeCEdjLgTVZSHACAjGiu7Gd6th3Z9vnItaXtbc0mcqU36BMzZMQHtDuF7Y+UAWP9XQ3Tgok8+w6+s4dkp5BDWe+pSdlgcIJD1silUM0ALRwkSWT0JzQwkYofKjHDBYkQZ/kU+Y2exTV3/fGKrccwB8y20Sdpzn1qbA== 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=xxAZWu6W5ALc+lct55lahttCBBz52BPvq60V32g4JA4=; b=Ixea7G9VccDnmAti13nPmC6KIKXYHE9hzDVjS68VABEX1QQL/2tOff3J1dZ6oUwiHNNhVSIiWBilWGq3O1jJK8T0wFu7mFFYu43FZbruQKv83S0rLZG2QO16LadrUJet7JhRZ1syVWh3VhxOhypMGCxpWO0VcPHXzdvcoqydibg= 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 PAXPR04MB8476.eurprd04.prod.outlook.com (2603:10a6:102:1df::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.21; Wed, 21 Feb 2024 06:52:14 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:52:14 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 9/9] usb: chipidea: ci_hdrc_imx: align usb wakeup clock name with dt-bindings Date: Wed, 21 Feb 2024 22:58:46 +0800 Message-Id: <20240221145846.1611627-9-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) 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_|PAXPR04MB8476:EE_ X-MS-Office365-Filtering-Correlation-Id: cfceda00-74ba-4603-cdef-08dc32a9a29c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P5rGBSGF57maMcxnnVs1EC7WbBTXOGKJ7EIZE8PG/Fex4JcUXD49Qi/CcndkIZiueryz/pkWz5xpkjCg/8md2J+i0rgeGcgWgocy2C0wFFAcEqJp9l6T4XVnfJBUjLQcLui157fG+UhONp3hJM78urX/9ZftQwPS7EByaWTs1DSCqR7lcShLTrbLurTIsOSAE+p9SADOexDvc1ueArDrmTdEsHdDUOI0Ok478q9CxrnUDmsrb8sqVVUqdSfcw9ohKkfLnU+QLL21Ve5hvn51OiLvNfqYb28XjQY0SjACbVq7b1N30C50ayyOj6YveWEDGepejEQUkM/BC04hjY8XqEK0eYiIo/qEodtJaujFeCcyAnyatMB6ye5PyAEa1/o18DLdwOT5Ao4JE+tBkfwoT906ZSbJcBjD3RCTg83q6MfjU7jpWnIe8V+dhPQue1Sb6tn2Xhn4ZWtp3SzGXhl+Sg5vL9CiuOSRBJjjLZotAaoob4PuX6dgtJqUjrEEInrYamy3CiZIcX4Ig+lpuxZs+R/na+9HsZQMhGorVrULJrrkFmW70WbPazgC9LoJlEDEhOIH48IQ0fRkVyqFcqhOFlOwkUjDw2F9PwiVD/4e87YOydFQ2FUC56wZs8QF1IwC 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)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nRjOThzWJVGGqnpCPF+/YvxK+m8bP5Uburfcn2EApzNvPVj161o8xBfC10YuYAw9zlBlugr4RJIoLGClVGVrqKGVMjx6Xv2+rmx1+Z5zCYpuTu0fSyvqLropYhC/BlItF2TytyssdR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/7155UwPy0WU2x8mzRFCFdcMBwyBeN5zXbdnCtfe1JbK/mPxW+7KG1rixhUaBHQNe50bJAPTdZFnF1dyGgsCkKGdY9yHU2ZIvhYmloMtfL9kHeTS1HFQWSEoPrA//QJlI7+Q+4Jsk6YDBMEeZYGfT7w3Vwy2s7DIvktlF0gj+8+aYPHvHL3BDBj+Eq8dIbyfQSx1BoonJy5EQPuVCcFvhcrCTMEXZeXlS7jvniwNIp4VLf0EcqVB2tljoREIhYsr7R6OsTXeO3nhrls0zZcFghEZA+YfW/ar6wFQ5AAKbv0dxvOs3iIt9+PaEARAJECSR8a0faTG+asdz3faHIIXqDKY3AUhlUhzH67/f5baRxHouitCift6YXGwlJ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cfceda00-74ba-4603-cdef-08dc32a9a29c X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:52:14.2028 (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: Dx9KCLhE30o0Tz07a61x61Lh5wKjG4a/257wXMkr4IVvoEW6VbOjCIl+ghUbBMcDM80TEN6yQPLwhb1bAGpeAQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8476 The dt-bindings is going to use "usb_wakeup" as wakup clock name. This will align the change with dt-bindings. Acked-by: Peter Chen Signed-off-by: Xu Yang --- Changes in v5: - new patch Changes in v6: - add Acked-by tag --- drivers/usb/chipidea/ci_hdrc_imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index ae9a6a17ec6e..a17b6d619305 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c @@ -212,7 +212,7 @@ static int imx_get_clks(struct device *dev) /* Get wakeup clock. Not all of the platforms need to * handle this clock. So make it optional. */ - data->clk_wakeup = devm_clk_get_optional(dev, "usb_wakeup_clk"); + data->clk_wakeup = devm_clk_get_optional(dev, "usb_wakeup"); if (IS_ERR(data->clk_wakeup)) ret = dev_err_probe(dev, PTR_ERR(data->clk_wakeup), "Failed to get wakeup clk\n");