From patchwork Tue Mar 12 09:16:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13589695 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 6D3D2C54E58 for ; Tue, 12 Mar 2024 09:17:50 +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=s8Ad2lVYP6h1AKe2zvZ9XkDN3GyNQb5/mGjZbC8kVJM=; b=temolsF61S5Vmu 80bAzXrfhOKvDtMln5BYClzWDxcvqJNtg0D43OLfsGO8X4pEyoha1JvDl0F+nxnkPMGge0XnBJ+Bi QAKetupzExJ6AELG0tW58Z0E94/5rFagDjB/N0f1klaDxF14oE1bkxDBAgb40ILof/Wu5SrxVzTbY leKgqXTRSW6qeJBbluWgMiqTDlvr7a/EjQHFJOaWM9EsNASkn4/ieuOqKWu2ElKjB2wyA407f2VqL /hyM+k1BOIarVpjU9QUHpybVSrguxTOBaduCVgOkHbrAFKfh3nxbM+PIYNPkFfmBNO1E1qqts7eDO +j29z8Zguu8QUz38DjSg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyGL-000000053wa-0D5T; Tue, 12 Mar 2024 09:17:33 +0000 Received: from mail-db3eur04on0628.outbound.protection.outlook.com ([2a01:111:f400:fe0c::628] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyGG-000000053o2-1rif for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 09:17:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FkUuUW3SsZ1mli0J+La2CZoy+ZHYMWTqqeViVNlLbnvSpMWwkeMP2eu1SH5AY7dSUFFnMNt+gVpSuSVVTxhouFgbXN1uA3QqsNfkWhBnKnJDwcLTuPG1LQ6n0Ua28GnUgKHHPqdNFMcKzRqDBvwaYrEGiH+eARlKYZ0S+vfV/yxMPWtz3uh1otMf5XUAXPrzzSzHIrcUC0VX8M7M/XgilShd/YJfeD1eUL7t7Xfk7K1poDnRpq8VT9XgVVXD6qjaNFsLUZ7CFZc+ATuuQN15MMYCT6S2O/tuyxkZ1k4fFO9QbmhSO6ICNee0NQsY+LjpyYffKaXoUoB9LzMtmnB5+w== 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=z7n0/2hPJmEhVE7ZVRUpfWrhVZ5B6sF256FXEhVwfPY=; b=iPpgGc8BRtHgnQlmZ4qIwmBxbLCk7N8k6j0+J+zHqjAFJaeAvdsg4wC/K4GxLo76UbSKq0OYYHDAOcein9Z+0xLLW4yfk0iPUiVS6jQ3JSE0dpIHFXO404IoRavvXQke4Ta4meVA7gf9JeDBacxOING+LT1pUPFKELkby2aFFpJmFI205mog/nm3vCK/vIbp5Lc5fImLljw/nBgYD/9zvj0nH6MwUw+Tng1YcKyd0Mr/YlSELEFteE67s+zng7WUpOHqH586RApR63kcRINzbrO3GHZL6x9k5pA4YfYkfHh4BG6lOkMhcqmBdNdf9jPwmc8ZIEMpeXexbrtA78k1jw== 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=z7n0/2hPJmEhVE7ZVRUpfWrhVZ5B6sF256FXEhVwfPY=; b=Db5Wb4+qDGCfv3i8U/sce1G6bSNaqAaqzDKYbFp3Wxjmx/yHUZGQRiEl+pXjx85r2dkV23sDNbUAvmA1fg0sfC0pGwswpsT04MLuklwlOsF48OnnqaTh3piK/IgFPnsyNAAf9ezjzUdRd2VFMS2KXmPNcOu3bkFiwzCPOYwmlQk= 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 AM8PR04MB7876.eurprd04.prod.outlook.com (2603:10a6:20b:240::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.18; Tue, 12 Mar 2024 09:17:22 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7362.035; Tue, 12 Mar 2024 09:17:21 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v8 06/10] dt-bindings: usb: ci-hdrc-usb2-imx: add compatible and clock-names restriction for imx93 Date: Tue, 12 Mar 2024 17:16:59 +0800 Message-Id: <20240312091703.1220649-6-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240312091703.1220649-1-xu.yang_2@nxp.com> References: <20240312091703.1220649-1-xu.yang_2@nxp.com> X-ClientProxiedBy: SI2PR02CA0026.apcprd02.prod.outlook.com (2603:1096:4:195::19) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AM8PR04MB7876:EE_ X-MS-Office365-Filtering-Correlation-Id: cec72a4c-9078-4d91-6256-08dc4275391d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qzgbSfthTfjg+DlAGannF7LvNgbnkAD0kfMiih7WQIM4NkkWGg4KpnvEoy5KOPHGYJitL+gSWjjH/6VL1KeSL0fxyuDjAl/EOmCz5Lk5VIXjnc1R1Z5KwsIxRCSSHxt8OGPasVMGNxiZmMSCl3Cr+p3OXvTbdtY2eAgvIXRwvqejWCPtwf6OHYLEKp5Ge2SMnuBp9+pSE6Jx90L4NHFyS6XKq1bwfB0OT0y5lRzML4ymibzvdoBUETxYRhHDTcFruqkfrcxzz3fB/GssIa+8HEIBGlH7KdTIgbac8ZNMcvRW7Z9aDNEOxmWTpl4I1gGw0PVPuS0uXFtY4BNX3ZD+qef2jYLUEBz2Qyd9yEFmZuzrVTVXV2TMNalduYcR0k770A+/MKG+W/poSNKvfMPA38q5w3IDHWo43s0qHaoLOJNGqOai1fQagGMxgVlGoTV1CBXgBLrkxV3IL7V6ft4kdl3nbnDGtoTuUMKRexdhRiAIW4PXxTalDKP2KNrMaJqBsvJ+SXa452Wyzm8xScl/9Uz9fxH2BjSU5R8c0ijW+/Dd9bA4XvK2yobv9BlMtKJneCx/ctSUQqRSExGjgVaQt7qOk6p8sSO0YBW4frJPJoRg+Hx75f1gohkoSWMHgo2CxU3t/S7/u4QZImG0GOxb/4Kl+/+3yAcmuTDQ/jnjLurLs12UPHEZJwuGmlrDfm8UV+BH15/jMMZWP2W8Ko7atQ== 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)(1800799015)(52116005)(7416005)(376005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3pEdX1Ajh/+Zhx2TALCW+Sv8Cre5btr1znw2Huh8kd4aJJHU1QAopkDOrHPlNYEr75XibncNLWZhhWcjtOkF9E7BgeTwnRqs35UfuWc2y7da3p4rcOohp6wNGj6mPuK3tp6HmpnObIDrSVAJ69/wnTC4OhmXgI4J1XrGFYFFqI4++9R57lS7GS8JfzREnzSFLiAuX0Ux6a4AJT/tWAsmCAtCWPkJGvZGZCqQq2mrC3OYyteQPH+H4IiudN2Saf76CHMwwLbVi2oZcQS6hqwWCdDT9SvWY9O4UP7q3a7bKaNZAgRsryVHXf1cywyACmcaOJ2lbuXnMEC1ISYY1xGgzu54l3HVKZLLm03xE9d5M7k/XiIsLwOndvwxZHCOwwgIUjI2yhuDFnYh48fJSv5v1hlA6rj62Ds/ITQjd6uhPqpjMCJ0FVuUN2p/QGGpj8jMxYxZuk8j2hUnCeEQ+1MdU8f75vWanUPcBP+eVQ1slSbcQpSfpVtesdAgqleIK9XEhej11vwXtH1tcUlQeQB8i1SIxPc3cDNxVNKJoc4lyhBeFSPgFE7C/K0Wm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9078-4d91-6256-08dc4275391d X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 09:17:21.8977 (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: zeirhSemGoXRjX9uakNi+iCX9LZuIBy13NYnB+WZPEfV7lMQGCmzfCi7KghvmNTv/M9aip00wvTmV4Tks6YGww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7876 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_021728_627869_63A41E58 X-CRM114-Status: UNSURE ( 9.79 ) 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 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 Reviewed-by: Rob Herring --- 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 Changes in v7: - no changes Changes in v8: - rewrite the restriction --- .../bindings/usb/chipidea,usb2-imx.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml index fb1c378dfe88..fb1270e5c118 100644 --- a/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml +++ b/Documentation/devicetree/bindings/usb/chipidea,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: @@ -185,6 +186,23 @@ allOf: - const: ahb - const: per + # 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 + # imx7d Soc need one clock - if: properties: