Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2218857rdb; Wed, 21 Feb 2024 00:11:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWkI/YcFmqkPZWzIUSqSO7lQ9t/YJ5oiH28H/NgtKUyHa8NjeJrnpSVc92LCQAgw1QSO/t24EXXS/ZJPx/ADSgXDZNOejWr9Kc+v6zsHA== X-Google-Smtp-Source: AGHT+IEC+HuNeEzd+g7mtjxP6mlK+tRIMSchOazAEtyEarJEzzx9c1v40Oh5Z/yxzVfyOyza1mtH X-Received: by 2002:a17:902:e843:b0:1dc:3c4:5e09 with SMTP id t3-20020a170902e84300b001dc03c45e09mr7019141plg.17.1708503076112; Wed, 21 Feb 2024 00:11:16 -0800 (PST) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id q6-20020a170902a3c600b001dc3290b1f1si519576plb.43.2024.02.21.00.11.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 00:11:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74281-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=op1wLzDk; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-74281-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74281-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 7F68AB2691E for ; Wed, 21 Feb 2024 08:03:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 482E03CF4D; Wed, 21 Feb 2024 08:03:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="op1wLzDk" Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2048.outbound.protection.outlook.com [40.107.14.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4956B3C481; Wed, 21 Feb 2024 08:02:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.14.48 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708502581; cv=fail; b=dutAlIv+73fNG74YcZWLVzqDlE37nhdRzrxSd4b8kUAs/QfzY2g0gkDkMQIqPiJrx0csOP/B3wqJJw9aJGSPyETwluDWC3DFMjJ/48iLBB7+BvThzflqrytEz7Wglx1cNTYcRUOI73bmybOZIUI0pNglzIGXoy3P7mET5rVTxFc= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708502581; c=relaxed/simple; bh=zoB1G40HMGMaUnbvkdET6FupLf9uQGhM6mAxm/eXZeI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=WU+C9wEn4Qduv5CXew9dfbH12hdw7wPZZv4Ej7SGUzEmQE/zzaQRppIFjDitYsEZoeafXK1jU2Qsad/k67fGY+HVJIwkOPOEawrfRESsjZtOeiW4Iiae3m3o/dc0lqv2+RWPuoextEOgJHvchf98EX99wcn94+6zuCv0Xjg2fFE= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=op1wLzDk; arc=fail smtp.client-ip=40.107.14.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ggonKO4r855gDn3nutvtUo7jfhxfLdR5f0BrQibrRI8ju0eD/JGU7tnhsF8X0UIbt1G+aX7Z7GNycF+EssNx9M1p52/MI/IdCyZXCz0KMMN+O9/B5FzkW3tOhHGh6YxHD1/4W75izKHZrDYf2BHe9ap6O8s+cmqROXnbTvrAv2MEr2zZec0rIyAXpuBK3OpioiZFB0U1zHbK8a5MRNX5MNVXJ8h+XYjaYGQKODzHGcDZTis0JVV5FjiXR1bmsZpKMTZPzEODnmWBnhf2EC+TQB/cfeWshnvxpWVBk05zdX7+1XLW5mMOiVIXUcc4qdK7m0QFDmQP/ojQimxdTLJypw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Efo77SPUftdc6VSRPIBJO/of8Og+4gFvmQDRGFG4FDE=; b=bDO4aqB6ZTsUdo+Xdz9Xj7N8jhmKGIIy7zgpAE23PWdyNcyEwZAVdta1nO+zeZG7kUmNS+j6QOV8W57Z4BhdLRJJ6HFzKVLVfvWNrqFCqNK6/f2O/dnAdlLKd4fQgTU9HSQDApn63QFeLK2CaQtKRBOVIg4eT4p+LOIj87pDfZCaz5WTkYwzHb7+/nf6/yK5Ci+MRtwOTZAYbEokBnqJzvZ8Cn4lp7h35DgIc4E/vR7gXQ+OJgLaaS79ynBJJ217OALFrfx8qOAG9c/mFWRnRiycUuwvieG4SgfmVI/cgdCvz/L4bI+RrTZjdN3XAvMlMEmboiMQyUUCcgPTIZ12HQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Efo77SPUftdc6VSRPIBJO/of8Og+4gFvmQDRGFG4FDE=; b=op1wLzDkIXVa8PvLAEA74yawlde/6uCu1V3FD+N/m93aOxPuQdr6htgSr4o5sUsZxFBY3tXlAsloxWyd/wqd6EeuwFQokETWHNzzUyWHmwMFl505Zcnsd5mVOOoAYsg+AFpGx9R1FsGJs24SYFjECk8xHARJJQnetSTjkP+i6jA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) by AS5PR04MB9770.eurprd04.prod.outlook.com (2603:10a6:20b:654::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.21; Wed, 21 Feb 2024 08:02:58 +0000 Received: from DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0]) by DU2PR04MB8822.eurprd04.prod.outlook.com ([fe80::d45f:4483:c11:68b0%7]) with mapi id 15.20.7292.029; Wed, 21 Feb 2024 08:02:58 +0000 From: Xu Yang To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, xu.yang_2@nxp.com, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RESEND v6 4/9] dt-bindings: usb: add NXP ChipIdea USB2 Controller schema Date: Wed, 21 Feb 2024 16:02:33 +0800 Message-Id: <20240221080238.1615536-4-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240221080238.1615536-1-xu.yang_2@nxp.com> References: <20240221080238.1615536-1-xu.yang_2@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR04CA0017.apcprd04.prod.outlook.com (2603:1096:4:197::15) To DU2PR04MB8822.eurprd04.prod.outlook.com (2603:10a6:10:2e1::11) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8822:EE_|AS5PR04MB9770:EE_ X-MS-Office365-Filtering-Correlation-Id: 5d4e5fd6-287d-40a3-db67-08dc32b3841e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gduwVvUplHS4zNo0sZ83Uzbk0pEZmHUjntY6N1pxJNxoIm7pI3GDc3MoxNpyNXGFO7ttpUAqXoUxMypThoIrQtSMhgUe6qyYrl2/rjkD76FM/ZZH8w++YvHU+dk85C4RGpZ3NerjLSA2cPLOSt03DozspumCmv38uZfd2ZLrTlSPCbv6vslCY2mZKHx02oMQXJVdOsN5HA7J48ZZfmhi3EPy+1T8ILmZm9ha58K9lPOgLRLTjMiarMpBxGRzvpL03chkEQ7InKrePp0Eh1e3wCt00k9MJHBbJ2+2p8rT6FjyWFFQNvT3egr73p9yq0iMUEk3aMfQIjTSm81cFgDponOqJacBJu08j9o5+D/vGhFc0oycNbsxfdyQzRnqeCEXzKVTpV3Cb7o6EbhFQNte9bJsWCRy7MV3eR/73NewPDzLYW84oVEJNBvxnrLbRMMowOtbhezbOmxaayhSSL9Sw4zLRhMtBLfzod7CLrQ2DOi3ePDEVAKlXQxPPblFpzwye9LiiylyOCFa4gZnfDF+YakB6NsOrGFcwWE/y5QZ5SAeJLReyAzPnVCVvs3LMJHQg6mZsB8pY1X7s0xtehGn3TqfwlbjE3z4m+p6FekfyYQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU2PR04MB8822.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?vng4lcIC/k/YwAhyn542MrKfCAjKR5wiLC9PqyuxTlGh+CvEZWeFgaqgYX4d?= =?us-ascii?Q?kvCDnUO1kthsYp73HZvjqF9DQnH/hj0geIqRlGTqO5hmJ6fL6nD3fexcKr6d?= =?us-ascii?Q?V1BrfeF85Ew4muB8D9IeWpkrwnFfeRPhbE+CVeounOFJr2cB3ZOfsXKO/H4y?= =?us-ascii?Q?m9MNuycL/PWM02FRpN6WVtly08GhltVM1T8OmycqtSwTAPgPpSH0OlJDqKuf?= =?us-ascii?Q?yiw53lW54Upo3W10Cp2xNhvl/dDI/1whhWI7Nnbyf6mohp/OZhzX2pvyW88F?= =?us-ascii?Q?S+tx4qlaAlzul9dnjrw4c1Su/urtvW5Gkzg7wD0Ri401vslYHXecEGgNKK1y?= =?us-ascii?Q?+YHzlIGD8ur71NiQTgGhVqQPvwEz6URmIEAUP0Hih6RR/kKPOPJ/9PojTcxs?= =?us-ascii?Q?HCJXbgsF5fgW0v/qdDwsBWRPdqhs5qlYLQc5ePtNJqAIaSTljK5pHwHhw9OE?= =?us-ascii?Q?xLd9iOMwmaQmeVVbir9WvVuyzpKd1i2jwx6X/1azkE4PCaP6OicLlFAPSboz?= =?us-ascii?Q?L8dYkZ0a+ADfQxVHa3Qpu3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ascii?Q?zpzLW9FTse1WdjnKpkRb8ZBj9Rj5svHdTXt/ufsg1kKO3Mu88w0ACm7oirGR?= =?us-ascii?Q?oFGwY17vI7QY/hNxMrVXtK6EjaEWg8MBN+GP6uF+A7nomI/UDE9zHs2rDrb3?= =?us-ascii?Q?gaVp7IC5ndJ9Zjk9BAJNbaV8muXBQ+OwzDZbfKse?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d4e5fd6-287d-40a3-db67-08dc32b3841e X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2024 08:02:57.9472 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: VAZue0ytimOtA61t/G9uJpM/V+cvYyZUqo7hfbx4YxSajDsxJ0sQSCVQ4HYQAd2iJqwCqccoaSvGmcnIXRNM3A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS5PR04MB9770 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>; + }; + +... -- 2.34.1