From patchwork Wed Feb 21 08:02:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13565074 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B8C4FC48BC3 for ; Wed, 21 Feb 2024 08:03:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=j5y+vdfpA6XrOpYNN2ITisUDHk4E6o5JdLwsWaW1LrU=; b=idXJJZ32lLrXXm 5aFUX8R07PiJG0+ahKUlLCNK+0ZXPKlvvYjyq4qzJjmlNLwJVBl6UX7AG3s4PO1paolLoehhWlyRi QYw40d1gsaLzR0FnOSBg56aqvtmRQaGPsvI3MyFc7GG9btGhA1X0+lJMVV3KLMYuOvhgIBhFidNuQ F7yJsmFE6q3vMyU0cDSQRJ7XhDT4Jmjx28PDavIpRE1JyAZa7hAoQ2ygkJwlV/cZXWgq9Nx5hZJyR ahzvZCMFf9wHXsMHA1uzdLEtgGXS/8pioNnQjF52OdRQqkU6jFQ8iMRPQKy9i/+caw94i94h9KGA+ kYKGCAKfISBs7EuSvFsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZ8-0000000HaX7-0jqV; Wed, 21 Feb 2024 08:02:54 +0000 Received: from mail-dbaeur03on20601.outbound.protection.outlook.com ([2a01:111:f403:260d::601] helo=EUR03-DBA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZ5-0000000HaWJ-0mgn for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 08:02:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bt3Lyn05GywDlIMph7a0Q6UmkLAACulLFXzcypK1KUCZKhoR+AUTwSnHc85faTi52QACptAoRM2C0cjrc7I8Ldj5sDqZ1YG9+WeV9frtoDyXQoUcjpMfX3E9XMHmDi4+441sLQUSaL2dBDYEodCXYRwUwm5JCd+qMwpflx8OWCLo+u+gxwz6DZOPLUJRlaIBcS2RLs/RjlO/hPwZ5p6TSgoFBPnCrxWPbQcGeGbyYZnLPNauhc9TSawMpdfCyWHpmJdvf4pulLBJ9xtqgP/1EuBrbh5shGdPsRfsa0IHnD2bLjO0vZjnEyKHRbR6hUZuK4haHB26P1sGRi6Bn3tWhQ== 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=SUFDu0suoK0eMGmguDS4t8jrqzIuabdSE/rjXY4mdPepvu6VSn0sl/5hB/vdVv+3QHE+Sx8056qM43HT/9UX3AV07KNcD1WyaYAVb9EaT/IPHTIiN9nY3aPqvLUeVvO9/s+QkPSQYOCautZFxJjQVePNM7XnUEzttOsZ6JGr9lBMjgoef1O6vO+V4pYm3CSZBm0Rw7Sz3w8PWBi4ugjFjioR4yYAL7Y5BQFCi9TLg23r7Qhaf/nkfDpbEtiqybflHlT9m2iCFJCRD4m9qVGYrLbSpBlkbTvHABu1KPgMwt5/gu5Gz7Q/tC/r/uXh9RUD0RUbjM17cW9sbYCtp4sCDA== 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=PckTq1hPMZNesVoz3/0wlNaXXI63s6vGXpkjWwkuCWGgPvMdCBgsfceK/NxGlq+8sTLiFvf0sG1r6PgE6rMSBoRXtYE7c0ne3BIFGTb6AXEGXR0tZxceye9NucZ9kt5UgZYoCXeMTRw8L5lj2ujk8Nv57srs0zq4hQoOBR00iZI= 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 AS5PR04MB9770.eurprd04.prod.outlook.com (2603:10a6:20b:654::5) 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 08:02:43 +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 08:02:43 +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: [RESEND v6 1/9] dt-bindings: usb: usbmisc-imx: add fsl,imx8ulp-usbmisc compatible Date: Wed, 21 Feb 2024 16:02:30 +0800 Message-Id: <20240221080238.1615536-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI2PR04CA0017.apcprd04.prod.outlook.com (2603:1096:4:197::15) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS5PR04MB9770:EE_ X-MS-Office365-Filtering-Correlation-Id: 209f0cb4-4506-469c-3323-08dc32b37b57 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OxnKTRbSu8R9710Xcy0+q9z9FlPoBlfy4tfyKuZKsUAeZn2NXgbvPBaPNanvGTl2/CCj2r0PGucmtKi/wxhQUVG8qcuW7ggs55qzDyNNTi+b3dRRZvnct70YBl2R76YC1Mb3dlILXMooTLS5yqYfvbaI6g6CXkoiJ7WRfFew9COrZCYnwL2Iu//M/bUbAJmWkeR2C21V7SufRNCFgTJlgt2aoJJ2oQkLgV5iw9kab1rCy+KABED40iOzBRiFobx0Co0PcAjo6ZzZJjhrt/rBB3F5JLcI6awbt2Wnlotvk4VgtoJHlwEYM3npYNTtQpQqePb9ZxsNxxfVa6cCvTGhB5StVu4NupkWGNeDEU8s9VFa2q9zSG7BC4ueTDpAieu86TA5sgY50fcd5L1IC8/nxbNCggxzdZfLr6/zAxAzC6shDhH6hzfiA/ncbgbeNf0xGNCMB5+aswQA+maI+xzgtfsJhHTBEvfVZ+plePk/n5tEjhnKxduwa9KDc5uxkigSWTh0UVc3oNZ0OrDH5y8QN3arqotoYr62F3HkVzdBm9mvBEFUp81ZKDaxR+j5/29EEDkjsQ6zuaRbw+aDLbcTLI41ozNO/qrmIdZbvNRodONKw45QAnDAP/thSZwv2fzv 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: wt9E5eEwfqy+ccILvEaqnFgNMUHD2xkX1izeCesX1crTQ0hvcCZ+zkKo5YC+kcqLewX+MKpPGzCo1h0PWyNK36b7ho9IQARH1MfAEKgWFer9lonoMc+FEZWnFSpO0v0mPYy2sOB2SZWg6FfrAYglqMegmZ9bHF5jvnZVzcMGPU68R57w4TcFhXR0rhuZx560eOE2JjUBPl0dikAX/Gki6mdGFBr1iP6/R57ZcHHe4uZsCYTaFmdy5pTAMFdbN/VpBvf1JzJOunVMU5MuWWjpYmCNYCEkCUOwz9W+iuDXin6h9+xuHG0Ogfx1oDJL8UD68kzn4TAkcR8zMgArSFemwy+OVg0uB0dpE5GF4tztu+bAKH1j3wll3r4FRO/oposjhPGPnOUtovzb26DPl16rnOLzgU08zCZhZbHsNZ/apJPP3SnST8TSRTUmUNa4iTJu+PpHPmIljE1FtnlA/OUlkdNmo2ODvkbaTWNPntg1IrMDEzrLKPmk/Z9uCNPoiyO+Jjbj+aHvdxEFvxrgaSa7MnxEAnobUU7G6jwfUZZdcM41KvHOzjzV1hyplw5hfsoRioXHEv87xVS6NT2xfsetRz+WzdQV6suPQBXRmUBB+WDCMJ2dH0D8CijlezSOwgxrS+DpLHjHq9Tv8t70hpsziAt9gawK5g+MrcI4ISN+TVQYzrRwfG4im21ka4Q5MbI+Nu0yS1c6G+DmHZiy6LuYMG3XYut9egJhlCn7q+QBwi1GDMkF8qAZj4iFon2bzc5DzcRf3pHDPqMD/JIy2AwL5FWw50QpFz9s+wCqWvZlXlXmMHk6QoUBSwz1//BiaW9JDfFSjQYjPlG5n4NXnC9c9EO/SM38g5yx1xWUtjtJCgMiTnD8eFT4DoKpjnfvLKHadfsB5IzI7O9uc9ULWYrJVDPhg+d/AyYp1qqhnJHiy1wMUvJaje/8CQFcaYMfJRocT08JQWnwpeym0oy68+1Y0aT7Jye33B2Qmv3N+1mfT4N9jpuD61t2nJC08/FARgD/fCWF9T2ETdb8hzR4pAOfJWaOHNs8F5KKeYWRdzkw4tWisgWPSwCCEPaH/H05KUG+WF3YCcTT++0qLBldnG4Uptjf6WasPZsqy5ks36+tjkSGzVu8V0Maq6l43zzoi+X1MpleezkG0R3vU1vvcxsttT21AdSQEetiCYSNFtpAsTWz+TTny62jVHC0lEBTXi2eX08U+bw7IiaeQOtYMqG/p+0e0e1S4qxCk608KZT4jupLMydoWexjZk5ca0s+ch41InJJ6tX/+8kTU9g+0T/R9WhmPe5Xtd0vctA318T33/Wy29mqRBFjjqDMp5PP1lfsioMXuSenax8V1NOsguIKIa2OU2+3fPiOmWz4DZksKHRSohSOzGxr51+uXbwDHqdr9k5dzUjiSzXqyje3ZoFkIo0HJJ3lbsMj2l+7Efx75onJiJoZjyMlUTQQ4v/PqdeRXIiAl/jc8tnmpfeR8UrwNT1ov6iRfKs81YqB0zLiBHNtbZ+nG7bgKVF74m2hWrBHiUg+iP69o+wxw1dDunKggQK55CfWrNbD3OoXe7oTLOoUYE2VzZzzzOXbOG07jSEx X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 209f0cb4-4506-469c-3323-08dc32b37b57 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 08:02:43.2643 (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: Ht/dqpQLoKDrjSQODumBFyDlhSHOanU7MgwNlOPh9Mv4DrQQzatpp7S2tW2qngwaarciXKe0PHpSh2zv+Lkd8g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_000251_235375_FAD0A906 X-CRM114-Status: UNSURE ( 9.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add "fsl,imx8ulp-usbmisc" compatible. 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 08:02: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: 13565075 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D751DC48BC3 for ; Wed, 21 Feb 2024 08:03:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KWfOQQS6BS89xwp0brUMRAgE0xZYR48fObAaMQFwIkc=; b=waSS0Upzh0dw4C 5xCM15bLYLw8mWkPPaVEBeCNetqwvEqKu2PPVkAHeFnutkUam4gbC0lekVF8iPtJQs0ZAom8mD1iT nKAZTZXLjbDNHVK/Qev4D+HsdDxkbq2RFNzjPT16Jak4mmBUaVbNzsVgWjqChbHBQ3fSNLqOhuNsS hbuQNgjO7O3NJ9lLINkuN0OzwqobCrnGAPMHi9kjhh99zqCfgkxkN89tBehiYlWRnXMyPM1ICi0av O0cl33WXM5GsNR4eGmLoLdojc6EWkP5gIK+ThABCssW1Yv5Vfhg1gpcB6qwuv3wTi+AQQyMRTVWZf dN9BpfvmIXWO900Rj+sA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZF-0000000HaaB-0t7Z; Wed, 21 Feb 2024 08:03:01 +0000 Received: from mail-dbaeur03on20601.outbound.protection.outlook.com ([2a01:111:f403:260d::601] helo=EUR03-DBA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZ6-0000000HaWJ-2vYO for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 08:02:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QTX/HYc3JazezoD1IIv9t3TMj9jqkLBJrO7Au8rvgtzP15LHXQ9v+W04r2J8+FfsAMsh7MAwGDIKLsuU0e+JwGbVz0BRzskszI84YLT9yYjyKbisp4YiAM5qg9hGN8gTskVu42MuRhERx4l4o4MfA+dnRts3e8rFONVFWM7O+uRcyXqZ2zItgVb4ImRFT9K78xw2cu6jSRAKEMgt+QtlpTcyqEbqm5vsc5Cc184kbNQo1/9zPSNn3d2YcGe8FjOVnTXaPjxcYDqxEV8oVd15OofGaCygOK59LUitJ3sDHKVUoaQty6D8YSnFGGZltXyHdI87QGMm1Bbb/6Up3OV45A== 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=eaLwR0GASAlIyP+Zg3za0ln/sUCpk4HXyxQYgVJmgfBYDiDisiYfV4y16kqiiR8q8d/J0g/jT5ApmV2x9lUwILB3s6KdBSUJvprkcel4ao4A2j/XKoEmHbmXnjHfodbL7xfjCxAqsN1nZStpc+H+1jtVkdhiY1D7R03fBw/vj95H0hODLu6EFcEEcIgWh+SQuLIPXIwL/3W6Xol4n0IHuZQgTkDBi20T7Vvq5eTl96k+RaCaFMBPBxz3YyWacAuw+VxQDkdJv7gI4zey23opV/roA0vTu+LumTnHkwqA/r7tJZ5qH7ky7MW2WY5G28fZdC4HFabPPZUPCfnVXFijgQ== 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=N8TVby92fCHet0R3uruRtXOJOGwz2z/9Kha7E2RvKrqinUj17FD7sGx0JqrQ9Ep2ZXn1XCMVzaUtnhWQYmujCNyNWF9xSIganwSOJL3u3eBkcMY43ciOUNC8P3kYlIVlPLg9qrYN5vyLTkHeKzw65au/2m0oebJwVB9FCi7LtjI= 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 AS5PR04MB9770.eurprd04.prod.outlook.com (2603:10a6:20b:654::5) 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 08:02:48 +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 08:02:48 +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: [RESEND v6 2/9] arm64: dts: imx8ulp: add usb nodes Date: Wed, 21 Feb 2024 16:02:31 +0800 Message-Id: <20240221080238.1615536-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221080238.1615536-1-xu.yang_2@nxp.com> References: <20240221080238.1615536-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2PR04CA0017.apcprd04.prod.outlook.com (2603:1096:4:197::15) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS5PR04MB9770:EE_ X-MS-Office365-Filtering-Correlation-Id: 6e9afd1f-815c-4f30-6fc5-08dc32b37e6e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tYxIG9zILQOMiVOWX/lAa73Dk42FzHwJ3D3S7p6JMQzwXMrd202VuzwawUaH+5JAvm6Xtpcmx269DI73xSNu8sTfd/t7wHZo1Ay+ekbPv56KCOTO3DJ1B3f7A+jRE/pUtjb5CE9OlMaOnkYFSwcFgjMfTeo9uBr0kDTCMonE6yNr48h2iheKwwhEWyBl4FOIIBgjwmKKXwwwVOPY4/GbBXmMfsP2mrF5y9BAWjhVyWzpyrEYNhWyfGpoZGY/9hKZBs58jQUOjnFGQ0pucx5a0IBZmpuTHpEX8bNlQDeed//zqgVTkgAzlalgiRf/x8Zr6TGoRhEdi43G9+rypx6skwphjC1PuZ2RtujqphaFZeOlNTF3AJ/20HbVSQuXK8UriH7CzLsMEUydkOPeKl5As1hOhE/GWl6mB0ip7VYOL6G0Lse059YIUxfweOpn74LnwgVQIMude1zOMCTY7uHN0W+n2HAwSQ/PmsGAZdWE9hlaErcLPjhxkhEISBHFI6MuK0MGD6RNyP32c8mWeBkRbYIq0Vm+vRIXvz9NZXdizfCrQ5ZrwUuk2bzLM6RYqxVgDZpSd/GXZgsUvpT7h6rmjgNJ5C3YwrswFLGUJoWaAMBZa8KhM8r8qPLYqFaH7k2D 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: gqAoTTUtHRRQWQSpu5cccimp8j5la14c54q5KNVXRCcgzR+Azmk1/YKmcUEZToHF32KQZ4iBjyAAqIFHl7KM2/h0oB473mKcw9SqXyh9aqtIVaF+qJ1PC1D2TMein9MHiMYTd1QEI9yofzin6ptTl2YME8s3X06IAALJcRVekVaGn8q391/BsVa202u0FfdfDQaTCpbfKSUKLq8nlPaFUunSNMxZ3BGxNw9UO8oPmbL2aEPeelyvUWGREpPbXvMCId84+N4wWmc+Mzmts8/tDpVZB7Hyvh6s0D8E7DCFqzxaXqHwpe7vfo67n9O360VeR7VaexKTqy5Khst/lir7/20YC1hgPM57DlxXP4TaVmrue3uEtYTcRFCAVzkmJM4Yu93cGexFPsCYTTwhV7TC0gZgti9frm53wJ3Py0y+PKVdR6b4OTWKarhtuyLf+S6n+flQp0WSxi23XwoLaROMy2OqQ/NRNeGgU9rppOmzZQUur0oIgWcz7wt4rZf5wIEI7HFf+fJjQSuurBd7rADXmbC5lUgSgPFNgO0VOPn73/tBIlTDNeJ1FapcKY0ukR4Dow0W/+Y6UlB37j2HLZcxOWL+9iczrL1BbuGnBVaqkzTg37ynZvBVskESqrSqGw7xrh6NTnlGZ0uPfJ1Vu+KBPFiVmHD7JxLPxfTlAuQU6x7pyukkoQ7SzfW39X48Z0k8/ZPE4YXNwgAt9IV7Ry4o30Kv3iFWFiKDfdyfjGtfUKOW9uvCzszl+YujY/ef7Cl2DoYTtpNYAZySmYwo6iF0BF1UNDEO8ovDDaFjPIxeuhiDHeAGeyoB+RS1EbPICaxktGkGcyNT9B4jYLVL1SyXQ61cZcCg4qJi34FRl9zzXHVzJSMAyST0CJgtx8aJghlswD1xpOVPacSM7Gm0idkLohSQicJF5mNsMQe0dG3K2WvlonOmNK21tVwZXrtqaWNLJtvpsRmM4v+so0XYY/1O1DO6u5uMsunwNyzrPrGJT8G5nRDcy62tUHlJNel8MGDmnZqZPCygdzwTfdHWv4q7B0ngT6rqcPTTX+qnMZsqr+VC0QebgXl6a60EnAEL00CQgcezsrbNvkCq+PQjWQIT6JyLR8k+cjydJhxzDrW0EI6N2ui21mlIk067N2a9STKP9EJ54vrxMcHoKsogONvXr5HNVtGBikP7oQnIpdKwqKf06JREX2k5ZL1THcazSvVTVjVUBbARDab8CXH8nYr/dsShiAVJVk9r8A/4A1r9KruCMDkIHflHx2JirlA2zErVr6EZcyYKPHpJ6lCHm4TdODK3qjuaruGKfaiE9gMoM9FSQff1vVuEGAO8gWjPvLGnV55Hn7tcwhjj4XfHP0c94FqG2zp4cT0WyPUVGzbYoVETVQPThlg+47dkM4+8pSr6+4cXzBMjDzLB/v30HmvyGlPYf0gmVM2t6TpinURQKJXuWpilhY6XdBhHLACBwKZC2xp2PkY2sVE0UiIBR+aYY8KO74i4EUDSqB6DsX53cYgEndDmRMq5GTXJ0fH4a8OzYUi9mZSV+dxJ6BpLdxJIc2Z0mCCLBS/Ul59JATbomd/fuVWc4yBzh0vNVc0AFMiv X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6e9afd1f-815c-4f30-6fc5-08dc32b37e6e X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 08:02:48.3085 (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: 3T/QKwYwowmg2KbTe25oNCdE/H8o1hOpz53P06VaUf1s7aqLYnQX8L5cHPRCzdUEmbNz9AF+dCgOiZLgEXL2pw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_000252_746730_83CEEE06 X-CRM114-Status: GOOD ( 10.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add USB nodes on i.MX8ULP platform which has 2 USB controllers. Signed-off-by: Xu Yang --- Changes in v2: - no changes Changes in v3: - no changes 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 08:02:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13565076 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 037F0C5475B for ; Wed, 21 Feb 2024 08:03:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WkrTE5Iy/LTEMCnVGHdQYlsvWHYp/kDHNrogHgHtAhs=; b=OhDwmP4HT8782e XI3vuD7HLqMixcYOhL6gX5V1VT3uTEiAuNmWqe6BmNCXec8kd9MT0qSMCe1lLPg/XShtUY6ycUqzc iLCNtfD4Z1uMMqGTxtfoELDWFviekB6GPgpyi/FbTIGLHmA7j0ZbcVBpdN8ubMNOKJMLJLo0rkQ0s esN82+BF3bJOSHab4CqhK1W3Aq1Fb/47+mGFIfXMm5voVvG1moiuXSrjoJh8l+R+AxcopgqQmgBih 4zPkyAEx7rbjvfEaN5DC1RYRMK2dzifD7VGuAaBsJcF4MYLrOjGY77SAIyJb9IJSNeW/mIzy2on5R fk0+dAHlf8axIjRv2JnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZG-0000000Haai-01a6; Wed, 21 Feb 2024 08:03:02 +0000 Received: from mail-dbaeur03on20601.outbound.protection.outlook.com ([2a01:111:f403:260d::601] helo=EUR03-DBA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZ8-0000000HaWJ-0wQP for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 08:02:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZkThKvC+tABSXDafDZM3pTMc+GUzL4B93u/05BETxKxe8pRzik1nIm70+IFvY4J9hZXfPzdMjzjcaDBvmqTeeK3Lu66PK0//PQyAdT243WdSXT7RoNDrmz/TtrOFRwOQWZSgj6bI4rLWeVKuXNut89VwiweduoV5RbM86nG717YLIBHy4LrzfrpaKXxCQk48DNFIEdaApYXhJOykrAKXYXk50FRuojfXeSKKex9j7PpRRMzIR3PMq3Y4/snln6csd2mRDVko1hgO6IWL4L2izhgRku3P7BlPkg42Hkw3SVV6COrTf4P3rDo9wqgc1p8gSnGXMtVIaisNBaoFKErEug== 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=cdUAEY2/9B7VYNiHJIly+kpe12+9QZ/GMQyBuefj6+Uq5wgseb9obdFgZqEHlM8i3mm8EISQhT/iX9dqP6YIS6OJYTKzJEarWXOFKcrM6eMrTL+dG+1Wmnsad+9CQYETV8yFWqW9uc1kqb1ZP5XufK4z9/bF8JyEicFYg+7VPS3k0mdMV9Cq5Xp33eRPlmHN2iC2wAZWNkirGmBBol7SG/8zwair45TAwlYs+C6M7tLIiQpx8LAlixusdH6ySjXSVc5aWUq+Nua+zOy5Www16ke5sCTIEKi1ImRAoHB1Mxp/9wQEiKyte4nQwAaiwMfaElp7RLViVRVbKxZpXdmVCg== 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=cwBQ4VkBEom8PzkXu4UEqPzHcrQZxG/rehwniXXROn5Ne/n/zdBPW8oSCD5FicfHP+qpe0hidwehHNYbiHNd4PGCShUEdj+6OhfHZoKKxV9YhjVi+IBuRjEI02C0SOjVWNXhJ+BJCWPHFLKC7EcZW+vOon2xC9/S8RkDnvUD9HI= 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 AS5PR04MB9770.eurprd04.prod.outlook.com (2603:10a6:20b:654::5) 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 08:02:53 +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 08:02:53 +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: [RESEND v6 3/9] arm64: dts: imx8ulp-evk: enable usb nodes and add ptn5150 nodes Date: Wed, 21 Feb 2024 16:02:32 +0800 Message-Id: <20240221080238.1615536-3-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221080238.1615536-1-xu.yang_2@nxp.com> References: <20240221080238.1615536-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2PR04CA0017.apcprd04.prod.outlook.com (2603:1096:4:197::15) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS5PR04MB9770:EE_ X-MS-Office365-Filtering-Correlation-Id: d96eb9b9-d9d1-4259-d435-08dc32b38140 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: q8aQblnJXrYJ+PNt8U1qF3qT57gTDzQHFSVotKPC6vDPGmcgwInxKXaFJsjqEnw1wHkgNHjVWcw8PGa8k9pT2ba98UBlSVxNA6Kpf7eFj3I/9wAQUJ2GDyNuamOneGii4RL5zLBBW06JBViuZCI+22e3vfJWxLQr9Kxmwgpybp61FRn9WE1RprtMdWES7WXH5o6Sbuu5Y0dED7n8whBq+F4tvAUQri0XCMGWa7mzr+FrpffiGlO+DMPzXD2qmYxdlh5NCxHcwc/bvYgeSbO5//XBrMgtFyearlQCgGTCaiDNzbS8sgE8cX1UGgn+axLwqgtdVZqL9sE6v2oB5ZtZjVDvYGiTugmpsTVaN/TwX7qLbAjjYTBi9rd4fnSE4VHT3d8i39u88u1ZPyzFl8vSKmFpu9p9JY4qrwnA/ZHJS74q++KE7i14387WytQ72oy5HTq1oSGD2E+9Ac+TGcsTPL+M3fwuWJe3wJrxACps0JJQwb3eb2N82lDpLG5edg9dNTIY82kqNabyxqgiqtJY3jQZazEDlgnWmQVCtU6oZXh7Rmc/oj2wUiWt+tSDGO5hGJEg82Kvm1Hd7lK37CAsOdn3ssJatXGv71ja4tzlZ71rkxw66b2NtWbc3FXr/tyC X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en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srcO1HifO9adTOK7E4PVddPOxfux5UWSA4jzBM9v2Qq9EC9HureBYfXEropIJWEbSDWeZZzAASQAwnEk/3nHBw+lWSJDzEcAUKyCpTMSD7W9P7H9MbNMg6Q3MSJU+ycG481GRuTDtaG7OU1IHTnnJoFLhVmK/l3YR+JP/l2gYofI9rPCe0EEi9NL6dCr8yI3+qYprMw3FWujZpWxgUlUUWifEwWbpBSaZbzu8JSXKBixCn6iyRV1SSv2YMLBiMJEbUntKVyqfcUOQ1xVtEj/afIlTCmsILGoX/Ct93vpwuCQCri7wa6T2cNfbErqTH/VtDyvZoWAQsTM5/CRrPFtXquGrGNM1MwWYT5r/QFSaIXmm/7RY93cZPp6rkjQMXOHSOmMGemJULHm0V6Krrxz3C0vO+GrP4/E1n0/PiLmpXuUfxsQjcGOmGxOoRLgp1FOSVWa54nbdE89H/6tl+Mwxv6tnD+JccSUW1aCmEzQxDt3/6lcXs+vECNTNph159KZkr+1njzcP/ufj88p0t4pfIsjd+HLjXi8+FC8MbAgAQfd3hEBoFkJ1I/Vd5WWU6VUdXlzfl1bbVEmTBbI5AVQEZioe2rHFg4qUGe7ht85BgBNrg2rJ2AbxqTPWvNEhkOa7ezV3RWBj/DwJSTlHvHtQs32zM9SkErf5tqP7E++8wuTsM95tcFGIWGms X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d96eb9b9-d9d1-4259-d435-08dc32b38140 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 08:02:53.0430 (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: yGctdFlYULqdGNogxuoav8l7Nw0jFMndTnTB76vdl9bLEMYVyUVXP2aBhxnknTSx0atzN/cl7vTQGhz8yRu7rg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_000254_299861_C92EC806 X-CRM114-Status: GOOD ( 11.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable 2 USB nodes and add 2 PTN5150 nodes on i.MX8ULP evk board. Signed-off-by: Xu Yang --- Changes in v2: - fix format as suggusted by Fabio - add PTN5150 nodes Changes in v3: - no changes 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 08:02: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: 13565077 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 354C2C48BC3 for ; Wed, 21 Feb 2024 08:03:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3jXGt5UUEMRoEbSWrlmbANJocxALYE6mq7/Y61zoUzY=; b=trj7ZAzCQDZZBd zaKgIDHvq1I8ZH4DKugCBp7TW2VI8uMIqGgRFyGhvRp16bRHGSgRlT5pD8DhihEwH+jLdKsJnqhVX 3crmTjKWwAwX8yxJDezlFw3xYKFY4kuI646Adq/RCixBMn5FBk8Vw8Aq93SsLZrmoyqs2Kfj0EAtM BsHUBUFxunhm/8CbZ0R3v/a1EGZzFwie4KT9xrtsqf5B4zDD5xxmL/X7zVqG9ATw9wh8sHJESvo8J RzcViIDrhC6aJ6e5EVdIcSW5OTTzKYp+ujttvufwr0Bu+tNvA0Vim0gWE6+OlZVz1+01Ic7aitUlh gVGBvWFAYzmzTYSLukeg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZV-0000000Haib-0n05; Wed, 21 Feb 2024 08:03:17 +0000 Received: from mail-vi1eur04on20601.outbound.protection.outlook.com ([2a01:111:f403:2611::601] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZM-0000000HaZv-0LuN for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 08:03:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ggonKO4r855gDn3nutvtUo7jfhxfLdR5f0BrQibrRI8ju0eD/JGU7tnhsF8X0UIbt1G+aX7Z7GNycF+EssNx9M1p52/MI/IdCyZXCz0KMMN+O9/B5FzkW3tOhHGh6YxHD1/4W75izKHZrDYf2BHe9ap6O8s+cmqROXnbTvrAv2MEr2zZec0rIyAXpuBK3OpioiZFB0U1zHbK8a5MRNX5MNVXJ8h+XYjaYGQKODzHGcDZTis0JVV5FjiXR1bmsZpKMTZPzEODnmWBnhf2EC+TQB/cfeWshnvxpWVBk05zdX7+1XLW5mMOiVIXUcc4qdK7m0QFDmQP/ojQimxdTLJypw== 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=bDO4aqB6ZTsUdo+Xdz9Xj7N8jhmKGIIy7zgpAE23PWdyNcyEwZAVdta1nO+zeZG7kUmNS+j6QOV8W57Z4BhdLRJJ6HFzKVLVfvWNrqFCqNK6/f2O/dnAdlLKd4fQgTU9HSQDApn63QFeLK2CaQtKRBOVIg4eT4p+LOIj87pDfZCaz5WTkYwzHb7+/nf6/yK5Ci+MRtwOTZAYbEokBnqJzvZ8Cn4lp7h35DgIc4E/vR7gXQ+OJgLaaS79ynBJJ217OALFrfx8qOAG9c/mFWRnRiycUuwvieG4SgfmVI/cgdCvz/L4bI+RrTZjdN3XAvMlMEmboiMQyUUCcgPTIZ12HQ== 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=op1wLzDkIXVa8PvLAEA74yawlde/6uCu1V3FD+N/m93aOxPuQdr6htgSr4o5sUsZxFBY3tXlAsloxWyd/wqd6EeuwFQokETWHNzzUyWHmwMFl505Zcnsd5mVOOoAYsg+AFpGx9R1FsGJs24SYFjECk8xHARJJQnetSTjkP+i6jA= 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 AS5PR04MB9770.eurprd04.prod.outlook.com (2603:10a6:20b:654::5) 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 08:02:58 +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 08:02:58 +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: [RESEND v6 4/9] dt-bindings: usb: add NXP ChipIdea USB2 Controller schema Date: Wed, 21 Feb 2024 16:02:33 +0800 Message-Id: <20240221080238.1615536-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221080238.1615536-1-xu.yang_2@nxp.com> References: <20240221080238.1615536-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2PR04CA0017.apcprd04.prod.outlook.com (2603:1096:4:197::15) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS5PR04MB9770:EE_ X-MS-Office365-Filtering-Correlation-Id: 5d4e5fd6-287d-40a3-db67-08dc32b3841e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gduwVvUplHS4zNo0sZ83Uzbk0pEZmHUjntY6N1pxJNxoIm7pI3GDc3MoxNpyNXGFO7ttpUAqXoUxMypThoIrQtSMhgUe6qyYrl2/rjkD76FM/ZZH8w++YvHU+dk85C4RGpZ3NerjLSA2cPLOSt03DozspumCmv38uZfd2ZLrTlSPCbv6vslCY2mZKHx02oMQXJVdOsN5HA7J48ZZfmhi3EPy+1T8ILmZm9ha58K9lPOgLRLTjMiarMpBxGRzvpL03chkEQ7InKrePp0Eh1e3wCt00k9MJHBbJ2+2p8rT6FjyWFFQNvT3egr73p9yq0iMUEk3aMfQIjTSm81cFgDponOqJacBJu08j9o5+D/vGhFc0oycNbsxfdyQzRnqeCEXzKVTpV3Cb7o6EbhFQNte9bJsWCRy7MV3eR/73NewPDzLYW84oVEJNBvxnrLbRMMowOtbhezbOmxaayhSSL9Sw4zLRhMtBLfzod7CLrQ2DOi3ePDEVAKlXQxPPblFpzwye9LiiylyOCFa4gZnfDF+YakB6NsOrGFcwWE/y5QZ5SAeJLReyAzPnVCVvs3LMJHQg6mZsB8pY1X7s0xtehGn3TqfwlbjE3z4m+p6FekfyYQ= 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-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aoUjI8B3jovq4jN9+o9q6G1KkgHs6nwFrQN8HL8xdHNpwL8Rnfx2Du6V5IPa4Bs841VgcioH8SbZlCtub8FlR79AgRPy5SbCWcNRLx7pNmUpV/SSHEQ+uw0q4GB9iCExU11kNuwE3eLwDvPxI9PNKt+IaSHeMEOEYFrrL3m3UyMnQdPrZEVY1pWuDU2jduq7DeLkUWlgNyvaNcMiLUfq291cEjdzL95lej3DFj68KbxRGHGwoIJZI9UyAGZtcL9qL2GeO8if1/vzhyXuzx+qXVM0LAjdexQ0aeMM+stNcVN2BhCOcXNmYqGTgae0VVsQuYg5BW81X9SHSBt6AJwgvgq0XY7pDqNFPHiezpPr00T6HOzpzLW9FTse1WdjnKpkRb8ZBj9Rj5svHdTXt/ufsg1kKO3Mu88w0ACm7oirGRoFGwY17vI7QY/hNxMrVXtK6EjaEWg8MBN+GP6uF+A7nomI/UDE9zHs2rDrb3gaVp7IC5ndJ9Zjk9BAJNbaV8muXBQ+OwzDZbfKse X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d4e5fd6-287d-40a3-db67-08dc32b3841e X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 08:02:57.9472 (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: VAZue0ytimOtA61t/G9uJpM/V+cvYyZUqo7hfbx4YxSajDsxJ0sQSCVQ4HYQAd2iJqwCqccoaSvGmcnIXRNM3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_000308_171415_0538D8E4 X-CRM114-Status: GOOD ( 12.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 08:02:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13565078 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 35C96C48BF6 for ; Wed, 21 Feb 2024 08:03:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=awIqBriJXOURxOAsJAkhX1UYIkd2M64JlFvbrFYPljc=; b=kNV4GfiMoWR1Ow awEQWL8eORmgM1E5ekOsK0FvmgDnJQDWsf90TmIWOkmBJJRT+J6xGC1QJDC8aGpxQJ9gSobNE4e26 /hdtSCqptqNiZ5VBTkPhbTH5VO5adkTvQJSM8QrYp5lnsUl8ZmTyF8+ezJeV+IIbQ997+QTVQDGiH UYb6uOPJcNIMuOlMmJjJsuK86ajiAZc6/p2EKO2SWI4TqovAi8fA6NnnrI9Bpdpyfkp+TzF6x6sk1 PZAZE+VpvAj53OAPAV22Qc5065f+B/rnxqn31uCTFlhA9YgFqcZ/gmklce28EbYWAsJWmjgGyGmGO 2AWPpG6h0bHFJ13Tzl6A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZV-0000000Haj0-3irq; Wed, 21 Feb 2024 08:03:17 +0000 Received: from mail-vi1eur04on20601.outbound.protection.outlook.com ([2a01:111:f403:2611::601] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZO-0000000HaZv-1mkH for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 08:03:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G0l30IB4GJaPiQalQGvcrzJF3h6vHj+G+MJ/w4g1X6ux8zOlXsYkS42wFZ+SbptlBUpnHYlJPkhqHAekKlUix5BIjl4/NuKtK64RfE8s4hBswy0sOiAxbwlOzs3Vth4h1clhlTIjgtVAQJ+djOBIYmh731jkOWhyskAHt971Y9WWk1wH+GJ9Y2QB2actfW2uzvQ2+2C4YwJpwKaDPAfnVi/QyCyO/eBT2xPcCKY4+n3H+LdtZYt1plk9K3oG8k3MinFPVmgy8D/oZOfgzDWaahWtSsVmaK/CSOxwHriZa4+KSdGXV++mNeZvruLz4xvfYJyzjAmRhhqixYbYnRJE1g== 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=UStgvY8wsUut33VpAOI7tPIVHL21RoaHKqtxUbKzGhi2FnE+X4MH2yj/FDVVeMhAhOJ61YSJXvUaZ9kZ5ZeC8G37+E30tvWdO6fLaExHy3H8UDuhJVHxbgzfrEtZLWkUyHMNitBDJD59DogsFPIY3eQyjo/+3z06+vtfqzzYZ6Cd5qU29Gwqt3PTdPwP0yTtPM67ddjsQ80shnpZnkmiBVn/SadiGJXirhcTHB6HWArnsNqqcIJ+FjG2jMTChSmwVltqpYawc5svvK6l6snt1sDbV8rSoo7DYda0tjpduIIPzWLD1rgEvsuN5/u+nW5ovciw6otkOD4LYA33d6Lzkw== 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=s8qKaBXjrQxMKcHx0U/wSLtjF7aUR1AB5e9uVIrkKHuafRpJzN8Q9sdC96tWHPYRgr04RCZ+4vPRLu1HeVHm4Fkp/qf6Op9iE+jbTa8fwfowWqiZVU1h0/zJYBeM3a43d7CgModaiEau9rqsNrO0RbeZr7nqBEw6GXCmGvmlueE= 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 AS5PR04MB9770.eurprd04.prod.outlook.com (2603:10a6:20b:654::5) 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 08:03:03 +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 08:03:03 +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: [RESEND 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 16:02:34 +0800 Message-Id: <20240221080238.1615536-5-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221080238.1615536-1-xu.yang_2@nxp.com> References: <20240221080238.1615536-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2PR04CA0017.apcprd04.prod.outlook.com (2603:1096:4:197::15) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS5PR04MB9770:EE_ X-MS-Office365-Filtering-Correlation-Id: 3ddc5d6f-e85f-45e9-0646-08dc32b38730 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Emaiu/LYiP68Fl+Z7Gwu3TwULSq68qI15EEzCGL31cxpvg73LSYU23kxH+jcd/Go5bL84V4TqAP3zovSWzIYs9w2BE+uyx3fkJh3mtXb8M4/WnmL0Ip4i2opG234C+5eI1Z0kH1k9GKnw5ZhReHuyCiL/ah/+Z9nPGNAE1a8qtoSu87bEksIzORsen1WrSwBCD8YIoMP/9sBgHenjQPwFEle4VKk/HMztOb0cGv/d62OyX4Scbg97IV2FM/S6Ahl3cxQZKsfffO5BGJKm6xgXQVGSZmX49bW6WABQnHgq/ybBWS2VusqEHXIznF2uRNuya1+3OvoFV2ELnjb5ASLL3S/DC8mjM5jz1xMTm8hRDaoATN27EiTJlnSmePwVcW1Wy01CgcMUmf8QK4araZNbiIXz1bQjzM3nAbs4h94WJ3mkIiueV5aGI8EgQzKj4+PJI2zmoSk8yO79Q/PAUsgH8B0lLJZ6zUGlAMNjke8fGbSY/OgNEI4UtvqacKYCK7IIHTryIA6lJveF7fCY5+8obYRo1qS4LWnOsPTKfwmQuISA1uj4c8rk5anflK4GNvDhzg3G+ITYxi4oiaBTXjwnWU2+wQrH2IkFk8+iVkkklY8hE4Rw1u58lAz/ze6EEx7 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: hzAgKPadv3xBLk3xDT1FLcC3NgVPAq+ZHup8Z/KCrIt3b7inN/MEUBQ0Gc0eomwaWtgNdnXXOFoNr2nwZ8g8tY+QCJ+gQYisdrTmYKf4fFmF/4JbPBqNqbSHdDfzTJiuBhA47UXjs47ufY+IAprB4IA0s50mzcBz3UST6hoLIvkkyAbGjhL/XiUGgHW3/D1YkvSoWBTg/+bwlHfovl/2CwvdQ3kHkxdraUtCXh8tVJNNVNIXhuDaufyksi8HJakzrA38slBV3zOcaFukhjOJ9xLD7pl9dWCCIZ0kDWzvVT61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KWOzG4xPBIHXixlYaE8UxvBJzefO+OvEi4tBPFCny4rg/f/UQcnIsz7ZJ4Yy8TYA9ytS/8OXMIDojU7PNhHu+iEG0c/jh8qNl5WlrjHZchzodcoPLp5+tYIReeiiiKOEuAWmIOU62sH7Y3S6g56XuhLjxwx9RCaS+ywJD6Jjqa0th/sbQ0lNkgm2BIC1zxP9nKlz/JEhA6AK1jYcS X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3ddc5d6f-e85f-45e9-0646-08dc32b38730 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 08:03:03.1212 (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: OoOpTj9MFsxJX7mwzpZYwh/VUaoVNuq3Kxvx/f/mj4Esr3WSOyb/OhkDHlQ5xwFpJWS/a/E7MxnMRIMemf+SEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_000310_478964_609F9E45 X-CRM114-Status: GOOD ( 10.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add 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 08:02: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: 13565079 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B8B43C5475B for ; Wed, 21 Feb 2024 08:03:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ogabjkdmVNkxPW3rV1YZS4wK83nW0NEanlVMpjBwZo8=; b=yyam2MI4cVL6+L mQcqyZICp5NMn6yxYR4GS+8t3oSqejEdjB9nMpKX+a+LByWJpBQIH0bTz5InLlyGTSlaM1MJQma7I soVNxGMpgt3/DFRC7icqeuCBxrP0qNu1NdhKxscRwk81P7BuuF5qv7oAQlORXtmFyamplYt9CyBkW BJV6RIq56MLgvrZJ1bOpdWD0K95ugxjyGcBDxasFIFtDvVd2sp1HJ4XehoJuv7E6KP73E4qlfiBy0 I2Mr0a78OVPhW/AGVfee9ILiOz4wYrQMOlsXXKx7aIHviYe28Z5qHVG9UGPUKyMF0DnjueZGxJmBG Qf0qE19Yl0IjMnDlhkRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZX-0000000Hakc-0z9i; Wed, 21 Feb 2024 08:03:19 +0000 Received: from mail-vi1eur04on20601.outbound.protection.outlook.com ([2a01:111:f403:2611::601] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZQ-0000000HaZv-1qf7 for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 08:03:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n6NRH312Op3+7xOWf9XGASUBzi69ryYCmSThQrtaH/gljpEUWYMynmj6ROQSuRmTMRrGBNAyRS/wqcewEt1/NSqpL9WceZal9ou4fSUhFF6Zm+lTTgZ46DHbDHNNYSkI9YMSbX8YsjrEoojTe+lgysDv8ilhF4YOj+5cPlyvCKry38W8fxIPIi2H+j6kYi/2NIya0dmA389ZT1xDZ3kAqj9RDNmRhoDA3OeAwOmo61diL0nW2LPLkP7ylc6OADIHngr+ozDB8cpAhY5fqZsq9QfhOoCla7zYrRBs8hECKM96Y8GAo9ngF/KGYqP4Q42IFQn39LhnWqw6bFN4rlz7EQ== 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=Ry25lvkibdNr/z2dkSdDOOOrM8UNG46DaU1uC4l5xW8r7dXuz+35voUuuNuX/kzYWl8iAzzSg6qbJbTjz/F0HlJBl9oxSIAt9LrJABgu5H8Ur25192Q5ugBx416HnYrPLKqT28G+V+H3uAE+9GBVdJgR2dwozLI+QEBxrDaBZRnnhpAaOxLHXUItESHhskjkJfo2ZK10B5Fm9crddYLJRyBMFA8Qy/5Q55F6RKg9sWzoaUJdR/+jiLDHGoqKGirrMSX/GGgi98VMwYFebc7kykTeyPUgNI7FdORqV13H16r30WgKIAmaWd2fxVjDurxH7HeX7zogffCKN+h6NNTFMg== 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=eT1Pxt3zBBn+zgZl3F7t4VuTDbZtVdFAbklyu+29EnKI/87HkQ3Y1n1AqjVV28witlxaVAusNpeJOKPjQIBQNjAsMo38C9oWdQm8vqj/ZAIvws44Mrtg7DNgyot7GeqaRDux59sfGFhj9gzfNKPu9CzjeiWF7EsFaXwW75zEGAw= 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 AS5PR04MB9770.eurprd04.prod.outlook.com (2603:10a6:20b:654::5) 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 08:03:08 +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 08:03:08 +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: [RESEND v6 6/9] dt-bindings: usb: ci-hdrc-usb2-imx: add compatible and clock-names restriction for imx93 Date: Wed, 21 Feb 2024 16:02:35 +0800 Message-Id: <20240221080238.1615536-6-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221080238.1615536-1-xu.yang_2@nxp.com> References: <20240221080238.1615536-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2PR04CA0017.apcprd04.prod.outlook.com (2603:1096:4:197::15) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS5PR04MB9770:EE_ X-MS-Office365-Filtering-Correlation-Id: 8d209c9c-79ac-4cfa-8676-08dc32b38a3b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QwmLXqHqMpb4prlhf6kmTq68O8FWjugB5WgmF04kjCwh09WHBoPJHNld3Qv8iSwfGyzzaNf7aUJr9bIpc/OUSSEV2A722Yb02fU+7XqCTfJ+mQr9iwOH3285ocf+zHFyPtNjcL1gAAaq4Nf7Gfb0OKoOwvMN1goAgobEUZSRrkkS7m00Ufw3oeqM5qGP3gMC+3zs5utafIb0vkG+Nro+AafNYEHH2MWlLg4xeKXNkH2e4Gml5RvpPZOIbMMbG/U7SuRrDE7fETAK+hkWZRUwY+RPLYQ2Djn24LB6Omz9EdYeiL7Yi24K8oBo45wRMuH/rvyEPg0vl+AEHiGficrRfXRrUCdkZbLqD+1HFGu2mASPKJ3MGF6UbLW+gjo0pyuSLH7uPp0Rbk4McI5yfDfcjXbYLxZ6+XAcpqQtmcIhtAEW5zYe1Clj1h/lfM9nQIgXEcsAiv6DZrnhCgByr3H7HLGigFLDRhgSUwQQdy6601HNqzYGvrAs7zDFYBrxZVqumtlb7MdklJrzg1IlID0kbJM1cuC4JQdF9QV8qlYaKSTWqX0lKtMONG9BUboiV9aEAa4Whs0WZMJrMH9PgjTN5vhLuBNz9pTARq9KXvBIC5RJunP39krC6+BzMxPRI1ga 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 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nIb2nA4+62eewIvhSNa7METV3htpdUnZxl63AhHD9NJ6Lu5uEvAWK4IGOyQtpGyEeBYbzbIOIeEJsCfYF1b8YfzsiwDpaWC/BAAFkhxLdyk8sczlc/Cbe9CJ1zxNz7BhOw9Qm6K6fqsWdevuoLR0baH484Ie5wRSy0oZxKBeas8RvLhkazY4fyisyvW3l2EP/2YJjkdGZIY6CzIao7C5djPa6c4fr2Y39ddNERX/hOUyPHx/oF4g6Av0axCfahHa5k6dRurcWT/fcmnKPwrfKYSR0jqnoaDp1WsLo/S5/otskEkGyozDXCC24XbmOiPE4ngHY3Daf7g4YzgOpnbrgBT8SerORQ6DZa84lbfhF/hQqjdahfxuMIFmJnnxfXVCf4YpHX3CvVQv/m831xIJL7qHVSZ4cuWsXgCPXLdseHENhO9E6SDViBhMA+6oFjy0OjshyKCDFrsHwz1IjvN1EMNYB3A11oHuoVNrQ7Ge3QKejw5GQ/0MX742zSDxvDWOTBY9EmqEQeCJzO4w9oQQ8+uGGU X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d209c9c-79ac-4cfa-8676-08dc32b38a3b X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 08:03:08.1152 (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: pTIEmAfkiPQmBBeajaXXaWao6IX/xqqqpifXmkkT5LNavqDFYWI4/tsyQSNfRlsVNR8W2dKcK1WxaT2SQfCVGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_000312_548974_D9A49764 X-CRM114-Status: GOOD ( 11.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The i.MX93 needs a wakup clock to work properly. This will add compatible and restriction for i.MX93 platform. Signed-off-by: Xu Yang --- 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 08:02:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13565080 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F408BC48BC3 for ; Wed, 21 Feb 2024 08:04:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+MrfNN/YDMbIk9V66z2ybnB1JsGtKo32caaf3JHk9nw=; b=GBFYZDBUJ6Hj98 A7Kn69dyshoeK8e3mgYFpA6FAu5fzbYLb6jJQuxDzAkVVv1usPNbJ2SPTfqh45bEq0VahxTE3Hd+8 fjRGOavamV8XO0GAKVNT4662yupt63qReoeljIsdRgVQujS98k92oSagQqfa8ax2entlHP3cTYuZd 2YJb0i5dK4yKDqgH5rfRk49xwjosSdj3Iq4vnQ4ai80yfDueZyAfATewd8vRWImXe7o/Adqo/6V9f NKOE6JA7bTVXFe9jT2k4v9NLC5echDE6HZqvJmuBpI5ESP/rYbZF4Dg7Ekhqt1axkxGdmZ2NAB8W8 sxFxgsxwLeUJH1w2oKhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcha5-0000000Hb41-0THD; Wed, 21 Feb 2024 08:03:53 +0000 Received: from mail-vi1eur04on20600.outbound.protection.outlook.com ([2a01:111:f403:2611::600] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZY-0000000Hajz-1gdE for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 08:03:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e5uqCqTK7eInEmEP9kPtAeQmhMI/tnBChQt/PVENFP55S44S1whDnkQYWowP5uzksE2MmdsPycY6pu1uCKojq7PG9k+opOU9UK9cSmvb8nc110vO/hRof5dbvisF5R1OsaBQfTjv1PecFLRtb+H3r4X4YufKoaZIaW5+qw9UAtku52iVphUAQQYXfaeTpMPGT66ahmy4PiLs3bAbPFuhO3mA7d6yecjJKu0RQyfqFgC5AZRf8rsaDJAGX8mVYig7UK3y6GqFghYHxMUd6fiDaLxCoSClWpZbfTLZRMsUD2sK3IzMQQhg+5uz52PINTmfvbXN6kg9Fz2u+pUsgDMFkQ== 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=VUtftz+ZxvCO2hg7G/yIYkfWD/b1MUK7/bP0dZxQCgucqbjFQMjxLK+AFhWFhHKdoflPqinfGdwCMKjCJb4m/Cl2NCbTbQ9kUXkKobEkuLU5AmEh/oVQCvwFqZHWKgsTkDbTFAJ4C9NGvE95EQZ6h8T8wIeyRyDSb751V3V/xTGg1+FxH36V7RjwwXQhXy14zIxYu51voy9Gpj3EJOgGkcdiYyXY9OAD32hKa7wv8mYYbFlQeeao7bwxFLlUJe9J+obAlVlkB9mIkN42HclESJ8mBRxvzsnmB4QOXZwreVSdsvI6BmvqH93dpyCmB3HsUGOOnJyytlInitv+IQtSig== 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=YVBWhehoLzhU29PqYV4rfZEWOHaeEcoAuwrObU2YyFUcJNKh8tUgX2W7KQcc6EBM264vcltCZZKE53A0pHK3Q72wY+VJchaVesBBXDBaWKArqrLsXz3hChM4v2MlotQnIXDp1mOgis4i5Gt8bM+krcXXM//QDXeDsvfhZnLwaaE= 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 AS5PR04MB9770.eurprd04.prod.outlook.com (2603:10a6:20b:654::5) 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 08:03: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 08:03:12 +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: [RESEND v6 7/9] arm64: dts: imx93: add usb nodes Date: Wed, 21 Feb 2024 16:02:36 +0800 Message-Id: <20240221080238.1615536-7-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221080238.1615536-1-xu.yang_2@nxp.com> References: <20240221080238.1615536-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2PR04CA0017.apcprd04.prod.outlook.com (2603:1096:4:197::15) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS5PR04MB9770:EE_ X-MS-Office365-Filtering-Correlation-Id: 4a14803a-5d2c-4b97-9941-08dc32b38d07 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GdcHGLeXfrZp2hAbFn9XhMS7JlH0BRaMb7V4IRPzELO6G5s3Y78aPaF8TYobd47R7UhKbSMZlGA05v/yC9YKmpZXxRHndnpLm3vnDd5HcU+BK8NF3K8yCcM9fe6C3wBl6Yo/kZy+7iNIyUPPX8/lxNeCr3jPHPEOd/+ioUJG9WFxHdP/LudE6QLtk0NbmyxfldY5xxhknQYJTbzetbcMbrCa1JpS7JjZvwAlscHCSuGICw1GCNqDP2pvE4nSDMTGWtUmwgF+n+PQDpO8B858k4kc8eMJYcZN5mgO4ytSBqTqArZNnChaWHn17JdL4zFv2G5ZOkHId+G//XPn9EGiIeSco39Hb8JxcH5s2BV36vF865VzU8/OFpvj2LGtTsUNt6aPXEXQBr1F4Yk7ZeZlWcHxYMjAOGVMJXR5lInMT+iKgXzviwMLk9zR6P1e8GagGr1X0sU+p4AOSyzn5Sb8FV9N5uZP8nnH3CD9SzBFgqs3XEuPLRDYgiTboMQYyk/oo2WvX2EHyZUcNoZZhgLY4nlX1wSPJqxCdFZXkhjAv+qg1voMFwfN8EKlcbH1+4a7wuqDWyLcsW64rXBhENnxTqjhB7rYOm83fEVVhkBw6WBYq7Rxi7/12hYsmbJS58n0 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: mr1Gfb3TVS0aSAxGqa4iMA03DkqUsAqN975jAC14AVqA2mZumJ5T7qsjX0qe+vgW0viZSjzsn66RJ7nreZVWtZW0rm5BjljCD1JJVVA08lpKHNc7W7E/yGchdCjvkralB9Ehkzb3pO14OUicC9cJOMU378HTBTD1Yv/aA85bKZJM0lPw91Gtegu7NlUU5O1bmqcnUoKtUcnDtiKLdhLQs9eG5pq6M960n0yT4JKdtlgDfNJa8SVDYeirh7hFy2280waAp6Mx3m7o1+HwSKDZMg+o0NsGAoxpCcCYmwX9zvq0d0dQIctqLv3Yy08cUNbcedjNKzzRkK792e14Yo4opwcpgUCL2trh59Ix90BU/9gJJo0c1GCzB6cF9VC7sDTKFn/KIDqarQNoqF96hhY0UQ0Aw/cqRDfxkl0QUtZKNDHEeUdzpkxIRVr3W3JoCuAbwoyUT7EB3CdydxohqyU+ExsDisd0h5oM+R7pfbx9uZUojgbvXzYVzmAGcfCkleNJV+zW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-CrossTenant-Network-Message-Id: 4a14803a-5d2c-4b97-9941-08dc32b38d07 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 08:03:12.7935 (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: 97FkrNPvAOsodikS74G4YoPxfd7/LB6XsXIvIZ+w8V6ph1RIGFfqR4gcggk0vWYAb77Y/Gri80d+Rm1CgtdhxQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9770 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_000320_621493_24E21F7E X-CRM114-Status: GOOD ( 10.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There are 2 USB controllers on i.MX93. Add them. 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 08:02: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: 13565082 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1C54AC48BF6 for ; Wed, 21 Feb 2024 08:04:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qF9ELke0w8yyi5uETrLlEu9XCKzYrqiqhaXWaWaiBa8=; b=IHZw9CXPO+FPKr G9/GICyURYr4Y+9z7GrJuVCjlIMUFx29uYKjnngI6F5oUq/8nH3MbX3NvAgUG/uZ5aKMXw/2KtF+O dPiwHQ3CSWKutupsqMBJN4qNthNCnhuguie+n/n2j3bxVjWUuft/ZQZeRYrhuGEYLAfETA7raVoLG iylnjsRmnsTZrVM87cecPblH20Pd6XDXtmTsq5pqXJ2atr59AeLsReWW6Z1wUaDhYm6r1v+DaV46v 1JD6Fv0CG3p7tocmMJvfYiUV3Gm8fvmuejKmoYJPBl4z0yWqotqGKIVlEVyPZfGSHlENqtlWypF+o 96vjeQ8Rz43PaE32bj4A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcha6-0000000Hb4q-1DXq; Wed, 21 Feb 2024 08:03:54 +0000 Received: from mail-am7eur03on20600.outbound.protection.outlook.com ([2a01:111:f403:260e::600] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZc-0000000Hanl-2VyS for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 08:03:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AbWIC946xP7SY1MSeU++/MK31EYsQkKS5HXFz5TqiZbpIyToL2JfPd5drDZ+jMKkFlTeHVg92ObYoBDZbIyydQ4WdXuwmV/8z62Lbr+Pf1hptPaVdoXsa3gb35m0HDF19o5c4ssX1t0273+CDzLb/Ye61iHWQgDe/FrFzuNEsas/2pcsW80TPNZCBf9+oKgDBfX7UEo2OgKNCgEjqB0bHMPIMwAsrZ+thbVxAkZ+S1LXsKv8DocjrFrCI9RIPtUDXiDoXhDzEYksh8sL8dxcFKn1N31Jvae2IlR/a1jCe5ru8dzWMcueCOAGXp739weoojoLSapL/mnnPiXY2tc5eA== 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=jW31FQeiGs2lie7KCPxL7J+WNLtYzXFKH/kX3qwxujGm7eVZr+Ke1sQhYu3iQYbfBhFh+kG3+ZHntTxS0km8INTXH/4rsx5AojHDW47XiYm6H3KajMTJDOGY0dNTJtQ3i+fDbNggNCREEBf2M6MOTvXGSo9dytn9XgjWX77UQ1LPmOfbnS3CMQcy+DR+tuxe2Ho+KuGbldR2T3Vlk+ut30BtwsXfswPsH6f0gcFppbzENncKPQJL8DlKVxbdEoVacsWOsKRY/kXrdS0+DyVM0NcYDTjIpZTug1CandTAZMPh2WKi5VXIM6GuIzDa2QW8Lzn1qtd6wnGuIo7jtOWx5A== 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=WzzKs0e9PLy+XrKS2hFQgnvnz1ysRIfr9A9rlgEnBGONKtyzkSH0EXUZFa4yOSoVt8Nb0NknHb2d6t4NhputEv8Eq8sSLypImNEQK867HCNpEKNr633t/esrr0MMSp6QLVtZJ6RdGVJtBz8n3nDMgKjCxDIl70U0OrrqPIH7xM0= 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 AM7PR04MB6997.eurprd04.prod.outlook.com (2603:10a6:20b:10d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.37; Wed, 21 Feb 2024 08:03: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.7292.029; Wed, 21 Feb 2024 08:03: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, linux-kernel@vger.kernel.org Subject: [RESEND v6 8/9] arm64: dts: imx93-11x11-evk: enable usb and typec nodes Date: Wed, 21 Feb 2024 16:02:37 +0800 Message-Id: <20240221080238.1615536-8-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221080238.1615536-1-xu.yang_2@nxp.com> References: <20240221080238.1615536-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2PR04CA0017.apcprd04.prod.outlook.com (2603:1096:4:197::15) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AM7PR04MB6997:EE_ X-MS-Office365-Filtering-Correlation-Id: 089ed0d9-9030-4a81-21c9-08dc32b38fd6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jrHolMGQNTmjFECPUYc9WZk0hxwceT4CvxeCvq+fSVhCaJlrbtatO+uhZDkPpIFdZtbSjYycdYEiAiOLOIMjhL0sNbAH1SB4wKGEW3NWx6Qag9wRa6B0TgxI1XV9TCJ1RiKTuolrdyGEFplKjloLg4XBgl6220GTprvEVnasZAZz4rU/tMuT//7/AUEwE9VayOU3O8fYlPdZgTtLdED+e2b8bx8S+QYDEa77rceVH6QAjf6QDljpHWMwfCtWJ3neubCkt7ud4/ZskCHLjqqIHTeP1XuBpuf4nKFcHXME3VDSPWMNC4F+ZqaWXdHUZB/JmaJoeskXDmDf1CAX1PuKQeQIBE6gwYyWVuzHKxTUVMSrQFiqLBpXNaVhZ4suCXzaLzzF7oRwnVoHm3lP+teKa3PxU2zj+mp+CuDoIkY6Sra9t5Ei0jMul0YUr5KnxQBJAJbSieBYlQWsaSpp6QhgJ/hsQk4zSOrait27zE5L1mD4TzasCFgLVuA2rt0GXj6jyMTJyoLXSZ9cB6qG7kq1aCr3qfXOGvIm6aaTIv2Vsb+JIIQtZBqSq/YklRjbGGXNzdK2Xvy6ytkt+qyB3TJmlOvfPUt48vF5VMQB69LztQk= 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: H/AfYXwsYHAEsv6sMhqhUwaT0xpA2zX2gGtBQ4h2op6WiAvf7Tbx+YMMZQPR6eofpXPCTYbfgL4d0CLsw76RAYlfGMUxxAt3oknSmWyRQDoP+Z63AwF3pNbGLRkPDyvdvGlSh2imbm1NLIWrTlvUPbUa42qC7O2YWryShISWQE2NvajBvdwDi7eUivGflLbz6Mk59Ca1wIMjKGSJp0mhs8HmvEwtTXJkeg83szi9dW1kdDGjuakcpWKhe7InIrjdL8FvbqROXdtune76qGw5qlVgoYHSRXyceptZayQ3WsMRN1tIk23P8uVp+qdZX0CgogWKAAQLpUhApbf4TQuldJagWvXh50P6B4QcxlsjHpjNcX729vLkhy/0/dyb/ams5B62kc+dANdpyZIokz5N93VEqPHlib1er6oIBtbKh8sfzxibDB0vi4zrRhGJftL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JqMvFFJz2HOq7q7xqB00qChfmuje4BLpwc12e2x04wtHkTDsw+MAefhGPlHe2iAZ3UtsBRugtGc7JYEy X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 089ed0d9-9030-4a81-21c9-08dc32b38fd6 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 08:03:17.4885 (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: c7raNiXKQoiV6yefeSJ9FVEhhwgs3Devs6SMMLRf4xDsrmcJ4ulMfYWAvQezgNJPR0EmnXHeIrmdXzU4J/tPSA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6997 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_000324_701374_082D0710 X-CRM114-Status: GOOD ( 11.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There are 2 Type-C ports and 2 USB controllers on i.MX93. Enable them. Signed-off-by: Xu Yang --- Changes in v2: - remove status property in ptn5110 nodes - fix dt-schema warnings Changes in v3: - no changes 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 08:02: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: 13565081 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0EEC3C48BC3 for ; Wed, 21 Feb 2024 08:04:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+6VQU5uTuA+tFXwrM3lhMJNhN/6qPNRbGY2YfPhCRJA=; b=f0wHVW0R4A73Ll aSDsVLwlMhGq7jRHAM1cYkL5jg/WQw6ryJ4xFjA1GFP9N3h0rgsJCXVTiEZ4NNhFMya1ObpxL+D39 aHKi2GcGS1PdNmP6lMQfsLXoq53eiNBCKSnQ+pt23kSyuhsOxr2+NQsEQVf52Z3CB+duCqSJaLB2V ff7fOoG03upriXQf64eXv16OFi1YhyUxvBxtTJbpbJh9SfUAHHAV1jLuBa+5KtSS9nLxByE1YwmjP gOsKWK+MkmMBQcDZjiAoHXBA0BrEsUtjwqJskxG9j9yET5aTkOOtwhl9jZhYdOFwievVEwGQACz20 NrsgEAR8Xvdi349dbONQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcha7-0000000Hb5W-23b3; Wed, 21 Feb 2024 08:03:55 +0000 Received: from mail-am7eur03on20600.outbound.protection.outlook.com ([2a01:111:f403:260e::600] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rchZe-0000000Hanl-279w for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 08:03:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=exzMYKUvWU6IAhB1bgqCJBldd+ja82dOxqU80kL3/rqDM6gS719SzhDKFR/F/lOWn9yyEznSNqeDnD9VnSutlhOIczbCaiR3jfWH/Y9pDDmV/MfANJpOKRuX+TrA/ZEqfLGhu1lwjwNxy49pFbpoVjKYllKQZsBkRdVK/td6/rA1fgIAvLZ63CVzwQpH2bgBMA7sE/hWpesEftZQhYv9kPb0PnLfD4/c6YqIaMqw2w4/GdgJQPcqLKU9pnOSiL4WxBKfJ8/fpJEq5ltxDR14Jsxv3GYpavhkZR29lWmrgczcM6WhT72pSdUISPw8ulhx1fQcfGxi6zUMNWWBnedDFw== 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=GnSsvh11CZiDYXO+SNtezQKCutQKHVc3PgJbGxI/XhhlpXjOV2ALiHcNFI+3huypWg2qM1ld4D7wLVKBakzbiKd+8fk5d56AUtHOJEdYZzioahUsfHWPs1e/u1S9b6OXmgDsdJQhpazgI+Ml6rj+o7JD3viCxsEs5QSe5V0tFAu11X/1ThimPgQpXJhxeRdHk2DBQoR1M4LcxMg6CB0TD3zfx9LZmgvLWZHlTrZ7Q1wTa/C+iaXDN/4Tz2TUiCHvkk/sMZVsID9BuxW52V56W8WQM6WnM7YbHQkwFOMigFyvQYqLEHLOhJeL4sCGyB7GQKyuOI0PNPP8OVzcZuNnGw== 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=jPXdRbbHbKOwUc3AE5+n1iNuk+sCTq5wN2zlTQBRLPTdNRZ5KhsNLvznupIPeeu92hTC6aXfmztiE3HycX5xcNyHATegCdFy2+y8axofQWxMj4kZhRXEFNn3kAurCe0oRED449lKRRrq1oQdD++zkI2zfgM3JicNbTjop/+cRxc= 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 AM7PR04MB6997.eurprd04.prod.outlook.com (2603:10a6:20b:10d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.37; Wed, 21 Feb 2024 08:03:22 +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 08:03:22 +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: [RESEND v6 9/9] usb: chipidea: ci_hdrc_imx: align usb wakeup clock name with dt-bindings Date: Wed, 21 Feb 2024 16:02:38 +0800 Message-Id: <20240221080238.1615536-9-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221080238.1615536-1-xu.yang_2@nxp.com> References: <20240221080238.1615536-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2PR04CA0017.apcprd04.prod.outlook.com (2603:1096:4:197::15) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AM7PR04MB6997:EE_ X-MS-Office365-Filtering-Correlation-Id: 9e72621f-7d2a-44b5-f118-08dc32b3929b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2eQM1p8E1UnTw0jVDfb3l+ScvMcHcCE+5BaErDqJATJ/RLH/lQBwueh+lCQUp+EXU6QJ+AJxtjGdwJO3cX/HTI88vBqerZyx267cCK6hphA6F+jOkMHk87Aff22j4YavN5ikUWlwhGy4X/fjMqWoik1P1d7Y7jyBuiEMiMjZTdvCG5g7yHvghEVFxAUf7s48hLhV5QbNB1+QLfuOS0PGzNT9VRQOCHYkYBwDPs8fMdYMSGxOajLnclqxsnplxukdf4j5OqI6oe1ipHTHCyBkGEICuTdlTDV6AOGlyd3//YEfnspICYV97ltqCNqjYRfG5eDDzLKhhTp7JUni/28QjzxmLVZ8dULLXUnuTKbtdpVOQuHRfJe731/kM1oSXpnmprQqDNqKUWmH5/1Z6m9ZW5s+GALZlXDsVjGa0yLUDW2VH+wV3qP7vLZ+uUiIqeOtcqEhu5AU0zeawKR/welUWe4JETNK12+Y7sbMgOwEqOIsSo2W+BU/O0ce5GlnsrlwU71GkJe0Fbhy7nypYpUm93gQeMwWX3QL/4IoUYvkS0pAlfchE2X9eBeXcojduVoF4N2sxInd/wvksjy3JrPkLn7cdtTYTBSS98tp61N4cAjCLE17DTRtYJ3iI27Ki6ID 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: CA63DFkg+xu9RT+iJMVxbAYAmW2YMsjvCRJ0ZfiwX+Ku+FkUzIckFEczSbAtEhpjOPvMI7sImwtkGCih4JijlKmbC/AA/wB9vo5GqJ7eAv/yqKNmJDztetBeaDe/GigWtggnpE7x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npGDyZMtgZsDzsd/JVtezXSq+6vzCH9g+i6aXLKJIMgXIeEqPbw38eW+VCP/ar8ycBQbvVCEVMzvL3moxu0s4cgCJLBzt9yR7je0vE1FLISgpIylmjc7/km9v9wbO0tZqxVyKGmd/d5vsmnBk9KikAYqZJtUmRrwiXIwE5eB03oYQRYhZ5lCg+aI/C0qQXfouwVN+npvlEq/sRHh+D1tvT6Law4//hKTR8hUeCJyFeZpjsM2fV6+a/jU4ga8cC5vefOTWlNdjXHyoOtLfZTK34CKsZCehfQt9AwDr7Rwl9GX6FQdxfzf9hHOMu1QcfVhOQ7a+BCMZxjz3Q/mJqW9rR0pZeisSYfHG0THrqnSwS6HNs/gKIo/yrfP17HV7hHQT7cuag1a X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9e72621f-7d2a-44b5-f118-08dc32b3929b X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 08:03:22.2786 (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: E9uncaHSosn3SaIg0XldRGJ3pLlVZWwZ4uDiwrncnYx9yzpzdrBd2Fk2LneV59bEIfzXFl2e6KlifI2mIq6fww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6997 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_000326_610042_9C014869 X-CRM114-Status: GOOD ( 12.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The 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");