From patchwork Wed Feb 21 14:58:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13565004 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 F19A1C48BC3 for ; Wed, 21 Feb 2024 06:52:03 +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=2GvYlqwVolonxA B7iYDs3WmDt5YwC7Xw5JFKjSX2pg0acm4AynHnLjrf3B0D3OaE5F55rIBkHbguJnp6zvo3LMc1N29 83vlHwhHmp5S+pmgmFsS7steAIJa1K4MpHaJiceZ/fUrKjp6de4ouqZHPMURZnv10x6Yq6rPb3qo3 gN/vcZxJdlRLzeLt5t34WWLis/U0xqWI2VbMCYwZrNIm3lD6CLTQM1lBNONmAme539hZ1rKse8FcL Vk2W93VRO2RZpeS8ur8a+P9RetbKU7yShCAHC9xh7GJPf/DED6uKGbzmEz6FywNlrsP5rGl1wbHiI FG56RVehBg3o/LpfPf6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgSM-0000000HNTe-1uRw; Wed, 21 Feb 2024 06:51:50 +0000 Received: from mail-db3eur04on0623.outbound.protection.outlook.com ([2a01:111:f400:fe0c::623] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgSJ-0000000HNSN-3Byi for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 06:51:49 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HNqsKwhRe/degU/P1CoMKna4hrvqjphQrijrpJJMKp+olFBvCnIyEp3MAk3WAZIPYimPgIKgnp/9fonOQ7mlaPHe8z+5vx6qEnMB6eRLYXtaj+TGxaLPPjwrwBOtiabYXJNKollapJQ/xL59H7EwYMl6L3ep8QpztBTyrG9eZGfh+dlpFQLkDX/BAQ9equ5RlqmVSMNTuKTVBFNn5Bmb28U8FkoHctLideiopbFdqV/r/FbK/yL96LcNrWXKiTUQx1Gjl3Mgm8wKk1mUKsPEbBgPl8pV1b4Os3oKhSCAl3NIs8zkYuwtMNKh66xuWzFpf0rSEjCZyUC50WlSTozOKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lJOtsv9vOHwn13dtC/HFOhSMqFabrrOR9Mj6iUBep/c=; b=R/pJjM5HjGjYjtJ5yLUpsXonDF65yvLX3VYx6pnnlsAMXNbB1/LhHuUZsHEKswcYuz3SyN3+YYAM4uzxKOH4jkklESBHthUpC7/p2cIl1XiLBeW4EjpH4kP/fwOaUuIZV8jy9lRG0dBxpM1a3G+0JQH2Iir5KfSJtTBiJWKHrhlU3wzoJomEKmk6mBd3/ESafGC4eewKVCbv+HK5vgZdusi8u/R4n6+N8l9rOInAVIBgHfxNX9nwj6Hj62EOt5EVxsk6Ddt8jje3C87KpSEdDKwyE7pZ/dNhLvvAZwQOn9J9Y18b77FzenHnGqny9av9QlbzzYsmIChCtxeQnSetNA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lJOtsv9vOHwn13dtC/HFOhSMqFabrrOR9Mj6iUBep/c=; b=XsZYRgHg+85QHLY0vkfVNOTwVbCgqB4aF1l8BPyYQnpKrzBfFd5to2NhyuDiXzCh37CYNBDaOqWxVZmFvTxsSVAyJTAnhe9vAjHCxh01Kf/8huwXjofOx/qcRzJYjbmMorSebjTiVLQ+K43yiUXa/qRWaooSi+5pZcAjDY3orq8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by PAXPR04MB9304.eurprd04.prod.outlook.com (2603:10a6:102:2b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Wed, 21 Feb 2024 06:51:35 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:51:35 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 1/9] dt-bindings: usb: usbmisc-imx: add fsl,imx8ulp-usbmisc compatible Date: Wed, 21 Feb 2024 22:58:38 +0800 Message-Id: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PAXPR04MB9304:EE_ X-MS-Office365-Filtering-Correlation-Id: 443e9679-f7ec-459b-519e-08dc32a98b64 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Z/3I3AmyLOUdSf1eIR5zT6g2fX7dxABU/yF16AhsUFW3EpTfJr2PEynabDCoEvuWs9/TNpDcLSYu5JgbiLCwpncZyQYS2RYxv7U3w+5Ma0bkc/LA4MLrca7HkJZdoL2E5NJ8O9IEq2R1zyPHYeYFIM8ostsdth5ZF/O0QWTQFvbxtuv2mODUcSIZStPrge9szcxTewDsDj374lvb9jOQEVlgsTUHvrPq022RRAZvuI9x/8/xtpgz2x9BvxwMTv84VfxLz7VLMmmM1DGSsMrsIHhzGE4U4Ri8I1tZEnpGxhH8bXDR5lxhuX5gFtK4aj1OHm7OLLsfjRDumFbegbqHHhSx2wegm2xrXJ0nHB86Ign3aUkatbaMXmkPINkoatj/FSR4s90zbLuS9hW/7HkXbLKAQ+z33nVatHcXg4cgYID63+dKK576XVJgKExhHjGOl21cTz6ARgmIyxv6TsYCOUGJp17tmhbGsbFfySzcuwi3yTVJXrj3uqGt4DSFCN8IHBBZmOS9DlkKfvjN7SY/mKGKeJrx7qF48lpz0mfjmZX4NkdMJB2YFnk2fX+eErBAQjQu/BAkhuO4ir2xgtQqaEKopK4biWNvG5BCKAG/mt/Qfh+U03Ewa6hyZgbR3XL6 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: jxZse7tj8d1x1JAtvyVbWHX5KXvn6uBcDp/w77Z3kZhbqwEhRQZavEQTXoetd3jxPbBGg+HNdPCGgN+iXdD0Hq32EGdorUxVrJW0YU1Ay7PFOlAficrTQfgSWW0RNhxXrI2KAvZ0K5gHPHvEQ4VJ6YmKYwWEyxH0+D7YZw93TjB4Lq7Z7J+Bfw6SBsf+diOpST2Xvb0zbbjvy1ZlzMu8/8vO/TOHigba+TkvU7KCcSWsvxvexy/RSDJt0zKriYRO8wfyRlwFy9T7iM4uQYpfYxfkbndU7m6AnuhG2ZbxD+wgvi+OSVXrB3fMWPj1oijyBUKeQTQI5rvU9W1YtTn275I7AvMqoMDPuSeuflxQlYMDL2ijWpSmsagW1RMemMUTJ2aR63Dkjf0aSFQZH0EwTLTyPur3L11ZLztHEyxQKEE9yL7YPEKvNfNmP5EdFGKu9m4SDJqoBLmQpBogrVYmCyPPc9Air3NbhsdHSlIXVhiPFMCseT1z8JShNba+97lpkDET5Jnp88fCwXiOsPUsp+215ZNHL5TYwVo6gZwlQq/PcaCT2a3zHb0FTswTY5IoroWOep7KbA0+ra0NYKjiVEhLl83Kn+5VmTfT6UaKkL37goKcYYiTDmlwDjvT3lOL15Vuo/8KvRp7Dw1VHqPnzzTFWzE1bqFHVCmiF4MUyDTxsiwLisHu23njyJ/tW6r3H//up0yYXsD9PMy7ey/lCBt9h6YBEE/OcaEtc9NDLPmy1fogcsW+sOlbXASxkMEVz16qasqy7HE5bXbdEy5THR5HMJSiRJefPvy0d5PAMTD4H2qP5twAbZ3P5EHjYmYZ9/OZCjtksZa7BXaEkc3KYUYA8pC4Rcb2egHYik4F7qzLCywlRssYGaZmSrl9UVmEbf3CbuHQmzMEbMVi9AYaiRNnEsVrYNZyJbXx9b682AFQqUtvtrCuWq660GFqEdDxUlY1XilmA3pgKrkAb6ENPQyBeiBHG62NrZYjYJV2fL9s4COIyWt2SShsr41QjyIhhFofkU5b3QMtMs/b+sjPf3AT8RkhhEJEQdqwYw8qr3y8W1UdslRNFrgbfSqCpjLjeGk1wRw8tGLvoocdMxcmxS+2S93Zyu49U/jbudRRwPGiuwkPWRTAAaDqmLVoHypWh7L6UYxAKYtWHTLJzhg1KmmeLgLtIq14Gy7QgN0fsgqJCIqB9VEHzmgBHVrtw4r+WinV0T8apopvIe5J4aSyS1/fkz+dK+oKhJbirw+O4BOm2NS1+b0eyi+dkU/UvMSOTto7NSluKXHLPPr/Gura5o3wWAPZGEjKNUxfHRIFIfQfcumgIErJCgqpHqcWkN3VOhQOgcVUNrp2RAIh4m6gcOfQ4yLiF5c2jWGxYCSjMe9BLnX7WQFuN4aH1II/kv+vpI9ivUM7trzRiCBRG3u+0EDVB1DFxGw6QByDHy2W5dFeCIAbUYllpOWDFsmyhXe02+7vmyukoSOd4/pkrKGAahtUR/6a9IEV9x0fZ1i5iAw2Fl4d66jw7DsNayiunr50pwc3uhkbFwOgfkEMZLZ6jQtH285d7PVIMzw97E5+9Blmb+oiNa62yztdLrdIuhTc X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 443e9679-f7ec-459b-519e-08dc32a98b64 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:51:35.4249 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: cuTbbTwjPcZvez+VC1qkFvFT/G6jywdKro5itVFQctVYOu+OnB2Jr4IQS47wY36Auo+hLrDDOq1cDAYd+UJyeQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9304 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_225147_808750_D2B46924 X-CRM114-Status: UNSURE ( 9.74 ) 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 14:58:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13565006 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 21079C48BF6 for ; Wed, 21 Feb 2024 06:52:10 +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=iGxO5sPiLRyTVz 7LYSVX5t3y0ef0v4MrSgi+oz0e+o4UY8jGO4uPOx2e3cUD1dE3L4GgX12ibC4/lstn/YUpwc2VBzc v7KHzbl9EHZuXXjM7vzL//xZcYPSJ6Bp235S963CWemueNaON8hR8tSw0cAwPZB3mH52tq5Xo/A90 1W+vWVmMsIk+peu8nBp1fVmxtBb4j/UJ+Ql7J190DxrRa3l/G1jJJ3gFqvoSQL6/B4MVbTArzyJUR BBrIliuFVJWGDz5Y1Zm/qO0Cg3f4NKrnPLQPmh4DsnU0g0sNJZ7T3s4k2XoWrQD9KiLqYGqJiYnta 2U2smpxaqeFgUGOm9POA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgSU-0000000HNXo-0aTC; Wed, 21 Feb 2024 06:51:58 +0000 Received: from mail-db3eur04on0623.outbound.protection.outlook.com ([2a01:111:f400:fe0c::623] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgSL-0000000HNSN-1rRc for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 06:51:50 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jmotrnNs28Ey3beio//2/fdlo2I3a8nKAzEsuuB1KJM+wpiYs5hu92e133prtk8YQVroKxwfsEOhtr3jwpJbOn9xmwrcXHDlfiMszANwOGipaa6prjtjN9XuLTK8LYokF1+nBZ7CoWHISZkVNc0gL+bvAB/NsA3ZSfgPBtIBk04+WE3Uathy6X9z2J+veEtgHilL9bzqi3MjnFJjZuEfgLg7GcfG4YwKV21WvlCQs0YIfttmK5PurHr7SfojTqllnuZqYzcbqmn+mUSC7HTafPTgXcxGiOeNwxNiereQY2/DrgYmzIis5pxG2MLTtrCmE1IRLmjZg2D191YV8+Ku/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+3DUPiZyCIF0dCjWANuXzOz5GbsYzZUw6r+jJ0bIXTw=; b=DYk77QPS0mtvmJAbXscsQSBIzMs2RmBDC/5DJPqmH8+dOVnmoyBWnVWdh62PFpVwbpdH7tNsVo/bzTvlb2hDY54JPVeuQpvkglXRN91icXqTD8tsCIoT1/OSnRLX61a+bAvVIjutI/XfkA+NOCjvC64aN0VoJg9WLwSKXLJQ1j8Yfd0B0TEULq1F4LwPCPEJl2VwyMPbHfF1jXmE+Ic1ulkPqjqA386UDjg2uSqS6P+p1RalvAiIY/7DKaH7tMft6GV219jvP5MieIPtkWl7tR4h9vP4+8cc9AjOHz+AfFPwpz4je93LTLBSQ3+Kzu4I3nRPxnIIT+HACm56nLBo4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+3DUPiZyCIF0dCjWANuXzOz5GbsYzZUw6r+jJ0bIXTw=; b=A9Mlz7fTslTsdYMYG695feUMu8vCwNwEsVz9qy82lt/37DKIXz2Kjk1cWFXXjzINeeNHDPSbWm8iDHO0W09BoEAYKA37o1I6Gk2qOunprEuUAyapBb2YkqxXVlAsbxozOetsW3VEAVXuOA/6gmS4Qp8mCQyXv6IUB7tVqlmY4nk= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by PAXPR04MB9304.eurprd04.prod.outlook.com (2603:10a6:102:2b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Wed, 21 Feb 2024 06:51:40 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:51:40 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 2/9] arm64: dts: imx8ulp: add usb nodes Date: Wed, 21 Feb 2024 22:58:39 +0800 Message-Id: <20240221145846.1611627-2-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PAXPR04MB9304:EE_ X-MS-Office365-Filtering-Correlation-Id: 5c0ccf0e-6ea1-4f9f-02f7-08dc32a98e66 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CYM2MsFKAQpYnPgDVNihnJOJtxRNJcRrMXVZCBcvhGoMlNvs2V0piLItt5CSwhFV2+3lehlpbELc9TXkJdT4oAA4f8q9mkMZRSLDRJb4Yx+dyfkdKrKu1D1VgG9NOIJAKRESfblHxyfH6EVnZMMlmcsjMa2n5HiE0XuJrtUrp/8QQr5wxP3HKNhRkU4quJtAqOlsnObiSSUNO+H87hCW0aZLm/YGWqpUu9pv9z0l0njjqyFgy4FAWIEm5EhWdTwJD3dLVencn/AKX++OuiqrUSVC79NocvOc5o0ejJOCdynJbRIyqvN+8RI+gtB2fhqzMRgjmSf1a3VPidLFJ6m36XsICsbPQgfmOuk+OBvCbI6ziqN8WIWyCXQqY+hIDMTz52+a/SyjCnDMHX8InT5qbaCzlWe3Bl6Pet3q7otHLAGdSUe6WbwHpe6AFjZ7bEctw3SDx057dnvlXRwpBS6TPt6JXgDc3Th//RKU+HQlK3YV2+x+juSmWkCRh2iLRaid6i8XYvGyjX7mLid+pn8SA48NqZiIKJklm7ccwnAQ1GqC/3wvvC1LjXpcoxvt6gr7iRxEzuEKdFUmrgykiqic24jgNqFsyeJXGQJt+DBqRa/ykiCxrA4blfo+UfmUO3kl X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Swx8PeLUDFHFZWPUIuBC8Rst3OOK2Ef7pg7Ca1ZgNMODquaTW4x/qRXUI0IVYNPK7b7e+Uo+Hp/lKb2LqoNXKQz51MaCCk0QOHzo6RfqQhPoXWgGQNWWhXSt/Z9raSdRzVFjjTEFP5skYWzxP2wuEtilKBDpmk63LrafFgfWIhu2T4mZGN5OGTSVh5jCX1My/vpHTAcU0Fjo6RYT427WP9Kzq/EsiDARgw/14xmfkk4Y3IxE+MWMkTYYsE6qwT+5heWB7FIHo3eEqDFBRLPcAUqqsQFHnk1hFd2PM+x+jpsVy3MWVsYYytfQXoxK9bT4/Asg13WI/Ex6CPICExH699vOV2zK5doO8NSU4ymJbwpDNFFCl+7xNKhugfJQcMCI+BwqWmZrKyPuHuicSGP79U6MBImSbEs74gUHYopJ0fPsrBTaWVxsPs27c/+OkuGjSaOuprYH40BogJG2AI7vLL7RAkDFMXaee8ldiMBOeuKB7sGTO7K204a22ET11CvlYGALIgDiUwoHpdDiTteCJwedbrxjIEk10M9eACDt7y4105ysE1rHcjLyFboJrpRIPZ7nZuEGpR81Jvs2HOZP9Ylu9mFTVWj/Hrkxo5HnTSWkv0dFWmGkt6Akl/gvu2Hvnwjkj0jOBKefmMgERXgk1Ao7uXwvjkghL8EbDL0KqtS2v39/SSm6iJHoZXNcdfa3sFpzchUexxu1GDENjvCUpXutoxL9t2p1EoZLkhsZH5NwCtiSJ7kp1VknsUlccP85lqMcppn8K1MwHDRGH/Rfj4YuXCOwupNspr81CozpxgRrVRtq7Y0ZJQ3JKLWwn4GWXi6dde25iJuX8aRr1BVZqep2yG1Wdi8R7vDLuJmpmxuzh3b+W0LuhsICmQgNRSx4mcYHfZ0BebSqu9gh7Wd4Y/frOF4b+p3e8yo4+gC3Io7JmKIuNBgwgjoGnU+Cxkm6xv0v9PPL6qWlCKENxAcGwoJ0jNvSzj+1+0dekdPoqnP4nWyrD9hQNubDMp0WQl6XTT+UpQ/broJCyz8x8Q24R3BCv/WY7oXDNNzBefHYqcxdUI2niNwGemEXYwTzj3Z41UwfJfMj2RlRqayMIF9XJGwZz22uSlVb6fLKnUQ0oArYFY+XebUcu3dKINelkQTHrqKp0f2WjX/UP5AY2wCMYV8W9sn76uCsoU11KLNmdBH0bRfIuezDEIthlXIx71E/Nd0MfJov/GecFXOBRAzRHepdGEKfSvcfM4sjS7D5kMOc/cgtDzyacgXy3RtiG/otGjc4aag+v0vRHVjrzKWtdQjGLWTt6pdtlEaIYUTQI+dYZxLVlGkgK6ENzS1h05bnwr0rCSBjKppOdo2Ulfe/yzKMyJGC8aDQvk+/42zHUH7QEXPDZRIr86B4b1OHgjLnyqPTeqefZMSujrssU4fOMDic4ZWNgHzHou2qG47mKAQo8T+IY3kTHOhwYaOYWGmbXrfMCyL2YTexUdGcd9fqa0lsUIMH2hQXZ9JZ5LokFVuNMGWO6mKmnOZ0z1G8M3BY3KozGqMp5k9dRzKdM0zO8HNguQV5lly06EQb+mcwvg72/m89OVrtqGDdY9GZoLn9 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5c0ccf0e-6ea1-4f9f-02f7-08dc32a98e66 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:51:40.1682 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: MQpkZZZMMwmNBi9o8swei+7GKaokkTrXtOBV0q3HH0r09PLcUqkNGHCewoS73+z/m74t+ZWXAR10NI6sOk+iAw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9304 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_225149_507785_5CAE8D9D X-CRM114-Status: GOOD ( 10.58 ) 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 14:58:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13565005 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 76797C48BC3 for ; Wed, 21 Feb 2024 06:52:09 +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=seNaTLdCUns4+6 sHRw8bErt5dMQ5tf7FuRYZTui72BHHlz9x5888aqeaxeja+Pd7kUz/o0NVKSfHGj+EInCcyshJb6S QDEEk9bAAcTDNPrdCpDJxY3mUfkm/U3apzy4+bKQ8rgC5MmMsAMLgBNY6E+vY0NrLQkT/uCO5BqwR A9gN8R+1pNASVUjsy9FEiK/R3/TnWNrTASX7XFGniUrNV8Aod/07Mbnz0oYQ7oWW5Wy5Jtfo0AWlu cLjjdLW2Syhfom8+z42PW42ZGTGzPrmC7ZYXMkKO7rCnydduQ1tdwOJ4tQgaIo7eV1a7enbWufVd1 17/W8pSUzA9MtjPTvczA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgSU-0000000HNYd-3iha; Wed, 21 Feb 2024 06:51:58 +0000 Received: from mail-db3eur04on0623.outbound.protection.outlook.com ([2a01:111:f400:fe0c::623] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgSN-0000000HNSN-07zY for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 06:51:52 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MJdti1zECQUKRUg597zR6QcdIx0UCOjWhAUiBeKzrFFKNEzGXid+TahITe12vVlbnPj16qj+4UsVRqJUy21FA1EajBPSZJe4nq1H+4e9/SI/nDjCIxwva/N2Q36hTB5PYP2d9KGIEm5AVmTcx6pftlh+SVeaEao6Kem1KOj6SI/MLIT9eRTVzKXPCsb8sDd3yKEywz1hbTL13P4PXHULsqASyIPVnvOZoXvqMGmAFZvs/o21OI+zn+CGNo3wxo0s57VKPdDA2jmdb6gy1pJ6nbafThCn/MUGY97sdQlYXOv+uxORU3/WIfSeAuSdeNDBV95A5VjHTvYybFATAVoM6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=b4zReIWs7rc4IupR5I6CHPP+Uxix/ZgoGRzkBt7yCRc=; b=ib6tdNF3ePLfhHNM5Rgclml+YqBCXs+yoQR8+E/iqpyeDe0cKGAAKl5JbOMcjuEMP2GGI9cnWHkYxAflN545JiN2oSWq15FEk1bFaxbyqgtE4u7Edutz5xlp3rI0IMsUBmuEvZpwW86xXX3nY9L/YKEhfR/mvA183sA5fCbHVjCVOIuALY55HcRguIGVzQJEBuXaaxKsc902Ixd3fcnRFbCNhyaZfyGQ07cviSjQiLljp63aopER9W+dFsiU3eEvPW9SQumi9Dk+gRKEmDqGIziNdofhRFTbf1mcchO4gZqWfbnylT1SMpmSO2VZcD7pX5YghnrSJerBUIaOD6xqXA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=b4zReIWs7rc4IupR5I6CHPP+Uxix/ZgoGRzkBt7yCRc=; b=W8JlJZGwTz9aLCWGO/xp/rPri1JnXsYWd3m6md5L3yyhMUkhWHhCNrOzgTobJ8/ugOEs1kqN0yR0tt0g6Z+AJ5n1EP/qZQzOlYc73teGG1offk2ZU754gjBk27XwC75QgKT98wMI1wpnALelokBBPYv1HMeVUZ74MUAYojikOlw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by PAXPR04MB9304.eurprd04.prod.outlook.com (2603:10a6:102:2b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Wed, 21 Feb 2024 06:51:45 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:51:45 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 3/9] arm64: dts: imx8ulp-evk: enable usb nodes and add ptn5150 nodes Date: Wed, 21 Feb 2024 22:58:40 +0800 Message-Id: <20240221145846.1611627-3-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PAXPR04MB9304:EE_ X-MS-Office365-Filtering-Correlation-Id: 26be403d-2bbf-4203-2afc-08dc32a99140 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tziXB8j4jlZCDdeO0z2fsF3jkN6itbB4ENSQn9wSZoNyUwCR+71PD0ktQg4GKePY1yMZ/6nHTtjAk8NOMFZtQZpwvhLHjvMNIbzsB/K5VUKhFDo76mN0gbOz9ZN4BcSU3JhtWlGMJEg9RxQuxj9UGkggoZrIUUxK1svm2aL7K2w1Sx+kkHqOg2C2wvyMID4Ydrmk0g5yben2Cj1VfuEcaCFTQEiW4ba+y6soLe2px5SuQEelvKUsP7luh4Ey4d3nBE5QpImwxyC7EDCGH2Gf5sjvGc1PJnpKC+edRQ2JVozd0+XaeKlTgjEm7mbqhmEsk6Su0o1MCZGjBo+Wo9VHE4XDeasHTdq2HKH6scyd30rLDqfJUPD46S246VdZZFLg8oMvnhIgx6xEiCH3RZMokTiGke1vIXJGk7K6FCWOHntZMq0ObZ3y93L+BKHfCBDA6kc4t/a/5HWdDo8SNTCk2ODkUuYGnlv/QOtgyqUn6sVhIYMBK8FKHMNiTJresLidlrJlSycKHpmaGkxu5gkZ3gO1762VJ+3Z5Na8HvRT7MptlpZFi+pVxP2sA+PaRE7zSoC/WEcCXIrsK8OCqfZjeg/qsUTDhfFsB3OtBSUMakZq6CQCNGqO5LBVnZ2LSO9B X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: VIWJmRPkYcrCX8YDhD6jRxGgXpssvtVIhtmXmztK3KlAxwvSYs6QlxTXCMIUaD1+RaZSOw/ENhiAXhDBYMpOVF51M8kKqLtd/Vqp3/fPnX4Ei8XHmiOu8/CXyw1VIWn/AR0qlCQ2+mRPYEPYJ2v80XmHpgEbh3ifOnVQ9b7b2IM+1sxPKEKR61LbC/QS1M/5cEGdrlRyh+vcbR7ZWnmfMMPMu3vQlexE14NQUpaLF7ZcFTIFkyFBBPDxthrwbvCXBXo1MzC3zArG52JHoRy+zfD3uACS2nSWQGi/zb9J1c6osnobaVzMtIZTQdhmglSiEmXouSy9r1eUOLI5P0t1jCGrNZ/KsVv6B81ifVYu8/6JlhlgUI0zRXS5G9riYGPojaiyPS9WjYgDUtrAAjeQ7qtvWUydStrMpnPgaumx9fJXZxtCKJ9rBdoy/3ey23zws8SeftHdo1RFsVqLP27RB/hmZ1DWXg/uynzkEacUFI3W/jD6UpCHDbfAw/0AtUm2T/Q+ZWNCyHWekDwVpPw/VySfYYwjC1Cmd6uoskV8S1I/lO44fnsDoMUwbYPnLro1BVCAH7bLCwuwCI9QuDWcQo55fzZYbyaIx6QJ7alzo8MSHU+x0EEdFLkLpJ8DC/QtdOnmpp+WWIrnCUW3vnhoAd83kDz4/jpAOS6FsNfFKHLRmGpokbP8/TR9IB1nEAQUjt4UVJu7NA599LxhGtu8xqlh4X00q9JZTDEdBA3n9tlerPDScCJTfSdJpQy8etSeBXlHk26XQh+UoGmfWxENivhqattvSzIw+KnczvYEyl/hXu9DSLsG2me/YoRYJ+vA30nRWdPf1t4/2HqQqTJgcGzfgUPYThVRqFNVjJhAekWuOez5TiTJw8Bx5mx4zBRfqGOcjRznfr9qzVj/aBx5VizoqToPLacbQv6X+95FcDzn83UtFM+vv9P9JSf4TxMzE4sFaqhSi15frcQyDhJoVS6Y8K1TOyOR5YfJW2fYkPyDvfmUiVvgLH52foRyixqou9+wm5tHBom5G/wEbXzs+wj9lEeXmOmiq/KBrxtK/tcduPxHcOffpML8uPyLPoj9pkwdtjaz98qt+b612Z9lspOpZoMB8hvSTwkOtOYOBYt57VdSYmhJLneMXcKdnNNTmdYUq+me1xyijIcNL2ja7RI2BlLnqkfA5Hxu8qgz8konuciTrPiQEfnBQUsAwhzabOYYTprsUTWf1EHYJKxNoyC0+HTCZ2kgCzAN89+I3PN9FK1N6tNR/VmfKnoiX7Jo1+OBI+M67Yk30gjsrDYPG5Wg1Gceaec8qSlUaWg2ngyb6NQnVyrPwSo18ZOfmpXpCGyM3wdHRmoJ/ULBs8kh2XDLZbxlviNNWEDT35M6iAB1JhPalUO/6x87omENetXBC2HrqjdY5udJWglCWoBZTAHDkmUyrfxcfBhP0ALxbeLYjJjKFMJ38l3gFPpHI4LUbn5aQJtm7xx1qOeKuThcbO+hNvDJlTWQRqySmP69/zvXzOc0vIvhPq5+vuGGPuB5ccnGh39ALPUgnWAS4R8WAD/L7TUoKt1KOOUeNgmTdT/FbPW4AZollU2gVpnzMGzO X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26be403d-2bbf-4203-2afc-08dc32a99140 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:51:45.0151 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: S9MT5I/B+07OpdBMP6tnMJCOq4RsAv4YrRGtY6a/SJro4ggtBkXztQRGVm1XAaP7DX9rpwTTSaVspBhzgCSnzQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9304 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_225151_106785_099D34FB X-CRM114-Status: GOOD ( 11.37 ) 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 14:58:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13565007 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 AD422C54788 for ; Wed, 21 Feb 2024 06:52: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: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=WMLqLNWX6CuVDL qgR3Q6xooDAB+gJXzOjAnPoIUXxvnDI333LyWE5Ucr5zS3oeEPcjBZHXlG5rylblW6fV9GkVkDwYi udKlaIkRTESe+0HDtbaj0tgOe96jntQ/NeddSxJAUDVvv+Q1NhRAScpG9Hd1/qO8J1i7FW7Gty76g heg9or9h2F5mfXGiH8pW8oseDfIYDCU8khftkaTb/W45Mqe9JmoT8Cr7Hd0yv6CSlRJF7yxwObG/z +NEjZ0rk16xJP7DDB0AeFKd+zi5mGcDQz4UYBt3FmYJDwTFsBoZmbCwBGuS2zBzDOHJeK7Fm3HGu/ FNIzMQk6IeS7HJh/mDOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgSV-0000000HNZF-32t1; Wed, 21 Feb 2024 06:51:59 +0000 Received: from mail-db3eur04on0623.outbound.protection.outlook.com ([2a01:111:f400:fe0c::623] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgSO-0000000HNSN-38iT for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 06:51:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=izT7RGscfNrSXZ8Se6DW9Mb9tVbbmOEN9C1n8E3ghGFQ04RH7zCIXWNo9KOmeHHLZvYcU7TKX78lAigcGaTBuKQp9ASAr7QugtwSZXD8Mkj3mVEqAOZw6KSzEBwLEbDeM+UjalPssFRcOoGYFzqYaMdtw4QuSN08LDuYd6ISYWA5qqmsfab20NeRUW7ZOOAfACHgFyg1BFb9TRla9d26qIHw5uGA3U/PSHSmG/gnE1FXx5uMOgOkO/KxvVdP/9603Lkcm1NhgGDHaikP6gp2WHCP6DLcaK8oe+ZlXbIOEQsvHxvNPjwv77zKajWRmTljIQqoou9CNfREGWfmHom1yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Efo77SPUftdc6VSRPIBJO/of8Og+4gFvmQDRGFG4FDE=; b=SbpeD1674dcfMBr1u8h21v/0rUeX6cJBV0qXiz09UEPijBr9CdssXC5FQyWoIX0qUyKuaVGDCrlVcdeGCHI2c/wzRNDHi5AUqvJtAC0m5CfXsui82unatDZNBVJ++Y9mXWa6vyD5pb1fejxtg1IzxaJLzHnluZmKtjn/ZoNOltT5beokY56LMtSWJFy2gW2IiVUVgcTv9OoU/nOJ0dT4rd8yHCPTXKycpu+TauuJ3YofFP+CJGArs1kx4/XGSoX1Vyi25tYfDg6MIg2Mtx+yy3wUF2i+8PpOAfdvdP3lFQ6JDXNzXJqclT1FEdkSWQKO6b8mmdNwhrBA3weW6NTzNw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Efo77SPUftdc6VSRPIBJO/of8Og+4gFvmQDRGFG4FDE=; b=BzRQpNhqKDhJKjCZwemAyoKK0w2J5raCPc/DeNC5la/hszV47b6qEUFMib60hzbK2tjjCKiQAcrRKOPrZJw6bnXYa1gqs9gg3f4q8jfSY0H0xh22/QiKL9HvRqC5jGQnaKhQkDA3aPTKJQkhgtcNvNExNZWMwsbxgnRJNDUi8SI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by PAXPR04MB9304.eurprd04.prod.outlook.com (2603:10a6:102:2b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Wed, 21 Feb 2024 06:51:50 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:51:50 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 4/9] dt-bindings: usb: add NXP ChipIdea USB2 Controller schema Date: Wed, 21 Feb 2024 22:58:41 +0800 Message-Id: <20240221145846.1611627-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PAXPR04MB9304:EE_ X-MS-Office365-Filtering-Correlation-Id: 7ea61284-dede-4a24-4131-08dc32a99446 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: J5L8OSup3E+InYyi6MQtWnK6Kmw8uVL5Bmm8zOA1J5fUa7YUkwHXvLBQncovokpOFdhlMchl3ByPaVzigaJS8Lht57qngLTWZkCZB+Z52uk5QzpKojmS7ILuFPwzAPUN+GbII4wMqGpAj4wuySZlqjpJ0pmAaD23tbdNnmXpX9sY52DGyaF8iwy5glx/SLAVP0JM4ZRXMnc6Ki5xJYkQ8B+1nI2u30AvStziNbK7BrPdsePd4CPKFlQyLP/3QKTCVzjeVCC0Fhh+Z7DLibkwJWIsNz9KYm3FMu0vjMZjgnC9809EtTdkP6E9gUyzgqir72D4Faz8BJ/n0VoUaqgtAODGeXVkWvyRQ4i/PW0E2gwyYSdSHwPSJypgF+8r3Cv0r4n558c5+OFekl3w4kxwax8NzIbsiS0/3ta/nopp8nK+UobtQmCjk8DPgzhAYG5KIr2bDz2MjjvORWFlpAWpi0JUMNRyHgSjeCQv2Z5TVlII2l2s0VsHG27KHRl4DEUZZkda9qJBKMXNDEWj6o2GQ270ZFHVmpyoL+mHDgqJtiZC0fu5Xp75sIuwwHiCR6MRqeECdN0jFFDaul9Zl8/hVDmmE8T/GGfJT10IDPb5dL8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: g4tibJfEXPexFzoTuwm9LfIG/KyTT8qoJKvxg0fAr9tTIgP4v4sCiHb2g4JZHvHzRW1RmMVVbMx8xcGxQ0EZ4v21nQNXkIGvMvH3B66kWvRgMZGlFwONRrLZYkvDG+YJvQmWLdZZnc1B5Bym4R6GNAIU4MUXlFBDPi+e3/EUTE/N+Nr7fOq7jbMtnEPW2QaZxcfcZBDtgdWURmbgwBkSf67X0dEYHPbYwvttSI2R+Bo6UBMyeiQ9YkFAk3kN+v0FuBkpdLC8oYN3NOGBPRZow76stLAeiLDzaGHtZcqFkstUjfrIai9h93r0myp6pWAvwd9ROpFDQ9Czc18uxP9KLzTMpe+90UmS7DDY3MsVwPBA9K2DguVH2leS3inIURQqhIJClw+Kiakpfgezk9jHCGrQOz2/4jKoJG2lioUX/w37naK3UQkv/Jg05CRPKqaUZ6MhPvzSWBrBVWBdK4YpXej6SlsDhdzhT+4Egstx5hDTxgRoJGJYJbOZLezezeOxXTp0JiUiUjxDKtV/VumdYeaOifLbzZkcoodOROwg4NWsad7sZZPZlWvaQozus8vZhpxzJ1ko6T34DCJHyuAm1NuunuBi8lhEiGmjEegKEmz1b8Vb7cw4y3psSwG9hb8e+hTmfthnDY2KJzR3MU64ywCB52wlappSxDlG7ZSIfbM+hTFVoy6FqR4bBuOXyFAKj3AohySSQzLYAL7SALb6U4TdKVq2JtnwFasnMHe6I73+KwJWPg+D1/LCp5CMpCDwxMX0gd24mJDzsPuBpVdpRpmAz2+j3tI84aDhxZVGizANgEgXYfu9GMI2NQk75Pf5vPON7BhSTsdQLbbXErIiG0UNGyaFvz/FUAMJ00wT+33+4cOYMNHjzy/QEmZl+83stjUZCrFySbCbz/YNDYzbKFOPsqO25kyeY3Yl7bFkrtWmnVV+Et/ULvha4BQUKfOvizRPMgn/GFlxaAd857uWAQGLME7SnbR4390d7sU4Ii9lUwZ1xg84IGZb/v4EIuCcJGan9yZdmdxUYWuqzVPSyx5r4jpkBlzp2gdsrO9eCpvBIx3MwCXWT515oUd++QgqPZp5AUd7PR+2Ajay/i6qVkirIVdaJrLtgrpPiMtyKp7RT7c3Gtuxyp9RSol2FpmFx/+0WX0PSUUeNzmzqu/3CYCvfi3LDxFbuQUtVt/+FAAXzZd7kpe7K0U93suoZNObP6ojXq+jPtt2EKuoDQfgrvuTWDcpBGz5w+IQu1O8WS/C9wClpHGFpRCI0qAhIClMYBt0ARCcklJfaHXu0PLzI3dqkn0bWVcLbJammy/rLeeSyzstaMVm0gJWL5q5a+QsSoXKSLahY2tSvPHRa8Vcqt1zI8QRRiGP1f5NHceyh6FGP7ZK69rLZCK9PxG+Yh7eH6KcJWkP4n9tHa4Tt36FYCcR8eCQ1Bodoxk4T3ik+/xehxrxGt9PIUXP+y+QT7Akc1fpgw1km0flpyhRHx/4SRG5iplhzddgrjbYDJedVjp6f4338QvnsBozSsm/79QZWX6dRWmltQdg/AA3OZc6DU6+cqDYVEKrv7nhk7R+jdVoqKmwEXyB4QZBW8+cmb6/ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7ea61284-dede-4a24-4131-08dc32a99446 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:51:49.9852 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8KTo4MvLOBC6WHQb85tToVXSx3B79qD+VskwcsQ/iliNHCYN4yyIjppWVF4vk74TFzrMigjMohWuEipVRXInCw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9304 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_225152_818590_6CEB7933 X-CRM114-Status: GOOD ( 12.56 ) 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 14:58:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13565009 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 1A857C48BC3 for ; Wed, 21 Feb 2024 06:52:42 +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=t6FPq7YGBXMOWo l8ZtZrb8MyD1iy1WV80QvoNowHaSnQXwj7C5UO3IgsXA+yhUxm9z5KeJpMMjnxQOm17tpcoHY5+Vl Wv0nGox5dSKRkDTeOHcbPpNr+qPdvRZf5hqf3aAJc4ZHqz9IMdKh+TlvO+14C0z+PZGR2SErPnbsZ zFlKOLQECd3R4jTfNQr27+1Hr3tqHj75+uHJNR6Rs7OnYZgOBZIihrFGslT/dA5FKaR3SqMFPLk94 mLzPL2+NHJy0sj4htkJ50tYoqsO7SPZeoNnsZzNhyQ5ou4z/6Xu/QLjqfDioG/A6ye460Breni2O7 7TfjD8vg7cYeSi5aIQCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgSz-0000000HNpd-18Sw; Wed, 21 Feb 2024 06:52:29 +0000 Received: from mail-db3eur04on0626.outbound.protection.outlook.com ([2a01:111:f400:fe0c::626] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgSb-0000000HNal-2J8O for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 06:52:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IKx4fFWWgzjOEy/rtUSwtX4VHj8Re6T+A3yL7Y1VzBpLmIrlo1qqrGZw27JciKY3CRma3x60yxVyPr8xeCokcF+G0Lx8yBEIl565c9f7h5iUj4hXho3UMbPGJm3kdjGO/tp7Cy97zbRyOyKo4KFlfWmDv6+LjD52TLcqtjkuKV3v++FyrQD/xKKVj5G+bmmuAUakB8Jn6TfCChaVvX09DHXbCza0m3md8voP+YAjd6K3Q/FOTZekU1w9/3D9ovXb96mIk6mtbDdnH5VOndq1M0KbNsAnUVC22mDMaOko54MuSjBIa9XoxesPXddlVfTrnSrpYFkVQQhvotdhzD4o1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pkKIFr7sFhI248q5m3aGpcxjKLrVv25prkH9EcL/3Fc=; b=AmPTh0Q6th8L56OEL4yFKvIQe2pvynktU+EuQxldEBwjvGOvUVsYQ8GI96OOiL7g9tuXRHaHaai7aCe5zi5Zi/xywa5LBaKfhcapWUJIOaFIbTTuwv02iG/OCsDd90H4hlh3StdXFCJdo8GHgxvS5EivhOBVF98dkLG78PwuBM9bQXEiXNt7fGEtxltdREEFTploHNBD9EC2tEJDkltRNnAmU/Ss2QEI6plks7NRNWifCMmbSaNbhmYv/RGAM8h7kYL1CZ9N4e1WJDBTqohzDoMgz3cYx/ip/L8ivfbZoidWkpm3VcEGIiSOZpCInaqY61pOOrdw9FI/vkOSJgDH/g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pkKIFr7sFhI248q5m3aGpcxjKLrVv25prkH9EcL/3Fc=; b=G61f3/3y0yrOshkxW9LllQGsiqiW/0MeLWcILgk+EqZNVDukPtMwCNN0AUjfH/L/mGMfCpzcYrtz6fiV29GIW3lccK8j4C1XNJZWUG0CuUthRThs162YdXSpZwnP+GVzHlYJ/64S+tTCkd1C49CIYdMVqJbRNxpern7u0bVZxUw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by PAXPR04MB9304.eurprd04.prod.outlook.com (2603:10a6:102:2b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Wed, 21 Feb 2024 06:51:55 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:51:55 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 5/9] dt-bindings: usb: ci-hdrc-usb2-imx: add restrictions for reg, interrupts, clock and clock-names properties Date: Wed, 21 Feb 2024 22:58:42 +0800 Message-Id: <20240221145846.1611627-5-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PAXPR04MB9304:EE_ X-MS-Office365-Filtering-Correlation-Id: 21b3dbfb-8c25-456e-61e8-08dc32a99716 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vV7xNuueqDLYwwhR27jVQXtfTgwj14cVExKRT5umlkfS/uWil6x37RWmFIRC9Z7a9iT7RSq92pCrdbmX9oJu4hOzUMJP2Xp6frJiMnr2tpxtvfyihTG3TRtjiULTGCPVSsr7ilMZhwR0GPqxA8T1zkVWpos0EL1r/m9NJ0QaILWg+a3ZVvEcOULxmCM/jxF1/oJT1EGK6Fi+IQZkh2sa7ZNDJ8F/vuqa4R2E9oTlD+SOWAuxBZQbf02rmoKvqEhUflhFQzZz0pLLe33w+nEQ/vQdvl15Vrx6K3gMJBGMZruSBu5zusul3ZkeYwNQ1QAj8jBznVs04EzrFeVT7SFzCCTTGW7Xzvx/k8f/RGXoH+bDDiAjDCi5JHIlHZ2CTC7uXpz6GPguyXt9gwVmxKiMat1q7m6IihmR35ztBYu3bQ5E8aJwPh+wJzQ6OhMxlBCV158dkxhpNMR9tLEuX44JvyvqdZyUPKYMw1yMyBcZfAtuEovEc7wJ62+2gB1QQ7qiToxlXvGfapaR+k4H1Uf4xTbqzH5yR1Y9XUSJIer/6CRiAaILVqgJQ4aXSe38gOntR8Rk1xHmEk1nXjjAOukHy0TxMpOUz1Jvpyyh5LBvx/41wQ8HqT7RZMlH/ARrJdOv X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 0AiKq7PoW24y+FC/3D1u/fVvFTxUzlH95PCyRqKwScn5Ahk/af4KstGyLQshIa+WsLJ6hecWQ67BoqwYXJFSAFY4Ros/f33aNin14tLrxort1ptzqNz3AIKi1oONlV2T2pAfLPEmRjtlVZ2GIRuln+h4LF5VyvI/n9V6m7HKG0wfBjA43zEZer0HFWQI+0HCC505gNuo3I3/THrmlv6nBramYmqxI1BE4srFf3dgoHFzNSlfyJ/BC6Me3CtfTvatRWALt8O+pwDb07itgRh5Dfi/XDYOX5RzzllZSVxnjYj4+atba9TJ9uhaCe4vJzBOW1+Fig1B3fdmyKI9fEmJUuvWOlm6os+jFOmq4Pr9RLhYNBeN3K8mckIgYqIGI4beroPMRzQtwrhE+reMzEBTc5guIDy/5o1fXL53L3QugmrsUdtrZ+wb4e6dXpExsh3pEK/zUpWbRk1VRIqEm1NAcm2YfkwqEHP6motIBS9fhI7tFQneXv4Vq1K0XuHac10t5d6vPEQaT32z1IkCGt7cjGX8tYPlIVrgz+CPWwOxw6HTiOXtfYEygjTqBZG6YzySzGByK47X2b1CY1fV+wez9J1nWQI5AEEcl1vOjNQ3Bdqwunnuc6szfPLdwt3e+DtURkWOpalsWih/79uptfKkVGO3KvVsFNfOb1WkHDXCCoUlj66IeU2P+kegWb+nfTfb/8L/H1V1vNpEbi5qhjoOxX6H5KsJyoR8sxEWcHtRrq6oBapFxV7Q3iIJpH2gZU5fI8Yy6Qt0iIyT3nudbGDmYrTZn8Z+W6TeFUW7ANHRLac0pYK0AOJr7UfSOWePEQBXChRIOoy6qVtI80WU/FTgM2uwHq82uBxrPcHAUiFGviC/Ht3I45HlkcnmlaP3AAaseL7ryN5aMcYd1BK8U5baRrw70ofse+26pXDRSMgGwoq3JzMskmhVruTq4V9m6cyU1eyo+UnXTs2pBIjdLEB6/RKiaIUoFANwaDrrZdegiM56vjtvcyjB1hpHXDAQ3fQKvb0Y0hFrMaBw+raBZVQxPCG2G0BKWNoPddLl7VXMTvZ8kd1l8KvHAAFDeW0LQNwG0wdnaJZfrQe1rkhZoFLQ5i6VzrQPYWjcS2hZLwucQOSIS+XqXqQeiWZTRVxMjHxq4/XBFy7p5hmREHtkS3oOpPGtSOWEdz5RGwJ8bFjRGcAxmj1TN1z4jKcYCB8fEeFdIG0iyrZ99REPhpgH17xaK2s4idElNFbmN+8m0ngWWiyPJuIlDN5LqLNPTD4hBa2M1LcgZMY2lhyi0/Kas1oEupd/xDqKPBkgpMUTn3W0JFHlwJDmYnW/D16nFl7WTtI66Q2JwVhVc3Epm/N3Hrw/RwV3UNhQaUGO2PjifGhBdYNmbyVVknYeJ9R9WTUZ4U1Rghxbawyyt0b0O5yK3kOKluk/FH6X0rFpqYU/ydbC0nLwEg1/v1TsYi4WGLFJEKZIJXpFTVwu1mOD5ZnGT93FoO50mbWhx3AIxYIv3Q1gOEaJ4U9ezG27qWaK1B9zY5+CHvNamgaH0W570WiLRDxu/AF9fBO8YybcMh/Ox7v68/1l7rU5KIbUw4+E05atewD+ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 21b3dbfb-8c25-456e-61e8-08dc32a99716 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:51:54.7891 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: fpU0G7UEY6wp6Anwq2kqUidAxaNQoZ9UOSUq/H0f8HzshTRrtETrPJblN4bDAlxIYowqbLWUb1AasL0VAzELrQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9304 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_225205_792867_063EE55C X-CRM114-Status: GOOD ( 10.72 ) 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 14:58:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13565008 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 4BC44C48BF6 for ; Wed, 21 Feb 2024 06:52:41 +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=OFC+PbDiNKUo9M xk4An7i+mjNcF96lO1Xm5iFs/sdr5Bfs78meDyTCpk3FpQBiO0RsM7V76w7w8fKc+tXgjjVa89R1Y cIKf3XiWyTyJkUCJnHaa8T0jIAM/x3YYyRgWjj8smnEQWuufO5dX7oxpgCun2N+AqfPo2kn26JWWB 3Yr7hcQ3gMWmh2KWbXCRaYiAjmBuc1KldYszcTpFbWBmO4BsoyVWwnbKm10XZbDoZEWr+MnSLpEJN s0Qi+BxaIttWZuoKcq9/TCA/E7ogT4Chr/6KbbyVEyQ7beBtG46fW4e6jDvuam3hJEZ7w/6NvXoRn F9Ejel1Zh/JGrer3bl3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgT0-0000000HNq2-0TbH; Wed, 21 Feb 2024 06:52:30 +0000 Received: from mail-db3eur04on0626.outbound.protection.outlook.com ([2a01:111:f400:fe0c::626] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgSd-0000000HNal-2cvh for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 06:52:10 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fB+vMC2eeqogTu02sbal06tw7lv3Z+1C0O+KlplPul1bgcJx2p/AhaMqVR8wj57v2eevEmVVY0xere7HDgCjRT2er51GiCW7RDQGOBNT1g2w+bs62qhifA2Bczt3NOjG6qunW0O8fCZj+XYxcx6EZcF+2yLVosOGMBNt2YGqu5kQwktFr5zLZQZy/8+/sx4pXUr8iCBkesNUpVnXZ66Q6gP9klyB9g7PfYwPiWNMamDeurakk4LHNUsn1N4nR39jsU/x3iTDgmFIZ/wz9LUzalGOwSt+Por509Um5YqwnOZx0D1XjQ32PTNlcOmd9DOhaOh4GPjvEFhJIA+hdxb3PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=g9fOD2PdxJFOZn/4B1zkyF7lrQHB0KFowI8W9q8vrZk=; b=avvCN8VfAQFOK8CLE3+b8DpArvdu3cmPT4MuRVZlcJbbMzWXnaAnzgqyV9ENsdtMazpP6gnSZFsRS1LXtWchbm0pg0hNJ4I19aZsLxp/VTSfMrTCheSpPylDJ3BtcSxFU0HdJcDqQgHohHWAOs03v26HGVA1ErZl5yIk9Q+nrbYmzPhVvqx+beWSh0QW3Ynst8qA0u7bJmW3yS4P8MMdgRkktmkLZ3E20XC3YyoDGDphCaPnpzoOkjIvtoHk93k9JneIKQ+xDYOT8Y+zJ1Sn4NRDUpjBsN2l5I5Ydc/v+alpG1/QayMRZtbPeOonTIBuFnw/RxI17fVIAqWF1KtKwQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g9fOD2PdxJFOZn/4B1zkyF7lrQHB0KFowI8W9q8vrZk=; b=UQaKSsVGchmdS3FgRZPaj9sX0nQw1XhPQwwSlflBjziUylwT7noxt4MrcFW9tir/SJMnls2X73GmiXJCULr1kmQzoaPsVptMu4FIJ4qlXZE3QVe72/3wESKi9fI55S3rdY4M1G0MIFDCvvc5YrztUs7bL22HeZ7qSh2sbUByF8I= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by PAXPR04MB9304.eurprd04.prod.outlook.com (2603:10a6:102:2b6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39; Wed, 21 Feb 2024 06:51:59 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:51:59 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 6/9] dt-bindings: usb: ci-hdrc-usb2-imx: add compatible and clock-names restriction for imx93 Date: Wed, 21 Feb 2024 22:58:43 +0800 Message-Id: <20240221145846.1611627-6-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PAXPR04MB9304:EE_ X-MS-Office365-Filtering-Correlation-Id: 5d9702cb-9c6d-44f9-65ab-08dc32a999ee X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HKIv0g/4CJm7TOpN9wmy5RBEWnkecW3oDSoDQqX5rkMaOzmDKsXDxRMNiUfRk1bIW9L0qgRgFrF0UxlnAdCMMrs1JlkGvo6eR+f++d19lV5pcc1md6eoAMNrsIB+tE3mJc6PnrjywwohW56OLcVd3GCUeH5IA3j1ZJNFBs29zWpa80Iu6cpQxUqLrP4+GFC0SlWBZlcenIML3o4j0N//fs/KOtqht2IWxIre2PEET2IBTL3AFBNfDcKFUumuxzM9Kdm6ZPjEMNaWpu3ns2Mf1Su6lJN9K9EJDGzKqmWPY1AtsK9nQoPY0fdInQhZ1AzuWBz2rEjgsWJphfa0ZR/9YTu2hkMJdG4bB/QKleriVQp4UbwOmmCTsvyobAujvDUcXH9ZKqlf2fUQKDYEReb+Az0jriJU5ZbZjKrZbnsRxgehMaOmz1DDTLxee4tpPh9n9egjuuX9O2tB3nXEfDGld8fTYy50OHtgfnmUOhBGZfRK8Guce4i950MU3KWgBcXYuMOK0uERs0QCGLwPJRCL5cpxjT7F6X1ulyOje+u1rz6evoVScLxfntyQlGAmSHKzY9nS6HZFs8FZoFtkW6bnqEgP/utgmz8OOyKBbSO3vMLbfY0m+VgM3dd6YN9XOxJR X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: cCIY+C356jxTy747VNs6V6jJXFKhbDXFmhHYhUzW2BGS8jueSiU2xycgaH9LIeRnDAfHQLJkNnKy0aKXaGckbl2X6yvNfGGb46TM35UTql4NIvOS7KXN4nLtjC8hPzzLHh363QZlRYr/YPmg6X9wLJ02gi1V0VDw+bCBAp0MAgww5vFST8NK3vtRqu0fXgDQUfXjgs64Ec32HGgXjPiqR+OsbsSxGHCsFmX26eRWF+bqmyUCRYs4MGz9h1e43U3zKzox6tql6TXii1jQbxkf6qls1gJZpS/Imn1Lm1DWQdX7hmCdyws+DANe7E0kOQAIZKinJbZjbmxF1kYopV5nQKQFrJB0p5wCSmrCi0yKfll85hehjxR6wLmbJwMgY6LlBsnJxFhEF+LyiJ5gNeBqECBwpvDRhbi/J2uLng/UWFVeJ0Ifi+rbkgdHEKfx709a1xNtC1IT3IiRIYnEmHTNxusbHvFnEYNZSM2n4j7YGy2169A4CxOPxpo0f1yFeHQKvKUflaM8+Gv1CkMDDrqKFJZub8WCfmYI2YPABQIC4nZlC+uz5y8GTdMZ07tSAWGfit3XGhXU1MeJD/UVolJTPJUvP/KNl/5/jkGe/w4KOa0YpOMMb1vAVA+6usNESoGrlSSa9mr9RlzEiWv09NKEj0ZCobE8mXYVxbKgLYm9zv7+7fmyddQIMgp7xbNfbg3nbWPmRv9yeB6RR65oBUt2p9JoxDHqM8O2+m2Ays2CUGZmRsTAhkCxnxEq3ObWnN9tN7U0vsRLk8AaVjsw6tguDBVX8uuYHl2PBv9tRKn7efc1OtujQszsrc5nIYGPskQJ4hZCkiKruoagCyCvM4ERsl2lohjwECnSNPw0pQkJI11rHS+Npg53UFycI6GH6eQQxlAKiHg63dJaiwr3Qya8IYZ0CpSBurBF6F7OsdHEWcQudeO7eFNZUSm1si0Ql/i9gCge5pKNGh5VCjIwJH8gosEg4nmnB/DBOOPRHCK6i7rCeRSLE0+ePujtUf9ZTkljMMrBw5ir0IWiFmyFKxapPz3y/3vNPqAhyJMDEOvYntoj0niVjgahUF547FoeF0P15mdh9TDqNUWNE9UWRV3I0bToWXF4xPxcN8aUP8mEdzQPHfzPTkfhYAcRNVIJ1uHgfnrjd2ZT+h6PcTdfEdB8slG1PD/c09LsaaMQe8ynXeYgvAmy4Ap8rbe8PeqLYXKNmBzvl07+xhyEJdkgpGVsCDcImN6EX4afh/P8TztqyqRnxKAg6+7pfWlE9Rs7p9+Y0qax6sxvELogqKFaLJs7Hbj4hlct/NuTKf0Y0y4NvXRDj10sSmKnmpEZ6B2j7V7Y2iOkkqjl/5QqvQTYXWl87IGiWfOqxru0h5CPQwisbUGgZDCxT8j7whhHN3ZUZUM62PfSBPr9TFI8WLnpSZajNbY0mfikoR5aE96KvIgJkotrOhlsG6KeQQggbozB+IBYAstZQFnzGpW/JgnJATvgfRuV20aXltDkNAcTBLisv3EXoX2uWgR7MnmYMd2T47EMafNLXEj8qP+KZyxG6JUQTiNBEYy4Co39Sk5E9tMGTBNQQRa2+/IgUYn7NRt2vy4+ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d9702cb-9c6d-44f9-65ab-08dc32a999ee X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:51:59.5750 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bJDEjuyB3caESfrTajuLBQe0WpusKl2+kuTI5GcU6+s2GC8n347EtuiAxTQD1y5Gvwe1BfZUdQzg8vXd099m+w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9304 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_225207_778601_86470309 X-CRM114-Status: GOOD ( 12.30 ) 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 14:58:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13565011 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 14377C48BF6 for ; Wed, 21 Feb 2024 06:52:48 +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=jqRtKersK4//OR 5IiglWLhbhAFL1WqOcfngQqG0fopOUkMTWppQyYlj+No3FXsS82C2nYTUC5mCHKdMPjmEHrhlrRwK lWLe47bd/Ag+BQs9i+LlwRp8Zvk9qygfuJDDLQ1g3hhhyBV03SxL/b628uhwraVqZsGfeUO7IJxK5 fSJJQeDUW/B1EO1giELJX2mTGZZYVxfI3TVOxK3rus/URUTaPdUghp2c9xiINuGSbt/1QavhTVa/a 2xr8h5b7vtSOSAb/xApiY7db+PCyc2r7G+Ap8d1D2wtx3xf71sNl6d5q8aTntNWxZ7N8tdO1QtzJ1 QHknD/zDHkHszPf2fC4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgT1-0000000HNrj-3pKf; Wed, 21 Feb 2024 06:52:31 +0000 Received: from mail-db8eur05on20605.outbound.protection.outlook.com ([2a01:111:f400:7e1a::605] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgSg-0000000HNfZ-2w9v for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 06:52:12 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LOrllwEw8iiZDWecjB3Dbe4ME2XUzKzW0Xfa1Wl3+WtwWXr5wlDQPkkytZ5N8B6e2o8Tnx85B7eWJBBeI14Gl+/KE5VnUf4esjDjjg9bgxxqC83eavg9ou7QAbQrxKaYfIzflONeFP+P2XTTd4lbF7jsr7ZmhRLtm6oYroBgYcFC0NpeIbCe8Z8sBWlg5yAuruFn599LQ3kPPlkl0oh2IhNekh0/6vJ8CzkH727Qk7EBZS6xGFUfuHeP643jCJMrWu4qHogNbhHNhn1DD4NqeTaZzTZaL9+VXjYXTse19V8VNYnzwBBolhcXTK2HEtyF263Y1XC7dTl3hIrOco+eXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CZk5CIesGMDmmmZaQzckc0HoESG5V5PKQKLRWtDUAh4=; b=geMeHv+kYVtGwNRUS21odi+bIXteF+ePX7vQl2ByOmSp5WMFHCYqp76UO1srpcswgrM5p2ohCpRqt4jXnIQSZw0MUx+lK0cshaCQFjwoviXFXl9kfZMsLAENRd81Fli6dAHQYHL3Rc4hBye1zUDQuM434LQd8B91Tr9x6wcVQxLuAEWrVDZPQSkMJ7OIRYpCyBS1xVS6EyaVmaq88jsW6+NgoGj/OOM+Iffl3f5+M2iXczuTh5B40rQT177VqRsbdqf7oUswZPNqwj1vf5LybHV8J1UZpfP78zxhMI5UH8VvgbvCRBOcYdYsaOV2T7CR7mrdpSSTeXryceJGtZKPBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CZk5CIesGMDmmmZaQzckc0HoESG5V5PKQKLRWtDUAh4=; b=ZKELYpOXAbYkxpW3+Ga2QLXvPAWpAyTBxTRKzkgJfSnwQfMbEevZb/J/3WYuEXA3jX0sq1rslU4AAyFoMN8q1zGImmL2ModFAIUHQ0+35ETcJt0RewkPiTxLxmBWoDS3NUCqVmMRTTbJFR8sa5WVOiJRe8Kjn0zeAJqdYkafupg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by PAXPR04MB8476.eurprd04.prod.outlook.com (2603:10a6:102:1df::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.21; Wed, 21 Feb 2024 06:52:04 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:52:04 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 7/9] arm64: dts: imx93: add usb nodes Date: Wed, 21 Feb 2024 22:58:44 +0800 Message-Id: <20240221145846.1611627-7-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PAXPR04MB8476:EE_ X-MS-Office365-Filtering-Correlation-Id: abb3210b-d687-4441-53db-08dc32a99cfc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dpAngd5wMFCdJryE63OFi1VxrdGH8IrSAh8jbCNmwJBWI/LQaqRDUCPMPqD2GZL6DEYpFxSvsxyyaidlcCxjRzaCdESwxXCZrwoL6WaBXYarP1+avEm3zgOsBU2D+vD7I+wsoxaeTeQoKKHbGnF1sJUm54KshN7pnJuDW2DlIAbA/mHOzkMzjbpG+8QGZ20tuEEtWvXwgGHd4taidbsXxVHV/vJTh0kjx0BykbvsBBMG7pzkkjcyE1efSPXtZLAQoD/2hYXnEo2RpAjwTk4QunKxHmxfYxFrgDXOf+6Ch1A9LNZqvEuxoxeQUbQtl+KPOtOpcxZnXXIlhGBqHfck7trLUcpWseKXpx0W4XHU954G48jnN6DiB1O80iHgM4vogEH8SCrLyOg6Kj1nWb/ASRiNrRcuvoq2NTwNaB8zs+E06BevpqjL7qjidwmwmuxoZRqlHM+jCMtGCLA8Fe4J8+KtVE55+S6Es8M92outcRBMDRWq0msBtsL2/+jcRFIU1oyGfm9psb4GOmAxaOdYw3JIh/JF/lMStdEvshlsUAxIpJOXwA5YxYTZqrS4M+Nb/rMAdzPAp7Am/X1q0m/pM6N1h8jtzS8QQAr3LKcmdQKJoniKe0eK4io0nwtgqQFm X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: dJAGliZ5ZwwvM1U+wH7eYXxqr8eqmEex9YjDbZePm6ewrvBgb+sJyC1Gqz0bmf0d/AeBIbEKUAIUvgbZN/khZsZX+a10v911n9Aow1lYV6JZHqasKbxgNMBUgax/cctJelOTv7xmQoWixQmZ472OY4k/lpRESMQynlgVZJleFVJlVLgMtSXck2akiYMzrvs0sA+aZa1UAju/m+kXFY4KNqc3WFHTI13Youvcxd7UV+d8UwUQykbiWRQQN0ueYb0HS88TJvQuOMdjZN1o1LRabFLre0s5GADy0Rb9XfVO16VByljcFKxz3neJAAO9ulFiGmuIMTqM/BwN8gWObakgOvbtU3HN47Yhi7u5CttNvFFQ0xDe9zHaKXpJLXBzFb6WNTqOa1BeW0crhauJ7tK5g7JXdd0rnM1RAzYgp4l9CUSLqS04yV+nr0e31v5JjaTMa3jG7v1juHLONHyfwRNvTPcIZ976GIkV/KxuvsCICux/I5E6nz7g+vfvvCvmAZWvH/h4lzB3PfHLvS6SwHc/wzrRQW5VAbFlgJObSvJk4dMTIIo4SHIZFuKkKjxtQCKNRK/SbNN/AVMRfV+cOg/keRg9W650tPs1ALru1pNE3BxtV7dQFoYgEYMDctcW2xEQPivFEKOZq5THKdJMUmRr0QedD/T+Wx1AtU+ytU1GzDwQEJhtz69WFqU3ttraDpB4HUcYbAHk3Shly2X5D+5g7hQMZtMiUN1wx+Co7uGcBzQe/M0xa/NN1n51wO0z/mAsENUfOREJlhNOL9IO0d//XJIKPwFcdrg5GdgcILqAHX2LhrpNK+rK8oL5/Jy0CQvXFOwkSjnkPTdvFX33vmGn2jiWOEYS4WaPZi+UBzIoAXk3TGyget1Uz556QWH30OolUj+u/cC5b5S3MEFA1S4E22Z0OAntLFxZT2vEHUzhE/475DhxddJ0ERocomT5cJb/ORvxXbkstwr3QERH6V1rHOueosIW2wRKlA7iEQTgs+PqZCI39q9BLS7d4N9YYMIKQcP9tX6bm/SOwUrdzmnkpX+4wk3wD242P8UFwy4KHAW9zfQHWL1h4juJApz7dkNoW8Gn6WL21fTQexBT9Frxf3BbKE+4GiT+119AtiGv30/WZfvIXWvNQhIH8al20IlB3MNynyLU4LkhfXVtpeZssEX3t1C1cgWzX0A18kJNZ78t/fubQf+GsEMXr3/jMcKHSOZU2sQVgi+ArNMuq4Q6hOVfkGmHirRsVLCSiiTMJJfyzFiG28YrRiYEJcQ1ZULoPQGUg8j0VGUqGt8RKnN8so/4AYl0Cd8C8y7RNfRfykynoAtLQlvWfvkSxRVO8v7j5CYFWG8Bc18r6UeYnosEYHbaaOOUSmo+Iwt+NK0a3nMDgmYppmLDDygqtxFv9dCXZ2lhyxDe31VCoK3sn9m5UKpECb/szQm4e0PLJ3X2IfBw8225nKI64+NcojJaMImBWzjlm0uHZmOoilGIGigP5RlxXQvR2eGmv4Qx4DnaCq9zr2qX/01/KG83HpXFh69ZV2RVuKvQIqCcygMunQRpZUI3/l7QiHipXiXhjZq/5LU5kMAiIo9Dhks4c7qMbV0P X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: abb3210b-d687-4441-53db-08dc32a99cfc X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:52:04.5949 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: sUQHMn/vGNc8LkJx3KnqX+gPgY4XCNteEg+z4Gi+KlpdusvC7lQCPUaaCzbr75C+nxq4C9fszvzMwFzq6UZcWQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8476 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_225210_910520_97DD7F33 X-CRM114-Status: GOOD ( 10.97 ) 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 14:58:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13565010 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 15882C5475B for ; Wed, 21 Feb 2024 06:52:44 +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=m/tp0D+1zzN4Y/ ztNOxv+HvSrQQHbqQeO00ChWzlnawiOuC7rjBM94wC8gKYZ01fCHnefX44YTUM4h3wFKw6LsIZ9Fi xzBPT90hOhE/iu9IMHLa5/2ySljkWZVQSz3UCfMk0ScHy02/5oVGTIC2aJ32TRHBSRzIx2DmBMMG9 FM6F/Ts7L1TjjfuB/j41K0ClLYUeAyhGd+rnIMkhBhz5iWSq00YuPoiqxRuqF/BbJUjfS3WPT6lQc EZQg1FNZnc3O3volRyFN2xd7QJM490OLeD3qQ7Z3zUN10i21Zo8rlncLue3HmtsepsYpbI1RGzf68 +rl3CNNONysoXHlYCwnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgT3-0000000HNsz-478H; Wed, 21 Feb 2024 06:52:34 +0000 Received: from mail-db8eur05on20605.outbound.protection.outlook.com ([2a01:111:f400:7e1a::605] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgSl-0000000HNfZ-0ACF for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 06:52:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EymkLCK4rDvLfHKlTyDzfGGqZipiQybShwa9PZXM8Z9Qf+6eme6iUmQmjb8HHW313Wj2Un8eWrOC3dSZrutxf2PX+ExXJ4ObscEWwjRUlSFhYj+04bDDAyL/ogqKKKfu+n3d9o5lgW1illDf8m/wa8n3/UoeM3e6rEAMvyZWtNnxdYB0C/nCYvx4wGOSapvZSfkQuU5aj/4Two9tzXwsfNhdIPl+uKZBvAAjbTVZz5L5o6V4d5haFyhluYFcpLkFw1yBq4OrdXM7od2sApf7RIai9Qq7Y1x3EZx8Qjda8EW6VZ9+s3TcjNRGQldcOSa06igP/y41nDuJHU6JoJg+jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wY9dqhfR6wgdb/jnJT0Pv4zgG36U8S0PrQH+Y8xtoAU=; b=UpIGLz+5dfgB3iXhpOY4DmFtJI1mxVN2UC8ReoBhNmmhGFQvOsFVQrtjtA8nHdOziyLgu8mWLYsxMmz0by2UXtvHcPcLYdueL9dJaludBHKz8MHx9V41TeUKd732BrZpGNN7ODj1IBOm/ZP3JYyhlS/ZnK6vY8SVpmbUVcVrBb94WRQ0Mo/Zz9NFO6vEyp2pWppA2+HfCV2LsyfkF6HACBl79S5glw59NSt7Md1saV12oDxbeMfXfD1ih6sFfaVySGm6q6xUSYgjqJyMa/yuYuqfdw7x7p5Qr0d13OxDHpEMMO3qdA/OItI56ra17tGnuAwXciF6xGrqx51UXGu6Cg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wY9dqhfR6wgdb/jnJT0Pv4zgG36U8S0PrQH+Y8xtoAU=; b=M7LJhhxSEP7JFCaBlFZOTRto8o+INBiQ1C8Ms3rX9OqLTCR72JyQZ5WlFSvuBVsqw1Im+tA2RmaLGs+oviDTBOej1PvP2c9mj4L7SHpUyGmN7l+GcX+e7VhEE+GlyVinue3ORYoxm3u6C+qCGIyaumAFqeGNV1DlH4p6KiEQPlY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by PAXPR04MB8476.eurprd04.prod.outlook.com (2603:10a6:102:1df::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.21; Wed, 21 Feb 2024 06:52:09 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:52:09 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 8/9] arm64: dts: imx93-11x11-evk: enable usb and typec nodes Date: Wed, 21 Feb 2024 22:58:45 +0800 Message-Id: <20240221145846.1611627-8-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PAXPR04MB8476:EE_ X-MS-Office365-Filtering-Correlation-Id: fcff1eff-b26b-419e-2e4e-08dc32a99fcf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HNotIHtAM2lIz0a6TdvimBoVDOallLSy6TTMF+6gM8ddFjsMVNOFzbRWWiXWK53D6+ljrzrXFcXFdNaJRVqqZAciLCrEnbMdxjyXtVgJqUBzXg8+OQN4UKsAPPAlWOETNCxHDyMmUuXSY+UdzUTkRN19rdCb3MD+Hp6Qn1Z6OaJzzdr/bKNdTR90G1+b9lzBZ6BjXMrs5PYJfPAcu3dgjNwj3TfvbzLjJEeFW4MYmF5PwoyxO3ols6gfGGR76yvig8Qmzn6ysI8mvG1Pof9S6q/FkIsj0laCBV0mVuZ/2VlB8Ulb6Q/CKMCly6PJ231uSS2LCRehoNg5Nou8vAZbIepe5puyXsacC8HYwoPTTz8FtcXavfa1Aqal8xH38GIvU+b7Q4aKv7MkDmc2lsXk8Toi6gy0dT6gKizGaLP6nimYAm7zklA+tRDvAgBHwcisWCiWVuExoGWyFnb6rVd3AcqEPWqattVhneUbj2nrl524yHPPvSQZVdYGjYOEFkwaUIekF34ClDHh9KzCYRXsQXa8m+HQfBbYV/mBvJx6NAKfQxZjimvD8OL5++FtRnOTZcHBPxm3RSQCAUDvx3b7EAoBbs5edLXA54eI8/qqLOA= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(230273577357003)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 9IgAzmPTJfsNdbOf9fUiFffzdhcVkx5Ll9BLrhqE3Eotx63DTupm7mSwc0ZDkpwuLy8TNRZqEkD0IZxXG6HrefcoEyMl4AUj3N01OpmhTCmLDczY1Kt83aBBJ7ycpRRaCxMuX+jrT4YT4jy0Zkr1EsFZXT5kEk3DyXOnBmTvW4FXouxrHRuacs8Ao2X3w3Xf1OXweJb2CDoNwPkOQaNV31TkhtkShAHzjEXkxqePn8Tp2a5PEmQpTOgs2mEWKkYMtUJ42fLZ7ZCcm58jL9cSvM9dcgCotpu8ljp1ve0ZjQBtO6KedVzPgQggPWQBbMYJqsiNpq+f+ZOYQlPzUQwZO5H7Iwpatxu1WYkA2HP+oUn524fDAxD7bJawcNaZ1aOSg1ZXxQJ51XJS/+bTyvJIJDxqm0aWkbutafJ3RkhVuL0JsotWPhc0fsQh5ULLnMo8Uxsap5nBu5TIO1GPJkGuex32bQi82iiBZ5nfeldZ9/8rjKRUzs40ak8i/heq3ux3CPyOPd/acVinOICLxF5i9ms01ZCIzgu9LuAzq6Y87dLR6b/NTMXhV7xVzOnsHj2VCJGRZsYpCxaIH3vvJiLonFsmyqhmHleqUwWIIQK7QVxbrz9irNZY1CZ5MOyl/gDqFOtgOljKXHboJziOJ0E5h9wJFy0CuJ0eVPlW47r9qMRMl+zCESLHJOIt51RO4+DHobvH39Sv0RFO7QaTqfsLwPysjU9YsFmpTNxBJ3dTOkCDKEPfvTWe7zmi2QwgkAhi+ZoUWYz81F+JsPd8kmXLvZ8gMGKVeEWHj1atBxjN7urlRPkmuef4dEDCQZdtBqc/gFA9Kq9j4ILXBP9OK2PsHTmGS5v/sAhfEfKyXDcua6KjjU3mr1XTrfq6mIkgqva5wsDLU2paoblIRCTICcSHUC1A0QIKNgOwrltaFraNj7zXVe4Lx4JoG30z7ysR6qWRk2COZ2SgM7odmfMMrvsKAmWe1aoX4TA2tPsTLQFEZyIiavmdCyzoFh0z0nEdJrnX6WC84umj8PPBtOGMtSAVWTl8XO0MOveqSlkTz6V+B1uIC0CKkEXHsZubuXM3AKWw3OYTZL2pgWXqK/TF/ODTMSCgmnj/oyEJmvYI5MsFrchsDLI89ThyF4hdzJ96Exfbc/zONBRKVOVXeGEMc9AqCRsQsnSoKJxGtNbx5tVd/TPEzlXcxOtJKQK2jbGE1dU+gojhy5YB3govEl1LrVI1oJvmZvk9Acq8shcgsM1sMDXQdmxyoFZB4P2RxJgnF9GFxy4ilhu4+rflNFkiKx60jo66BtnqJs4tSPUaqi+lcZCPU6TrZNPzOhySz8hhfvjpLogBhFJeE6a/D6rSxXC9Rl43vT3c5DresWRXv6uJrwgvhMCJYVCJIvISKGTvkoZPCHSUHHs83uSURXq9X1YYAaVuFYZL3KVRvI6WriC+tW+zpGd7u9iTRB1CLlrM7Qa6b+tDyRZtBrP1whM/GanyXeQDfqEZBPFR26vZj1Hz64dkCpWB0mkJOL/mOboVsqjr5xjt9ZTceHOGdaYg2AOmjUI4sDsuKeRYXxEuPFipz7P2AJjwoqEwcYOygviW1W09 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fcff1eff-b26b-419e-2e4e-08dc32a99fcf X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:52:09.3375 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: RvMYd3beogvGFXwyVI8rALSgSf+zXSOoUiNnLxsmTLeEyjrTPu3XSuhGdoF07IWjUr6EHtFAZvhGf1+gehQ7sw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8476 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_225215_317608_A2AC192B X-CRM114-Status: GOOD ( 11.73 ) 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 14:58:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13565012 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 A91B0C48BC3 for ; Wed, 21 Feb 2024 06:52:48 +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=ibpYkeHfEoSlfw Kdf1nvvTg2asv/56/JLXjbjuS2ODjRH/IAedpott/++0/VP/PyDODW5FoqZDn7nsQqet1pTd6aA/g 9ZVylFr2p8lTMjxXTahdVx+xvWT4+07M6TCqKBGYo5pTZGLT+BtZM+9NMTm0iXmylIOY3bxeN/iRK eIHO5nxQw8yPy5VzTo+eWxPqp9yJzGhxD2jp86X1IaTkJZopeqxtX2/9k9Idbn/PRJUKn90EX8gvk mChqYpuWjZfVEtDddqu/bipA1s8frx/IEpx8142WJ90j0BHhPtBDARMLBDzlRYaEdLlz37TKeVuPo olMNYOSdwlmxXKFa6cRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgT6-0000000HNuy-0geu; Wed, 21 Feb 2024 06:52:36 +0000 Received: from mail-db8eur05on20605.outbound.protection.outlook.com ([2a01:111:f400:7e1a::605] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rcgSn-0000000HNfZ-1R14 for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 06:52:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A+cLPdQ6xKGYE1065jtr1Md7uvwVXZyNPAut1v5tuMEiuOKZZpC2bXEsS+tBj/AqGzRUPARUrmbhPPVZq1lpnjuqtMVVwIzylbl45huh+3YsaTsqaqnmvbUQjU4Uivxumki2d2IJR5dwXCCSt2RuK2gWZH5tHuiVXFLn0+qu0QWc5BaZeOsNxshnXvUVHRsYVCt3thxInj8ArotbkC9k95+KmVYTMvISriTHHQTGMxBJhyK7Szz15pbWX/gK2xg7l0BU5icJiljjFIMAVJBIDh1y1zho4sM1Zy+xw/RrlzCHOZeqSHcBj8CI9YrybXMswg2dPVesDEOgwA33mZMrrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xxAZWu6W5ALc+lct55lahttCBBz52BPvq60V32g4JA4=; b=OgnqWbZQh2gYSef6dHOyWumHyayys1YwNfBTH2WYh4kXze7Vz6OHrjHAiOCWipx0CSOyvzgIOzHR+eAgY453Z80G36tEF0wcAGKBXMVFkdWs9K7ydEMmDxZGQpgjTS167pRi1WLb2Fld427Smai5HsCXo+z49dko9EjIh1ei8Gp0KAimRlvKAeCEdjLgTVZSHACAjGiu7Gd6th3Z9vnItaXtbc0mcqU36BMzZMQHtDuF7Y+UAWP9XQ3Tgok8+w6+s4dkp5BDWe+pSdlgcIJD1silUM0ALRwkSWT0JzQwkYofKjHDBYkQZ/kU+Y2exTV3/fGKrccwB8y20Sdpzn1qbA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xxAZWu6W5ALc+lct55lahttCBBz52BPvq60V32g4JA4=; b=Ixea7G9VccDnmAti13nPmC6KIKXYHE9hzDVjS68VABEX1QQL/2tOff3J1dZ6oUwiHNNhVSIiWBilWGq3O1jJK8T0wFu7mFFYu43FZbruQKv83S0rLZG2QO16LadrUJet7JhRZ1syVWh3VhxOhypMGCxpWO0VcPHXzdvcoqydibg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by PAXPR04MB8476.eurprd04.prod.outlook.com (2603:10a6:102:1df::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.21; Wed, 21 Feb 2024 06:52:14 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 06:52:14 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 9/9] usb: chipidea: ci_hdrc_imx: align usb wakeup clock name with dt-bindings Date: Wed, 21 Feb 2024 22:58:46 +0800 Message-Id: <20240221145846.1611627-9-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221145846.1611627-1-xu.yang_2@nxp.com> References: <20240221145846.1611627-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2P153CA0014.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::6) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|PAXPR04MB8476:EE_ X-MS-Office365-Filtering-Correlation-Id: cfceda00-74ba-4603-cdef-08dc32a9a29c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P5rGBSGF57maMcxnnVs1EC7WbBTXOGKJ7EIZE8PG/Fex4JcUXD49Qi/CcndkIZiueryz/pkWz5xpkjCg/8md2J+i0rgeGcgWgocy2C0wFFAcEqJp9l6T4XVnfJBUjLQcLui157fG+UhONp3hJM78urX/9ZftQwPS7EByaWTs1DSCqR7lcShLTrbLurTIsOSAE+p9SADOexDvc1ueArDrmTdEsHdDUOI0Ok478q9CxrnUDmsrb8sqVVUqdSfcw9ohKkfLnU+QLL21Ve5hvn51OiLvNfqYb28XjQY0SjACbVq7b1N30C50ayyOj6YveWEDGepejEQUkM/BC04hjY8XqEK0eYiIo/qEodtJaujFeCcyAnyatMB6ye5PyAEa1/o18DLdwOT5Ao4JE+tBkfwoT906ZSbJcBjD3RCTg83q6MfjU7jpWnIe8V+dhPQue1Sb6tn2Xhn4ZWtp3SzGXhl+Sg5vL9CiuOSRBJjjLZotAaoob4PuX6dgtJqUjrEEInrYamy3CiZIcX4Ig+lpuxZs+R/na+9HsZQMhGorVrULJrrkFmW70WbPazgC9LoJlEDEhOIH48IQ0fRkVyqFcqhOFlOwkUjDw2F9PwiVD/4e87YOydFQ2FUC56wZs8QF1IwC X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: nRjOThzWJVGGqnpCPF+/YvxK+m8bP5Uburfcn2EApzNvPVj161o8xBfC10YuYAw9zlBlugr4RJIoLGClVGVrqKGVMjx6Xv2+rmx1+Z5zCYpuTu0fSyvqLropYhC/BlItF2TytyssdRM/lrHqcmF0swkX86SzEOEEvGTCZDnxqlSYhvj8WPsMsA8nJ+pDvb7HXmvOne3rc7M2DEpmY3VtWxi3MZNm3ujBfNgpAjnAP0/rlpzUKT3s8sPEyXIZasGL1GFA460ZOhQn6RjGwuaWewxp4iw3BTgLbzqMLEdHOOlQXfucSTzrMpzumeAYJ+1MkqgRZ1PeWbjJGlRZDo0FtOpxee3wJqOygRC+rxUCndEt+4VJen2JzsHrhrylW0ZPXaCVz+uIQk+HiBAWORMXANyf2eYb4faereKOqjfje03DV6DVRe5gCI7uIJHK6vejFhwAEaJuZmIjpfq9ZhrqiVJTMl0z2fCFw6xqtgDa771kzVSQ+3+xaEyaZJgntLcpDxemHb509gVsG3f5Xr7jSbFuqZuXJRLTEEns3jHlEIevcmMk8VbKuocz1tSNO+6VxHCnQf86bgZjC9XlsFu8haMjK0wyqJKtyr3lKYaIMvPuVBo4CjokEedrnlKD3iV5g9c4TfZaPfWyHtB7q8VILhFiIPBvAg6mUwksY+5rAPGEcyX0RASR0lfRhKSbVHxFKtCroQey/cuXvhG0dyXdcyq522ItbGyovcO9+1t1Ev4C4cRXiobrzrPOyPlnsv2jLEqLmugqMc/M28bOceA8JKi9rSUPtdFEJ5N2HkQTw6a11CdyEHx8jhm+X1UKUS8AoGQ7KVWMKqR8NYZEK7bEjr8ZT1gTl6fYWznaya9iMkQKzN9rb4K/UWRosKLhLpzp8g7zhL2FS1cBVWiPO55WQMaAjdvBQcwRF3XCrQlu9z3s1+C3NtG/JcY36MhqwUKO8CWI3xTY78pysMMO8QhQZeSsLtxXc7R7Zrcr81AZktn83NdQM0JJ4E97e+CvuH+2Sm5eRWfew7p/hVoCjxGkqkxh20S4/hmTCmvbgWkozgsle3KgWm7C3tefTk8qR9vvVpbcorx1vqHpsN0iXnnMjyvD3M3Du0eHHcPv72FwQcX2RtISPykYJkx9oLPmL1kdzY0PSsp91BLjoyuuOmztnxf6vZoqdwo7x+qF7RxfABecoSR97UY00Nn1gp4trXMykaGmG6/7155UwPy0WU2x8mzRFCFdcMBwyBeN5zXbdnCtfe1JbK/mPxW+7KG1rixhUaBHQNe50bJAPTdZFnF1dyGgsCkKGdY9yHU2ZIvhYmloMtfL9kHeTS1HFQWSEoPrA//QJlI7+Q+4Jsk6YDBMEeZYGfT7w3Vwy2s7DIvktlF0gj+8+aYPHvHL3BDBj+Eq8dIbyfQSx1BoonJy5EQPuVCcFvhcrCTMEXZeXlS7jvniwNIp4VLf0EcqVB2tljoREIhYsr7R6OsTXeO3nhrls0zZcFghEZA+YfW/ar6wFQ5AAKbv0dxvOs3iIt9+PaEARAJECSR8a0faTG+asdz3faHIIXqDKY3AUhlUhzH67/f5baRxHouitCift6YXGwlJ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cfceda00-74ba-4603-cdef-08dc32a9a29c X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 06:52:14.2028 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Dx9KCLhE30o0Tz07a61x61Lh5wKjG4a/257wXMkr4IVvoEW6VbOjCIl+ghUbBMcDM80TEN6yQPLwhb1bAGpeAQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8476 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240220_225217_576316_F2DC9B7E X-CRM114-Status: GOOD ( 12.79 ) 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");