From patchwork Wed May 17 15:25:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13245197 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 854FFC77B7A for ; Wed, 17 May 2023 15:26:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232221AbjEQP0M (ORCPT ); Wed, 17 May 2023 11:26:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232196AbjEQP0K (ORCPT ); Wed, 17 May 2023 11:26:10 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2063.outbound.protection.outlook.com [40.107.21.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 525D31B7; Wed, 17 May 2023 08:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Slab9hqcpWLBJpSvBOnk+/NYu3xe8xdaMWWfYH5YkZPH+Sh7+xzBZNYqAFlDJWVDmNMb911Vr68hzAT7ZJ+PgchnwyqUUKB8YX5vQBL14skBMnNtvnSn3EJYzRXmDo18bve/wjy9YXDlZy5mT8q/GyZPtrQvDNtwAet2WZy/eIOFEjJnXPbw0p/wuJDM1YGl+sp7KkSd1ii3qmu5lBZwg4P0BYDgpz+3YZiCNFZ9DnCTIlhqf6kGUf/0KmRsOCCuvQWv0peZ3zxh6Q2hn8p1Y22NOlohrV2lS9lCi5NbPsSBRADL3THNcwRC4UgIJKKtzHMLcRT/g8VcBXgtFcDrsg== 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=lMjol5UHOl/NbR7CySQsP3RvcqPp0o7UgZD9PtNiwEI=; b=XoeHtfTk0l41Bp/aNBtEZjq4QHJ+mFTxz/D5cn01s6xubcauXgecFm9N+tDO7Q+8z6Pct9cRrDR3P6wcyT01+KDbGIapWvezxXI3mo+I4USNM/MR+b1rVG2OajBbHxCwYmzJHpTAxHuTy7lLJ8xleP+BF/IMn2Adpg0k2JiRls3R7Ggw3oegRbrnolC8WTOS2F0P2+R5Po29VPZfID2gHizuoIqkDWXjDHDcC0OcJCs7FmIULWoOPVcuDLbMY9+6PMwpXg2N2gdItl0QwoNIjquYdVYfrXxsB8cDVgdw+j/B1HOFbgOfeRu5nvzmNxqPyUKLyVqZUy3NHMdmJTOuMw== 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=lMjol5UHOl/NbR7CySQsP3RvcqPp0o7UgZD9PtNiwEI=; b=HTjqf/OaVEE81OZpmbRhArDiwgsGAqavu3KOUQGCv1Yt/IMntkdpuUVm7eTplzupeG8rhso8xqcVJZoLffX+AlkVMBSwkE8GYKLdLkIGA+kk30qAHhU9lZrYETvgXDRkjlt8xCAk7joVH5SttQAqZqNv5X3+/rqXcfJV4bmba78= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by AS1PR04MB9697.eurprd04.prod.outlook.com (2603:10a6:20b:480::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.32; Wed, 17 May 2023 15:26:06 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::25d3:de2:ef1:3884]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::25d3:de2:ef1:3884%4]) with mapi id 15.20.6387.033; Wed, 17 May 2023 15:26:06 +0000 From: Frank Li To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, pawell@cadence.com, rogerq@kernel.org, a-govindraju@ti.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: [PATCH 1/2] usb: cdns3: imx: simplify clock name usage Date: Wed, 17 May 2023 11:25:44 -0400 Message-Id: <20230517152545.3404508-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BY3PR05CA0030.namprd05.prod.outlook.com (2603:10b6:a03:254::35) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|AS1PR04MB9697:EE_ X-MS-Office365-Filtering-Correlation-Id: 5f805a98-ee3f-4e3c-d8db-08db56eb083a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BG/k6FrExXHwOjwd0lAZ3/Q+tp8KaPxknJBh/ch47FjcdcCEnKOe4WAaZ4PvCG54yn3wIByfL3SX9Zn3YPLBnJgJUZBcIch7P2P4ZtJnzXlnhJjA7+CZc+ppZfElJuZa3LSbEdoEFOggvjyt+9Tcehdn8tKpKK1b4ojZkdzTOIMBfhkgPomOLPjDSFvk8kmFV0IyIwLw0/MAjCeuHj4gsNlmHAM4wCZ4sEM7aTWGswpj15/KdUQv53yW7+B+dmcQZ/y4e/yZlMzuzEUKGekW8udZldHuwmhvog6wqQc1FyHbpcjwWGD7M8ycIXcoJaUGw4xdLUqDemNs8/Q00RnHLP3u9hqE/WJDU0lMmQo247YAGauXhGOEtjZbp4BrL5ZgmgrRem3kjgZzEB51jy8Pj8aGKHVhBmkqMj0qz9ys+fMgoBlCeR37W1S7nSBcYqTipENwdDqmQBhFBerVOWzKP5Lwg7urSc0DLgJ6kO9M7Z0LzrNgysQUxBHZRuMvxdkurmePDVfnYJObR4rO3HjB2Mz+RtpGX11+C3MYi8x9ZZLYmB3dFNxxlsOSpdNRWUANMRAZYsC2LTYvxX70rO9LpZijVgAxcBZdNirpOIicy2g= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4838.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(39860400002)(376002)(366004)(396003)(346002)(451199021)(478600001)(38100700002)(38350700002)(1076003)(83380400001)(6506007)(6512007)(2616005)(26005)(52116002)(6666004)(6486002)(36756003)(186003)(966005)(316002)(41300700001)(86362001)(4326008)(66476007)(66556008)(2906002)(5660300002)(66946007)(8676002)(8936002)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OXUxKSxGzAI5eFzRFeUzbX2+htwkezWfqNHaczB4k7a0IjlU1P58XFJVyYEQckLl7aRDqnLd0IhS5Tgy3bU+3Jjym1pn926O3kFRX0sscVZqS5LB8jARRMQ4f++wVn9iV7qb/GOFDwyv9KuOgAcbgLd/cOSGs8+DznDDJr7HR5FxWBWWxZLaY6mcHevCT0JmQfOBGh0Ul21ntTjIPF81pcyxps1nrpJXz94H24yd5jyvdoevvWjQiBQnL/MzxumECxvaxuLA9omo2G/nvC4V904cP4zNlA6qJveIjwg89d/DpU6172cMWxQJjB9ohKuhiYc8l5YGFH2hCe/7xN/HyGhpPI/XcAASiCxr4m1Xyj0p8bl7Wdthe4JkxFwdPMjXlJy433xh8q11BiSLezDcAQ+ayzzpwKdnWeXpZbCddcVqvsroKXH6RrWprHluxZUSQDK7m9ft6GYVu9NZ1NcFYJwXQ9zqXbQAWxAkmBcLPWfJGNNh+BppusOV5YR3OZ3gEnUCr9si9SJ0Xz9oEZ1/omgIQbe8NJEKP0JoY8m9voL8qF4oLyRcWFw4+6HHjxFr4AiWDTGFTaw2Y5f8mjZYdyh/eTaVxyJjn6cwMw9YgbjHv4tjP5Ad7nw65c7566MQdMrc1G3et+5/aQJH/vkbvlxnumvfNmR5MititMp77WGvdDVCZrpWC+4BZvZGguZzq5UPcGL2C+JR2/WdDknhRLdEHDyJrMb/dUMevHu9zXE9NlJb0xP73PSNIaNQPR4qtPG6N0mUr4iQm7gh63HglxnKWdQ7tp9fo2tcnJ6kQ8x9JX4QJkDNr1H6tU9VJsWcCIwAY5uD6sRWWD0yPWY5qVBDyHwlYK3YL6hgIJbyv1ItJQFPm0GIlPFtXyZ16uRRialAU+TOLGi4l79T2GBot4FLV04bgOdZeGDxRFCn0RH8XkakWwo6JpBo+mZuZkMfuSxmMK5wfKFYJVKhT71oPx6geoWITpd1JRV8gqo3DMQ+nIcLbKZwqpkWLiRQlJ+VZNKypIJuyZCD7hQkgzUAHOSwWGu6V46YXGOWjGDmVpnvoPAtmm00RKSyBOmI03W+4S+8uyz3KAyUjUxZXoy/ukiQOU4UG+wMQwPHJGzDbSgZh61l9kXHw2Zg37vXu8zv+3BfdlykGQ3gYBpvPQS2KJ6P8wz8+PGnum5T9Y4JfksrZestn8cC7cyISrg//5IksYDseiEUIrGBOCcP7/QZ7/NY+/XPnJ02ZmPZPU++eCqg62chtuXIcOmn1FOLxvxl3H/r8oJpUuJQLdKtRUSS6zVwfzBDGLacILUMXZOkCkSO0tFWiK2KnU0Fp5LYNJ7hFuH0lx0N7W2fcz7fNj9ZrI5pgvun1suxTiIxLZXZEt7RhdlgbDA9aEz+A0f2OVX0CDaO906tHpAcI/r8BFHLSutaT5jH0BkCSSBgnm2QisZcp7Urs7//VVcO0HnJm5ZZDsZxIIcu56vw4YUw8hOYc29BQ1Sl3/gqrNwbskfIZIvVVXEhQ4O7DHZ337Xf5/AiAlVs0Rf1IjXroTVhp0Ny+/ehHtzODvJ4SdGE4ng2p0c= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5f805a98-ee3f-4e3c-d8db-08db56eb083a X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2023 15:26:06.1455 (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: 5YpFsYgrwBn5zCuRMp2nRlOsfDbP/G2oSfhaoZfsq++MFLHm9TyQyDducGxYMKYxklZga/psiUQq3LSAEjA1+w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR04MB9697 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Simplifies the clock names in imx_cdns3_core_clks[]. Such as, renaming "usb3_lpm_clk" to "lpm". The "usb3" prefix and "clk" suffix were redundant. Signed-off-by: Frank Li Acked-by: Peter Chen --- This patch was missed at https://lore.kernel.org/imx/20230327145523.3121810-1-Frank.Li@nxp.com/ drivers/usb/cdns3/cdns3-imx.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/cdns3/cdns3-imx.c b/drivers/usb/cdns3/cdns3-imx.c index 59860d1753fd..5d9ca3c3c71d 100644 --- a/drivers/usb/cdns3/cdns3-imx.c +++ b/drivers/usb/cdns3/cdns3-imx.c @@ -105,11 +105,11 @@ static inline void cdns_imx_writel(struct cdns_imx *data, u32 offset, u32 value) } static const struct clk_bulk_data imx_cdns3_core_clks[] = { - { .id = "usb3_lpm_clk" }, - { .id = "usb3_bus_clk" }, - { .id = "usb3_aclk" }, - { .id = "usb3_ipg_clk" }, - { .id = "usb3_core_pclk" }, + { .id = "lpm" }, + { .id = "bus" }, + { .id = "aclk" }, + { .id = "ipg" }, + { .id = "core" }, }; static int cdns_imx_noncore_init(struct cdns_imx *data) From patchwork Wed May 17 15:25:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13245198 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D9A1C77B7F for ; Wed, 17 May 2023 15:26:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232279AbjEQP0T (ORCPT ); Wed, 17 May 2023 11:26:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232251AbjEQP0R (ORCPT ); Wed, 17 May 2023 11:26:17 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2045.outbound.protection.outlook.com [40.107.21.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6DDBA7A85; Wed, 17 May 2023 08:26:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BaP6ZmYAn1DX/VhBaKoD35wKcstH1ThplKxszsRmtaWicSgop+mzQS/iG/ZNWnZY0tAlarWB4XjncrJ02KXqMjZOiJRnWX2c2gTSsN59Z44OMY2wrbl2N7SLy0q1tDQop6XVHNW+mtODHuQQIC0URF909ZsnkjHsSUYH/nS1yYPMjLQt8FISaf5rRmxkvxJLfOB6wJUI7pJYw+uL+5dFxmZEe0uHSG6J3loyLAD3SrSZIaTTwVGjrTPBUXcnBPtfJQJf/U9TLyC97nPyJDDhyWKjjp6mAMbcOrc6ZBnceumg7Vg/TnB73bJGm3bavEqeyPFNUFdHKqQ8xa8NmTqeeg== 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=owPhG6mTDaJ9D5eP9BWgU14tOhHx+fEzJEOMaHiu0eg=; b=BwHhK1jvxeL7KTQ2F1xsqAaQ2O977ubneZfIySYm6agiK25XCPniaep1KlfxKCWCKudjStsPE+oHuVuCU0BRahs8yJwxu6Y6+pUFxOjd2PK43l8PH4FcrybcZ0oPTz+Xc+B4FiWz4rvz7u2gCK8B1+Egts+5IRKKpNVwRyfffIxCGMDEQVd8l8b1DKkjMTPbmTJieTN1lplJcr73rbKoyv2jopXmK5rPADAG05ln+0U9Lqpgft8armTWOQwevoXCLucA65qbmyu6Cgp2853yYF4xUStmmcLuzNahXEB7rlKTQTJyf33G0a+X6iRwa5S0iwtzNayF6MephIp51mhpxA== 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=owPhG6mTDaJ9D5eP9BWgU14tOhHx+fEzJEOMaHiu0eg=; b=a0c8DoVCUxkjbyd0fk07+gfL5sqBGeMdxj7FkZ4kKRZgQGOHQpU/am1lgJ4n1Uu1HVccp6U/ako7D8N3czsYMmcZw4GS0P9K95GF+euJVJVmvO35xMWfxGChQlrfUzIzweQyTWLlpdLNaQyWUDN1UcFL/5WTcsZzyj9z0Aki1t8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by AS1PR04MB9697.eurprd04.prod.outlook.com (2603:10a6:20b:480::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.32; Wed, 17 May 2023 15:26:10 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::25d3:de2:ef1:3884]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::25d3:de2:ef1:3884%4]) with mapi id 15.20.6387.033; Wed, 17 May 2023 15:26:10 +0000 From: Frank Li To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, pawell@cadence.com, rogerq@kernel.org, a-govindraju@ti.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: [PATCH 2/2] dt-bindings: usb: cdns-imx8qm: add imx8qm cdns3 glue layer Date: Wed, 17 May 2023 11:25:45 -0400 Message-Id: <20230517152545.3404508-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230517152545.3404508-1-Frank.Li@nxp.com> References: <20230517152545.3404508-1-Frank.Li@nxp.com> X-ClientProxiedBy: BY3PR05CA0030.namprd05.prod.outlook.com (2603:10b6:a03:254::35) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|AS1PR04MB9697:EE_ X-MS-Office365-Filtering-Correlation-Id: 0850b13d-356f-458e-d39c-08db56eb0aeb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: PCvAJsARXVZnyJ041JKBb8wzV8RDVTBjKoh3BouJMtU6q2H7r2FjzowfmaUUBs/sWns0xDhrVzBOTaSeX+EjLIJ+uGl4YaT1aWyqBapO+8s1iJ4sr+Z9MIuzyghUl6jr7FmPIGKqtU/kUMZkWKeYsDVFDOZtUYXgEWU8zwAEmSgctG/RrvHr8MZrcjOVq59xb9PAM6R+4j6gR1bFS4paV83YpIe9yN2kjd/ev8pufkWQgdAwi7XZj6CWJXybPYG3uHV+PPZKFPcOii57HroLCwqmN241GRFWecnK7A4OjCY2+92DBvSDditRg8V4mv4HB6v4o5MMbeGchEwUoZokaXfptAEISqovOgfXfhoWESnwTpLyuh03UiFZYiFpdgrOCEkHrF+8B6GMqAydGeX3UlrrtgMkFsWe4iL5nsHv6r/dEAmzT8FtB4Gu1dOBWL61GJGTQhJy6Ylo5wANp4kHPHkT6BYSDeRk8Kegrp4k6NMex5C6rhuez6Pi91eH1JEyEqyIalcbD7VIPTXrye+nXJxrLHCtqS3+2msX6p8ya+OYwInvS8hA4j5jVDvfSH0XF8YkEnF8rxa67m2NV30ot74q+ZHMjD+DOwpVAQBpJpCIJ5f8h97ysGxObEQANT+vT3OWVTrVq2UXU47BLVExiSZrVZJdGDnfnaa678rG+H8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4838.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(39860400002)(376002)(366004)(396003)(346002)(451199021)(478600001)(38100700002)(38350700002)(1076003)(83380400001)(6506007)(6512007)(2616005)(26005)(52116002)(6666004)(6486002)(36756003)(186003)(966005)(316002)(41300700001)(86362001)(4326008)(66476007)(66556008)(2906002)(5660300002)(66946007)(8676002)(8936002)(7416002)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: loDV+WRFSKi7fV97qfmHOUjc9XJ1U2pmEcXwtswmFqPKwKPEZtESxS0MubW59ZgEWJu6AiLxkGCtstE+R8OkiZdMc0oGNC5XYVuPyEZqARxkZ3yyIPeD57X9oJhrz293wYk3AFXwI3O5Y61RrLfWjF9oh37NkTSPKb9ZcCIP+mIy8MZxJkAVJP3BAtw+kqELkdLnvSeED1Yy5sHXVpK+1wqs6BEX+F7l3hnMp6twYYXvNT4CWvoE4+ipJFoaCIyb8GGKhkeqN57rE2SxTwNdbVx6i9ghCKmXjmTOENBedR6GBlI4FKcKdbQhcMldyGuDrV31MdnnHEum1SMt134gW4hel43XKzMR334VYuQyxMNG/WdAYF/tiZ5a/tQ3l87hTJz+ycM/txLEerr1IAiWbk5ZcXJEmgdDJfYLpU8u318QYH/RQMQh+0h6F/fKzJ4ztb6FsP5Sjx4j7hD4D6FnaPNX/6Shi97G7QKPrv0hvpKczh5/MdrPh2bxVKcMhai5ZwO1y9c6AHAGHr9vfRAWhUs/wOvV4kAqchx9TQ6qVaAX3KfxeUqcJKX7+OraKrclehXKFCmXmG9AbqB/eR0FIN3EqIlCe9Rs7ClY3qMhDJo9R6tPnLe4mkaeeeLtA6aweUnRnM9aSN70KHUlSkDWRn5LzAk9UDsmzx1HwlUUXM5NBLrKTOga9LHvk6AIJ9HvR72AQ/9vgfUXahlpSFFOy8ge9p5IUlCkL8tHaapHoNVfqU2mx5rVwQfKHXP88Y8J4bSeeNBleoI6Ezn/EiulUox1YySeImoXJ99+m5ywJ/OEDRAOHdNSwkRYZcSsPG6QKB83ptJX4TVIeFTIJldTUD3sv2FmIg3AWMV8pt6suUztD4IVPhFa6DmoP5tDzhT2xx3G9Emw/16l4R+RrIRcksAmc693RIzLPYcwVzT4iNc9KJnno5Ww1GsXM95Mzyt8OHp8+eHBdzL5pKVAYsNEJiXp3vOuokD6liICN5XLR0YjijcIqykxb6doQL6OOduFIy4QcCl1wISRZkZHsNLQgCZ60RFuTXiwospLVaY6VflyleHu9trBzaoX3dOmcWxWmkSq6Gj4IePnh3FQTU3ydKbcfe22+ilzH3zRGBZnRq+YULQo5tOiB4m3tOf+chqjmKNqZrSMiGg7MnvFJK+7dSNYoH/k8Ee7K3+kyigq41ruVvifSwAQWpiIZj+T5IIn48lGeNRXYneqZY0x7CgMOmpJBo+28oSJi7gD/BEnQhm2YcD+6OAxQJZ9j26urwkqHVHETeEnkFWWifJvNBNirbIV//Mgeo2zl4mYgEOxXKen5nWMvRNWGMs+4lrLfa77LfRx//gdZDhoubxbOB/Fr4/8yormtCG+vaj+38a4nHObiuyKbBDLSxwRoor7XD3Z3FkZZRkzR77FkYd1maULrgYf1btiDSl4BPZqpSvgpq4I2wFVWNEFAEcJYrg2ggnl0Mv+PLfqN0lRRw0XekZpiUe3REpfb9yXLcy5MKFWAAGmmRgkc9sJsBwppu4xOo0Tokx8fKIfYF7JyETIDOrubF+589q72F1MbTzhtpMFb1I= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0850b13d-356f-458e-d39c-08db56eb0aeb X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2023 15:26:10.5114 (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: amVAJQWxKjF4b5zZLiIg2Vsk1fK4UepGvtW1uLkQSErYnbpBRiK9AZskbZvDSrQNTJcuGG6aeqVJHah5ppaA5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS1PR04MB9697 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org NXP imx8qm integrates 1 cdns3 IP. This is glue layer device bindings. Signed-off-by: Frank Li Reviewed-by: Krzysztof Kozlowski --- Preview discussion: https://lore.kernel.org/imx/20230327145523.3121810-1-Frank.Li@nxp.com/ .../bindings/usb/fsl,imx8qm-cdns3.yaml | 103 ++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/fsl,imx8qm-cdns3.yaml diff --git a/Documentation/devicetree/bindings/usb/fsl,imx8qm-cdns3.yaml b/Documentation/devicetree/bindings/usb/fsl,imx8qm-cdns3.yaml new file mode 100644 index 000000000000..ceb76394af60 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/fsl,imx8qm-cdns3.yaml @@ -0,0 +1,103 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (c) 2020 NXP +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/fsl,imx8qm-cdns3.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP iMX8QM Soc USB Controller + +maintainers: + - Frank Li + +properties: + compatible: + const: fsl,imx8qm-usb3 + + reg: + items: + - description: Register set for iMX USB3 Platform Control + + "#address-cells": + enum: [ 1, 2 ] + + "#size-cells": + enum: [ 1, 2 ] + + ranges: true + + clocks: + items: + - description: Standby clock. Used during ultra low power states. + - description: USB bus clock for usb3 controller. + - description: AXI clock for AXI interface. + - description: ipg clock for register access. + - description: Core clock for usb3 controller. + + clock-names: + items: + - const: lpm + - const: bus + - const: aclk + - const: ipg + - const: core + + power-domains: + maxItems: 1 + +# Required child node: + +patternProperties: + "^usb@[0-9a-f]+$": + $ref: cdns,usb3.yaml# + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + - ranges + - clocks + - clock-names + - power-domains + +additionalProperties: false + +examples: + - | + #include + #include + #include + + usb@5b110000 { + compatible = "fsl,imx8qm-usb3"; + reg = <0x5b110000 0x10000>; + ranges; + clocks = <&usb3_lpcg IMX_LPCG_CLK_1>, + <&usb3_lpcg IMX_LPCG_CLK_0>, + <&usb3_lpcg IMX_LPCG_CLK_7>, + <&usb3_lpcg IMX_LPCG_CLK_4>, + <&usb3_lpcg IMX_LPCG_CLK_5>; + clock-names = "lpm", "bus", "aclk", "ipg", "core"; + assigned-clocks = <&clk IMX_SC_R_USB_2 IMX_SC_PM_CLK_MST_BUS>; + assigned-clock-rates = <250000000>; + power-domains = <&pd IMX_SC_R_USB_2>; + #address-cells = <1>; + #size-cells = <1>; + + usb@5b120000 { + compatible = "cdns,usb3"; + reg = <0x5b120000 0x10000>, /* memory area for OTG/DRD registers */ + <0x5b130000 0x10000>, /* memory area for HOST registers */ + <0x5b140000 0x10000>; /* memory area for DEVICE registers */ + reg-names = "otg", "xhci", "dev"; + interrupt-parent = <&gic>; + interrupts = , + , + , + ; + interrupt-names = "host", "peripheral", "otg", "wakeup"; + phys = <&usb3_phy>; + phy-names = "cdns3,usb3-phy"; + }; + };