From patchwork Tue Dec 3 13:05:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 13892403 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2055.outbound.protection.outlook.com [40.107.21.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C10FA1E25FE for ; Tue, 3 Dec 2024 13:06:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.55 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733231162; cv=fail; b=BfEJSmke/JpRfS8703cZ5GBQ0CLPTKaAeW8EaXKROyW07GIy40Pl5ugkA6MWMsGgBYhTdvx3UGFTvaw5HvWw/1P0AQNcrBPB6kEpkY40qfqBBtJ0g/OJflQzmPTe+EbxXPVToyH/feh4Z4XZ0rFKG5Dggzh6xviOpDHxdFjDUDI= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733231162; c=relaxed/simple; bh=6G/45fb6miEdR9X6Gtt9qn+KD0QX5OA+7ejSEXUSAsE=; h=From:To:Subject:Date:Message-Id:Content-Type:MIME-Version; b=Y3uzKHtEHpgNPuiEG8jcuAb6CqOFQ3N4zaSjK+7C6MbQwr6Al8P6H9W7fqFhRbuN1ULiChw89yq8+3tw8HKrlyfPRX7LfYBD3ZxltoohbuPgCYJWrhS/nzt9El7eI9cTXm4XGXrwwnS13tSkgmbX7n3abII4CWLPbQ8bMO5OHdI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=f7zwxNIr; arc=fail smtp.client-ip=40.107.21.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="f7zwxNIr" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=a5BiI0ZRi9aCDke/XvSqSwDEscnmfSITfadVg/9LlPYwDAo7itOTvUhcZiqdU5RWNmp6Ad82rvNEwTm/PLCRR0t63dpodyHw1X8mLsoQzInd1l3UiJVe1bH8nE/cNNAyufoCf95/CvtQnlVjZiqIu3XBGsK15CdHZjnVa3E1x1xigdlY3zUBBBCdQlbYy+gosovfdC+0onzd9ToeKUFzmUJAfo6JpqoViF2vPDnvPEQ6ijpHTzQ6eja4TbOUfM36menICLPVsLhCoWvJuR22StVeiiBEKMy3olfwjDd7605/EmpCN2EieAKz/LIvTJV7fwQyFiVwfpWOWVe3udSTkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=8x05kfaQVpCRcdfAVgIfJ3QfKGZdtodktYmBmdDZf4A=; b=QLLkpN2YWmddTeAIrTvPt0Awhsk6qwV9PphAbVpvh+XkdudWT2Z6ImbZba4ATbV2PQge1orB6jLvd9jN5HtFED7HmjgXtR3zc20EIeSMOEPZMbBghL783NIe1RjSRsRnB8JKO8Eh04lFFSwXlL6Vs0fZagpC/zYlqaDHUakDZhWpw1coJ9L5ZhIaPbQCho2fUm5VwZxLONVULu5A7a3jrsKKdwtVHUbPeY7B58gBaZUHbm2d4hd/TOK6PDf/pvKRJLPBW1H0OUhyO1AYpDgxG9tRMmGTtTYQMrqF7rG7FsbPRg8yIsqjmH2h9cQM/sRfzwFEXkZ3tCn35LwtO7iJOg== 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=selector1-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8x05kfaQVpCRcdfAVgIfJ3QfKGZdtodktYmBmdDZf4A=; b=f7zwxNIrvMjfYzpbXL6hMgKH1HBxEgXj/H18A7WVfJAn6VCLW6w90QhFB1d524lV05Op6bMJlxdmFlURdZB1Yr45hpycMeQ19hBQEqzcncGVnV89PFZFJ8HPD2YqTo8asFT9a6R8+BShLCbFezezcWDw8mffwTbhFLLHMppqh5cTq3t42h3zY82B7wFuNgshbYXgJmHILDwrmjOW9j/ODzL7f8DMYlGmP0lHaCP6Yn3wBoVcyrugrGd+UD1iancbGHcQRH7A/THKC9ONwk/UAt7y96CGtw9vR0HQ7oiAhW9iMxuBue9ImhvMHUco1qwskQ4u1PfEfkIi7kopWHyrNw== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) by PA4PR04MB7743.eurprd04.prod.outlook.com (2603:10a6:102:b8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.19; Tue, 3 Dec 2024 13:05:56 +0000 Received: from PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630]) by PAXPR04MB8459.eurprd04.prod.outlook.com ([fe80::165a:30a2:5835:9630%5]) with mapi id 15.20.8207.017; Tue, 3 Dec 2024 13:05:56 +0000 From: "Peng Fan (OSS)" To: Abel Vesa , Peng Fan , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Pengfei Li , linux-clk@vger.kernel.org (open list:NXP i.MX CLOCK DRIVERS), imx@lists.linux.dev (open list:NXP i.MX CLOCK DRIVERS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] clk: imx: Enable IMX93_CLK_LVDS_GATE only for i.MX93 Date: Tue, 3 Dec 2024 21:05:29 +0800 Message-Id: <20241203130530.1206526-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SG2PR03CA0124.apcprd03.prod.outlook.com (2603:1096:4:91::28) To PAXPR04MB8459.eurprd04.prod.outlook.com (2603:10a6:102:1da::15) Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB8459:EE_|PA4PR04MB7743:EE_ X-MS-Office365-Filtering-Correlation-Id: b5f6b35e-a5eb-4dfc-17f9-08dd139b39a9 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|1800799024|376014|52116014|7416014|38350700014|921020; X-Microsoft-Antispam-Message-Info: 5UyrzVmwm4fEpya6MIUGARvfuCTeqocXnGDu1wpJxdgGXEyv00Bo0SlohDOE6LjL0WTYEZJudw0oqzlZzHmnT/NUOZQegQX6Aj2/Dz+wP0m2FwWTaH7l/OP6N/atLT9WXV8Rm9G1mMjy+LbzRsRFJNtT/lwm8P+h7mSnkdQmEaBtsot5fVfddFm2kD2+IdaiPGh25I88qddmfGN4RjbGyJN9B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Tl/7ZVWCJAYsPyzJyRjt3TgUC8iuhegtTGB4lVcsO3P+1RdRhIRkUA0BREyJ4kQ3hz0P78dvtq6sz7CHnNoV3sr2F3OZl2Sg5RHTzz6IT4wBvMYcFUJofwZD1W2aiYvhknM1bh987PELEapumetjLPEKVDvuhd8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB8459.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(52116014)(7416014)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wKl5PuiCtUGB5wRVNganF0aCgS1UwYT0DvYnBfoh5yzQify8y2kVE0u94bFflJBe4aMDXsLhI3Uo9DTTwUDWkp9rb2naaHE6OoDphsCuaR8ZeLjLhZy49QnDYoPFvt98gOQ6WaLh8OziyJ6Sf6aHpzVCHLj2uttmJO5IZXZ+UNaD8mA2rThXKaQvst7QeRV7qQJ/d7oxJxuhdDjEjQ/qfoZNvFBV8Y1GwADOXo8Ye0lRYW7WqQJLh4a4q4c7ZUcVriq0B2wPvA9j2R5OFGfRs7sB16pB7jcB7fuxxgp00bR/QC1M1tSxmQxghSHjFAMm9ibovthyKc+V9V3ATj5ZJ5/3eSxeCLLFsA4wk5ooMcrq+4i5p0pQP8jPlLfTEc54l5kNBWB8756pIaIj/pB6dWI+wZoBnPu1hWlMrWSd30CHEp1hN/eXi+yEFXO1tQspQOlWencqJvModja5oHMRCDXAF8dF2W04uceoXDqVAoVtndogFYA0qZ0qPBgJUT790vQmF/iaANUQdRZlvubKt9No22W5a64yS+07rAnledDUnwgy+u2BPckathxk1BH7aYToki3z5Z8fT9/Sxc/T6xIdfB9xj9QzpFweqKe/C6KxolLH4BBWfnqgFhwlCisTCDud1f+dVBFWaU97mipe9Fg8AoxWiD+6hT3F+nnKfWcqzHEoJqT7hGpTEhvTr9BKTaH4sJPld2kSKcKT/1y8jq7y6kBGcF/BdYiSLqD0xSKJtZjaYSuxMBgUO9dotCaA0bnAjbhGtOdZQiw8OKnzhjk/8/bqU5h8/MceBeGIbLzJJveSD8HLWXiVAflp6zcbogBp08AIGiw+xfPHETYwcayHNOVccn6N1tgqHKRPJ1IWKXs0iE6SXbbyTbmay1eV9dhav0wHdTl+m0APNV3m3Q0T8xvU91Js6SW851WT9/iuqzjhyxJCLYPen6vzW0O9CIWzonZSCsWgtRWHtJ0Y14qH3/6JapWNeHt08q2SmyJnEs/HEtzN/NzVjfpvFPRQLGOIb2dFt3DgirQojuLJJSm+/UVKAKK9RbOXZ+vhm6YsrWOGxERxs5+r5b35uFhN0JNot4c4q6bMbTmUi+alnTWvDTHQHkX0v7JDaMn8XRLBrwYmFqkiBvdKaTv2+Ed8fQXhAtM4G0pG8nFRBzn5j+coGxBucv9AzVMyZUFacIsxvc5V+6LA/UY+bCNsfn/KoKilPGU8bqA54D5i6vHR4r2w52Q6hxQWNMN+2JElXeVLQ6HrOxWMtNfrmPu/kvya+cz+0d7BixWfbwpgXkt8TS0g1EZmm8Turw/Sxu08MeqwSp+3zZfuClZ1+io0tnhHLvUzSPnIRqAeKQIZrqe0nggDDIXh3Vfi5cb+XkcfZoNJBgDVdSknn+yHCm9v5AHoX2k1pvrmMxki7Bx5R0rBFIG4PQ8jroykQEeSeDQVy8mRn8ABZM5MVibyycAwakl3QnVVNeB2n/FHiaBKIrZCK86r2vRJEzwpX3kXL6/zETvsPz4Tklq65IFWhpksTCy/hB5LBRHFS87GRS0AGfWItgm7B3ZVes/8wb7AITCulGu886fc8/6R5ILrg8r2Fce2 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b5f6b35e-a5eb-4dfc-17f9-08dd139b39a9 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB8459.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2024 13:05:56.8147 (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: AvReJ78x02y5/6hUDt4TtdXw6ZG3aa+fM3Gg6RifjbVxVpvkqx3UkiKPDPcyQEqnH7gvB6xxfFoTxEcSZY7oJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7743 From: Peng Fan Enable the LVDS gate only for i.MX93, because i.MX91 does not support LVDS. Fixes: a27bfff88dd2 ("clk: imx: add i.MX91 clk") Signed-off-by: Peng Fan --- drivers/clk/imx/clk-imx93.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx93.c b/drivers/clk/imx/clk-imx93.c index 58a516dd385b..a0d2972ba9cd 100644 --- a/drivers/clk/imx/clk-imx93.c +++ b/drivers/clk/imx/clk-imx93.c @@ -239,7 +239,7 @@ static const struct imx93_clk_ccgr { { IMX93_CLK_SAI3_IPG, "sai3_ipg_clk", "bus_wakeup_root", 0x94c0, 0, &share_count_sai3}, { IMX93_CLK_MIPI_CSI_GATE, "mipi_csi", "media_apb_root", 0x9580, }, { IMX93_CLK_MIPI_DSI_GATE, "mipi_dsi", "media_apb_root", 0x95c0, }, - { IMX93_CLK_LVDS_GATE, "lvds", "media_ldb_root", 0x9600, }, + { IMX93_CLK_LVDS_GATE, "lvds", "media_ldb_root", 0x9600, 0, NULL, PLAT_IMX93 }, { IMX93_CLK_LCDIF_GATE, "lcdif", "media_apb_root", 0x9640, }, { IMX93_CLK_PXP_GATE, "pxp", "media_apb_root", 0x9680, }, { IMX93_CLK_ISI_GATE, "isi", "media_apb_root", 0x96c0, },