From patchwork Mon Nov 11 09:09:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13870428 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2081.outbound.protection.outlook.com [40.107.241.81]) (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 E4A48170826 for ; Mon, 11 Nov 2024 09:09:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.241.81 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731316174; cv=fail; b=kkiTTS5mha4X71sQzVS3VXZ34uwKlUcF/DhWyXqdFaJxnAGM48iOVym3bNyldHrrL8DvNkPX8oyGSdp56JNdV7kBh+lYYEzDtyGtXK/fCngylnOI6iWizwHFtg472Lj/f+ZDKQsCwxGOqz/KJoewIRD2G9oENvzMbd1g/NdrMhg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731316174; c=relaxed/simple; bh=Gu2tDQt1ZWFDNfmb02YpLiXLk/79q+sXhxH0IwuvBXI=; h=From:To:Cc:Subject:Date:Message-Id:Content-Type:MIME-Version; b=qYOeDWkj63czEgowdH16ka7d4RID56C7veVI9+jZjtI57FnRHsE9affKFo6SfQ7pR4MeYGLc0bvtFmJHxqwOgzH0O+tkH+5bS52AHXGYk+ctYKxFbefxan7gxMGYfcwNQwq4Q1vs0YzD/W2ZiSnPZ4y6ajsQuwHYx7ik01rAvU4= 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=PTvCKwjd; arc=fail smtp.client-ip=40.107.241.81 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 (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="PTvCKwjd" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=oQLjMuDSnWMtL2W+qNcURhHAmVff177UNw4n4G7alekTxm/d7LvOnLQ+908KsTeLI3VOYoXnutOpZyKQ0BKe2OnK4F6MZYPnD4KXIwdTQOpxXbZu/GZB/oYjY9mJ/ioWOXMdW3Q0C16PEEQYY4J7VXlRy6d8i4ZajTdGWx4v+s2rRrhedcfK9ugU7Sy3wclWp9Os+YYTrFTikDFJlyz+5yEJMgznGvDAcXL45H/77ufExveLAMh43dGZw0kTnSM4XC8+4gbX6MKVmmWtgEfSaF+8SEVxj/Lv5Z58VQmK7pTrq9Rxx5xCByiw678dNnGt/fzmRXTfRQPDk+y1Gr5EYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=MW1PmgIh9+tbUoVzYK17ziAHvT3mllEN49CQcfhPsGc=; b=Ot6vIKqiIX21GHseEsPEQ52wWGkX6nBJyAdeNkI32qw37iHmLgLHOPH7YOPbI8uzvIr9HlCtnRz0uXYzm2fLHfFyWnpAE2IDAgFMJGCOxoVybuNQ5KV7Wu9R8h4qZWzZsdbTOJBWgfm6Bv2fGbokhwF7AtMciEjtX6Fxev4YoXXv49+R8D+u2UWdXCb9c6ygIq1fFbxeoNcqayLf/iX2SSzOVsLEevFjP7Fedipz8ipBrzAExvg8lUGRklPDiPtLknJGj/NB/Xg3lftWxxp77/Y74CgjrKgGB+X4mTzi15FM3XqlhebAYr3xXBlgviCUVLjpD835I31PYFin9HijtQ== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MW1PmgIh9+tbUoVzYK17ziAHvT3mllEN49CQcfhPsGc=; b=PTvCKwjdtV8TgiI1no1WuuxXFSF83IInN9aSVbx7ihBVABgT2LJ13BuwxCd7QMq0d046d0e4cQa30lsxjbA8X0e5Xs+NbiBqI19gyg5UnlO9Cdm+LNPAnL1tZui+qD2h6k0vZWEMWoSDsDQzrhvlW1A41j3puKAptO9zDDP68N+yoPcPtOsbziHyFrOZ/WD03ghGs7O7aet25s21K2nZmvPZKbnLJruPoH0Rpjm5Ny7kP+uRvuV5E/jT1yCbQsOhAGN59OgQlYvNZNZtgbRtkTH5B153NRoGx047rZmMoB48WUGBpEZ/JOORVryOJ4e4oxHHf7M3djBkeUDU7irrcA== 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 PA4PR04MB7712.eurprd04.prod.outlook.com (2603:10a6:102:ec::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.26; Mon, 11 Nov 2024 09:09:28 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::4e24:c2c7:bd58:c5c7]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::4e24:c2c7:bd58:c5c7%6]) with mapi id 15.20.8137.027; Mon, 11 Nov 2024 09:09:28 +0000 From: Xu Yang To: peter.chen@kernel.org, gregkh@linuxfoundation.org, shawnguo@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-usb@vger.kernel.org, imx@lists.linux.dev, jun.li@nxp.com Subject: [PATCH] usb: chipidea: imx: add imx8ulp support Date: Mon, 11 Nov 2024 17:09:16 +0800 Message-Id: <20241111090916.1534047-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI2PR04CA0014.apcprd04.prod.outlook.com (2603:1096:4:197::18) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PA4PR04MB7712:EE_ X-MS-Office365-Filtering-Correlation-Id: 09fe6084-ab94-4d21-880b-08dd02308b87 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|1800799024|366016|376014|38350700014; X-Microsoft-Antispam-Message-Info: IY+P+X5NcxgBnawgswjnn9OK8QNihrA8F6V7dROZ+/DXidtIfg1G3rY5OzwKigfy4O72RbUQY7xonqwYPKYgv5Pswv9gf7OFMJuZEELl669ve38O8bQpMGe+b3mVDOQ9qMpwUPup5ASzD+bgf9rL0k/GFwB49S7wxDw6vQFl8YldANJEyf+S4xsMk4IRu6qUbYiUa/QTnZg0CWdH2vGiND1RSIQs1/Mi0mUC5O08wrSaeJverHHh6Nn1eW5TUtrzi64AeXYeGaVUmcm0boBwdyBIf3XEw/c7nqMhL1HKmx+m2V3Qvo0OI6U87pF3aX5memLbBZjGN0y67mTku7+Z7c2XUprKghTYS4wuenLL5h31KZfVvedATwZIdrppMI/cMjCfawiMAVlKHVVJCs7JyRJvI/X+XdjORx5eCypNCzH8kzYqxxT5jo88zNfK0UKST3uM0YBHqXdCHzJSjTKgxwY7VPRiHOjOncJrVfaBoYEsCpc3Y+sUKA9mbcOj6Zm7L+9yJAzK1Q+CVMHAFOACiSDjGStV8UkbVHja48YiZU9lAcpGr/gAilT9rrLbV75IId+IEET80Xs1FvVSwH7YGKbvcjQfzSBrolleDfWAUry2vvhK3p3xE+M6dY1C/Tz2Oya9pxWo7JFI+l9ooyeNfGakS442thhZolMvTTwPG/5mUJaew+TekTdDf0fLjIKn4K15vE2PSQvM9NbxJ08fUSlJqJ8sDF63opwfKkc2WB6kY02usjwRRWG7MryitLh+qtPv1rPzhxWkIvN98d8YYe7paERYCkagLNV7iFjn2rZfoqqiJASh8/UrU7TMTH3HkJbeubkdlRUKxtXnBsqxrani2doEJDUnuyW2TePk8+SOAEHyXFBFV4hCWVKWB58DgCWh3rxXPXBPiaQKezAlJxISvK1L1nHz5P7pEOt8G1+efIzt+OHFwfo0ttxeKOmPeNxwToCRJMGyQykRF23uE+IHt+dHKpBQiohjAvd5dTLgTDxy+2X2FJND77JRc6hbUU31ahcQmZLvXqEotO8phTWM620tRcbfKr9qHgBTydMaHCDLgirn7poqSS6BL6NiXw1NSZEzW9syMzCQuWvIqHolthYei0aMjBZPOrY7RzyeeG8nxSuTtcXn38zXqv2nqvnykMyRuF1yCSqIosuqEmzAcuuwAK9cwqImUkjE0kjrdqUaN4olRwkn38WxaUKerSKOz7ocJsKC3azaiN3atPFOuS6OUPMj7CDqfb4HD1ygH6i7LHvVdNgfS3H5L6j/QLlZUlbKbsBhmjurBmT3h1CHNFCmJJmxBTdKV6asn+P5Ie/wjWUgIypfS01SDksuxRtYCn5+eUZ17kSKrq9KgX/iNNJ9ogrm9+mlmdFOE5I= 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:(13230040)(52116014)(1800799024)(366016)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0dy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vw5eZvA0qnfpbtcIy0taoBMbOVTInxITFOk6dfVxTuURkQ1KrM4NF48ds5Gztp536N9VjJAm4rwEiQOUEa27pl3EozD6fef+rZTA4Y/Kf68iUrOuBvjyD+SW58V8hx2AkCdOTJvvH/xd5gc9uPRZNPNpk3zAb51QtbHx5xhoUuZng+X9KiTmbxv1CWrozDc7s7ew3JXnYgNHrh14Iyht2Iy3jYLWxdjH2XmXHjEIRWFyEUdrMGyb06dIYUbp3ZzQtoD8IAKeuOq+MqpC+Acy3nWnkJadLVZhrMV4fojN0VO6I1TELXgGisf1pU9YCpv5ZzLqdYnTqSxu0RYURwgWHZHMv4QPoottbp5y0tEfS+wyrTSMFMMGR/h3s2rw7GLVaoxMajYuEngXwawB4fjE0/HVSXaTQQxHA1mV++WTVBwjNjmI+OlFvMB9FizHFsfWdd4vWUf5Og9CEZ3SwXC9CKmyBDJsCXB6apHmWFYaUeYyqJRzDJRRmm2go2vMOGEGpQnJbFNNH X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 09fe6084-ab94-4d21-880b-08dd02308b87 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2024 09:09:28.2592 (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: qnDKrqzp9owpWHDTK6N8T5M/tJWDv4QbhFEDbtzqJZhQFSxakqS47r05l8XclHKQ638zvT08UVUpNwfkSOFC7Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7712 The dtbinding have imx7ulp and imx8ulp compatible with imx7d before. And then the dtb follow the dtbinding. However, the driver doesn't add imx8ulp compatible now. To make imx8ulp work well, this will add support for it. Signed-off-by: Xu Yang Acked-by: Peter Chen --- drivers/usb/chipidea/usbmisc_imx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/chipidea/usbmisc_imx.c index 173c78afd502..1394881fde5f 100644 --- a/drivers/usb/chipidea/usbmisc_imx.c +++ b/drivers/usb/chipidea/usbmisc_imx.c @@ -1285,6 +1285,10 @@ static const struct of_device_id usbmisc_imx_dt_ids[] = { .compatible = "fsl,imx7ulp-usbmisc", .data = &imx7ulp_usbmisc_ops, }, + { + .compatible = "fsl,imx8ulp-usbmisc", + .data = &imx7ulp_usbmisc_ops, + }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, usbmisc_imx_dt_ids);