From patchwork Tue Mar 12 09:16:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13589691 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 5BAE3C54E58 for ; Tue, 12 Mar 2024 09:17:28 +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=x3fmAoywS5tvrVRe+eoieJuANi/Sv6ww4E4N+O3DeX8=; b=oS7+4gplNei6ol GHwkv8NC1UV1a1GkBwznIhPpXp9ER/UF9gJH31b7QaALSFU8B4Ran17SeDjPLHTLsIhFh/y6FKhbP 4Z7vtjZ+LBs1lMESDE1zYhzBR30T9Kw9wslEFxtJj4pDeXYin9CPIQ26Mpf6pijz4drqSi7Ht+Upa cGxRKHFuFt3AKSsWbLDwWcxqbqNhQJg3clBH727xJ4kYrkpEBIiEro21tmsZaTiLRTYoFRNOMRxbZ p0zLHrqfKAGJ8GRgPZHciD2zXD21Zou5dEs4onKD9nlc3oiaZDncf3DVIKxsWtcf9KhchMoEpinO6 DDjcX7LnCPEV3esIqkIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyFw-000000053k2-3wi5; Tue, 12 Mar 2024 09:17:08 +0000 Received: from mail-am7eur03on20601.outbound.protection.outlook.com ([2a01:111:f403:260e::601] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyFt-000000053hz-1j56 for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 09:17:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WRv4rVFWoYd4QZjZ8XUC/uO+oTGCDK07ftOGxgVyfeOik7lU5iRQRCNKK0OC7s2pVXOrN1kyFZ8Wbh40bUdu8cCR9SE9hsuKCh16KCMQImvnyggEja/CkYKNN60O16KWGxKaIP5+JY/WfmkojTlSd2gL1Y6m5gfAROc7cp9x9YT1WQgnsiyMDPVp0pxDHee9OkNrhrx4jmIM/ogbqeAkx6HG8jP8yA+zgAMlYc8xMPSSUtOTPtazYb46y0Ebo0OIrjUwfd1icKr8JCmIX9MLFKzRVnEcNEG3vMNzFU1cvhbQNJJreiofCzjj+bDWs2MlEpOQXR1Ie5dEwvhkMErm1A== 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=wlzOd4S4p8gXG7ZgEdu8HKJHotz0OIDe3L2E9fFsOp4=; b=lUjvndJIUuOtpklpqCLCQk71uXJRdZ+6iACpQxsyVHLJNwieiQahKp9TUwV7cHDiKeAL34wkvW+J2uBW7ZO0XsApx8Ih3uceKmoLOrMr8ivoFT3MDmYEg7p8WSbuNM2A06OKo10gFhax8ERxs/KrJrxUrPLVEOSiHLNvCKNXH2aTH6AoyCb3rtSUcnaFKL8usTlsePsqVA1r7rWwvWHLsPJr1MAXAnN9Khzeg6cYlZof/XBRCd71WxFbNKkphnijoGkpT1x9DqOSjcFFUnHyHh6k1FtslfMg+P+GxBtPrijbwev/GgKJfcpnKlQfAyeZsXo/hG5P0jDXMULIBhV3IA== 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=wlzOd4S4p8gXG7ZgEdu8HKJHotz0OIDe3L2E9fFsOp4=; b=CgDszee5OB2sG5mBuMXkesL7qoYV+GnQLKeMZMKoZOxpBD4NFGzKtkN+gYKlbYpiCNXTTW7r0DTY3AI5Qc0iEqRkf6b+PRZNjSorWr61XYs3qmDTJ8zv/mbsOfQOSBio108OyallCi05jSo/vv9MMDDKkdZEJYoQ9r8OG+62+/w= 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:16: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.7362.035; Tue, 12 Mar 2024 09:16: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, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v8 01/10] dt-bindings: usb: usbmisc-imx: add fsl,imx8ulp-usbmisc compatible Date: Tue, 12 Mar 2024 17:16:54 +0800 Message-Id: <20240312091703.1220649-1-xu.yang_2@nxp.com> X-Mailer: git-send-email 2.34.1 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: be155ef1-1013-49ed-84fa-08dc42752948 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AtBtapKMzeUp+HP6CX1qGOJsPtspcyj1duePVHUYBnMZuLTfEHbUfz1LQVi9WyeLfQTfGnXpRbY3oshdTifBFctiILLyHE8xy92lBQ/lZaiyQyiDlvRDgD0uqrP0wiGNIh+6JeK/Ahsr9oimcAGpUOZNldaCeDTCCwpBLOjD7ZR/1yry3Oe8aChm9EC6sSNrI2/yx3pSTzlq2HZwoLwyuUIMyj6THO/9/KFSpM09DNwJ4XSM5Aqb5vGhxE7EoZDCvmnkdq2IC26OrzuGygFGjfxqt9Q0ARPld4WRyEjexVEtiCkTK1hQsKxXZYmZd3EewJo+4Z8Xbf7YemEbDb+K/mxGLTWuGocNbNSSAMPjMWlKfeVdcXI04cb9o6jfJYw8tzy+mJYWvuh/kjD/Fdbp5vuz2VUoECMuNI8KmOaK4mCn2Lg3TWH/Ug5lDdKQO+SMWNKGINOaS9TcbbVR93l7xItttH08zpPmFx/R1aevwnudHxiU1shx/wPh9ZvHMwd9srIHVapXXMIbuzF/J73tzuSROc7ElEHKqxxsXbyEhx7yZJh2VRD3wcajEdmcfYLLk2ASp6DD5G5CKRRl0d+8Y4tOHLhKZmfjWYTCfntXVwrdPy9kk1d/Y30PRf5adVnxDT9zGnzhDHpOMXQYPJuVolp6u7uV9cu3GNQvOyy/0WrAVgDxtbBnlZfEtl23CcakTspVLRQrmuLi0tsEH1ga2Iy3HKY/OQcKdh4uoX3jPAw= 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: 8UBOo1Y8dwm0vDlWNW9ILzfvOOXrmQb+j2Z6g/SmULv2EcEWfNn6o9tP712ER5549kRNKb27P14T3wN6LZahW66sTzHCnBF1XlUgwc9HYlSBs6TYfXAQpM/dft+q3DTGu2+VOqfTuFYxz1sLOnwHpGjp3QNe6Yo3Pj2W/tM4vjUU8hW/r++IMuxrmq5hExeXvB9Z8wq7regLQ9yGowdfG7RynuWL28nnx8cuk1mUv8T+KC4h3LuBiDQQFlcl6ajSlr57FwAlFn4czY1McxxsJL4vfCjV/TmHD21fwVCa7mOMb2UcYxOMTA/oKDywDoS2qbBi9LlM/cF6MjtnUiUML4C27uBa0h8BLk/Hj5iJOfynRQ1fBI76jn555nXCxjyPNx9LvLdjQ0ITM41kv1Rbo3Ssqkrwm6ZVTS1N6a4RkJ5llI0H1ARP56HsGSHr/AwwRRBWAW0UpjiIvhbWWuLQxMKZKDD1Eu0YFXvYhTn0+/V+BDTJhiluGs0g5yc8+7j8kd7sOwZ4Ety6UyB3E7jk/xFWmvI/CLM4X23p2ILANTQCaGuEZdpRSL1yRrrEn55tdFH+b68aGPavgNmk8KCxaGyPuc2xVnZcryjodyr4z9apJZJ9t6pdYhB+okfPU1Q2bdQYayaWEyj0ftw2Mz4CNpArOamcM33q1QWaAe0MQM4g2D7JIvB3DmqDl73Nv/WdO1KIW+6dP/sPEnTyyDu3L2FWGB/lpmH5DZnw9AYCRS1DnUe/zlTXPIBhPpackNU5HGu/ihCSlF7+dNEC5t6XKYENb/UcPARHxiABzR7DxSq83iJ5rHST3yox4VRUyHPOw4dcgRIKqy3nJnbFFCCPx6/FUR4mRAj1Dkb0saf+9/gQNJ/I/VkirlGAgNK4xZOJtWMtLgGxJ9GRau5JsKUS3wnZ8J/SqeNzjdM6G2kCjBmCxzs0hAvpc8lRQxpJWWibFnh3jjUqXlo7RQRs3i9EB1uN1WLpsHuUk7tMZWocxEH5O5c9Q4GOr4mQkec5yzL7SztSyPsZDf36en/xaoanuOoq6TxxDkz+JAz4dTdcfM+rSRgEyQQuUCKHgPArdgBSZd25mfaJOIXUAApx/vui1brAtNttmqAvzmeRU3OeV6nD65vd3xPOFENkfcNRSL4W0T3MCtag/1ee12Ye0k+j8p2BuJcQvl5EFE391djOqQJ69MnvIyseymY4tar7MvUR1cXGYTLYwexaiuHrTNq7ySS5f1CBDXxMfZ32TRZRsdo0UNMEC7pSAy+RvJaE8/kBCNLd9OTaffZxjqp+40imTJ4alGIPDDCAP+83rk2LrwF9v12SJSk8njwMuxoAdJ/Pwenoq7evgLs2yHTFdMmU/diVU0HVIz4q8Pe5ahGFkPObCObbFvh60eG9vugARPeCEGiXGKndkHSWBmvrWpDqi/ku3cZf7ANFHXFvpT3t8BCpwXqQL2ILR9+uUhhdOKJI0u6RAElaxrFM6XYW5eHLPK1dGRWVCd051GOFzy8dLQB4awwBxpZ7lExbl/E0rVrJDhlsHQZY5m49pueYu4xZ3ljRvYyl3Hxig2assbp0yz0WGcz8qlWxuw9OtPS9+8J4 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: be155ef1-1013-49ed-84fa-08dc42752948 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:16:55.4058 (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: QGiFxBNPPFtW6qxrZfessU55KCqy9NJbwq+acy7/5UXKMwrM6WU4c+IeEKwtE1Zz9XGmv1Qz16iyFEm6sPMX7w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7876 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_021705_717167_B821C42D X-CRM114-Status: UNSURE ( 9.30 ) 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 Changes in v7: - no changes Changes in v8: - 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 Tue Mar 12 09:16:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13589692 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 2A8A2C54E66 for ; Tue, 12 Mar 2024 09:17:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EauVZ6KJMm260nnxqNhcZQQIak9zPnoYFBOeyruqM/Q=; b=PhTnqnNWtb9iiR kesu3j2ODs5s8Lrd9Dg1qBpqhMTFOeeygouvmr2PUMydn8J8IS0uAp9SoBwPzLH4jRptBNUqjsZNj uf6CkFoA5bhEKU2IYs2ppICG9FregC4WF6XreXPJ4khd3JnvKsI9vYEYdt5BgWUHiZ+7MyRvt6e5Q brXXTCSG1hg2syPdLc1PuVDoLkt95+oja1ehAHnd0OdJc4HyGhBaJyhcTidvpkegl8wJDDV5PqmM4 9w5fyjlZEPjh46T9eeiGXjH9fbnthhOeh70qOxZtM/wXZb7u+EFdaZqIcPv98rw6iGlLhIicU2QKw GKsC9ZRNFHx3re/C5vxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyG0-000000053lZ-3fsA; Tue, 12 Mar 2024 09:17:12 +0000 Received: from mail-am7eur03on20601.outbound.protection.outlook.com ([2a01:111:f403:260e::601] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyFv-000000053hz-2zME for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 09:17:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EQHvaQwX7yot5sFDbQjvq5AsizPBwgI4aw/kUJxTyKLGvZta0xVyJ343RF/iXA0eeCsmCEDEMvU//SpQhDA5nXyw+2uUfIKSFv1Bt3S6tc5j6WWITNnHBjf47OsiHibobhWUtLP484Log5X01rNGOipOg78i+2mIHyTmtR6JUxRa1WsQgKrCPitnrubpTPSsavxFy89/GOVvcPXHaXNOlDsCq++MORrRi1PtSsOOXeB33ztbP9Pot9Ue2yN6rBXuHXQW9V+ei4VTFHita9rq6FuD+9i+f95kSTIMcjlGaskXpnFTdQj9svohVCRiWFcI0XwFOlOl1B9RgewvKt+Jww== 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=v082gcxvW+qP4A5BsUxk1jySg8Js4VXKgkC/SS2pKa8=; b=DhPGK2zMDU5WZQT9YV964AjkVE+vrxx5PRDlmuirn4V45xVHrPDzwHhOcVuG1pSy9NIKQ5a5C7kd/kozO0jElCZrhz0NP8MfbmJuoAa00Hte8mDW4rykaOWMaP2IpMQVYrq5m4vcNdpqs6VZ8Y7TiHWbXQfnVAx4kVYoxwFvXUdC8dkxJJMCDrA7zTgic2pmUaHiSVVCtxUEgtsUFhaLcN9BSYH9sgktDOQUdWk3wUk7uiotZR8LbV82qO0OzD0LRho2CINZl0+T4PetawcQAn5pglTEg0Jekqp71cii1rJlnad7j1EgrTq6+WlsEisZZsefq0qpl6+CVfGUZNOi7A== 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=v082gcxvW+qP4A5BsUxk1jySg8Js4VXKgkC/SS2pKa8=; b=dNM5EUXnIdcRDpgMmnIte0rZuvac7/GfcCkj0i3a3QrOYaZvf9JgH7s+Ci4cO2m0TpS0Mook3+53YQ3YzI9GgGK4s33WZnQ96Dm+dV1G9afb9OzqaSxk5HsX1lCQLBb9XlgbI1boI0VIqCLzCR8UdbJ5EOHnejq341GrZPoXd4g= 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:00 +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:00 +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 02/10] arm64: dts: imx8ulp: add usb nodes Date: Tue, 12 Mar 2024 17:16:55 +0800 Message-Id: <20240312091703.1220649-2-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: c7571ff1-3c55-414f-17a1-08dc42752c8f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9xw0TV6avj9ZhgRlGCs/eb0Olm4p0JR7ljBCmPoBbtOXIAtoLH+Wug5+8X3sRVXmMo9zOrfSsgbagjZLMG9CJ3FLW4F8hCewsL1xssaK+lAOE3S1a3dEY7dxmvkwOuByYUfzSKcsryYp+9+d4XHBTdLRSHnCBhIIkFXZL8m05zkBY8g9ApSDwxNRsXa7qiCftUat3cwls+D8Q9mqVLl5Q9OpHdGwQgkrFuheXLZGzpaC1McZ0qnEt1FxVHSzDKMSacZoel2ccxcotXdBIT0icYpOleqOvrB7l6GZ4TuwvEy/w+sKIoQqjQ8Y8RZohokg6FwVv35/uJHoa/2R0HL9xg0UAHWEYmDMQzQ4w2n9YG0ZWC+Sqnp3iH5/OOTE0fqF2eVOCSMmnGXEb/ihFQOIM9OfE6uC1nvHl2yizJPoeatkrkGql4QHLr2JfEUozSnE3ut052bDDn3lshjXU83iBcSIr/bBN3Ox4EzigNHkxGJZFt8yg+h7tME3xq7lLKp69Ihg95TgwRwN3yc1YzNtFahCtA0XW58I/7BAMIQZJkU01e9E751l8qVxjApVqi79LDNMxnQBFWxbMsTlNvDBbXR9GKPxmqm+nr1kBizhip+IbwdmaSNrRSwYrqnHWyka1zJlF0sKVgr34mmyU3J+pUzrFDtYlOFn+zQGE8K3Z4E2rCAjg4T/VQd5WHuPB30hT69hS6o6Xaadu1UNmziS3g== 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: vGBpBVr6zDyd2UaFdtyQwqlrIbIS5fBhI3e0yJ5B8qmClMXTxSNquirKtnfuuGyILzxNR0V0cPXRr71orGItUVEtwZE7sL7U717OFtsXk42Eyk9SEd89OKgdHbmEJHTjnwVbJwU7sYXT9zGuhkyHkgIv/0QL3kKZcfcWL4UqGBowbkclsdHqPipsTnwmWHFe57hp0zCcfjhV1MSRu0SbKQbmiL1e109oRLhROEyM+PfJI9vUElj4ajC3J19EQGp3A4/dk2vPx2BUGPWbj2KZkNW9rh5ZEfWUbaQZNGLsj+/GpumK/8kXHrTweFEKGbvGI/Z8kUrDqEQ+WFZwkonxHczFFUwvXqN6NAaUAv1/kq7Cm3oZwFQNoUMAM8bMPI+1l1E69jP1iIg2T0GLKCyNqSWSrql2JagueLbrrBjT3kvA+TitfHap4BDDXKeCVYl+LX/xSy/GHgFqyHJ1qE4zE/5gtk6kxI2RubfxWH6ZvIPQzINZ20bdQk4IV2nlGabdIH4O39FnX59HZ5uVwCNG0ShY2ac/Mq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-Exchange-CrossTenant-Network-Message-Id: c7571ff1-3c55-414f-17a1-08dc42752c8f 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:00.7614 (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: 9Ego2HDGU11uVCN+z1ZGnRw20NMXr2QCA9l0vrK54VwSLJRzs/WYMBnMndxq5Pa98vSnFAPtKw+Np2i3S3ggTA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7876 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_021707_775972_1C41748F X-CRM114-Status: GOOD ( 10.25 ) 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 Changes in v7: - no changes Changes in v8: - no changes --- 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 Tue Mar 12 09:16:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13589693 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 61979C54E67 for ; Tue, 12 Mar 2024 09:17:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dxI0V5LjPpWDGSrKATNZRVHEoxdXpFvEuy47HqrNpZQ=; b=tlINYFS2C5lxy8 E47FzBT1ijJIFgJnN6bTKImxZmCILrn6EugRUoiALRfgQU70sG507KiYTyFdUySylNbCCeX75iDPp I8G9wLc+mtrA8TizfEE+cv+JPrP7OEyxzy5TrwcNftKT9Pt5BGWOU9bo+eLeGaEciAPsooGG7IWK+ isUnsE4M6zQrMQ1HAL3YYwG2qj3F+E9s0M4us7YwH+5uMSZTJnQJVe4mMAqvrByuiuJY1Of8CQ4uZ mjtaF1VU/CiU3qz5UtBqQzuXscpFqZCNx8c2qjgkk+oBjv0YizLEqjqPnY0MW3tlEbPILtQYVuRy6 Qsxo059AA/HMWSEuz8ow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyG1-000000053mC-2vQt; Tue, 12 Mar 2024 09:17:13 +0000 Received: from mail-am7eur03on20601.outbound.protection.outlook.com ([2a01:111:f403:260e::601] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyFx-000000053hz-20cb for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 09:17:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KsFsgWijNCX2mpas9i3iKPwexoNkb7MguyB/S6oZqiOOwqZ5a5ZqgeD49uT6Hu9/34q3eVB+P5sbDVc1hFcafl/F7ZBFeG4d5apwqw3xU0liC/1MsPxYfMUU9F1P+VYzxlTgOqYbRtXyyoG/5lDqvyMCiU/iNiehGie814HIlwKGzD6W7q3cx0esK+iEsUzvdSSh5TNpukMvMZkanbRIZV0cM9bdFhFz98VRQ2Oswb39es2bhti3zT7JrHefi1J+Od5XA86E54As+Ncw+Q5aZa12buNX+XqEuE9O3zDIrEg00YYa+oaJt/pkRvIL7++FrMvxPkdfN4CEgZuYFsDcug== 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=iL48/gKVxU44asqHbC6xgpZ+7wTeQw+ou+MApLGIZ/I=; b=FNT0zTtY1Mn5INyAOLcc2OujORUT+Lcf1Ekbbm0bD/N6hdFD8E4ElQEf+88NCX5G55nPWapaF9PbR0fFRIV6XlBf6gG1sQmZwZLytdxj4jOXLsJDSplBQiSZUBgNTXQAvBPxHMZ/tv2oE2sBQtzWkFOROksGpSphlKJMQMDvEug1Zuw5d6J2aliVctGAVDqtvSm3HNbwsUEqbFiL+1myar6WKAKgLtJTCiwI+xMYs7uyfNbSXe1ghkqIhz1frKHle2nDA7gj6HQW2NSRNJENQyJ09HLtkjiLo2XuwK7XPxt865k7UA9PxWpeOwivdMcJ2LHxZegN0dvq84DQ7VRbdw== 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=iL48/gKVxU44asqHbC6xgpZ+7wTeQw+ou+MApLGIZ/I=; b=Ix4l1ImWKOATYSfmsVjXBgh634EuwHmM28PKNBvbys8UfzIiEkk2c+xfyyBle0/YBLujP1E2Bn7Asu00XM9qUxdoD7HKzW90LhfSSXqkSRLMMZga3PIXhpJgNUUTo3pM6GHkklA9q2Sbj2IM291dVj9WCpyARohaM2aRR4l5fA8= 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:05 +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:05 +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 03/10] arm64: dts: imx8ulp-evk: enable usb nodes and add ptn5150 nodes Date: Tue, 12 Mar 2024 17:16:56 +0800 Message-Id: <20240312091703.1220649-3-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: 1d551a25-9459-437b-4e97-08dc42752f88 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6b+CZK/2unTyl9qaRTj0b66ieLlQ+zN/3qMFQ5USXuhYjh+ABfWt9JvBPm3fwQ7N/8XDGC067hrizC+q9EiFWg+DDrCIr92Rwk3W/I4xcJWAg+5hFtd/ra7ocWFVN07h+MV8q3iwFKtZGxcjJbXMnSRVru6M/apef1JqtiQLSgMPKy9DdiJVnJbxvNT+iWXeDc4Potc4rrxDlAsiZe/qgfGQ27M44eyx6OUfx/k8RO4PDG5TXEqNr6OAiyLwSB89JGg7p0i5pQt4IklMT2nB4QC0Gtctsq6BuAxK7Xg7kyPKBlxI08IqPt1kZ5XPWiPMjtELr6YwVqy0M+mYcS95PYJptpb3J35PX8Tu8CXuiDhgedAny9mKg9YFNtiv4T0TbAOUgBxCkQY2ApCEvjseeram635mLjW89Q2Nahi+Kp0T1hTzc9sHTVU+Fi0mrL/aUTAcWqSKv5QDPctMqmVzJ5+nJ8Dzsvskl1/ffG0DnZSYo974kVvDhj1VFxHLiX4jyyriilXZrud8n5glPA4CNKXvACaidhf/EbBqkIuc0IqIhP7hVq5Cs6c6bs/9M2acZHrz6brPJfpJgjf4wAKE4qsm420iiZL/g6VwF/KuZ9tBwuhGowO1JAWKn/RWUWuDjEzq5JqQ1lPtGYNb+4TaZHE9Glgg1l0DARVyOi1hUOVYUkNi/tIbiqPhN5hb7/IhNXWdcVuw1NVrLm/Vc3Fi7A== 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: Ed+P2GoW4KPuuR49TYcQ8693RQ9tcnQDjSNKYTK80dX3SKc1YwcvCfViDhm7sTMhS+i1pd4RNVnN+ydE8hrIRZHE3M0yHJMT7YpBwA10tPXT2sM6L8g5woGo4QLB0c4XXx1jrINs5R+IShDJ3Gfv7H0OW10d3cib9R8/aqHYSVo7QbAVzhfRHsbonxDZeVIv24S6bfjKp5BKHIMBsSIqmQJ6m4H/PHQVtHv2mqFfWpuGxvG0WDDtN2T4K4lThGVodFISxZpttd9P7Sy+9L5XfBvm5t96ojWebUNto0R9zUNx0GSH9qI/zNIQt/M4TcVvaz6qZrKgRE36pSkG8Wz5X0HA+uxciMC5KsWsEXsDayK9SDjWKUXC0PcIXkJlk1lmu8LGSSEdxfCU8LAgKnnrv9rAUNUZ/HOYOCL91flSwXIXBmHgvrh+4nQmf9Uf9dgj+aAo/HfwbuZoB2cWPCZaw9v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ljqxqUPxDSESyBcvHH2mD+2plQvrGMJUVeqxfFsYGCo2E+ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1d551a25-9459-437b-4e97-08dc42752f88 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:05.8215 (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: tG/0WwZrnEe+pakgfw9OCOThRa3/7v/JwW/Kxhb/P+0kUs3DveVj3Ig/erFenD2khilodEeOp7Wd/YDf4z8kQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7876 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_021709_616611_10B59AE4 X-CRM114-Status: GOOD ( 10.95 ) 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 Changes in v7: - no changes Changes in v8: - 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 Tue Mar 12 09:16:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13589694 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 76099C54E66 for ; Tue, 12 Mar 2024 09:17:47 +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=G0uOtLNFagi/uRgeFWfBY66ZJBWRGWH3JOwhnycJdTw=; b=R96YQkTxF6jjAU dtTSXO3clDqUnswXMBrFvi0eS06YOFKbgi62+xM89BngLh5+tsTabVuBWErRE8sh0uE5D2cED/vke 0axTygvO/xxAXuSn2tSETthKtHrtonte+TPTIFHqYo4fTBf2VlFGlUEVNCej8+9gy+BRYpR+QDO+C 9t2m5lq0MUlFh4ZlQGdr1OT8ZhLKRfJtUE5ukW/H1ird10/ZpEhQS4zE77butBOfME99JtEyRSjym xiGtVajMo43Fl36eyNjaHjCRczWyo70nxPjiHp4XLZm07ecFfJSVB9G+zA+u8cw/pPMqs1PlkG6LG 6e7jKiDto7y92EVe801A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyGE-000000053sB-2Fcv; Tue, 12 Mar 2024 09:17:26 +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 1rjyG8-000000053o2-1qFq for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 09:17:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WQ+Uo+I1AefrYcZ4ehqlAtlDvOqb6Cy3wDy19Vr0MUtT9mJq8pQrUpvL7kyWvrgrtwXCxaP2HSiz5fAYJ2h/4Rf1xD/9nmadwZ2S2YaBLAGDISUwdTHW8CVKqZeChXOBEQt4WEb2Sp6bEeB84/Wzn/OhmbYkmR5q0SoOgTUzL3wPAjkDTsuc6NEHWtZjaVZKr95OJhF3v6Y9bFfr+fNMGj4p7G4f/KrOsS4g9Xj10WXl3SB+3PpYgHThHQpqyXuZ1IJrTvYGtM7LkMp3aJuINBn6T5u575GP0EFOeeGyFxn4hbZh8eqH3QPjbnuqUQWD01DSoy3jfRBsyEhILa7n9A== 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=joxH+ODr9RmFAM5bWZGmeOMOW543Eu6Fl478NfzStj0=; b=TZka+8YJD1dAl+oXkamBAmLucIVHO8OMC9qMEjlO2nhLQ1F6eQX1NZ4l4sTdjWpJ8GNCGiL2ZlCPmxKB4uFovVdcqQyN6kXpXXgRh4UbzEvN4EaJF3R/sn4Wjlri8rick4XxglNCgHJ/adhTWboyr3d3zEpO0dJqb6O8QsigCFw2rr/KaiHLf+Zr5hpiN4IqH6itV5MUcLaoBy+/lOyiO3PtrE1SY0rUyJj9KFqlp3r3ze8Mr5SdXGet1xAiZZkWc9BHgqdkYxMMFx7zJ5AkqJVQHJQb0HNCRnvuEOwzHR4+drNCwKqQpUOXY8huC1onuWPTITD3zKikD7Jy4JSCxA== 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=joxH+ODr9RmFAM5bWZGmeOMOW543Eu6Fl478NfzStj0=; b=SiSmlQ3vaz8BExLqCtmxqa0o/lyaAGjrsJwiXO6NiwNCAByufFU/6thZs9qc0ddKEMOutKIpTe2JL9cTpJPrStxj53qnrra6m0by8nRbKuKNZnSf7U3LkrhcIZv+RDnopeoh9ljTT94DVUtrA0YUKzQP4DfbEmx60kbvAs7eMV8= 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:11 +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:10 +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 04/10] dt-bindings: usb: chipidea,usb2-imx: move imx parts to dedicated schema Date: Tue, 12 Mar 2024 17:16:57 +0800 Message-Id: <20240312091703.1220649-4-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: 8b8ec39c-e48c-4e0f-dd8a-08dc4275328a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VZekoUtNYC7zTz+LawrRWNif7iF9QJR1G8Xg+HrvsEvqvkWzqNbqXCpBaIx/PctqWpJ2jEIeKsRaiYzf5lXMyPWgaI/MqZLGpWFJWZEd+TpHqOurpsMsQHEfoJs2o3L9o4wtwCHf5oHcdA7zHhej/GPnd73UTxGdZRXFgViMpRuWojMTLCFyeyEnZ8SP5t4gbE19u2bVN1QUxQ+Z99eQoXSPagP00UQjt1zgsU2POJt5mnl/YlycYLQJXA1hp/rxVbLCWXm8c7YDMtAGAkA3Danj77sAfmN+qjMOW1BUMurdFN1/Rn7LqYZqtwuxM0TspwdFjIDjjXZ/VazL+gFno7Je3qryX+EnL5K8zBOpZ2vChITMhtQs13ouW0XclJsm57Fp7CtGFPjsTqKunVsgTkv1ykrA4Detkef7EcFGr+u4UrBGdezTPB5/oHPt/n0BmtMdPGwjd11UXxDDKlWTchAWp/e6FIHyXGTkG4PXT+Fkh3hl2EyvpZfqUjxYBCcLiZzeNJSSbzdBTR/bxX6idgZr/OlnvJ6wO16LygZKqQPf+9AUb/rb3nUKqaFBmfwf0mZgXneZaInbbOo3Bo8zD0EEBjLg1rVqxWGociFSL6xbLSeBxzW/s4Kbr7V8IeeCkzE/hgS7QmMIxS2q2REZLRWwoony6NPnzIPEPyZXrXY= 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: d2mIQrF1A9qRJpSo0YbFi7nJ25Yp3DzggS7xXFgNj/aA672NBcVdq3SCjfKoORT+JzlCc2VxX190O8EtTvtVfsXfpFFGx1G9/Qhc3M+CeXR+dBnGX7xQRgH+HPLFfGs3pO1gPh4+KRh96401tRhRRerEsCxOTSI90pMSobphpminzLMOvV7PrTQK/bYrfwOGOsZN3lC/ZVAmxlUMli6YV6N43YXyHouY6Qwy9nuZVHjJMhuBoW8KXnX+ssGL2csptXfBuH8DLlHiAvIyYEeubsK5JvSKvVIMt5gGt5ay4/rSYIUZJemltICjxRMmYBTP6D3rBwApxLr/WJaQ1XRDvsA6DApWNF/WiwbZM0fiD7RdNtL9KUwuGjVIaC3E7Exfy9mGtXgNDHq1GFOTQV06H762rQ7clTkpukvREnB6pbsDtE/O7kbFE8cbcgfjXUcWsN2+kJxxXC/tzHm6rgaATn5NMPN8Y0H25s8oFOL5sgRoyB9Hv6cHpm7FnG/OfXJO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g: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8b8ec39c-e48c-4e0f-dd8a-08dc4275328a 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:10.9095 (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: CgunpXrR/uc78DZsYx21zKym/5aP0RDJ2Qt++xo6KflrwSdLtQlB7FJw0+nh+641vXAtpKkCAFepFyibcOfZXQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7876 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_021720_962607_81E97F0B X-CRM114-Status: GOOD ( 25.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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, also add a common schema. 1. Copy common ci-hdrc-usb2.yaml properties to a new shared chipidea,usb2-common.yaml schema. 2. Move fsl,* compatible devices and imx spefific properties to dedicated binding file chipidea,usb2-imx.yaml. Signed-off-by: Xu Yang Reviewed-by: Rob Herring --- Changes in v6: - new patch Changes in v7: - not remove ci-hdrc-usb2.yaml and move imx parts to ci-hdrc-usb2-imx.yaml Changes in v8: - rename yaml name to chipidea,usb2-common.yaml and chipidea,usb2-imx.yaml - remove common properties from ci-hdrc-usb2.yaml - add new end line to chipidea,usb2-common.yaml - remove fsl,anatop since it's not needed by controller - fix pinctrl-names formats --- .../bindings/usb/chipidea,usb2-common.yaml | 200 ++++++++++ .../bindings/usb/chipidea,usb2-imx.yaml | 193 ++++++++++ .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 360 +----------------- 3 files changed, 396 insertions(+), 357 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/chipidea,usb2-common.yaml create mode 100644 Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml diff --git a/Documentation/devicetree/bindings/usb/chipidea,usb2-common.yaml b/Documentation/devicetree/bindings/usb/chipidea,usb2-common.yaml new file mode 100644 index 000000000000..d2a7d2ecf48a --- /dev/null +++ b/Documentation/devicetree/bindings/usb/chipidea,usb2-common.yaml @@ -0,0 +1,200 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/chipidea,usb2-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: USB2 ChipIdea USB controller Common Properties + +maintainers: + - Xu Yang + +properties: + reg: + minItems: 1 + maxItems: 2 + + interrupts: + minItems: 1 + maxItems: 2 + + clocks: + minItems: 1 + maxItems: 3 + + clock-names: + minItems: 1 + maxItems: 3 + + dr_mode: true + + power-domains: + maxItems: 1 + + resets: + maxItems: 1 + + reset-names: + maxItems: 1 + + "#reset-cells": + const: 1 + + phy_type: true + + itc-setting: + description: + interrupt threshold control register control, the setting should be + aligned with ITC bits at register USBCMD. + $ref: /schemas/types.yaml#/definitions/uint32 + + ahb-burst-config: + description: + it is vendor dependent, the required value should be aligned with + AHBBRST at SBUSCFG, the range is from 0x0 to 0x7. This property is + used to change AHB burst configuration, check the chipidea spec for + meaning of each value. If this property is not existed, it will use + the reset value. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x7 + + tx-burst-size-dword: + description: + it is vendor dependent, the tx burst size in dword (4 bytes), This + register represents the maximum length of a the burst in 32-bit + words while moving data from system memory to the USB bus, the value + of this property will only take effect if property "ahb-burst-config" + is set to 0, if this property is missing the reset default of the + hardware implementation will be used. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x20 + + rx-burst-size-dword: + description: + it is vendor dependent, the rx burst size in dword (4 bytes), This + register represents the maximum length of a the burst in 32-bit words + while moving data from the USB bus to system memory, the value of + this property will only take effect if property "ahb-burst-config" + is set to 0, if this property is missing the reset default of the + hardware implementation will be used. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x20 + + extcon: + description: + Phandles to external connector devices. First phandle should point + to external connector, which provide "USB" cable events, the second + should point to external connector device, which provide "USB-HOST" + cable events. If one of the external connector devices is not + required, empty <0> phandle should be specified. + $ref: /schemas/types.yaml#/definitions/phandle-array + minItems: 1 + items: + - description: vbus extcon + - description: id extcon + + phy-clkgate-delay-us: + description: + The delay time (us) between putting the PHY into low power mode and + gating the PHY clock. + + non-zero-ttctrl-ttha: + description: + After setting this property, the value of register ttctrl.ttha + will be 0x7f; if not, the value will be 0x0, this is the default + value. It needs to be very carefully for setting this property, it + is recommended that consult with your IC engineer before setting + this value. On the most of chipidea platforms, the "usage_tt" flag + at RTL is 0, so this property only affects siTD. + + If this property is not set, the max packet size is 1023 bytes, and + if the total of packet size for previous transactions are more than + 256 bytes, it can't accept any transactions within this frame. The + use case is single transaction, but higher frame rate. + + If this property is set, the max packet size is 188 bytes, it can + handle more transactions than above case, it can accept transactions + until it considers the left room size within frame is less than 188 + bytes, software needs to make sure it does not send more than 90% + maximum_periodic_data_per_frame. The use case is multiple + transactions, but less frame rate. + type: boolean + + mux-controls: + description: + The mux control for toggling host/device output of this controller. + It's expected that a mux state of 0 indicates device mode and a mux + state of 1 indicates host mode. + maxItems: 1 + + mux-control-names: + const: usb_switch + + pinctrl-names: + description: + Names for optional pin modes in "default", "host", "device". + In case of HSIC-mode, "idle" and "active" pin modes are mandatory. + In this case, the "idle" state needs to pull down the data and + strobe pin and the "active" state needs to pull up the strobe pin. + oneOf: + - items: + - const: idle + - const: active + - items: + - const: default + - const: host + - const: device + - items: + - const: default + - enum: + - host + - device + - items: + - const: default + + pinctrl-0: + maxItems: 1 + + pinctrl-1: + maxItems: 1 + + phys: + maxItems: 1 + + phy-names: + const: usb-phy + + vbus-supply: + description: reference to the VBUS regulator. + + usb-phy: + description: phandle for the PHY device. Use "phys" instead. + maxItems: 1 + deprecated: true + + port: + description: + Any connector to the data bus of this controller should be modelled + using the OF graph bindings specified, if the "usb-role-switch" + property is used. + $ref: /schemas/graph.yaml#/properties/port + + reset-gpios: + maxItems: 1 + +dependencies: + port: [ usb-role-switch ] + mux-controls: [ mux-control-names ] + +required: + - reg + - interrupts + +allOf: + - $ref: usb-hcd.yaml# + - $ref: usb-drd.yaml# + +additionalProperties: true diff --git a/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml new file mode 100644 index 000000000000..cdbb224e9f68 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml @@ -0,0 +1,193 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/chipidea,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 + + clocks: + minItems: 1 + maxItems: 3 + + clock-names: + minItems: 1 + maxItems: 3 + + fsl,usbmisc: + description: + Phandler of non-core register device, with one argument that + indicate usb controller index + $ref: /schemas/types.yaml#/definitions/phandle-array + items: + - items: + - description: phandle to usbmisc node + - description: index of usb controller + + disable-over-current: + type: boolean + description: disable over current detect + + over-current-active-low: + type: boolean + description: over current signal polarity is active low + + over-current-active-high: + type: boolean + description: + Over current signal polarity is active high. It's recommended to + specify the over current polarity. + + power-active-high: + type: boolean + description: power signal polarity is active high + + external-vbus-divider: + type: boolean + description: enables off-chip resistor divider for Vbus + + samsung,picophy-pre-emp-curr-control: + description: + HS Transmitter Pre-Emphasis Current Control. This signal controls + the amount of current sourced to the USB_OTG*_DP and USB_OTG*_DN + pins after a J-to-K or K-to-J transition. The range is from 0x0 to + 0x3, the default value is 0x1. Details can refer to TXPREEMPAMPTUNE0 + bits of USBNC_n_PHY_CFG1. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0x3 + + samsung,picophy-dc-vol-level-adjust: + description: + HS DC Voltage Level Adjustment. Adjust the high-speed transmitter DC + level voltage. The range is from 0x0 to 0xf, the default value is + 0x3. Details can refer to TXVREFTUNE0 bits of USBNC_n_PHY_CFG1. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0x0 + maximum: 0xf + + fsl,picophy-rise-fall-time-adjust: + description: + HS Transmitter Rise/Fall Time Adjustment. Adjust the rise/fall times + of the high-speed transmitter waveform. It has no unit. The rise/fall + time will be increased or decreased by a certain percentage relative + to design default time. (0:-10%; 1:design default; 2:+15%; 3:+20%) + Details can refer to TXRISETUNE0 bit of USBNC_n_PHY_CFG1. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 3 + default: 1 + + fsl,usbphy: + description: phandle of usb phy that connects to the port. Use "phys" instead. + $ref: /schemas/types.yaml#/definitions/phandle + deprecated: true + +required: + - compatible + +allOf: + - $ref: chipidea,usb2-common.yaml# + - if: + properties: + phy_type: + const: hsic + required: + - phy_type + then: + properties: + pinctrl-names: + items: + - const: idle + - const: active + +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>; + }; + + # Example for HSIC: + - | + #include + #include + + usb@2184400 { + compatible = "fsl,imx6q-usb", "fsl,imx27-usb"; + reg = <0x02184400 0x200>; + interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&clks IMX6QDL_CLK_USBOH3>; + fsl,usbphy = <&usbphynop1>; + fsl,usbmisc = <&usbmisc 2>; + phy_type = "hsic"; + dr_mode = "host"; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; + pinctrl-names = "idle", "active"; + pinctrl-0 = <&pinctrl_usbh2_idle>; + pinctrl-1 = <&pinctrl_usbh2_active>; + #address-cells = <1>; + #size-cells = <0>; + + ethernet@1 { + compatible = "usb424,9730"; + reg = <1>; + }; + }; + +... diff --git a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml index 3b56e0edb1c6..cc5787a8cfa3 100644 --- a/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml +++ b/Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml @@ -15,7 +15,6 @@ properties: oneOf: - enum: - chipidea,usb2 - - fsl,imx27-usb - lsi,zevio-usb - nuvoton,npcm750-udc - nvidia,tegra20-ehci @@ -31,40 +30,6 @@ properties: - nvidia,tegra124-ehci - nvidia,tegra210-ehci - const: nvidia,tegra30-ehci - - 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 - items: - const: xlnx,zynq-usb-2.20a - const: chipidea,usb2 @@ -73,163 +38,18 @@ properties: - nuvoton,npcm845-udc - const: nuvoton,npcm750-udc - reg: - minItems: 1 - maxItems: 2 - - interrupts: - minItems: 1 - maxItems: 2 - clocks: minItems: 1 - maxItems: 3 + maxItems: 2 clock-names: minItems: 1 - maxItems: 3 - - dr_mode: true - - power-domains: - maxItems: 1 - - resets: - maxItems: 1 - - reset-names: - maxItems: 1 - - "#reset-cells": - const: 1 - - phy_type: true - - itc-setting: - description: - interrupt threshold control register control, the setting should be - aligned with ITC bits at register USBCMD. - $ref: /schemas/types.yaml#/definitions/uint32 - - ahb-burst-config: - description: - it is vendor dependent, the required value should be aligned with - AHBBRST at SBUSCFG, the range is from 0x0 to 0x7. This property is - used to change AHB burst configuration, check the chipidea spec for - meaning of each value. If this property is not existed, it will use - the reset value. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0x0 - maximum: 0x7 - - tx-burst-size-dword: - description: - it is vendor dependent, the tx burst size in dword (4 bytes), This - register represents the maximum length of a the burst in 32-bit - words while moving data from system memory to the USB bus, the value - of this property will only take effect if property "ahb-burst-config" - is set to 0, if this property is missing the reset default of the - hardware implementation will be used. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0x0 - maximum: 0x20 - - rx-burst-size-dword: - description: - it is vendor dependent, the rx burst size in dword (4 bytes), This - register represents the maximum length of a the burst in 32-bit words - while moving data from the USB bus to system memory, the value of - this property will only take effect if property "ahb-burst-config" - is set to 0, if this property is missing the reset default of the - hardware implementation will be used. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0x0 - maximum: 0x20 - - extcon: - description: - Phandles to external connector devices. First phandle should point - to external connector, which provide "USB" cable events, the second - should point to external connector device, which provide "USB-HOST" - cable events. If one of the external connector devices is not - required, empty <0> phandle should be specified. - $ref: /schemas/types.yaml#/definitions/phandle-array - minItems: 1 - items: - - description: vbus extcon - - description: id extcon - - phy-clkgate-delay-us: - description: - The delay time (us) between putting the PHY into low power mode and - gating the PHY clock. - - non-zero-ttctrl-ttha: - description: - After setting this property, the value of register ttctrl.ttha - will be 0x7f; if not, the value will be 0x0, this is the default - value. It needs to be very carefully for setting this property, it - is recommended that consult with your IC engineer before setting - this value. On the most of chipidea platforms, the "usage_tt" flag - at RTL is 0, so this property only affects siTD. - - If this property is not set, the max packet size is 1023 bytes, and - if the total of packet size for previous transactions are more than - 256 bytes, it can't accept any transactions within this frame. The - use case is single transaction, but higher frame rate. - - If this property is set, the max packet size is 188 bytes, it can - handle more transactions than above case, it can accept transactions - until it considers the left room size within frame is less than 188 - bytes, software needs to make sure it does not send more than 90% - maximum_periodic_data_per_frame. The use case is multiple - transactions, but less frame rate. - type: boolean - - mux-controls: - description: - The mux control for toggling host/device output of this controller. - It's expected that a mux state of 0 indicates device mode and a mux - state of 1 indicates host mode. - maxItems: 1 - - mux-control-names: - const: usb_switch + maxItems: 2 operating-points-v2: description: A phandle to the OPP table containing the performance states. $ref: /schemas/types.yaml#/definitions/phandle - pinctrl-names: - description: - Names for optional pin modes in "default", "host", "device". - In case of HSIC-mode, "idle" and "active" pin modes are mandatory. - In this case, the "idle" state needs to pull down the data and - strobe pin and the "active" state needs to pull up the strobe pin. - oneOf: - - items: - - const: idle - - const: active - - items: - - const: default - - enum: - - host - - device - - items: - - const: default - - pinctrl-0: - maxItems: 1 - - pinctrl-1: - maxItems: 1 - - phys: - maxItems: 1 - - phy-names: - const: usb-phy - phy-select: description: Phandler of TCSR node with two argument that indicate register @@ -240,87 +60,6 @@ properties: - description: register offset - description: phy index - vbus-supply: - description: reference to the VBUS regulator. - - fsl,usbmisc: - description: - Phandler of non-core register device, with one argument that - indicate usb controller index - $ref: /schemas/types.yaml#/definitions/phandle-array - items: - - items: - - description: phandle to usbmisc node - - description: index of usb controller - - fsl,anatop: - description: phandle for the anatop node. - $ref: /schemas/types.yaml#/definitions/phandle - - disable-over-current: - type: boolean - description: disable over current detect - - over-current-active-low: - type: boolean - description: over current signal polarity is active low - - over-current-active-high: - type: boolean - description: - Over current signal polarity is active high. It's recommended to - specify the over current polarity. - - power-active-high: - type: boolean - description: power signal polarity is active high - - external-vbus-divider: - type: boolean - description: enables off-chip resistor divider for Vbus - - samsung,picophy-pre-emp-curr-control: - description: - HS Transmitter Pre-Emphasis Current Control. This signal controls - the amount of current sourced to the USB_OTG*_DP and USB_OTG*_DN - pins after a J-to-K or K-to-J transition. The range is from 0x0 to - 0x3, the default value is 0x1. Details can refer to TXPREEMPAMPTUNE0 - bits of USBNC_n_PHY_CFG1. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0x0 - maximum: 0x3 - - samsung,picophy-dc-vol-level-adjust: - description: - HS DC Voltage Level Adjustment. Adjust the high-speed transmitter DC - level voltage. The range is from 0x0 to 0xf, the default value is - 0x3. Details can refer to TXVREFTUNE0 bits of USBNC_n_PHY_CFG1. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0x0 - maximum: 0xf - - fsl,picophy-rise-fall-time-adjust: - description: - HS Transmitter Rise/Fall Time Adjustment. Adjust the rise/fall times - of the high-speed transmitter waveform. It has no unit. The rise/fall - time will be increased or decreased by a certain percentage relative - to design default time. (0:-10%; 1:design default; 2:+15%; 3:+20%) - Details can refer to TXRISETUNE0 bit of USBNC_n_PHY_CFG1. - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 - maximum: 3 - default: 1 - - usb-phy: - description: phandle for the PHY device. Use "phys" instead. - maxItems: 1 - deprecated: true - - fsl,usbphy: - description: phandle of usb phy that connects to the port. Use "phys" instead. - $ref: /schemas/types.yaml#/definitions/phandle - deprecated: true - nvidia,phy: description: phandle of usb phy that connects to the port. Use "phys" instead. $ref: /schemas/types.yaml#/definitions/phandle @@ -331,16 +70,6 @@ properties: type: boolean deprecated: true - port: - description: - Any connector to the data bus of this controller should be modelled - using the OF graph bindings specified, if the "usb-role-switch" - property is used. - $ref: /schemas/graph.yaml#/properties/port - - reset-gpios: - maxItems: 1 - ulpi: type: object additionalProperties: false @@ -350,67 +79,13 @@ properties: type: object $ref: /schemas/phy/qcom,usb-hs-phy.yaml -dependencies: - port: [ usb-role-switch ] - mux-controls: [ mux-control-names ] - required: - compatible - - reg - - interrupts allOf: + - $ref: chipidea,usb2-common.yaml# - $ref: usb-hcd.yaml# - $ref: usb-drd.yaml# - - if: - properties: - phy_type: - const: hsic - required: - - phy_type - then: - properties: - pinctrl-names: - items: - - const: idle - - const: active - else: - properties: - pinctrl-names: - minItems: 1 - maxItems: 2 - oneOf: - - items: - - const: default - - enum: - - host - - device - - items: - - const: default - - if: - properties: - compatible: - contains: - enum: - - chipidea,usb2 - - lsi,zevio-usb - - nuvoton,npcm750-udc - - nvidia,tegra20-udc - - nvidia,tegra30-udc - - nvidia,tegra114-udc - - nvidia,tegra124-udc - - qcom,ci-hdrc - - xlnx,zynq-usb-2.20a - then: - properties: - fsl,usbmisc: false - disable-over-current: false - over-current-active-low: false - over-current-active-high: false - power-active-high: false - external-vbus-divider: false - samsung,picophy-pre-emp-curr-control: false - samsung,picophy-dc-vol-level-adjust: false unevaluatedProperties: false @@ -438,33 +113,4 @@ examples: mux-control-names = "usb_switch"; }; - # Example for HSIC: - - | - #include - #include - - usb@2184400 { - compatible = "fsl,imx6q-usb", "fsl,imx27-usb"; - reg = <0x02184400 0x200>; - interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clks IMX6QDL_CLK_USBOH3>; - fsl,usbphy = <&usbphynop1>; - fsl,usbmisc = <&usbmisc 2>; - phy_type = "hsic"; - dr_mode = "host"; - ahb-burst-config = <0x0>; - tx-burst-size-dword = <0x10>; - rx-burst-size-dword = <0x10>; - pinctrl-names = "idle", "active"; - pinctrl-0 = <&pinctrl_usbh2_idle>; - pinctrl-1 = <&pinctrl_usbh2_active>; - #address-cells = <1>; - #size-cells = <0>; - - ethernet@1 { - compatible = "usb424,9730"; - reg = <1>; - }; - }; - ... From patchwork Tue Mar 12 09:16:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13589696 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 A17EEC54E67 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=AU4xoXp6jmOKI06bZvu+ixqThNuKcwnR/KyqClICkMk=; b=HOvIW2TDdndC58 AsnUXuk3GEiPaSGCfSbHLaVH0VdCgJtxI4qqInO7Jy2suTFjIj0ojsvT/7KbRIe3cpDjn1ktPQ9YI YJKSSQL87G1oxjtV6LqVkSmVy0taTZpI1+Vz/xE39Ae8AKalJTqrE2tKIW+7GAfV3Nlmm9LA/685t 8TGakVfkWIoKXgo5K7XIZr1F2sFUUuyDrriCZKDigPit/0f0z0MKtz5ENFl0/N7F06WrLPBdD/5kk 6TSquA9CuscZfAkdNpaDE6KvkjQGCEOrcFBcoScDOXRmgizAvQD6MyAsrkkEagIi6JvsBy37+fFcY fjmCCBlPgXwKwGJC4j6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyGJ-000000053vb-1vGm; Tue, 12 Mar 2024 09:17:31 +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 1rjyGD-000000053o2-46Sd for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 09:17:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j9gSkX6SwLvTEVst0nvhpf37ZcQiE83u6amtv32rsQ81SK9Gq0hnDbTnV5dc11DaLojnNAYGcZgrnPKQDGCDke+jHmS7pXsHB7fsZidlbMtizxECX765/J4BMnv3j8M0cj7Sst0kMOWSpCowY9Ax/SHB+YM4E+hyAwI5pEFMxS/mNga0+mdWAvWZoGtrAKnVERP/l9+gzDshbucvsZorGrhkLptMn3Fo69D1yRXPHbKDS/28ZZSOkT9cT9OPJntTcE4MYfstB/wLs5AqFfjRQWHpo51xC3swH+yB/6yAhsXZP9Zp42+mvpgoATPH+ehmZOF2rYhoByq62xhPecJTEw== 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=I3zfXPfVk0Khrw22CDgtg9XBBe+Foy/4SHkbnYZQDu0=; b=FJPutCYmTaYQjqSHKJWNxQEimRmB5FoFSCMTwwsIxsESHPfWIN1Jnun5jpuOaM76nOJO1BSA36TpHk5aIumlH1j4XA8aTgYtWwQjKT+FlmQ2pSKIZjOtbjphJPG0vGKdhpO3dcdDAgm93vOs+74vbbX0gQAv4l6E9T+ApfcbwSRZZVC1miWYw4tTKTxbMMRWk3rV8oEsJWYUEKagOSh1vXsI4eLzB06yQvQh0TVoCrwvHH+x99oE40XS11LPqjwnOq2/Ul7cf7sEZdOMO0dNsEinsEEWLP5dv7J/C34qHvo8q6VTWlXVt0+s8ein2dnM4yuP8VVZ0DKpnwooIdjnLA== 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=I3zfXPfVk0Khrw22CDgtg9XBBe+Foy/4SHkbnYZQDu0=; b=HZjc6U4GzzMUB23FwYua2VGrPiZsy4e+yI/c+BBdhwjSL+s0u+JiZ/XcvWSkdHpsA6TL7l2HHGX4xjyot9h27Z6/5Y1stUIXcbf/QNmXHVDnUQ3hnyd5HsGY30HrDNsyKDqs5lvBbRly011g/YdmbyedV1DvIsAniMZQcsodx3Q= 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:16 +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:16 +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 05/10] dt-bindings: usb: ci-hdrc-usb2-imx: add restrictions for reg, interrupts, clock and clock-names properties Date: Tue, 12 Mar 2024 17:16:58 +0800 Message-Id: <20240312091703.1220649-5-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: febb59af-774c-4d09-5109-08dc427535b1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qbr+kiFUwVdOb7tVf1eibCqT1jS7PbiOTx3eYmOvabptferKAtAYp0SLzDl9hrUxgjDVjvzKs/3XdxU1TkSkOcc1gYNwCDWSUweULTaW9brZib66U75CogVagCvgpuMGsLe3gwuPkD9UkBkmIO1SMMRS4QnAZPPbp5eeAHZk2ysK/3L7v8eAHsKdoqGB9atRCMAdNUw2Da+Ze62FfjZDtgNM9nBkvDpW+xrsW639++oyIXWAWNaKpjW0kwnu+vcWcli5IQcoMIzqRON5NL1/p09sW4hFvLVELOCtRl9IgufPw8fGqwpJ+p01L6yVIVPD1SYMFgCmVhuJCIgvjyf4qVLofi/CWwhdiq9nCiQYxKYbS7vx7j6H1tgLKODS/terKzhRSwMFEF6SRT3DWGm3+aarqnZQUQrFdhqV4TdFfis9kmXDCCI8ubzgCEtWnO9RAQVT3O40isZOmfiz9B7D6Ze4A4ZebmBWRDWs6a8L6PqLKiY2+tO+7RPhfVaRKe1+CP/baay29O74jZotRkpbr0nkhjJZl8+uT4nmoJKuK8u7o7uCfno4r9oYDpdDmd7J8SPEbNjOTv4Z+jcvETMLqOm2iwo778qlFTPtBg9CbgOlxLzWb4v05viAkQ10Vx9IiC4REKq3wRRkSnZnO9Sb0xd0C5uN6O1ouH1GiXVC9wJV1xmAMh4g3GNwRxr1+M/q3oqE+qeSvleNMxHuoxCcD1hPs0fc6/pqVQoceWFXDik= 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: yT+S7dCaPv3gHZqus+trDBZipTtf7sCEerPFW6+g9+7vk2CUyIh572QUlLf0lEbrYN7xybph+3H+0b0llfl/AXDUMDM03nzDkbFM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/P0kYnHdKERm/1PsbIZ5EObJgpssYfX5AqhOuP1D3ZgVqFfTvLzxZWKjAqnwceSolSTP+NK2LJJNeGPZfIwCgq+Z/Mx35HcMn/ou7xZ9nZs3M/c352QO9SDCIjW6K0KfQS6dUdDzG2K5Fa76ACCbFTkGgm5BQzJSrrE3aNxAp9vO6LZRRlroZfR9le1fgamOjpE/jXfhcHvAQD3BoFRffEIZuEXVi7i7l9uZTlMHAfZoTftVaeTjb3B96NKW7sRBhlWznncsh9sHOvS/oHwuBuVXI87HUxaqZAJ5pvZLz35rHAxIqfeyUuGYNw4gR9fzSs3O7/Mm+5N4mG3F7cZPPtzeCGSX8iZ/UGZ44ACsVE0lh6PjjapVuIyWLyY9CoaTfE3LGk/qWY/OqBXXfERNUA4vbFeWoeq0f X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: febb59af-774c-4d09-5109-08dc427535b1 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:16.0875 (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: 7U0UW4b/Js3HMeSsI5tNQQpyJP6vI8nKYV7Euo5EZRG2m2Lkd/1A2sw2VS7lJB/em8PVnwLkNLZP8zLhcGdAsg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7876 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_021726_070977_8276E2D8 X-CRM114-Status: GOOD ( 10.54 ) 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 Changes in v7: - no changes Changes in v8: - remove if:else:if:else:if:else block --- .../bindings/usb/chipidea,usb2-imx.yaml | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml index cdbb224e9f68..fb1c378dfe88 100644 --- a/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml +++ b/Documentation/devicetree/bindings/usb/chipidea,usb2-imx.yaml @@ -49,6 +49,12 @@ properties: - const: fsl,imx6ul-usb - const: fsl,imx27-usb + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + clocks: minItems: 1 maxItems: 3 @@ -144,6 +150,80 @@ allOf: - const: idle - const: active + # 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 + + # 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 + + # imx7d Soc need one clock + - if: + properties: + compatible: + items: + - const: fsl,imx7d-usb + - const: fsl,imx27-usb + then: + properties: + clocks: + maxItems: 1 + clock-names: + maxItems: 1 + + # other Soc need one clock + - if: + properties: + compatible: + contains: + enum: + - fsl,imx23-usb + - fsl,imx28-usb + - fsl,imx50-usb + - fsl,imx51-usb + - fsl,imx53-usb + - fsl,imx6q-usb + - fsl,imx6sl-usb + - fsl,imx6sx-usb + - fsl,imx6ul-usb + - fsl,imx8mm-usb + - fsl,imx8mn-usb + - fsl,vf610-usb + then: + properties: + clocks: + maxItems: 1 + clock-names: + maxItems: 1 + unevaluatedProperties: false examples: 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/XiIsLwOndvwxZHCOwwgIUjI2yhuDFnYh48fJSv5v1h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HQMU0mKeQfv7D6RUZ+jpoJW3Q5vZUmhagJv3gNhUl69SStvMxVxsv8GQkKIDoXj1EukTs63QbdEFULcUltjfcYE8yONtZN3jpgSrBGD8F7Cacby3Y5aP X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cec72a4c-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: From patchwork Tue Mar 12 09:17:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13589697 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 4BD7AC54E66 for ; Tue, 12 Mar 2024 09:18:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2hos4o9hLFCn8+UUXcyqg4dN+QaJ+1i4r1ceIdgypd0=; b=djVrscWV9Jkx5a 2zUdITyp+CpcaE4bXicV0kBM/ugXFLhRrW8wQjjyG8FXiSSxiHVh1Td6I2j4G8aUKn2kNw2FJg3b8 B9kZdsPaTE9KMNQ858vKAphOmLd1gdw32doiOnOJLq371CYGutudKUCibRNXR9+7SpZYj3tpKVRsY iRiFQjJgxlLpxjSdaRZ1sGKD4a43JDqc0kZfq/PSLpmePAFDNltaoPbz+X2dXxmeSyUK5PWKWoxB8 nyUE+kvBHyy/S/GvvVo5B+E2Zh5o7am2mDL88HEAc9B19txa8ChGfK8KsAJJWUe16WDye5pgNmXH6 64b6L84WDVJ1MARuxeeg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyGa-0000000546m-0Mr1; Tue, 12 Mar 2024 09:17:48 +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 1rjyGI-000000053o2-42tw for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 09:17:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AjIbbGxKkIdmBoTPy4RhatPvMlykEG3/1suHcNKvUwSWTlJWW8ETzFpQHU+IlK86DaxEKF3jz2japobjxEjEGBH8Iacqf/Jb/6BGrs5AijPQvdT9av0P789KlajIdFn+EWrPbPaWeJKLBrGIfctsbz99/36RIMMNYhvdT0E3Jy5j3mR5engIK/g+Rb4ZB1QNjj++kattvNEAJIlWndME7Tclhs/h5t8uHYNMsdboeUCBUrMw7lFIVeooiBNwLbDLLsJtJRwhpUsesfM8COoZ5mr607RHkrnGaxNjDZXMajYAOg2LfSJ+a7eyl4IBNSQUZnEwk4iU0Yva0ukIKm151g== 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=5MENkU0hKKOQbe8RZIHBfDoh6bGNsRQXatEDNojGp5E=; b=BPwaCkIJXEJgVQb20zcLAtLx6sch4QlNJGbh4+fFlKO9MZg0SycM2P73hAwk67tiByQ6rZFSUojfIe5TmzoqV4lwrv1sFBzdFjn2PXqJbPh7AcnoFqyy0ChO/bE+1+dpNX5jpdhoubQPQSZ9V+O7gXP6fWU2Onj2jcTPu8Emap1yk0fr0jMi6EU8CEroo1pTomkSwm893hmc8ryO+GcS0SZDmry5MZ5alaOXGvOh6jlur/YFt7FkmZT8y1bMtiPmIRNd+dklpZQqa/FDfM8PEQygM12aIks664CfGq170zTqAP+NJ/4cEPFkBg7vLaQIWvwZMlb78V3RiEVn9+FaRA== 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=5MENkU0hKKOQbe8RZIHBfDoh6bGNsRQXatEDNojGp5E=; b=ZAWyRdZlT78s5fWcnJMOm4+qI4rl+Vn/UJL86kmtY7IjQ5Yt21VS+lue1H0jQ9u1DKmmKttMqIPxMjFfiZnSIA4CP9YoTpwAAKjordoyTzLcZoxOzZE9J8rVbvAmVxKoN9qrKlRbxqZQWatBdKVU0m3hJ2ctioYbT+lljhvPV/g= 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:27 +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:27 +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 07/10] ARM: dts: imx6: remove fsl,anatop property from usb controller node Date: Tue, 12 Mar 2024 17:17:00 +0800 Message-Id: <20240312091703.1220649-7-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: 6e3932b3-7a4b-43cb-4e93-08dc42753c26 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XYmmuaceoufLnDKvuueIfaZq4i+x+pL/eS3HM5ZvZ9kLZvvhUxm0Up8uGGqllC7YAI7FWv+bq9Bq0iGYRMuaNT9/xeGlXfLfCxBz01+UxMLIXsu7nPAUv3jejLmTJD0hGWCWjNQItA0vTFkbaoU23x9zQrAiab4uNwXmMWFukeGf40O6lDsve54fk5ep8xHpmeruA+hIQLE1gYBbElU/FMBROGHvXdkkLQ53HCroSJpIDJJ5pbdXQOPgKrZuyyevgVer7HhyirA7Solns7SnJYPIxrFWiTpx7X2nTP4Rp8kI3FGVn3nIjKYXbE0M8i9ahmygMuT8VgKYME/J1U+S5xhYJnCy+RsqiefSY/LF9aDVs2DklGcxO31ztB7w7NomoAtP7AuMMAHovhA3dmYFHgTlrAwb2gV45eOhiHMmBeh6qsP0J3jboqr75Wk560jPItHoarSdiZQApBkSNzn6S0FX1dleYdDIrN0/15Upljw5Y97vRHsmUK63w1SmolT3GmIcoK6Uvbd1FddWx5oCCXCw92HpQ57uABXx+zzlJvxzBpPRqSsWx6qkgqPnHQWDcMy0azOEs1E7filCbIr0BEu1D2mVX4X5Xvo0UIHGidAKPBNPxi1RF+spZBiRyn74E6QrQaajghoN1HVquH1HPuUeimqNCWEL5gYmkZQK46g/vlWrF4TTlekPN0GSdjN2hBKaUrfswuTOzPYPcAsWrw== 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: okXpyFX9Mw8Sa6H1TZ9xwnXOWu4xJPcAjqgVNPjUO7y/X1hrGjJskOy+yknom1aKav9Fl/dAEfMgMOBIMQykQWP4CA8Z2R0warZy0pA69bOpOA0pfllojIUsOVs5mumghTeTcW/hCu/7wH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HD+vgPMAKAH/OxvWj8PIFILiFEVIcLausysOiinUZuFVEtRpd1w0OC6tJ7eOnaM+SHZ2WgTt7AR6DNxTKl/dXpENpjoYUKJ25r7icqv83/6IDmG2Kf6q9QEk4gcoCs9789ZHTHMHk2Mh/1HjgZmfdyz1z4yFaxmKlcsyxH10IKlmSH+8US41M3U8VIZG0yCpin3I/A6wEvH7BY0n/NAlbhK+1EGE4WGeY1gk6i+kGfFRIAqhb2aMJYk61HHXzAORFng7dph1BJjnTkUfYnkaCRWCw1CuegD5sddMPYvE7xJQTOBW/x03+nA2NTZElQaEUMFNc4tkz3BVUt5rwQJ/SipB9GywrmlHmtRrpP2cuhHAExRrw4HmqQ/5XOpA X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6e3932b3-7a4b-43cb-4e93-08dc42753c26 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:26.9356 (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: Cy6U21T0KozfGUTpBLjrIzPE6LmWo36wsClT0mBxwVqY5gLPT2jkq2lo0ZMJlvhlgW6rJ3A6rl+sDykGtuFXsw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7876 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_021731_098609_1AD6B2DA X-CRM114-Status: GOOD ( 10.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This property is not needed for usb controller. The usb phy needs it instead. Signed-off-by: Xu Yang --- Changes in v7: - new patch Changes in v8: - no changes --- arch/arm/boot/dts/nxp/imx/imx6sll.dtsi | 1 - arch/arm/boot/dts/nxp/imx/imx6sx.dtsi | 2 -- arch/arm/boot/dts/nxp/imx/imx6ul.dtsi | 1 - 3 files changed, 4 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi index 3659fd5ecfa6..ddeb5b37fb78 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sll.dtsi @@ -683,7 +683,6 @@ usbotg1: usb@2184000 { clocks = <&clks IMX6SLL_CLK_USBOH3>; fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; - fsl,anatop = <&anatop>; ahb-burst-config = <0x0>; tx-burst-size-dword = <0x10>; rx-burst-size-dword = <0x10>; diff --git a/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi index df3a375f0a3e..b8d95957ca09 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi @@ -929,7 +929,6 @@ usbotg1: usb@2184000 { clocks = <&clks IMX6SX_CLK_USBOH3>; fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; - fsl,anatop = <&anatop>; ahb-burst-config = <0x0>; tx-burst-size-dword = <0x10>; rx-burst-size-dword = <0x10>; @@ -957,7 +956,6 @@ usbh: usb@2184400 { fsl,usbphy = <&usbphynop1>; fsl,usbmisc = <&usbmisc 2>; phy_type = "hsic"; - fsl,anatop = <&anatop>; dr_mode = "host"; ahb-burst-config = <0x0>; tx-burst-size-dword = <0x10>; diff --git a/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi b/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi index a27a7554c2e7..9eb4eee0c272 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6ul.dtsi @@ -855,7 +855,6 @@ usbotg1: usb@2184000 { clocks = <&clks IMX6UL_CLK_USBOH3>; fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; - fsl,anatop = <&anatop>; ahb-burst-config = <0x0>; tx-burst-size-dword = <0x10>; rx-burst-size-dword = <0x10>; From patchwork Tue Mar 12 09:17:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13589698 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 A2961C54E67 for ; Tue, 12 Mar 2024 09:18:08 +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=gwVudywjV8EPJy5ipyGNXyjvF5kDo2TYdODLk39v9fs=; b=LKqxVed0tqOpv5 EQkTSxo5MbAqJWCdYGiHPBXkaUEP88kH/S9DWsbiTN7OjZa6R//E7P4fo9CloRyRAIV9Tc7rVywO1 pxs/rRtbTZ1MtP9ZmH4w6OMR6Zb0sNJXlUMKL7H/b8N+6XxF5PDrIxM4pxqznnGlmYqh83ydFhpzH jUj2+mM9Vc9YcaIma5SAwK51B9L2igiZD5QCyZJ3YILJaiHuUQ2hitjz9S+p1Q7x3CLhk5zix1py1 1BWuPGh1FMh+Fto4aOt7+8roOxgcJTQA5I7YwS+f+3tJlF7MzXL74r6lfqT2w93g3jgQhCaph6moV X/LzsBkcswqBWxImgxAg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyGb-0000000548L-34Bm; Tue, 12 Mar 2024 09:17:49 +0000 Received: from mail-am7eur03on20601.outbound.protection.outlook.com ([2a01:111:f403:260e::601] helo=EUR03-AM7-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyGP-000000053yq-3LBH for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 09:17:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Kr2mRj1v8N207dXRHVA48ECbfYnQC0eGRgsmezFbqjeUaTE21YpqpFU9ksuTI9gyi9QdMBPIfg+m1w8f3ly1rQNWY/l6CmEwWEpwR03AzM1kHC0QQzYXyAHc5g+gWKE7JguRhL5hsfTt+pCVAjEXb29a/Y7/lCaPoH8ta7BwZBeotHi/zb23X/V0Orjmw+ZqTpTOHvZ4nPTuq/nvRIDyCtnXjIN751I3+Xx7YyZxNlqVCL3/kWzxdjw9rgyRUfKy81BHPra8aBtWM1jnhpZcnevKsNnavmq/AF/BYp0CVSti16lwME4MhgbkVM/BGq/RmZiaZ5BwreqtGBLr8axPGw== 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=tHHFWhWkgPG2hHrytmze84YyacUB7ukMkIfadblW1wk=; b=Mfe9FU3b6NNZKtGI5JIXKIIRWaY1IVNwo6KedCFoD3VIOcDk4gh9uQkgjr0jCZ3PMleZQfer9nhjWkteGJWHS1KOdhMaYsbF6HKlv2ZZARzQyjTcDUlQcICdoMUzLKNNS3KVtj1eBQZh83dxji3oAF69e3wl4OZ8TqfFvGA4CpHm1g68YYUsSkiKFB3g8XY46zz8dAGQ1rDK0Op7CdS0FNtYbgy0LCcZlx3I37J5TEqa8Yla6PVfbbFEJuRbdaFGF6c9xmkNUT/rGt29SHVdIDC9ZFyJAbD/SqFxx/nC7riee1ikpNSK1nrpH9oLoqdfHUdtazY5CGeLOiN2lmLrSg== 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=tHHFWhWkgPG2hHrytmze84YyacUB7ukMkIfadblW1wk=; b=V+5nmWl0gnh1D/juWjADYcBuDhrvgcLtjmr9HeAblBLevF9h89z0FUWTYg0Ycw+XWZ8wN8nl9OXBg0Pjt3jto1sLBh5k5H2a/1RZK7P1UzFdWZUTEd4pctsnBk8HJtwMpbDgaEaCp1LYPdXZQ09WzEp9jam1+qALetlS3KY71xg= 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:32 +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:32 +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 08/10] arm64: dts: imx93: add usb nodes Date: Tue, 12 Mar 2024 17:17:01 +0800 Message-Id: <20240312091703.1220649-8-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: 3bf0e97a-a4dd-4e59-98bb-08dc42753f23 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: p1ZT5B7gDfaIDQ5m4GyCLN5izmzAahDWl1xq3fHHthdhD27cV7IvXoU2zb+hfvPSEb4GFUQPm7aPnRMpOQRlWKVB79JSh5ceUNrum1ofmvB7RhhVQDECo/2UJfFL5zAHlAXEBCqmXk35DJ2VR0tUlWwj0ta9NlfnuN3BUpA8/RePKOASQ314/LKkxOfcXB9jVuWjSXq4fDoM6qt7Iyl2m/zTWtsnMbyOk2/uQLd9JQDSUH7TLEkUIgdgyR47M7XoSXpmwJXafLzxfpOjQYLv91+v6IIN43Qw7+L36RnkrwNSMuvRE30bixDyy1EPz0SdMXX2qunbk3ePpd9jlPD3+D64EXBS0XKF1GahmhpDlTtSK4k1MYwZZZkJ+NhsWc9lHLuyBlpXc60rX0Nm6H6DKugKWB3fZIjg4AcRfFgzhLQ1CGpB3OPXINsm+TlzMzPQaDwcBRZlaEYWgFaFGCeENjlXkcLC3l/+Plj7Qc+SNeiTPZb+oZD1RA0slcnTIzaTq/XegHLUoPPq4xqcD/EKE28HqUxo0y9UVw2goLKcrEZBdqrS1gKjVLLyRNweej9RxKwCy5f5xUK/eiNxf3UxPRKXZuhQdRjqUuj5/ITT0UAURYJge50Ve2/6OUDvkeuLiitG/fqShPLN2kyCQcruhC1uOnJAoq682pbPCk5FUOsXYob9lGvy7hD0Fc79gA0DLbpHytf5DEyQ3KAAHCND29A6D2TNJ/jGTtJRFyTIpzk= 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: 2qNc8cWUUcg+FIfCIW3q0mqNQLN0+dfY5ftWsmjGfDwAfF61rA9Noy+kDJt+62J+D7vuN13Pim0PZiotM82o0F/ezj0EJl3Z0GNNwnrCbZOsew8iACfsQR5xvhOo+GGL9ROZQ9aYlRvqDjyMZ9kERd96CKZ0W1gXb3z8WkyGvMx11MW21Epb2gIMPTlBUJV/gH0HkGdVYjt7fu1F1E17TevAOcmjjfAAJH1Eq294FUfeW4o8JpAS5HR2ZPGN4soo02215P5sw7LXfc5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28IhPeZ9l4NqwbEwoGsgyG0PY9Nd9C2kKHwvkcLvpehtwvpQ0XRqbegzVQ+WKXSnEFgx8ya25P+yz/K3Jsk75kBWVjzGCywWvq4bStCjJ7WR6N1Xzr90F6AWCe1tgZlPVjrbbdX2wDgQVTybiBbQid4LXoI9TDMXCeLPnznSFz7GoW8itVrNrLB7NGRsTF6xp/2fT3YtSTVMPI968FvlxC3JYViLyBSTtzUa+PQ8t3sATa/l X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3bf0e97a-a4dd-4e59-98bb-08dc42753f23 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:31.9963 (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: 0dbD56jWmRWbWuYVwmsAw6rLC/V5VUUgnILHmks4rs/njIPCqjBPl7hshE8wnYjtDoh0cZiMqVsoADspg1DO5w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7876 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_021737_980612_A33F0A80 X-CRM114-Status: GOOD ( 11.02 ) 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 Changes in v7: - no changes Changes in v8: - no changes --- 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 Tue Mar 12 09:17:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13589700 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 91B35C54E58 for ; Tue, 12 Mar 2024 09:18:30 +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=58Yy6iVjTAOfV3IgkgzKsgxQHZ3R9MXqv/jLQv7s+Q0=; b=XNNozD486H+GSG jbKB7Uo04orzdg0i6pqbovyWPm7C0jgIJ965F9qAOsEqRdD9br9XIlBZs/HFcBd0Nnu4xXjl+M69l eEkyAezhgEkaVlYihMzn3ChAo64Gbgul6zeu+7cqsANNXmEeFMnwllziMnB96hfHKCVhYbd1A1C7l 6HdYpgz+h5joR6l/TMaROKo7A92UozD7Mxd9g3ZKF0yfreLFhQ6ZqAcLPgqyEQJpDlMM55Pi41xiE uLBV/yxAu+XRGXzfKZICB9q+fPFW+OguKeqxMb4crNllQAL7+DY+1vWOOxF++e5K5uJdS355p0Px7 Dj7IqfH2hgPielqABcbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyGx-000000054Lg-2xL7; Tue, 12 Mar 2024 09:18:11 +0000 Received: from mail-he1eur04on20600.outbound.protection.outlook.com ([2a01:111:f403:260f::600] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyGa-0000000543i-0c24 for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 09:17:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YrZ8vqpObPf3T/IVnFETGoza8X0wQazgWc0oLSts3GcIDTrcEJmBRl/lpUETSjkAP139ui0MNGoq02pJVnKHSbEuaIS42IGU5RmHSpd3Gyy+PC9iX50i58mhWgQred2HW3SNWzrIgWbIUMn0vOzCQ12rNq4I3PHzGYAM+ro9NLo5ipJuvum2gTZeYLhJ/jVAtMy9Pr8lt2OyQS5vEeD84PiBvRaiQVPpkDvKIaDDS+s76ndcVp75ag4+jzLqaxa7C2Cngjrqh7BBKsHA13GHN2OfuM1tTroe1fxP9rTO86w9+zrCQrvx4OH2vZJ51CRtUzsiqXDDcEbzeZhNerMZMw== 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=icitpbtTVTwDtf5CBbXpw0brep0b92LylCCF/4gH8wc=; b=WAQX/+Lcz5vliVQw2LXDwK7flNxQLhHLeGOe7biX3gAx9CyoIV/GF2fDFh8ayvpw3+wTWFvldpEU5c1GQbdDEu5GpYLG0M4FtCWBJXLjuIwOBCvVnzmwPfGe55LDRPOPa8MQPZa05+pnHMTJ8ZjWOeI6BLvGR+R7KdPTTJT42aPIYydtIgxfXZHkrvXfaYL0jYAwLDIYnkKqaT3muvl81I1i7+1loLHxriHZMT7cZydfyjXHKnE6Z9i0DdfCJanSCF4wKca+MfIoJikUjmICBUvZnTOwlRJwYlQKr4tV+7Jc1EP0TLZfzQTi6M/XiMLjqq6542lMWBQ3b16mHylkhQ== 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=icitpbtTVTwDtf5CBbXpw0brep0b92LylCCF/4gH8wc=; b=kjRZIuVIupp3rTNPTCfc1RT3Cz4ZUk6mQ7c4WCZAKgdFZbKmzUSgTa5OaQczD/ml2nnBaCyXOYjayswMEUbZqfbl/H4uKw2ZHW0fOfyT2h2YdJBvmFmOvoMvQrkkDkJcOGCeDUq+Ov8fgEDUSr+4DYF3uDgzzhRstodipGI4Tvo= 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 DB9PR04MB9676.eurprd04.prod.outlook.com (2603:10a6:10:308::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Tue, 12 Mar 2024 09:17:37 +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:37 +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 09/10] arm64: dts: imx93-11x11-evk: enable usb and typec nodes Date: Tue, 12 Mar 2024 17:17:02 +0800 Message-Id: <20240312091703.1220649-9-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_|DB9PR04MB9676:EE_ X-MS-Office365-Filtering-Correlation-Id: b3118d1b-5734-4560-ba61-08dc42754228 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: E2oshqFR1KKxKJvkYs4W5WXLTb0ijG2xHERY5xBmpFlGlByjloED1fb+udeFi2CEuCqqyLl2ogTPWNVa0pk7CY+QsPAvu31B3iOIIcSaHvS7ZMCAQKKjrsBgPFgpHYeG9aWXwkKW2K0SuKBbNKuJq+/XUsKHtXohy28gPYRNRAdOsGtqHeA6X4LGEBjzh65yohe6uZHNKQZ59Nt7NPPlQoFgQoOKcg7kxcfF5XL96U6x+mJyV8PuT+tS/HhhW6accoPHDOoAqFm5AjFAf32O8HxGiqYC2QKR1FCuttGiVDgBRuw0aYZZ5qZ2ikkskdvSsxa0LKepDKanrL3GsbDMQwmLAIkdzzqDmBgdelkw15JD/TntoADNCPl9zD+bc10yuVe0UvDrb7KLfII/GjmFoXfY0w1p/fglK1UQN3GfwoYOiJA+QSDPdE9WPdDHP9pVJgX4n8XK+WczMJpcKS3qtsVfUXUznypHooZoQ3pKrHa3zM1D1eY1RJD515hC+2/VZHr5S6L0Dgfl2sO9oSMldzrnJQBfXEFFk6ztOvQTSzp0uT7OulZ2tMIClrwnvfFpGtJ43GocPutKVpFldDdAp2Mvl8mO7LycK3OPjKVJVjwNDtwfMm7VYVBEJ+968yAhyNvQ71XqazIbU2f9Bs0YHsoCGal9fhwESFhmCJ5DhE/0Uu7Ag5KD2pEM14JmpdIgG3vOKskNLhFfTsWYQ8KKQg== 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: GuwlZ2dHwpRc+G/2V/Vstf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oL2tev/gDAP58qQFqGlsvx3AUiGBurvsdoT5gxnoM2Zf5WxK1w7lgeRI49O+RXM+lW7VuFZJFzEbVkcFc1+vQMxyNEORAMgDGwQ6tyXVLlVyylSc/yQn84of/jiy4zvqSE0QbWZKQaqVJVwRGWcGTKOzVry2NaPK63BrK4fx/WeTEZts2pUBFSqfn1jOD6RpOxP0zGvbtUTYsdY1KBGFxKD0C6MsE2ixsHAECiG+PrL3wpAcehsbvPQAACq/4f4eqFPScJxYSGZQNDhq1xB1oelnBXYBn0QOxoeqs3tozkMu0/C1a4NgU24drlmi3LJyvSL2k0hL420vg/LIxP/xCz4XcE5FaRcPhpn8V4x5qF++NZA/3STJ3EPI9w3oSzOxo3Ej9IacnfgsKbhOc/HWLMNJLBylnj3TnQ+ZE5V8v26gMV+cxlPXMybB7I3qxAX+uysrWDrRouAT24JWMR1JrBxkSN/xo0dzGA2AgImdDDG X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b3118d1b-5734-4560-ba61-08dc42754228 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:37.0772 (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: iGPFvUZ8aAGJPW+7s0Rm4yTJq5g9oKdW7ehAZb9s6aWKZs9fWIucXO9jwKr7gEgI+55YbMqpcelc+sD34e2CMg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9676 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_021748_303735_435D4E7F X-CRM114-Status: GOOD ( 11.23 ) 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 Changes in v7: - no changes Changes in v8: - 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 Tue Mar 12 09:17:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xu Yang X-Patchwork-Id: 13589699 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 BDAE6C54E66 for ; Tue, 12 Mar 2024 09:18:25 +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=myyAw4FeAcaYBhDz/KyhEG0HPZqXKl2P1HKHWU/kLKM=; b=gc/vzSFEnuCExM ty2tk6dfhQCD1iXcF9VIMEfIHm9b4O65CputNweJdHrEabR3DoGl4Ct7rOSzW1t7kwGQJg3ERQQPW dLTbm70xL0LRp1CCckYSOUHxq/DNPcAtsWxAFx50pamoxPrUnqWL7JmfEJSr7GYwnQVCzc5eUIJQ7 RZUFNbIJsx60w1Yq7bcY7q7FHd49RcSq6tTOn3dxQOE+AlZs6CuiwPOI4Qq/bPWyCpIz5yVYYLLfW 8bOa966yDri4gsXFTyxPRDcE73p9BND/pDIQnAhIyZNGCbkGPMSQ/KtfTIf2m4CrGTueYiUhxPjmY 9YxA4N+4x+YCVryAMbFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyGz-000000054N6-21xI; Tue, 12 Mar 2024 09:18:13 +0000 Received: from mail-he1eur04on20600.outbound.protection.outlook.com ([2a01:111:f403:260f::600] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyGg-0000000543i-2cyd for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 09:18:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OdF+3byj7gCebrltOyq67brj83mOJISsPWOzzWgwscewq6JBs8LHUVqOZaCy7LkS9AtPOMldYqdT9Dz6NsD8cjxopSe4KLW+a1baLnwVwTwh1goKeu8sfJpnfDjVAbQcWHW3AuiGUMSTa1EJ191mLe1zsv6uvp9j8oc2L07eHhQH/H2RH/oCVB9JuMl3fJ4qfJeKMpXR7LgxfNjdhmf+/zW1qAekA0Rf5wQpXefRDRwIxOdZTepOMNr68tY38mz1kprUfWom18fmdQnAYPyXU3lULTAeBvb8hmMrs4YUVkGFbB7HhrPenqyEYN7G6C+n0ZX5NcUd4cnaBRfOsJufZQ== 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=mKv5jcpy5KV/AXQzkVREqyAhfz5Um2sBWFV9Pr0tDoY=; b=FdMjm4Gf+2xhrjxAnUkGmWeXK40ZLztf5EQiLUaoxC7hazcgCb9mDR97IlQYk3i3ZbWN6wMDd1fc2ngI54Mnt0hqvsrT3l4FeyJs8mJeG0UrntzC25JqPGvTHn8oiDfoB1pcPmgs15CdV/x8IUN7129yPh3PfmXQolWi3BQqvzwTw+1+tFftdagHxIClRIFNb4kAS1gaZAU3Ga0Z5/6rL55HlTqWb0E5c6cNeyRqYUjT5V47eDyS6S36Oj8KeppOI6U3EIuYH6PwLNl0CtQ7Q4Xw+F2EV0n+ZIZ2og794V/kWpiYGsn6HMOqtWiJdmxdpItoajf9D2fi6Hw7UfnaNw== 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=mKv5jcpy5KV/AXQzkVREqyAhfz5Um2sBWFV9Pr0tDoY=; b=Ufzll4ocXwtQW7AkZQnh+GWqpsFh2NwQ/W7FP72yhCYaPhCtAJwrfa+L7Rolv1h35RxKJkAlV7CeSg0eogVFzTVG0BRiAUK1GI6XSPgF6wpCISm21maYcmrpCAmq29UcuoiOWW8I6S/1LXpNXg2Lv/SScEeyBc+ByFXIeODrvBc= 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 DB9PR04MB9676.eurprd04.prod.outlook.com (2603:10a6:10:308::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Tue, 12 Mar 2024 09:17:42 +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:42 +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 10/10] usb: chipidea: ci_hdrc_imx: align usb wakeup clock name with dt-bindings Date: Tue, 12 Mar 2024 17:17:03 +0800 Message-Id: <20240312091703.1220649-10-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_|DB9PR04MB9676:EE_ X-MS-Office365-Filtering-Correlation-Id: 9d95c999-a7fc-47e4-2065-08dc42754561 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: A+gwXk0Hq69Ignejr6L61AIObWUVCO6LMv61NqgzBXRnWGk9JrhW9plWVEgVOCgrbv4FA9c94aIdMi3KefrIQX0Q+/3a8SzdwJQQzSFtKflVwjzkzOKyn2uazX0Ow5o+Aid9Zep/OPoAGNf755OHQ8qfII4w7OqnB/hOS6XjgUkFcCgNYf5Q+NcyZzxtf46W9/ULEIcVYwhwbEA4UubBDlQoFmxNwacTMB+cLlumqBn4aP2I3nxyBvKkYeV/8FdlMJ7Xh3F35BzavrGdlaH8JC+M6xiZxM80syZg+cQHQJSq0i/2pWoPeuGLwANKMvgbT/653WZNw6EqLSJUXEw2+5jdNXmhXXqBiq/rE1OK7fuRthk5m6ReruuIHkfB26HIzO0YQR6hJM9voIzG6FbdZdcD4c9s7AVmiU7fegHuKayf3PHM4a2RsMYIHwW5aLMokQCymswIE/rFiWL2bPpdkN+eqjoNd6sVvoRd8ftZ9dyUnBQAXaof/pJD7faLHesv0rcfdoF5VCVD18kLxpgY+ze1FIQbh1xpTNG4elmRA2NkbJRJzwxx09pe/5q8diLUxAPXjWSmuO4JI0Ltp7DqetItcPoArW6OkOQMznGWxcTPctS9uRo+/QoFHzlk/G/SnoWJddiccrZXBkirbJvl2VjrTFB8lk4fBbpcE1AtiCp5Ho2kAb5FEOVnqDy49UdFvABtnfO07hS/cGy9wtUu6rl2bcYZZn/ehWAyChZXDkQ= 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: +1AkbKlBFKixPP8NNAipQdGRGyIkf5EdXKz1BPrEi5T760EphJdFKzDt6CVVDbZo2jQqUTCcsNuIHXEc6I2/KKTESi4khidre5FgKCXxA/YeruN1wPsuIkRDz0b3qdAfPFKEUNk3LdywLONPMXcMydn1nlN0AcRLp8S3AMxHXI1IkAJ7pz072RtoN8s1QU4AnlXgHkmPanveJVOOiK3t/MePL/+V2knYdlAURBEBnMnqncE73xqwaIk3MhO5sLDJSzIsa7Zqdq8pzj4AhqVLet9hxreDJEhQHHqvg08ygamq0UyOtjRaAGUlHOmMARtlvYKq/cK89lCcJXzqYQtLenAuOf4sHUKoOAS4Ztx7vFdrwJJUleL0tQdFbAbYRXN99p+77MDA4xmBnYSJcMbfbUK4dpaefwgmmFS9ZwRYcsHthpH9qfJvz2mFkXSz4YsLaWjyZ5MUZ5uBe/HGBnwkX4Omjjo0leCSOVrtzsv0sCwxcA1qcxnq5/zwFUZTJXLr9NeDRIOKfYfUDt1KWFh7Ouh2gJq99C+NXZzv3YcwhUphOTHw+vH+cxvD+xw9LGYNzOiY78o5g/bCsOxcdZxCb/PAhN7ZmSZgiZaVpAYyPywpe9gE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ange-CrossTenant-AuthSource: DU2PR04MB8822.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 09:17:42.5117 (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: D9ujnD5Y/NO2V9DfYm6RgQLFF6i/PWH7Py6HxxTiyGn9dgqRy23j/nbHGh5vzMjrSrsc80BgBW9KVsP8SUxKbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9676 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_021754_907317_FBD918BD X-CRM114-Status: GOOD ( 12.85 ) 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 Changes in v7: - no changes Changes in v8: - no changes --- 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");