Message ID | 20241203130530.1206526-1-peng.fan@oss.nxp.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | clk: imx: Enable IMX93_CLK_LVDS_GATE only for i.MX93 | expand |
Am Dienstag, 3. Dezember 2024, 14:05:29 CET schrieb Peng Fan (OSS): > From: Peng Fan <peng.fan@nxp.com> > > 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 <peng.fan@nxp.com> > --- > 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, }, mipi_csi and mipi_dsi are also only PLAT_IMX93. > - { 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, }, pxp is also only PLAT_IMX93. > { IMX93_CLK_ISI_GATE, "isi", "media_apb_root", 0x96c0, }, > Not visible in this diff, but also only PLAT_IMX93: * flexio1 * flexio2 * cm33 An most probably also mu*_a and mu*_b, even though they are listed in i.MX91 RM, but AFAIK this SoC lacks MU. Best regards, Alexander
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, },