clk: imx: clk-imxrt1050: fix lcdif clock gate
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Mon, 27 Apr 2020 15:53:06 +0000 (17:53 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 1 May 2020 17:03:25 +0000 (19:03 +0200)
LCDIF clock gate was wrong so set it according to RM.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
drivers/clk/imx/clk-imxrt1050.c

index 329f4580c5a01d0deb12837213e57c58df65acd2..8279e784fede0b303635b8faaccd528496c8437c 100644 (file)
@@ -255,7 +255,7 @@ static int imxrt1050_clk_probe(struct udevice *dev)
        clk_dm(IMXRT1050_CLK_SEMC,
               imx_clk_gate2("semc", "semc_podf", base + 0x74, 4));
        clk_dm(IMXRT1050_CLK_LCDIF,
-              imx_clk_gate2("lcdif", "lcdif_podf", base + 0x70, 28));
+              imx_clk_gate2("lcdif", "lcdif_podf", base + 0x74, 10));
 
        struct clk *clk, *clk1;