From a56c8cfa698851855d93b32275d8780f194573e7 Mon Sep 17 00:00:00 2001 From: Susan Su Date: Wed, 31 Jan 2024 17:45:31 +0800 Subject: [PATCH] drivers: mipi_dsi: dsi_mcux: Remove DSI_DPHY_PLL_VCO definition - The DSI_DPHY_PLL_VCO_MAX and DSI_DPHY_PLL_VCO_MIN macro value is different when changing to different SoC, so the definition is moved to soc level driver header. - Remove the definition in this c file to fix the duplicate definition issue. Signed-off-by: Susan Su --- drivers/mipi_dsi/dsi_mcux.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/mipi_dsi/dsi_mcux.c b/drivers/mipi_dsi/dsi_mcux.c index 0093a2467a0..03b0c39ceaf 100644 --- a/drivers/mipi_dsi/dsi_mcux.c +++ b/drivers/mipi_dsi/dsi_mcux.c @@ -32,10 +32,6 @@ LOG_MODULE_REGISTER(dsi_mcux, CONFIG_MIPI_DSI_LOG_LEVEL); #define DSI_DPHY_PLL_CM_MIN 16U #define DSI_DPHY_PLL_CM_MAX 255U -/* PLL VCO output frequency max value is 1.5GHz, VCO output is (ref_clk / CN ) * CM. */ -#define DSI_DPHY_PLL_VCO_MAX MHZ(1500) -#define DSI_DPHY_PLL_VCO_MIN (DSI_DPHY_PLL_REFCLK_CN_MIN * DSI_DPHY_PLL_CM_MIN) - #define DSI_DPHY_PLL_CO_MIN 0 #define DSI_DPHY_PLL_CO_MAX 3