From patchwork Thu Mar 21 08:14:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 781797 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2088.outbound.protection.outlook.com [40.107.21.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A458B1DFD2; Thu, 21 Mar 2024 08:14:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.88 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008870; cv=fail; b=bHRSsdi5w2FxOFP7y1wntqlDwGsy83SkXTp1S7sEGhvqnMFv4MMkl8DVNQWVhn4t/e12H93Xur1h7gaYjmdJNZv5t3XUqy5kdjuhhvSZ5V2j1cR1Mrfc2vOb0DA+jowQ5xII4ZlAhSrBWcrqqJdurx7a6bwn7SFePw2gFPP2ScI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008870; c=relaxed/simple; bh=sRGmEeyhKeGWOaf8mTKNraTh5/baJPdYJeqBnIFd9x0=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=qRzPwdfmUJc/cS9q6EcZifq4moONwoyEZSC0thK0hBX7AH7sY1rCU+pQNPqQX0bkx7HAckG2PK8ryt0UFJ67N2kYp6eqX1WJw/VfJTmNKdK+0RpHo17FhZvFeglf6pNDSSarfhvyncxcUx+LX7+c5Y2fG53JJnDX7m0bBTYhKZ0= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=IXDDjfwA; arc=fail smtp.client-ip=40.107.21.88 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="IXDDjfwA" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R2ttVEeyQUmiRarxNQCk5xyc2C4y/slFonPM7ywpaKeWg3UKhxNosyKPx8cp6lKOIFzct09AltPGaD0BJpLYpK5VjqHquEHsGzGrk6u2yT2+hj5tezNhBf2qxXC8xukjWxcRHTPBI0KzdebbU4V5kF8aPL3xNICQ85bTEO2RU8C1Q8WMZJC+tgGFkmXSzAb9YdrWLqY/EaLc0I2FocDze+tqRhsujdl32q3dQZvMawLLjYuWqMSYhG9gVe+Z8rlWOHgDqPDX04wS7vF2j/XORRUqBJw633ldZNCa8vqB1i8W794eqDejEQ5zhr2n1hdrUWLAvs1SUEiftF3vw3qegg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hSHyOddBEJo9ceYWhM5FWULK+mE9tqxnELWq/3vYdVk=; b=Bg6l+3isHzCci4UrRUfP/WwzMBK3gAzWXkqdQ6Ic5tbVaXVha0LIisID/mrvXl7XtOkVgMlpuaJDMVT2dGiNKaAdbyYE4YXAgHfu6V4jFUzssCSrkEy9nWvcknzfHGrL4hrykilmkNtUb+xebD1pchxNloQzQl+jaCcS3exdMysSABZwZp7Xu0ZMULmMRuaa9T0CyFAKoZ7r4fJfqgCxCT5IKnPF9ZHXxF1O3uiPNdRWqW3QE0SKWt2D8IoKe4FTbiCYQRr522teNxBnTZjJYCR7ITShnu5WpKx5jDG5z7LQomoyY+tWkQLNfFZOgV47ZclGQccG5jq1HAej7faYPw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hSHyOddBEJo9ceYWhM5FWULK+mE9tqxnELWq/3vYdVk=; b=IXDDjfwAxbBcBX6DDVwl1Q8QfXw+zgPsaw5/deuLZRzuK2mAbfquOYEwmULdC0xCXAmZmS6eQ0bhdpl/mIwDSmHTLv3l8mJnsMxbcE5twbgyAmSxUdrcXne1tnL/MkA+TxfBcMeJjvAnuDp6Pl4DKSL/Myf/L5c9eVx4PEwqSDw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS8PR04MB9191.eurprd04.prod.outlook.com (2603:10a6:20b:44e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.30; Thu, 21 Mar 2024 08:14:25 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.023; Thu, 21 Mar 2024 08:14:24 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v10 01/11] dt-bindings: usb: usbmisc-imx: add fsl,imx8ulp-usbmisc compatible Date: Thu, 21 Mar 2024 16:14:29 +0800 Message-Id: <20240321081439.541799-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SG2PR02CA0022.apcprd02.prod.outlook.com (2603:1096:3:17::34) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9191:EE_ X-MS-Office365-Filtering-Correlation-Id: ba8471af-87dd-43f7-5e09-08dc497eeb83 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8XcKpOxUxBrOIV8H+77MX7yhEtWZdEsG2Wca6+it4+NbSlSmBI+J1aP/gCXJ1RdvsU0YBUk4VNauSM6VZzOS6qYNFU9KIXy8Pjzm1Pu2idWAuB8grpwvJtTuGbTofGRFV9rsDCoBbfoBdG4R0DTxC5LeHeev7CbcFIkl1dWiaGRiiSZS/jDz3XGFZEd2aDTdz5Kk+ixnW8FllY1E28iS28N4slFdUhQxUpnNHm/a7dYx0XC6tzJiJnh76vy6NYRvjkvnBUXuPtpcSx6lT2iP4xwtoAjU1hdpcUVMP5EAjYFLJr2crcA7a5JRVFS1JJMUEmBZuQcBMbzjI+O/wgyD6+G3oMxUc/lbhq63OS1YQGkPcYmq2x1c0sOw0m5Dg7FdnGUpIiMbAsO0tVlLPOCqDRzrqEmGg8G5xCC8ostPnlBpiEFNLni288oNl9cgAR5kI1vWJxjhMlriWWzWWiip4fqzTf0faYSZx8b0gNnsZ1/rTagRv4ld+wq5N4uNBapN34Mfb8s/SAKOw4+ezC6yxiVlUogOu+yJdm81a+ZdCXWgc5b7vZPmzWryiGgOEBNvnWOv+Rvzfsp/UtvLvBOhlpdb/kDFF3P5W2I4EsHMqZ57s9Fx5YA0BXOy4jc8hfh8MPzTu+IGex3rCE+1aSVFqMrXoahE+KkVXuWEUnn+pWyao/cqmUtKNi6TeAmbSMuCiu6gz9ZlsaIqNEEqNobk12rgIALNys6LQuG1KLPDQSM= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8822.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(52116005)(376005)(7416005)(366007)(1800799015)(38350700005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Tzk+YriZH0DzCdrGwqx6LX3IRWyRb2a7sYz6ngu8Qw1gULAjI6nhPr4lYiqFz73qPZuv37SD45g2//w9PTFjRPuCoQceemBTBM5osJZbUUfV+xNeCgFy8ZlX6e8u47PBpUvrKTPkolrin+mBCKv1gZTj2XzVt9rI2xGmudn98Xao5sfbnd5BYeMM1TEbei7dXM3pL5NgQNRE9bjNcamAbk1VQH7tasniTAqETQjaUgleQWFl0F1b3d6F8vF22D+kzgVSYDuME3iYr/0P7c/7XQJ2k1ujZuYdKgSzm/ndBIg757kEq1OLMPzeIMOtUWc7A5fZ4U0FgNYfBNvVJeRLSi8C3eaarFtNv5hClRWExuzzHGzMZUfQyph6RDSb9Lmu8AjZXKr92Oa1Z0AK6QsIeqeNa/aKedohs1NNDEaFTPtokOyQHhr7Ys5eMAvcbqVTLsChe0Ul0xKx2WMAN706gguAhFFhVomwlvHAq8z0dZTyBGgBf+gZ0knh/8yzC5Yb8HKKFgyUSMSwyNrJXofDH00o9vjgi1QHCVhcW+nJsE4uhqokEZ4NNqrE3LjarPqVGPq98Knad0kWpTXrNVjy7ldMK3CiWZ6BLj0VVTwqZCbYEdx5NiJ6r2svoZF3XHusI+ToQw9DWuFRD1IRHxO7Gq+zgp4rSmTKnmYNDyqLdw2bRJp3lNeg1fTeZhMOuUwfCmZXL/dV/VYku6aoJrV7Jdz1BH1VVaPt4noSAhemYLHKNxITOrAlam8yw8AevqKgeinLWmv1zEt4d/QS8CfL1FMEgf/G0MN4qjzWvJD3VqMVJ9csYHshZnMDUikZ8K3I0moOgd/bF9mQCrFV1xSWazvHxD3rhSKI+wE70sM7aajbHrxhOGiyP+XsW123h2CqcYnN8+ZlHLseVY6UPdBnZaN2K6UxNPQw6gtdhf2q8sJKzhgIaM4Pdf1jZGnvbzGbDauTokvuE7fU6ukY6jvnpcmBGtYuEMFtQXSnhvbmSFwg6QS7uJFU9ZIlp8CCUMBfUmkNnEp+de+sJaBpZX8n7Vk9JWWQv8VxdYag1Z4eKO0qoAO0r3qK9GhTCY/BdMh+wcDyiR/PqW0E2mUupZe4GjcrpleuuKGC16YFd38dJ47yUKADThNQygay7n3qB4KJGWSYzbETmzadu64J3U9acG21cBZYbl/26+do4xtdmOdfK7OE6qW8YUZvrJrDm9ueygP3ByRArzCO/9ez0gPGFTDy6Fi3BM7BFuXoMzaP1vuI8gL8C+rCShmoQLJ6ZtmBqSYtIIGjSSse/DYCVMV1B2+qwnfVtl4yBB6vzwI7dPeCxIgr4uLadOAQi51tNRqlbfegQYoWNZ18Amii5fzo4n4ApamIj3pXLqSh3SzxU5dEcMW+DACJdmrVYuncEIy5erRodfiayas3b1tpQMKXBqnVjbzrCoO5zlv1BAy/8sS0ywfNKkAAfV9AnUSSrcr/L/VGguSJQeMHSnFzuXooewNtgpv4ZErRWTWC4IaepMO686W6xucchWxd4OBYHohBooFRtQPHMkqpvZeSTccKeE7BLNoRlFAq8kETqE5EfqGOZBlpEfDBEO4mLT6azvHP X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ba8471af-87dd-43f7-5e09-08dc497eeb83 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2024 08:14:24.9186 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ttG0A9kzernkp1Hw3XtvJ1pndmHJm42s68QmNIwru3ByTDbMGHnwJub8a7g879dc3JdRVntQHAexZ1H64lOqTQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9191 Add "fsl,imx8ulp-usbmisc" compatible. Acked-by: Krzysztof Kozlowski Signed-off-by: Xu Yang --- Changes in v3: - new patch due to missed this little one Changes in v4: - no changes Changes in v5: - add Acked-by tag Changes in v6: - no changes Changes in v7: - no changes Changes in v8: - no changes Changes in v9: - no changes Changes in v10: - no changes --- Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml b/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml index 2d3589d284b2..0a6e7ac1b37e 100644 --- a/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml +++ b/Documentation/devicetree/bindings/usb/fsl,usbmisc.yaml @@ -33,6 +33,7 @@ properties: - fsl,imx7ulp-usbmisc - fsl,imx8mm-usbmisc - fsl,imx8mn-usbmisc + - fsl,imx8ulp-usbmisc - const: fsl,imx7d-usbmisc - const: fsl,imx6q-usbmisc - items: From patchwork Thu Mar 21 08:14:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 781796 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2085.outbound.protection.outlook.com [40.107.21.85]) (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 38F3D69D14; Thu, 21 Mar 2024 08:14:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.85 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008880; cv=fail; b=WJqghWIufbJvHhBayjGERPMTjTzNqg12u6wQM1yd3eNgKoHExieh9wWxwCPELce2ndsp2XyeCZJ8tCKb63h9Fd8kAtCsBi+g03F9uqPEsnbr7q8NaYHWCM3Sd6TFMJdvuuA0gpHkUWNMom8rt6Muq3MxPWg7GLCYXT/gvGVWrek= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008880; c=relaxed/simple; bh=kCXxv4MmwxxojQCRo7DIx1NL0PCAL2ISD18L7Fk9mdw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=On1enkfEUF8eVGwGrnoCFL74IRq4GZya7Mh89uaA1p+ymzTWZ2kvr4C7YpKYui8MC1YBKAOiC26RfDtD1j95oUgh4zDwsEI2t1VqxXczwR/u/3YO15aEWJYMDYvBhKoW73QeEk0sjldIiQkey984+zUkBx6B5Kke0B9Tg0ahr2s= 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=SlwWUv/a; arc=fail smtp.client-ip=40.107.21.85 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="SlwWUv/a" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c8fVORMwCkUH00uJfNbQJ7iHLkl2DZ4Iy4ApzI4oqfilK5vK4CF29DhEZ2OwsWo6xWZ4lnvbXt0YdqLqhTEvwrK2j0VPXyM0xhO69NWNws8s+Yn4GXyBiIF9P9SS44NbZQbG6Uhzq/Fx8TS37m4stGagXCod5JqV7+3t2QOPtuTu/y5uINEulpySUeTtItPu/lxlCza7m+WZuSj6hZ05c4sc8pcheRuJuEwTAFywNa28Bee1iJB14lgJWc3mmEAav4MpoXNMZFTOKbcQ9yAjAjBVPJuo0UHnLCDhfJ9Wg9i8W7Szfxr1W/8Rjx2uK0IBniQ2lCp/uBPdm+6tQ9H6MA== 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=INvSDznwF/5DPIzfj6/4g0ohrALxDNaVURXKeAXtrC8=; b=is1+ok5E75L0Xpf59Bd7f2vXy7rt1nSNPfV08fOZJZoYYU7W5gXxonQmX4PkrBArVOLOYvoGc2/kiJWxj8geZmIwLbCDEhNStglmDOuGiQ/yKlHQmVVdFsit8wRJtmUxyz5v0dIs/CP3ZreOt7X+xsb6CeuuKKhUkPLJ4PXuT5ZYVO1Yz6lpmdLQ0XHv7+kRppyvrJR6FdYB0wE8MFmy4Mno47oECIq7p/gRqvhBi9Z8AglV3HmekzvazcxhLvgZu6j9kY8PUUdHtay4qhp0vkfw8BhBy79LiqkMJWNv0Khvfm7ca/vCCL9jW4SatYdt5NFphbjgOjY429REuD+RGQ== 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=INvSDznwF/5DPIzfj6/4g0ohrALxDNaVURXKeAXtrC8=; b=SlwWUv/abrIsuVqZtvN3EEi6ukjQpqU6E/zo03M20/VNODBsHxPemyc7pDgEKAFVALo7M4fZA0oI7vXJJOvsq75XVTXPFPZZ+9cff+PR1gAlM1gs2iJ6CxBzc/yySM9VrEizMNJg6uMvfz8++tQrUq49hdwwy7kZBIqrn+pzfes= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS8PR04MB9191.eurprd04.prod.outlook.com (2603:10a6:20b:44e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.30; Thu, 21 Mar 2024 08:14: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.7386.023; Thu, 21 Mar 2024 08:14: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, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v10 03/11] arm64: dts: imx8ulp-evk: enable usb nodes and add ptn5150 nodes Date: Thu, 21 Mar 2024 16:14:31 +0800 Message-Id: <20240321081439.541799-3-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240321081439.541799-1-xu.yang_2@nxp.com> References: <20240321081439.541799-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0022.apcprd02.prod.outlook.com (2603:1096:3:17::34) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9191:EE_ X-MS-Office365-Filtering-Correlation-Id: 4d726d0b-b036-43d2-0717-08dc497ef1a5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YQv3f4mIhBwPFwZYSil+g7McDcnHpnBGbKDAc03Rr5sNlcxbp7cNBfxz3eUb6EuVu7GDRoAezsc6NSWnRJWOVMBW1VOO076yr1cS3YMxHJwXdIR4zGPDctU1YZClneFH660EUEuMa/x5MnEzUGAdrSohJqOc/rJWlBO9XXAO8pNDjFvB0j1x4UrrgB/o1yATq7xrdc2JtC3lrF5/wJjLFl7CZw9CqQACU21Ug9HrbDWJZRfyLDC38NmJe+vpcLKYQvCem3iV/G8Rnj19q4HZjs1wDbBTsinorFMXw5Ng2bUzbJSNKC0POUFCAlEjWCW+yHPNNuzmpJqgJiY0kNrduGXx5PAJ0KNh31uTY36ePUNykQVx3yefcXaqZo41Fcfdya1RszEEzF5NPTS683Ru533MG8WNfLNIMzh/3xAM1VgThyiqLshh6WjhH2/nVZCkBZPdUKmdw3EhVmdi6uNjJD+2TeCFAKB4hJAuqTENFNO5/US3mD7cLHRb/oMY2pM4zsLhei0c26sQExXNbmELwMPu7TFrtXBZXHG10Kc9sDsrsz7+FrJFeJwW1x0NaQ65NFX9eTM8f9U1jCGY7q83UXRMpcRiBY1kl0p/JrSRt15POBN2DiOR8yyeXT/5Iivle1Mbk5Sctu1Uo5nDjY8kcLoufdbOUH7A+z369Xplk+ceRxIz86cuQoINICgkuTAlvB5sD8BXhBSmWtwlqY4hyw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8822.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(52116005)(376005)(7416005)(366007)(1800799015)(38350700005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: rzlJnLBaHjN664fqX/0AEOozu+hTaGVdUsYKTEYrF3E8zLDciHN9fqFiZ5hcnXZvodNYzkM6zdqpHSX9i+4pPkm3QtsRbvYsYZUfyg7wohPQQdmGfPwwSlR2IY91ZA2BIOUcPNqcuKfVSGRl61pRu8r2mjzyu+2THcDmtEVChAxoNHwlzP9pV2aBcDNQcAS2If/sbz7RM2OXtiYYRPNhGvOmwuFxBNW5lQo+k/5/0wFDMNIJH8rl33t3OgwXT/1S2PzvzWN1OFpdTptBMJ7kVHcG7Pe1muCW+5KvoIoUGQ3jGrib9wC/kl/v+kfiOU4hZOXAWrt24yuhZYHjTMujLK8PIyLR7cNGS4z7SchKsIH//0TpN3nVR4IiEpsqOlPnF38A5ceexejVrhddNt9AdkRjsboTU9ryNXiRBc7TMcg615sQL2BcSiJ1/Fv+A+SMqLmz7lp+HB65JBITN57w1dcyXa3E8VH9U5j4JBxjm4F1vczNxBau0lgnneCXWSdOkJFd/UbrIG6HJc78y+CLxiOSKQDsJuSC2r/N4OTDKpm4gyVt/VudGG3wtKmV3phfe8OIA1dWpz36lZPDvpY2aJi7Ilu2FY32A1EHR2saxQ9+P5l2LJjE1O7Ep+KcU6C56f08Hx9lvxeKKOG9P7Kbncx1v/MNNZKtZP0PI1tml/1hwe+FY2zgZpIOFL2Oa+xtBjdlBjuBpgyOv0AzaiLkYvBeNtgmDdrJlUE0LLbSQ0zRmDjvRMRjKXHzHjyT2AfxKOOFOJb8qz8MQpCTrF1FU5W4UP9HzxN/B0WyvboK++rN8fpx5qTVD06JZX7pYfoItvI+QVh4gjfbKIgwZzfLpGZBkGjqiGTw/86bXh3FWewc6PmSA18UakP4rL6epxMiuT2C2bVXqYJBsQ2X/MD9hdvu6nx2cefhBX+DPwOP6u57tyTm4iGDdwDVYTfsT0JMCjuzPh3vZpbzgVbr0FUwSlQ0M6GyGTtScR5zMBvTD3hH+MEgLKVBEe58oEH23vDS4+FwGuATsXckVcwpgiBUf0jvw9o+w3A9Jd+qLjSMYcflMicRqTUx+5pxM3IAPbhf44uxPPA9QX3+6PGQt4kufQVSMzGuBq5BdxaGDr9dICyy/dd4HSUciELdYoR0/PrQwwxIK8FkEjjC/0j4hzIcyAFpWNRbla15hF+Be95hPy4siYvLg/Fm2U15YRxPX3j2VMCBfXmT8EkX/9vnO0fR6k+XqN8I6ivmUb6TKNTGAbuNd1H2sgHNgbvwYu5TkmVUw12BjtQVReejjkKjJRXItBP/gTakVqn/Whm1SpHTPFRgN+k8RtYBuUgX0w9RtLjvDPab6vxFUL/9h/MJPbbZFhCKfwao5RFohwyUXbSDwls+zlTuaD2LqvljkvxUTjBE2DfsNa9Yf3NiuNbal4cqxs7ZN0x0QQvZFL/vAXdJlX6yxKq7ufYciUQSMfM2NHkpHxgvKEgdb11o4N14pRjwwJfeVhfjWNMp6ZtEVXxr4oU0ehbt7kafNTwWEKG6IVG67eR/piRp5l7Nt5o0VkH5BxT+zBoxOiZVtBBuBr8cJq+pMl+aCxTmwguJYbQynyzL X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d726d0b-b036-43d2-0717-08dc497ef1a5 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2024 08:14:35.1615 (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: v02exq2GOXd/tE5uvWG96KijG+XrEI+xYqM0AGBBAsrRjWMD2kRyArdVe8V4Mjhs4d2wyN0JJtLb3tKTNcIZKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9191 Enable 2 USB nodes and add 2 PTN5150 nodes on i.MX8ULP evk board. Signed-off-by: Xu Yang --- Changes in v2: - fix format as suggusted by Fabio - add PTN5150 nodes Changes in v3: - no changes Changes in v4: - no changes Changes in v5: - no changes Changes in v6: - no changes Changes in v7: - no changes Changes in v8: - no changes Changes in v9: - no changes Changes in v10: - 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 Thu Mar 21 08:14:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 781795 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2059.outbound.protection.outlook.com [40.107.21.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0FCE077F3B; Thu, 21 Mar 2024 08:14:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.59 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008889; cv=fail; b=fhpzR+k2J2ptSojr0oxtme42j/LJgmeYO9NqrWI9IuriXiDoUufW8hs2M4iH7GcmpqWzJaF7+8uQ7sLdcJdcmumCJNIlIF1NaQ2zLpQrVHzk2O+n1wjXc/VxWNpl776gppXkdm35upkvoYcVSuwCOM38Aj3erQiIm9YgAzrn9ZM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008889; c=relaxed/simple; bh=HKgAzNYtDyIQm2RhMYsS5+zUBF+JVmrUYz31el0KN5w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=ND4yyZw0LL5mrsSconCPWpQZrFpt15wkuZ6BJjEuPPZLmfPKLuQvcrR4sp2UZQEG2RJ6OZ8nvELkOKTuGoiqTRJeXlGae/94yrsVZHqv0hvtWfeLTmbFVt+E/+9vdsmBcicZL+T22GBUrNJ+gzTZ6f4ounTjJeHy9WTaYDsEaE4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=DafXXMJe; arc=fail smtp.client-ip=40.107.21.59 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="DafXXMJe" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SwybwEykkNcnhDtmP51+JNiSRwnbyHPujt+2WJJDpD6JPOuiSS992kDO158tc+ZZM79NAG9QZph5/sqs7WcscSBmNYBGmii4gWkE17G60wOWX0L+vIcUuBQHjFP7k1I2LU8deSa2yfzKK/DFaIPJahL7QWz8tOS/9LxT0nYgFDmpbzKRUtt8ASPx84Ucw4XJhctMRbcHWJZZ4Oa+OT4JpxpGNwOcv3s3w+m5dEWEROSqq5A3U2UN2NBeHrLjIovCvLzrsYbxyf1yAc+zD0aAjTnTy3hUKqiVxo61fZVWu1SdnTWJ/X2WxfKF1GDyEE9G5mOFxtVxxya8j43SRDdhUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=E2NJpTRmPkwFMb95KaHsNw4/4jsuJe+h2oKUJPL9b7U=; b=ZhMBwifUtoEvUvNHuT6Q3nU57NJcn3/9/mBPKXa0DdwQJeJEh/qUDKSizBKhhLGnT35ERC8K6NZJSehZ8Te1jW5shZH/JIpFTtoUSWjAnyn9RelXm/Vvl9qkDnKxphmdhLQJHkyF/HPOB+oOayhmt3Gcshvmv6Ud7wIzWkT0QA3TDzD2kBrqLz7Nrx1c8GffQpcMabfxnmQZPaCaaLCvXmfA/JyLSS+PIi/gpuKgCuWZ7u1H2KSUPJrqtnqBZziLm8pnIibKsRJC7ro/Z0RV6w/MzTtqITbEDEU1gXOh2en5QjoxPGpOyrE7N1D3oO5kgN+r/HZpUeY2ZoSDqjXxVg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E2NJpTRmPkwFMb95KaHsNw4/4jsuJe+h2oKUJPL9b7U=; b=DafXXMJewiVhZ6nHLjRN/sKosfGq6jsnyRmD2uVE7xekuEzWO26LxeKFOGJo5e0FzJdxGbq4pwYs2JoLwXgXbFaRBrhPUaytOPavqlmXg0qHJMnLhkj7mZ4HZctY6AeZ7uDUC4KNa9PvkjFmTHUUi5zHYrL62szjMaNg0uPaNrg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS8PR04MB9191.eurprd04.prod.outlook.com (2603:10a6:20b:44e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.30; Thu, 21 Mar 2024 08:14:46 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.023; Thu, 21 Mar 2024 08:14:45 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v10 05/11] dt-bindings: usb: ci-hdrc-usb2-imx: add restrictions for reg, interrupts, clock and clock-names properties Date: Thu, 21 Mar 2024 16:14:33 +0800 Message-Id: <20240321081439.541799-5-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240321081439.541799-1-xu.yang_2@nxp.com> References: <20240321081439.541799-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0022.apcprd02.prod.outlook.com (2603:1096:3:17::34) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9191:EE_ X-MS-Office365-Filtering-Correlation-Id: 78a379e2-b021-4fd5-7984-08dc497ef81d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6hlQN0UI1QbtolXTLa/m88l9angV0qV8waYGC6IepxrRv3yYlJoIprfShh+cbioGG+WYXVaDUkyAfgA+fzBP9SOhlg6tDHdy9BMrpvaweAecikb1n9pIyfvbG0ilqC2dZAjT8ml4B8PZ/x39oo5fwYnclCGOCN2KYc/JRNDEhd+6aC4ix+KpgWKFERU0MlhoO4Zdb6HEvmvnkSakAdCzRZcAbp1zNKcd1cVjVVkxbQ+XwX4h9elfBRC0VaHhgO4JVm8ywAe+TEyMGCsvVvyGYmdLWX0Pub0RQUl7PqjEm8Z+nw9vQodhHBdMflJMrlIL+1gNZ8rdyde8FZ7nxajlQHi+YMVKb7bO4fF64EqqFJdNj9+WNUk+zW6NzHwoll+3+12dYVhWAsjItiYqz0zSRQklUQ12lB5ZNgGQ2qH5nblbw6rY4njHIrZNpd9uLXf7OxIVqYk6GK4dMJ4LjS36TuyMC/78doLdWyvnaMRbHT6PQPSsPvdf7aFwYHuvG4kMWeH71bZxNhgC3Wb3S6Oyc5LnwkzOHG9q0GAks4M2UvXOwcERjJPngUx3lrn09+rk3u9qX7DQAV2jq3FTNQTNwwjjCAIpoed5V6a6/E/GmIKEOC/2OyCC7MKhj+xeD0N/ItXTaSNjoQL8G0sPYqS4nCs7V75Kl6tPAIKLUnOfSXZZJdFPvdsd/952Jbg9uA3QDUi1yfiRJ6wO8CA0r6vgeTkfPe/jWiwM+slw4N3xP9c= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8822.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(52116005)(376005)(7416005)(366007)(1800799015)(38350700005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +EfPj+eCJOBRnwXfLaSH+5hyfBHLVLTxI3yvd/xgySCXil3l1N3hZVL44rUs0+SrD/6F+WKTZUi/Ktt/EL1gby8wiyJu5LmZynvnILxYnkUUI359Yvs2vlMGPE6gmfI+lNxnw8PrDIQE+QgV9QhS8jy6hpeXDp0qrdrfbNuQB6Q6f0OO/2XiqSspBhNADQT9BAKCRe+4gFKiQU9lRrsJqVECmrGQTETra3lZvNOVuI2FijITRXx3Eq+0WJYr4nLYZ08/Z5m1oRPtD78pD1oz1zUABax4ye+R5v859ibgPK//IGrc/B7Wf+6KcsNsZ9tqb2Izv8QWKtBEz37yYQRUy0RUntLyLmqWG9ebzzgND+FBxU/Xg2w5Fpd8S+W9mNUVh6mCDdaqqi1WogQRoGQ4Qp8qyIy0FL5LUOWyTcrM5jxt2f2HNnSxI0W/TZpEFMCxXzdS+ic9N71IuOQN6UrP3S7U9fdYPGZ7Z/MGJ+usCDq7wTXXbeiAxDN/peQdZY0YDufCtLLXPNlN6pM3J3DHwhD+aOs2To80b3qjv34uHC63b88+06/ds/OJE7IQ1C8ABVTckBhb/qSIvvUn0h7ErZHdt6h59+r+QGNDyesrkhjSlGiBUt4+/9KAqZ+OGWbPN2TDeFufXUBXG5kMpbULv4dDgVcqpIWKcqQXY4/Y4xGXazE/akUK78ADY1b8OLkxiSA9TpjdUeJRMbgqaoRaSL+Gpw3Y3RxpnNqcfO5HLz2MYaXu4Ajq3ySMPu/ymcu2YhBp+mp4L5QvEeGTmtIe2d/tWwBieX15oiKfdoN+uf8zqub2z3Dlad7XQ8ACa9ulutVjiaQecApYebb0ffoOxJq4iYqeiPbXf2jzgEytLVZYRJQyhfWl4JsO1USJNwSP1+5QoXLKT1PFW2gadDYlSJh2OWVTv0hi25M7rTCvMsW3gsKngzLj+KxRIhx2yLJEKMsm1TticOMctaMmPmezDC2JCBCv7Mg8hyND+uee4keCZpEB5wpHDBaOhd579Igmr5SIeuTkKRiCxN59EyTv+fOU+37Qoq3G2Dput6W1f5eqxSzZRJgcdLqz86wwkHQs8LtZZq2MEEI0SbNMZ1D0rP0ykglwO9kbI3AhoaVHvKoKlRZ0vOo8BbaNTi3CMLrqYdzYYX9xJfO4PzC18Q14FB5mbfvXiTG/5yM3lUcOhBj+soBYgDIBaRn75seQoxDe3sZwDwNry1xGWpZMeNrvEm9gTpUogPiUIPj8qFC9qO4oyBWS1bbLuaGanK8f1Y4Op1dkAZpPmeMF02n4tZj0RAxRSrSEDgbYiSNZCoNMST5wPwrcTiQN4EeiUi533f2Glw1D5C62qmZZOYjya+CPSQH+sGvwqJhbua9p/eC45xGCGkq/Q6HEEtaVnaD83mZkOE1SfYFwEck0V7yQ/8sfNAijbBGlzC1hjM1IqUODvRu+lWhBiV8B3/s4GKTB/4VEnFqi/QUsqyvR9fZh3clkXgeiPCOry6rKXjbKEfur8D8y8pWLVrDNeUxLNpjRYZejJLmOmAM8l5uIBEPlHck8i5pRcc9fcavjy9H4/WMPjXEe0GdTL6j1wXCu9BzkNAd+ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 78a379e2-b021-4fd5-7984-08dc497ef81d X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2024 08:14:45.9114 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gwQ87NfnwijPDB6QZR7lG6ZwDQJNkFD+sTt+8mWswOZY2O2z4OomAVZ6i+0NQpweZpgIjuu/sl4JQUTQ8JBAmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9191 Add restrictions for reg, interrupts, clock and clock-names properties for imx Socs. Reviewed-by: Rob Herring Signed-off-by: Xu Yang --- Changes in v4: - new patch since v3's discussion - split the reg, interrupts, clock and clock-names properties into common part and device-specific Changes in v5: - keep common property unchanged - make if-then more readable - remove non imx part Changes in v6: - new patch based on ci-hdrc-usb2-imx.yaml Changes in v7: - no changes Changes in v8: - remove if:else:if:else:if:else block Changes in v9: - remove maxItems - make clock-names if it's not needed Changes in v10: - add Rb tag --- .../bindings/usb/chipidea,usb2-imx.yaml | 76 +++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml index cdbb224e9f68..e2eb60eaf6fe 100644 --- a/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml +++ b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml @@ -49,6 +49,12 @@ properties: - const: fsl,imx6ul-usb - const: fsl,imx27-usb + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + clocks: minItems: 1 maxItems: 3 @@ -144,6 +150,76 @@ allOf: - const: idle - const: active + # imx27 Soc needs three clocks + - if: + properties: + compatible: + const: fsl,imx27-usb + then: + properties: + clocks: + minItems: 3 + clock-names: + items: + - const: ipg + - const: ahb + - const: per + + # imx25 and imx35 Soc need three clocks + - if: + properties: + compatible: + contains: + enum: + - fsl,imx25-usb + - fsl,imx35-usb + then: + properties: + clocks: + minItems: 3 + clock-names: + items: + - const: ipg + - const: ahb + - const: per + + # imx7d Soc need one clock + - if: + properties: + compatible: + items: + - const: fsl,imx7d-usb + - const: fsl,imx27-usb + then: + properties: + clocks: + maxItems: 1 + clock-names: false + + # other Soc need one clock + - if: + properties: + compatible: + contains: + enum: + - fsl,imx23-usb + - fsl,imx28-usb + - fsl,imx50-usb + - fsl,imx51-usb + - fsl,imx53-usb + - fsl,imx6q-usb + - fsl,imx6sl-usb + - fsl,imx6sx-usb + - fsl,imx6ul-usb + - fsl,imx8mm-usb + - fsl,imx8mn-usb + - fsl,vf610-usb + then: + properties: + clocks: + maxItems: 1 + clock-names: false + unevaluatedProperties: false examples: From patchwork Thu Mar 21 08:14:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 781794 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2078.outbound.protection.outlook.com [40.107.8.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C62469970; Thu, 21 Mar 2024 08:14:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.78 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008900; cv=fail; b=URyls5h11T3BIh7tHPcxLvPUA/CquNgo9cHqWrxAMJ8+cSjTDuje/SF8YIoepywB4blCGgQpKh7ysX9EiSjLhsRVjpwcTLLj9C2+sX+wnrsWZMyZ6mcvNS5qvf+miQwKzTOKQjcFuJ+8JT5QgIuIiBotQTgnOSCIh6R70YN9pFw= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008900; c=relaxed/simple; bh=cFi3KbPROo90LiCFpBzTeUofuqj6AupRHxHVAdPiRvg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=AueCDZYCs0pUVbDvt225JQ4aJqF8kcn1tWgb5MCVW7bmx1ZZUEkMslpNoIoYugne6hZfikBO7y74lkPx8S38rDILwB2iH7t111LX4i7tRN6I9Cl3MLaebrdbWEzITmpdRCiS0bYmJ00KqyYVthS1hdNN4AkkbMR16rvdJfAXGQI= 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=Mj93P3Zs; arc=fail smtp.client-ip=40.107.8.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="Mj93P3Zs" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BsIsV18mv/o8TBGzQX/YOYKZ4hLZs/pwSGDZP288VkzNZxJcawaIg97tqr7KNQdn19bpG4Qym+MLLfwg8vGtNt+J26b9QgEVJWgGYFS1p6QckA1VTdaEjk70qqfeOWduLvlHa2byGrEQ/Tb/ArVu5uStNWo4d4a1+2P99Ql2p+91o2u/DM85SZRXkJR9IjWjbmyR4xiPMN3lyD1lCvSpaBP/2AenEBrmKG8pFk1i3TYILTI/ywuxw8LWnw/H/55JEVJaH5chfksh+3PrXZ5IGLBVAZHQQvs/4vAVtjrytPaGMruiA23MxkMdWyfnjiIKu0mjgX7pE7b7/N7Cm3ddNA== 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=EHwvn+mELqtv70ZZGWS3Wqg/316kv2JpEPDyNDxuRmc=; b=ODPK+VllTHtyrNaAa9BRabJbIM5/DKyRfacoqqesw34hEmGNd9MEmZTf4J9HaAq46Md/n8v6Bjv6CT8hUns9jklMsYfU8CYEMQeSFis5UmFulxgeRNfQf4yE7FRA0Cv/8p12sodtkvpDzbdfVWY/c2luLWoir5VpC2Bsjt7pL5c+8NHb1keLQgQiIr75fReM1eLGYOIPm/CKX6Ct8mGK02T7Vk5l6pgEWO+Ml5RM6+1KDJg8V2PzZEdxt7MVt4OtRhs1SfpzKKL8wza8jQFjaUpASv6Pj/31YxlH46+bRvkvFA73JWWYeXup+NPnLk1eX6W9UOtOU/p+JE5SaTH1Xg== 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=EHwvn+mELqtv70ZZGWS3Wqg/316kv2JpEPDyNDxuRmc=; b=Mj93P3ZsWPqja9SzQ1KgYfFbwqQrxtcS1i7Q436KwYyKXVJotma6LoCNZAK9rDlMiaRWjnRSXBVl+gQQ5SYEs9cvjwSqV3dsYbk2r8v9tOdSPtekxP6cWrGJM0hk2VEpIbDe/K6G8RVIe36pZ4pu95yTlMhIXcdRJrl1HRXLZcw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS8PR04MB9191.eurprd04.prod.outlook.com (2603:10a6:20b:44e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.30; Thu, 21 Mar 2024 08:14:56 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.023; Thu, 21 Mar 2024 08:14:56 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v10 07/11] ARM: dts: imx6: remove fsl, anatop property from usb controller node Date: Thu, 21 Mar 2024 16:14:35 +0800 Message-Id: <20240321081439.541799-7-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240321081439.541799-1-xu.yang_2@nxp.com> References: <20240321081439.541799-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0022.apcprd02.prod.outlook.com (2603:1096:3:17::34) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9191:EE_ X-MS-Office365-Filtering-Correlation-Id: eddd0b44-204b-4ceb-905a-08dc497efe5a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LXxYNOWSsh8Aoy2d7qU5UqytfO5Ek7BFVk+jPcgzank4hVhAqS5unmNv05WrG2wJCaISnvlhZrNCgvKzqHdVm9LXHP/O+jXiDUbr5/gZIpjJrk811cM7d3V4dSB3Vudm3tYAtnpHBg7tF5LSk5Bs4QkVwV3HWEPEVhoiKgaTjt5GmV8Q5Xo2rVSruBprbXa/Jt1OEgM8d0w8KyOrkvuuUYd4jkDjoGHgtP/DJYBvBPqKXvSzZ3FBYp89Di3bWCJkvT6gTHqyNJfWYOP7coXhnWpPJDnXTZhkyYG8+2LFzn8A8Omb1XGPKf7QeV7tbzuwWf8dLVTGGobal5zQc6z2yLZ/1lsb1K2bz2B10PDNT6qN/FMhcgYirG1tO9yPTe/VeXHrkdzkVHJQcu7wD9uKBGaWlXlVTy1mnFc8AyNy7h+LHrAdMb/8ugCsTrG2MCvFCqkiLDqP5X1xNwBVcIJ3lf6eWxxqXYsqYYia0AaHy3Ttk8oZyQoCe26x+BcxYvHngcgCKgJs/rxgbrwiWnNI2HASS2DL9dwn1ySLyhyGEp9+s+jxiegdmMnm+CwP8pECnDBBV3dUNCFk2OY3vcOx0WMCjgVSscgExmXIcnHo8sNReDxVFeqwrlM3yyvKgxuTlZQRD05O15AolyHTRc3w7Mq3sR1Jj6Y1JV4Wp/AO3gQUnASDOXORQGaNWjZHyPgoGebcLRgLWT0lMUBTfnDx5g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8822.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(52116005)(376005)(7416005)(366007)(1800799015)(38350700005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: np1XuXGgVRKojaqMPzEOo1PpRjZfAmW7YGecM4byMeQr5tPXCEWyffLXF4MPs6LwAA6S5XPFvJntl8KIfwpJtdkkIaDiZnNzyFpR6hQCEEo1NGs2H2cZLMDW4Y65eprYi6u0Pd+2qlwuNe0/AY/x4tZppE95sngA80HxYU1XA5nzizr0UBrqKX+Yb5tNUy+3p4+39xTkQkmApqBfqCkjt/YZdt+Zc3Rd6CrfdyvyOhFOinzgcvD2uNMnBFCgnWBgqJoJ1J3ccHQRGwls5+2CW2TGYoJUZXXkQVeI8wL5meEIgrXZ9EenayrjmI/p9YgvJo3oEuUqzPisOXhCMlZ6pZTMC/ieF5Fq2/XsEP8av3Gej95Q7PHM0oAvaCSSFQOjYgt8ZIsdk/w3dRdaFZXmrcBuHoKLJPXrBPuuxAuFx4RG1lIZFKLidmmuhFoKMTFP6mMHfKLXj7tujzrK3adFkdQYRDP8GP53mZL19SNNF8Ml/sDq44acHzMqgm0tC0iV80s7sRemt26k6FJoTzY+5mpbJVRhAt6EPc7frzkoq7NVYAMKXufCDGS0cODsqmgHhlze59ohU8uMmg8fCevmtR4PbQGJYYER+tj67yyHKs7QYaBlp0mpFbfJVTBkzTzLxuaPe7N8QhtarZQHwZTRWfxGp2vyjZE6hJeMDEljbqmsrq1QmXqfMutPFei4egz7+hiqGV7FEgDT0KJ7S7lKJDof9UzAlyHlhSj7wTZMTkbnQRhYXbfR0Gc2O6yy8PcHrgwnx1jAdclAclCRmMgp32pADgPWnTOrkIKirz+3oK4APAQfTp4sZhKd1Jz7tpC9Y+6N0zY5bxHIfibtqTp4gWBlR0zN4qxhOqwdipkGL1R96/+79zjx0NLbI+voWHsTrG8hhzQX6UKgMnxxWhPOJm0DHIZm8UYYhIT0LrBJPYDv4h1pBLpjM2saDFT1bQqNB8ZWlOfqrKxSSXZDmVir+W/jeW78BXwetRXrvN3yCBqskB2dBnZabhx2P999wCKEX8JyaSL5zdT1qsLxgaqHpAcLwdxC2aeOLJ6gYSEmC5l5CSHCDg4aWTng1PWV8ZlIkNw/m1JsXlzQb96pW93ensQ2JPnpVW+dmHSu5wC5bJafDjzyU+f5VBrjz3/ainQxYlKMMnvVLL1K8iLGUzo06YHvreBOg+ZNRZRJkmhqbTsSpy45bZuWzHPX16UuqqKOzrO40IhbYDifP+0Ttfv0i8vfEyZQVKLVwUKROfiaMSgoARJgkuhaJHicH7ODk93h1G6YC6ooe0zZlCQbs3sqIAclUS0Dsm1182Q59zI6ICaGIV2n3+XEE0Oe9HV+FKJ1O7uaRfHI5NT07OrbhT+6Mw2TDeRW/KLzTHMxiUSWAg/YKAdvMthI+zzDfQZPYelFVErGUejOZHzJNqqupxvKH31Hrp44jKoEUKjUClYe4Rmh4EWkzJvMi+NtbEvC2aqWbc044aNJVRVO+Pt211T7ExhalDXelOlbsWvLGXk7KDqHzFxw8hqAvhCe/fCZeYO0vugcSoIgjAzP85kVhLvFpF1RxDWxaQzyq1G2AGE7UPhu3sJm3losBFax4j7+7NWV X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: eddd0b44-204b-4ceb-905a-08dc497efe5a X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2024 08:14:56.4709 (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: a6wspJZB0toEZlLtrTzeQ0yQYykNwOLjrZLL+Sfs1Y2myrwbXZNYRUSgmj0x+E8AEuBNHVF5oiKrkrcoDD22LA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9191 This property is not needed for usb controller. The usb phy needs it instead. Signed-off-by: Xu Yang --- Changes in v7: - new patch Changes in v8: - no changes Changes in v9: - no changes Changes in v10: - not remove fsl,anatop for imx6ul.dtsi since it's already removed --- arch/arm/boot/dts/nxp/imx/imx6sll.dtsi | 1 - arch/arm/boot/dts/nxp/imx/imx6sx.dtsi | 2 -- 2 files changed, 3 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi index 3659fd5ecfa6..ddeb5b37fb78 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi @@ -683,7 +683,6 @@ usbotg1: usb@2184000 { clocks = <&clks IMX6SLL_CLK_USBOH3>; fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; - fsl,anatop = <&anatop>; ahb-burst-config = <0x0>; tx-burst-size-dword = <0x10>; rx-burst-size-dword = <0x10>; diff --git a/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi index df3a375f0a3e..b8d95957ca09 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi @@ -929,7 +929,6 @@ usbotg1: usb@2184000 { clocks = <&clks IMX6SX_CLK_USBOH3>; fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; - fsl,anatop = <&anatop>; ahb-burst-config = <0x0>; tx-burst-size-dword = <0x10>; rx-burst-size-dword = <0x10>; @@ -957,7 +956,6 @@ usbh: usb@2184400 { fsl,usbphy = <&usbphynop1>; fsl,usbmisc = <&usbmisc 2>; phy_type = "hsic"; - fsl,anatop = <&anatop>; dr_mode = "host"; ahb-burst-config = <0x0>; tx-burst-size-dword = <0x10>; From patchwork Thu Mar 21 08:14:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 781793 Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2043.outbound.protection.outlook.com [40.107.8.43]) (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 DD66879B90; Thu, 21 Mar 2024 08:15:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.8.43 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008911; cv=fail; b=Ive1DFhRf1oOmIZNGzRfJQmybTGBVRpl+pYRgEC10/12y1Wunf4I0lRKpDPsryPfRRxdseiXKnjmDSEwp2oCnqMmn8ZhJHxpjdmdvIqGoMj/Q2z7flmCixcyLEHIde3b/O+9SbseA3Ra72dUfRlgyM07hAdHlwiJsTWOsmsQ4kY= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008911; c=relaxed/simple; bh=YIEy50Oo7MdoYcfbIKu0NDEXgJ9FWh+HQGRR5McoaOI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=np/iNsd6SHtVOu86OYej/8eAa/vOc6phlJt424Udf7uj09O2V2KbSrKTxW60T4wuR6F6TSnI7P6la3bM5x8A1Aje1uod9OpRcDOqqtEgXhzxmNM1WDgPWtIAQ1poLguiOflZmudpvBuH0JFnQ5TsDeqhnUYxvrFZ0Chn/qrhfsY= 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=Yoro9lSs; arc=fail smtp.client-ip=40.107.8.43 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="Yoro9lSs" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jA26z1oY9j08CmKvI4A2VJpgMpy9sVxIxm3BzycqcdWeYtjSPOmz9psaTw+yPHC1TV3k9CJtdGnqv+Xzy9wA3I2qBnOUrcUr7veHoarmDFNPtkcORPNE6CIcq/Kgg7w/f/YAT3hmeCe04QOn81ETkx9BBnMbIybJgzNXxWQtOpCBNke1RtY79aD5pmFwpJf7f4NO/U8OESASTSrCEw3eB7TAqajhQkg0F4ynN2BnsrxHFt96DOsgRASZ4wdIpSasqOP9VbmAwZftCOYryqQAi8uQbz5kJMUJB2xllQPF03RdAUPiXCG22hEcTeIC6hCrytkDxBKXDtpn/sxNf3BUbw== 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=RKQnJhCdyY1RAh/c5O1GjnnLfAcp4SpZgusPVricJwQ=; b=GM6opdiNDMzdFHzL5kxaYrcF37CfArckFZPlh4JZI8/YVuWaF2nBxwSdcmFzRgCy1AJaqu2aw+WSunnXLpL2msLkAXeUw4ADUaHCCkYE41FfbZZSAEdvVzdlWz5WtGvqKlQUcD+pu01qJQjG7TBDiiAxWj7FAK5f0/jydl7/EpZ5q9UJuFWY3t7SfeDGvAAI41DmnB3Wns1H2qDPUAQQdOOEvQxFvA63BNkOv4YEFoI62BhcFPhCDkWkPNGJYgiBPSxulztb0eR6DzZJgJJ4IrX9Jc9UdRIi8i5WzO9eaYJVE9T9sDDb0iZMxWr/6ksSGQKjCTD/2MZjoln7XdIKmw== 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=RKQnJhCdyY1RAh/c5O1GjnnLfAcp4SpZgusPVricJwQ=; b=Yoro9lSs408qxAtyEh18SpXFkBLNOt4JcjY85NBGYyEwLXkqQnjWBUKPXAIb+lMEmVyTRSiZ5oWWDJ6vP3fpsDIb9vrcv9jZ1M4f5SLTPyUQgnPjSXVwyht8FWc3lHGYziIvw2iMXHMwDIL+93Uu0Nbqo3A8pobEA7Jdz7GIang= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS8PR04MB9191.eurprd04.prod.outlook.com (2603:10a6:20b:44e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.30; Thu, 21 Mar 2024 08:15:06 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.023; Thu, 21 Mar 2024 08:15:06 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v10 09/11] arm64: dts: imx93-11x11-evk: enable usb and typec nodes Date: Thu, 21 Mar 2024 16:14:37 +0800 Message-Id: <20240321081439.541799-9-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240321081439.541799-1-xu.yang_2@nxp.com> References: <20240321081439.541799-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0022.apcprd02.prod.outlook.com (2603:1096:3:17::34) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9191:EE_ X-MS-Office365-Filtering-Correlation-Id: cb1115ec-740a-4e08-0976-08dc497f0479 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WAGaFx1fuJgb8tKnNH0meIqphnjd6L+CZTjkc0fVfoRAKBNe8c+V8fsfgyOMe8pJV5QxpgFhNWnxF3WdgLRsJ3iANmnrINAZYncfOScjl84PXrXiEXmtiB+aVV5uOJmzZgDX81zfcq32e3C3lRGrGEeVFAFZDDN7HuDMajwXkZ9oAeu/6/+wppz6pTwkYwgx1XxPRr8NPHkaP7HUHjN7c/G71pjDZGRYJw38JrHexUInC20TABNdW2XjPVbZeCjk75qAZTF/AJh2v8nPMwSC9lpqLGk0TZe2y7Amqoyu/iGsF3SGD3OgUngtuNRi/zi9K4nDmC/djpVTAbiq2VZDPdzz2o248wPBS9nD4W53nud5idFHkY7IqhkuyPvG4/vKDbYixNpEVv4ZbzgV6XafVXoYJ/gc+AKdyu/bDklscGMF5gfqewwCD3wUkQxk2i1CIM44BJuNMrv36EuPiZ3OhcA847OzhQL9WSOnL8NlQyDgu4lcNGpZ3Nmr2CtriLPspj4M25Zvjyag1bK4KYODHBt5gFj3JlyIrbxf/Vt5DS/8lmwsInR6A++wpEUnMmiKJ+cEPNjFQIJrwRCVhfYrziLld2wpaXnuUobpTW6wBacXXZjVIvTex3X0V4gtg9g6ODL1c7rPjymK28jtvaJ8qr9yHyypf0AOK6+r+uBls46AMmjwRyFeO40rggYZJVkiO5+6P0PddiNcG0XfrRuBfA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8822.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(52116005)(376005)(7416005)(366007)(1800799015)(38350700005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nbSKh5rOV/lEAB7aY0IZTHFgAblihNneOG1kTMgFTAHE7XT1JY2i3j0XihlVDCAtY+C7NasHwcQdw1bqkYF7ReCpgac5P+LaHzXpQpnW9mfik+dX7JdqY9T5+9VT9ewT6nbhubKJLcsGHcYy9NWlVM4UXGhfJrUB3wYwAwlqMa4OoVm+58miOCp3qI2BRprjQYXHLVp2b1GA37/zqsmotqAyBqLQ78rrkcOIF1SXwYcxD+cAs7leH/qCEmAaihpCdReIWa4WOu8SWWCFnsYM8bpLe1D+vgQFTP8ZsH/ra92ZoytZ+PtnKZ6K0uPsPnk26oHN6pD3cQaSrpcy44hLbhkbFmTQg6Bybn7TSivRj7hnUKlPaKLAgtk8m/o9nrR593l7EZx7+5yqxmKq3vZhM2F9QoVE0od1Kc+AD3qPZb1S5XZDW9uNPqlSm/HglqynxKx42z3dyS3knc8BG2ljcCkFKZ3/sVCAOHGtbXwdxW2EQUgGlbjxJbd13ppsz6iuOCs39AzAEpb73OCvsDwu0+FHVPEwtgvy0eSxsvZfy4Ch6JFi7d8XotHJ5AxEcBkq2Fkn382bnL/K1nMuIBwe93c0mxv5XHRf2Uo1gCEu+NkG5lWwDJ3SmTvfoB0npvqE/PyJVAy2hDmo5bGe5x/oQEZqpVcB8fuOuhN2BFoGu9IeUBTPs83WaYpU0FWMvVBam1F3JToW4sDMOnZvWZJsiaNs4gcyX8DheVZvPJ61cdH68nrxMRhRgT7fRXK2/tEyEGdHQOd4Rw3lrW+O9ja61NYHOd864sAB3MJycnnFK+e7D+pLQ3seqc5zov8CtAzdhyqYJKeDnQCA2+cP2ADAc4YMMWTYVDGoUMAgKeWcZYlEzKoxpTxrfiRgHETJMgEl4cQXz8ofbPPTZ1IqiNMsnRb8iaw4k5LMMCH0V4TJ1IbYPth/eGBzfeQm83XK1bcN0fzQ7FuYB9yAh3XsC8vi/V52PEHcsmNYj/sUHeKbJza5lqwcoVnfxK9qn6B5i1fnI9qA5iHjr0tUf+CU7IqWrJ0RuvSwYdLad2F43KA6QHU6FQYX9IjVATqS00ygvE8r6ugiDqbJTEl4tLzy67S7X3OWLfH3kqxlfXWIZZD0oTYIuP7+/ZCZhefTt5adgpHpYOn4/xiDTZT/jcyu1yiroEogwAfGk4eAogf3cJelz2riTvRcAJ1f6KGkBq6dxiftIuYwaqDoVwHOqn+eG49pcSIOlCgm6h3dz7SuKhL4l/vPMOlq2HuwicIWWU6utGZN41VVVA52NRneCcGlEfI6Rl4QL31wwNu5KLb86O9y5E/Qqw6EOqG5YjZh9Xgk1kaqbyq3jurPvlr8oX0QGP95Eqlu67BEdUMPs3bVWE3uklEoFVl9anJjCZ97jjk5Hrg4sqyVgzJbGo0+nLyJJ7CjDszJtPpvWA08hukYrfpppC9u/cqi2eXZ/2RwNgXoS2HpZVVaUEMH35qO5VIfvpNR2MHj3G/T1THsRI0mi8uJR0lcrDLHtpZhhZXGuHobX3TsShaO8vjQ65mxAVR+xBfgGbwsyyXMrHTZInaFfKnZOz8FNtMw604qTrjledHbaTlg X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb1115ec-740a-4e08-0976-08dc497f0479 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2024 08:15:06.6737 (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: 2LLa292bsHb7KRpSec3dYmXM8/bIAsrOUPEwrOgqlZRhc0tlPKF3BSwjlMtB+7N/TXNzCZXY+qVlln5/qFPu0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9191 There are 2 Type-C ports and 2 USB controllers on i.MX93. Enable them. Signed-off-by: Xu Yang --- Changes in v2: - remove status property in ptn5110 nodes - fix dt-schema warnings Changes in v3: - no changes Changes in v4: - no changes Changes in v5: - no changes Changes in v6: - no changes Changes in v7: - no changes Changes in v8: - no changes Changes in v9: - use compatible "nxp,ptn5110", "tcpci" Changes in v10: - 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..ecc01d872e95 100644 --- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts @@ -5,6 +5,7 @@ /dts-v1/; +#include #include "imx93.dtsi" / { @@ -104,6 +105,80 @@ &mu2 { status = "okay"; }; +&lpi2c3 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <400000>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&pinctrl_lpi2c3>; + pinctrl-1 = <&pinctrl_lpi2c3>; + status = "okay"; + + ptn5110: tcpc@50 { + compatible = "nxp,ptn5110", "tcpci"; + reg = <0x50>; + interrupt-parent = <&gpio3>; + interrupts = <27 IRQ_TYPE_LEVEL_LOW>; + + typec1_con: connector { + compatible = "usb-c-connector"; + label = "USB-C"; + power-role = "dual"; + data-role = "dual"; + try-power-role = "sink"; + source-pdos = ; + sink-pdos = ; + op-sink-microwatt = <15000000>; + self-powered; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec1_dr_sw: endpoint { + remote-endpoint = <&usb1_drd_sw>; + }; + }; + }; + }; + }; + + ptn5110_2: tcpc@51 { + compatible = "nxp,ptn5110", "tcpci"; + reg = <0x51>; + interrupt-parent = <&gpio3>; + interrupts = <27 IRQ_TYPE_LEVEL_LOW>; + + typec2_con: connector { + compatible = "usb-c-connector"; + label = "USB-C"; + power-role = "dual"; + data-role = "dual"; + try-power-role = "sink"; + source-pdos = ; + sink-pdos = ; + op-sink-microwatt = <15000000>; + self-powered; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + typec2_dr_sw: endpoint { + remote-endpoint = <&usb2_drd_sw>; + }; + }; + }; + }; + }; +}; + &eqos { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_eqos>; @@ -156,6 +231,42 @@ &lpuart5 { status = "okay"; }; +&usbotg1 { + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + usb-role-switch; + disable-over-current; + samsung,picophy-pre-emp-curr-control = <3>; + samsung,picophy-dc-vol-level-adjust = <7>; + status = "okay"; + + port { + usb1_drd_sw: endpoint { + remote-endpoint = <&typec1_dr_sw>; + }; + }; +}; + +&usbotg2 { + dr_mode = "otg"; + hnp-disable; + srp-disable; + adp-disable; + usb-role-switch; + disable-over-current; + samsung,picophy-pre-emp-curr-control = <3>; + samsung,picophy-dc-vol-level-adjust = <7>; + status = "okay"; + + port { + usb2_drd_sw: endpoint { + remote-endpoint = <&typec2_dr_sw>; + }; + }; +}; + &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>; @@ -222,6 +333,13 @@ MX93_PAD_ENET2_TX_CTL__ENET1_RGMII_TX_CTL 0x57e >; }; + pinctrl_lpi2c3: lpi2c3grp { + fsl,pins = < + MX93_PAD_GPIO_IO28__LPI2C3_SDA 0x40000b9e + MX93_PAD_GPIO_IO29__LPI2C3_SCL 0x40000b9e + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX93_PAD_UART1_RXD__LPUART1_RX 0x31e From patchwork Thu Mar 21 08:14: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: 781792 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2052.outbound.protection.outlook.com [40.107.21.52]) (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 4ABB477F04; Thu, 21 Mar 2024 08:15:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.52 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008922; cv=fail; b=hDphq/3j3YPTb0kz2zeJGmHIcwnUl19venY7UJWQPJ0GOLG209njzgO6xT5UoFG+ggpJdY4xU0vJ/8KnZiPXMC25czsPtkYdOrURsBFlFW11vOmKujfzdIF+UvqO6eHtNJaRkwR+Hxt0WGn/IHMPWgjO8l30iVSH8HDja0R0Xl8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711008922; c=relaxed/simple; bh=rGFPvr8r9dTrPBNEP6IuigFulbWkfsv6cDDw67HDwi8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=JA/TpkJ++BbLRBIo35U7yFdu3DYB7CmBmeGS6g/RYfybXnNuu0mxB454eCedvnKd9rNrKNB1Q1/5Oopz1ZR8tzCaLCLy0o2HFWHWy+rfJu/jbCfHWTAp/j5HQ0yuUMaCREj3f5rm9CPf8U6d1WkqB3y+vE91aj6Z5LCKiepBT/E= 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=QAKRAPvc; arc=fail smtp.client-ip=40.107.21.52 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="QAKRAPvc" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NSBesQ5UiRATwjC7I1SjBKhxJleECTVrNXlvni4HJkYNcNZC21SOeVw0w4HSwUV8ZJ/3DAEuG+QjFzNgp0uWUf+RPBT6R1MpS9oxeJNSwZsgXU4w+GfG63iF8j15Nj2vgMczc6O5uomji/UloLCYR81Y4TjG7rPmITF7UevzibiBjtvKFc4Pxwf9ygeAgeSc+pTYjLSknwDAwI3SB+bcYNsqeWCioD/lXrRKQcRKEWh0PHJSkzw7RFZUZRddpEPpiyvLbzrwYxh7wXlXTuxqAw2D0t2259zwYKjvClegP9Z7F7noU8yLeUjhks4o5HgLKZNSRN/AJ4iej03k3kWTXw== 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=H3aN3mn3/1byl4cCx2AzlLt7Mf6/QUZrln6qLM161qg=; b=dVsHqMKMqrlTBktpSzn2mM3Nisc/DuFHx6ITYeqXmOhbblFIgCXtuV4hwl+ZK38DFgPV93fnUJ5VH7GQtI0TFRKMI1bBxVyEpOpzXUJw47Vf7VTka3gbTIX1OYAdJUZ3oROhYztSUZk+i+IPw2Do2GsvduwH1g5KRfMDFXCUY6JR7z+KEfO6OBaTn8C0OlrkKt+EWzKx40+EK+SWwYbBNQ5sDT9Zt8qMmYaqCkgtu9Bf3xrWOgMP9HpG/6ewRZp4xIFPytTmaC7cavXvnyM96HJIp/jOznUPWJFmqZbHiNq3CivCXEZ7IA0ZSq7cx4lKZ8GRQIWJWqqACi7svVwqsg== 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=H3aN3mn3/1byl4cCx2AzlLt7Mf6/QUZrln6qLM161qg=; b=QAKRAPvccJEyqKZQhZSvliNGiEU9oul+3r5WcmWwaHcoQbkCRqw5FpCkmqg7hB+2BkRv0/kPK1h0Dh1R6qnQC78Cr2nIDO18KP/TcHGkfPorcyiYdk4H+6zhNUh8jTcXlT21Yvx8cZehZsx+c+9OvmcduxJg9mYXyNJnG62ZA9U= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS8PR04MB9191.eurprd04.prod.outlook.com (2603:10a6:20b:44e::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.30; Thu, 21 Mar 2024 08:15:17 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7386.023; Thu, 21 Mar 2024 08:15:17 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v10 11/11] usb: chipidea: ci_hdrc_imx: align usb wakeup clock name with dt-bindings Date: Thu, 21 Mar 2024 16:14:39 +0800 Message-Id: <20240321081439.541799-11-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240321081439.541799-1-xu.yang_2@nxp.com> References: <20240321081439.541799-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SG2PR02CA0022.apcprd02.prod.outlook.com (2603:1096:3:17::34) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS8PR04MB9191:EE_ X-MS-Office365-Filtering-Correlation-Id: 11b2b2c5-4670-4491-bb8b-08dc497f0ade X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AVOHk4c80K79x5Kmh/czX5jLUrE4uGxmBUySDG0rHZ5LUA/kaA3bylBWJyv1/4qtgrgjjaO8EgQ7u60TizlYai7AJVfDFYQ/3RukDwjGpIUwWISTJie5eFSFNQ3L0N70DMTAWsKHICU2QKqj08tG28jj96+zU7Prc4pHWxrTt2UD+44ptbrrgVDQggfepjAA9Y9WsAVLjV5eco5c50THluNr7w3+02PIh0sqW/3wumyrFMZw3KqzN8M53DYPIG91TpWElSeLqX8sNCsffDz5KH+v9IYNDm6ZjN+Wk7i2FV+XLUPlLmpKc2V8ya/B0uyS8Guzbm5EpUncQdwy12AebHh2VwM9jzuI2D2Qf+PRdAWR33VA00KSYgsNxf/Yx1coLurj5IX6hn7CiBU8H7Gb6/thCMdzMZCfo4aofYVB/HzXSJSqz8/voqoKUWtK5pKHNfCEVxyvWu2lZ2bIxDaUydHxTtGhHK/lrcfZRs6FqtRihgNAWR/thNrH3mnkXJGBGZ8+qLNJrrAKDdpfo3aTH7jqBS2Crfi0Gef014Go2uNiiMjhcI61k0Oo/e5IfspWqUKUqHujFCIP9CiIc0DUChkg/1WLKkgup7o41wsjcjUVy9Jt3lutrDN4V0QUP3fSGkg5AsUBefBBqI4RIxNpY27PWDNSOxYgMmYMdD0wbm1hXXVqZZaOqqMdqAkAjleSRudofGwrV9gsGI25VeOfVOD791tCH5C5un6/w+RNSwo= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8822.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(52116005)(376005)(7416005)(366007)(1800799015)(38350700005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: h1hwpql7VFXicOYsz1k0L7RfSAp+GuxUT2u4zy+WTORTolY3dC6GnAryyZ/gJyX9kXSMkeSOEmcwvbJ2LErZFGEO2hAWQh3RVuY5n2Uod0VR0pAiDuPORy9EAcj+FC8eTQSFmXtTNytPh13d1rT9q/ayNC507lpd8NiX0mph0fqgFiHZQTDl5/pxotARtlQLCsl8m4kVnBANZgJufmPFcIFyDdKBk+1ICgP61rFUPgmPixMqyhFjJ9YbcmSmlP1EBVGHCyMyQTNo84S+F2FuCgdywWc+xieONGLl8XuDnTGyL5Bbg32BKnk22SJAspIMmyuQn3LP9NkW1ts2OQHaUDubF3g23narKa9QG5Jwx8S37/zXUOfgvxjId2pj5QYzC1a/QeK6PBe825dtvcRd9WUrIGu53G6dVLdeWDilqI+ZtnQn965F4WXvI7cveo9zA6EHnzbFTq9XsRs38Ccx0pWxO8t2Olh35/McZbdYJWlxO94cI2vlTMp4T1lNJFfshm6szXXtOaVEFA8IHlLHNkPg1SaOv2qNw9Pada4W5FnDMVPmLqfhIByISXL8aNF565eg/y4N6qjDl6BKIBxGtq6lLLao41S1XaD26tTbjDzgNf2vOzKIb+byRA2HxU0tUwtsDmrQKakFg40lWUlSFGkslh1Vku6dfHB964mFtDr4aoC/gviUnD6XBu7tawSF3+8obdUDMGyYksf6660AFxzM50dvwB7PHzIpeLBg9cL5PdfgAwbYj4PDWP06+zP5ApMY4qgqTzg2xhQjXaF9Fuf1iH4z+H6DtADPFLFk5sKPeDPHI6Bx2Y76kqOOSqD1YBEh2wxWuZluoecSsXr8Da+uuZHL/Fx3s5A7wPuZ8CDB6P6kyjQC1PS/zCByq2txQLPHMh35midVCy7xgGiml+rvb3iq1A7hg+kPpuJHcvPPGxriYl/pOUpU4Z2zqxvEaZQepQsmQZ+sjtD8VcKO1x/houDF2QfCtT/4sOhY53qHwCP8pFCjohm+BceaWJkqPkMIaoB4/4U3y9GVfVUZIGd/N3mJE1otuelOddWme94JWlFJzbUdFvv7fD4968CGrFtd+MevULh616ZnlcqcwANrunPLTT/XA7nKDf84o5O4Mg0xk/O8MAaS18gUORLvE0xT9awnOsLHR4AU2ivvxF86y5fP6v6kwj4iLslzgLmWuGUJEJ0BtsXuVzQcDPDb9il40HvFXlBLC2NevDnXWKrF5HoXL1cQynZotydrDJj0ZOWk6qIqDMLM9bdb5Bq9s+O1gBVDpOYPcbNnk/aXtEjGiIpsxwv6aqwGZkWPvyG8ZpR3dbtbMHyqyAAtAlpabo7Djy4JGO89Xgtm7I+C1zePb97VfGPjgReCmHgwQPl743EOqRNoahdSrl4dArr0ARyBmdB0ZYRBKbUWXFDlOu8y32sIvFRUEXMp6WthMcWNyXTKhQVg9kPwbfLMruohkftHHSAOHqA8ePkZ/DTUoY4fMn0c5Kv7qOuxkls7y9fstQ+R73Nm2yVh2hufLlYIQWxK+92FOllpAwoJB7hI4zkErUfDsJWcR+ZpQXnBtxjXGSBT+Y98Hbo1c6ubfMpJ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 11b2b2c5-4670-4491-bb8b-08dc497f0ade X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Mar 2024 08:15:17.4855 (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: iMK5FdPkPku/cLPXjl3KPopZqAFAhDQ1eGf8d/1XVBdMjMyYUeWxCC2HynQKLQVHcUBV0lMdtc1vo8nPo5TybQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9191 The dt-bindings is going to use "usb_wakeup" as wakup clock name. This will align the change with dt-bindings. Acked-by: Peter Chen Signed-off-by: Xu Yang --- Changes in v5: - new patch Changes in v6: - add Acked-by tag Changes in v7: - no changes Changes in v8: - no changes Changes in v9: - no changes Changes in v10: - no changes --- drivers/usb/chipidea/ci_hdrc_imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/chipidea/ci_hdrc_imx.c b/drivers/usb/chipidea/ci_hdrc_imx.c index ae9a6a17ec6e..a17b6d619305 100644 --- a/drivers/usb/chipidea/ci_hdrc_imx.c +++ b/drivers/usb/chipidea/ci_hdrc_imx.c @@ -212,7 +212,7 @@ static int imx_get_clks(struct device *dev) /* Get wakeup clock. Not all of the platforms need to * handle this clock. So make it optional. */ - data->clk_wakeup = devm_clk_get_optional(dev, "usb_wakeup_clk"); + data->clk_wakeup = devm_clk_get_optional(dev, "usb_wakeup"); if (IS_ERR(data->clk_wakeup)) ret = dev_err_probe(dev, PTR_ERR(data->clk_wakeup), "Failed to get wakeup clk\n");