From patchwork Tue Sep 12 09:19:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13381142 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 4F516CA0EC3 for ; Tue, 12 Sep 2023 09:15:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233382AbjILJPT (ORCPT ); Tue, 12 Sep 2023 05:15:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233384AbjILJPO (ORCPT ); Tue, 12 Sep 2023 05:15:14 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2087.outbound.protection.outlook.com [40.107.21.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D57710D2; Tue, 12 Sep 2023 02:15:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ANK43JnReoImUMIFzigkXjhWEs20j6+4rrcigr0XHqzymWnuIgpNERzrWnCejNkxOQs8HG10F6J5MUDAhl0126/3u5ohJNdt6XQa7kUn3lCuzHQiTszqUIqiWoWuRk9M3NCl2bUGcsOFFP+tSDMr2wN4seaB5NOlNP9LnwOOtrNS6bSpOzz+LOh/CJtOK6NmW3Az96Mn736FSHq6yrJ8R0ZNGxUGKQNuZDeLO7gb3CgIw3Z1b74yIkcS7dzJZI3WMLTReTPm+JLMVp8ChUyXfjCSUVRnbiDJrkFzhlltu0vKtuGibVkDaesvnlgWNtb8ghZ0XljQjmN6E7/0Uw2+Yg== 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=Gtnd6pWCASdz/Xr+vURao0lJiPholEOlIJyGz+Gk9lA=; b=Kcx1YQVBgaN+XVzYj8iAWJxjxbgs2+jxKEO+2rvSt/NBBRxYfEW0yDkePec84sHNvKkE1vWL18fHNSXIlxMW38iDB2aB8BdIyoTFzn7VU6vFfWySmZHv95v0vM5G5WjC8i/J3KobL8Tm7iud1D6ayP6HyblHvSxeISgQuYkBcswI//QGxOSlkpN6EaDeiCnBpHqdkkad1r9Tp9ZhQMGam1gQh8hQgZAzMyVJsstdbhBkFHJ9zkYRrpzgnWbAeeIgf8wz2zX42s3tSoBT2RrvJlj6dYC8Dp/E0VQiBFyWMP9mdvy0EU9+/8GAQg7Tc9D5yzqnyq8KQn+gF4kLSp0Ulg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Gtnd6pWCASdz/Xr+vURao0lJiPholEOlIJyGz+Gk9lA=; b=WpIu0lb/07RI8yjqFW9QAqy/UX4tg4KLTNm3LZC0z1LNFzsYq1SryOkQkOoZmCLvqEkaBsfl6qYHgYZVmQ487xPk/gtmckZwgMWs/iJzAjnG+JUaf0Ij0CpwDssRopbR/kgGRt0qRrttB3qmOchuFMeYAt0Mnx+0hFjvyYWAsU8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by AM9PR04MB7652.eurprd04.prod.outlook.com (2603:10a6:20b:285::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6768.37; Tue, 12 Sep 2023 09:14:57 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::2b3:d8de:95c8:b28b%3]) with mapi id 15.20.6768.029; Tue, 12 Sep 2023 09:14:57 +0000 From: "Peng Fan (OSS)" Date: Tue, 12 Sep 2023 17:19:03 +0800 Subject: [PATCH 5/7] clk: imx8: remove MLB support Message-Id: <20230912-imx8-clk-v1-v1-5-69a34bcfcae1@nxp.com> References: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> In-Reply-To: <20230912-imx8-clk-v1-v1-0-69a34bcfcae1@nxp.com> To: Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Jacky Bai , Dong Aisheng Cc: linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1694510362; l=3291; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=/kgTg1oPdo/WAsx0j/xnkO7IJZdijR7A8gWhop/DqmY=; b=tNAsJojuTOtIapGBP6VTbfwhi6FijlaE6ttYFj+6LBX4iPzX5l1v7RVjlEoIKn230vRvELQJ3 zsEHim9nlgQD/zGhdNqDdnAUIHNjy2h1DR2Y3zeCOoFxR+2WNncwZW7 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2P153CA0019.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::10) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|AM9PR04MB7652:EE_ X-MS-Office365-Filtering-Correlation-Id: 0be80d6f-5e6c-407f-e8be-08dbb370bc00 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NW/Eix5SWLjjDYsu+qaHUoXzeKHbSCdpOojYHSQUlX104it78i7/L3VTo0ib4WWTWqkJRHvj/n4rd6fH04XKkU7Ew4ywxkt1sxnwWIjH8YEdb6MIg6wRSokCDZeunsbQ7w3mk+ZaobCYwpurncJYsIdnKDGwVOxAPHcUz6fgPHORH3I0DO8t4DzQWmIGOLOozkLoKIWKLjMiWRB+EAot35lIPi44FlpMPkmmMc6icKM06dxxPGicCh0+0Oo8p+aGDZbczmuYU0MzY9uyz14g5M7lVtr3aKBhCGaq4wwsXqPZLwZnpMDKCv5PXOxgzfea8/Uzdpw9d0jM7YUgvFxM6Ja72/RTtxRdXbwJqBQI5IXJvR39MKDfGJdosmUbn+4Rz4a3AfO/9fYaQGRxnS84jvZuASokovCoOHvNerNyupXWtQzo+fd8WtT3Bs5DzJcmP+NwROfT9+ReuBcspkrnZ6SEvB5zftpOC5cs7JUQmLGyO6VTNLqNmRBhY4BN97YWLtvYi1Kd98tWodk9hmUd3Ruo3HZ/iLhqhuClItnz0htFycH9u1OfxxV3rtMsEGLkdlCg17ZcosAlUxbFH3H3X8RKOemPncZ+PxZhf30qez/oLIBQrztgfGHd6kJWxWo3sv3YvSy6+azx7cPc9KQC5w== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR04MB9417.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(39860400002)(366004)(136003)(396003)(376002)(451199024)(186009)(1800799009)(5660300002)(8676002)(8936002)(4326008)(83380400001)(6486002)(6666004)(9686003)(6512007)(6506007)(26005)(52116002)(478600001)(921005)(66946007)(316002)(110136005)(66476007)(41300700001)(66556008)(86362001)(2906002)(36756003)(38350700002)(38100700002)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?h4+ocquUt3oQJlekIAcgS5N0qqj+?= =?utf-8?q?/ltwU6uWgO6DV9ng+rGVqZr3XZPzdliX8LtevB9tx8fmrC2ygGSs6SIgPhIHNMTwL?= =?utf-8?q?xR2P6O88Fo5x8xWs9f85LCHhMKv2eikICd6CdRDoDo6Csz7zvsLmkqf7jj+/VbFl2?= =?utf-8?q?2y5tC6N1284AzfKuxtETZs/sax/cwe4c94oCLJ5Y8pWqks/GmowKmLqAHbecKgwGL?= =?utf-8?q?xkOJMCvoiBih0ky10m2Daa25pQYTV2El3YtO/XPtJWhMHaFCrxc6uNDA79odS/vua?= =?utf-8?q?h/KXoVVtywQ1/iwXIokAu6DOA6qJwFQ21rWQJkJ7NCHNnVx/0Q4tUk/FC0rvQtKYP?= =?utf-8?q?SL6nn+6dJZcDqfXXZwvxhukWwnJXhpN5xt1GDRu1FbTyVEA2ipQbXkvJW4eYpWd3Q?= =?utf-8?q?FjXrg3XQUl0+ILdLBpd8eyvvFFl+pPfBSHOOQH2L/qAYiC/S8o7PO/eapYzzWOe35?= =?utf-8?q?Nzve46s18HZDjBePia+XokvxUzxVuYlBTBm3ollWRKz8pEwFcVFM0DluRwbbfARG2?= =?utf-8?q?+z/vzpByGyKRCtrpPV2mvMHs72nV2FPwvCGvAV0Jbs9j+EMr6GDC0XEUK4KVjI4B7?= =?utf-8?q?11YuI/Ntiq2qMRlFFYfgagtX4BhVDz5Qf3TPL5FaRThjlSfAJi/vlKkEQVJWOab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An2M6OliH?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0be80d6f-5e6c-407f-e8be-08dbb370bc00 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2023 09:14:57.6263 (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: G+D9L1INGBDDrzRrGq8XO/hNislRvAs01v7z6bjx9ORKDzsU3yMf1gPe77o2xT/PJykIHxU75KAbrMHseAPizg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB7652 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org From: Peng Fan MLB was de-featured, so drop MLB clk for i.MX8QM/QXP/DXL Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx8-acm.c | 6 +++--- drivers/clk/imx/clk-imx8dxl-rsrc.c | 1 - drivers/clk/imx/clk-imx8qm-rsrc.c | 1 - drivers/clk/imx/clk-imx8qxp-lpcg.h | 1 - drivers/clk/imx/clk-imx8qxp-rsrc.c | 1 - 5 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/clk/imx/clk-imx8-acm.c b/drivers/clk/imx/clk-imx8-acm.c index 1e82f72b75c6..b96fdf5f84d0 100644 --- a/drivers/clk/imx/clk-imx8-acm.c +++ b/drivers/clk/imx/clk-imx8-acm.c @@ -77,7 +77,7 @@ struct imx8_acm_priv { static const struct clk_parent_data imx8qm_aud_clk_sels[] = { { .fw_name = "aud_rec_clk0_lpcg_clk" }, { .fw_name = "aud_rec_clk1_lpcg_clk" }, - { .fw_name = "mlb_clk" }, + { .fw_name = "dummy" }, { .fw_name = "hdmi_rx_mclk" }, { .fw_name = "ext_aud_mclk0" }, { .fw_name = "ext_aud_mclk1" }, @@ -103,7 +103,7 @@ static const struct clk_parent_data imx8qm_aud_clk_sels[] = { static const struct clk_parent_data imx8qm_mclk_out_sels[] = { { .fw_name = "aud_rec_clk0_lpcg_clk" }, { .fw_name = "aud_rec_clk1_lpcg_clk" }, - { .fw_name = "mlb_clk" }, + { .fw_name = "dummy" }, { .fw_name = "hdmi_rx_mclk" }, { .fw_name = "spdif0_rx" }, { .fw_name = "spdif1_rx" }, @@ -122,7 +122,7 @@ static const struct clk_parent_data imx8qm_asrc_mux_clk_sels[] = { { .fw_name = "sai4_rx_bclk" }, { .fw_name = "sai5_tx_bclk" }, { .index = -1 }, - { .fw_name = "mlb_clk" }, + { .fw_name = "dummy" }, }; diff --git a/drivers/clk/imx/clk-imx8dxl-rsrc.c b/drivers/clk/imx/clk-imx8dxl-rsrc.c index a36e821ba807..0f940335d83c 100644 --- a/drivers/clk/imx/clk-imx8dxl-rsrc.c +++ b/drivers/clk/imx/clk-imx8dxl-rsrc.c @@ -47,7 +47,6 @@ static u32 imx8dxl_clk_scu_rsrc_table[] = { IMX_SC_R_SDHC_2, IMX_SC_R_ENET_0, IMX_SC_R_ENET_1, - IMX_SC_R_MLB_0, IMX_SC_R_USB_1, IMX_SC_R_NAND, IMX_SC_R_M4_0_UART, diff --git a/drivers/clk/imx/clk-imx8qm-rsrc.c b/drivers/clk/imx/clk-imx8qm-rsrc.c index 8412fa349569..634bc3058657 100644 --- a/drivers/clk/imx/clk-imx8qm-rsrc.c +++ b/drivers/clk/imx/clk-imx8qm-rsrc.c @@ -65,7 +65,6 @@ static const u32 imx8qm_clk_scu_rsrc_table[] = { IMX_SC_R_SDHC_2, IMX_SC_R_ENET_0, IMX_SC_R_ENET_1, - IMX_SC_R_MLB_0, IMX_SC_R_USB_2, IMX_SC_R_NAND, IMX_SC_R_LVDS_0, diff --git a/drivers/clk/imx/clk-imx8qxp-lpcg.h b/drivers/clk/imx/clk-imx8qxp-lpcg.h index 2a37ce57c500..ebca8fa9268f 100644 --- a/drivers/clk/imx/clk-imx8qxp-lpcg.h +++ b/drivers/clk/imx/clk-imx8qxp-lpcg.h @@ -42,7 +42,6 @@ #define CONN_ENET_0_LPCG 0x30000 #define CONN_ENET_1_LPCG 0x40000 #define CONN_DTCP_LPCG 0x50000 -#define CONN_MLB_LPCG 0x60000 #define CONN_USB_2_LPCG 0x70000 #define CONN_USB_3_LPCG 0x80000 #define CONN_NAND_LPCG 0x90000 diff --git a/drivers/clk/imx/clk-imx8qxp-rsrc.c b/drivers/clk/imx/clk-imx8qxp-rsrc.c index df09f2a7996d..29868e686921 100644 --- a/drivers/clk/imx/clk-imx8qxp-rsrc.c +++ b/drivers/clk/imx/clk-imx8qxp-rsrc.c @@ -54,7 +54,6 @@ static const u32 imx8qxp_clk_scu_rsrc_table[] = { IMX_SC_R_SDHC_2, IMX_SC_R_ENET_0, IMX_SC_R_ENET_1, - IMX_SC_R_MLB_0, IMX_SC_R_USB_2, IMX_SC_R_NAND, IMX_SC_R_LVDS_0,