diff mbox series

[v2,4/4] clk: imx: clk-imxrt1050: fix lcdif clock gate

Message ID 20200427151107.101075-5-giulio.benetti@benettiengineering.com
State Superseded
Headers show
Series Various i.MXRT bug/typo fixes | expand

Commit Message

Giulio Benetti April 27, 2020, 3:11 p.m. UTC
LCDIF clock gate was wrong so set it according to RM.

Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
---
 drivers/clk/imx/clk-imxrt1050.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anatolij Gustschin April 27, 2020, 3:21 p.m. UTC | #1
On Mon, 27 Apr 2020 17:11:07 +0200
Giulio Benetti giulio.benetti at benettiengineering.com wrote:

> LCDIF clock gate was wrong so set it according to RM.
> 
> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>

Reviewed-by: Anatolij Gustschin <agust at denx.de>

--
Anatolij
Fabio Estevam April 27, 2020, 3:36 p.m. UTC | #2
On Mon, Apr 27, 2020 at 12:11 PM Giulio Benetti
<giulio.benetti at benettiengineering.com> wrote:
>
> LCDIF clock gate was wrong so set it according to RM.
>
> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>

Reviewed-by: Fabio Estevam <festevam at gmail.com>
diff mbox series

Patch

diff --git a/drivers/clk/imx/clk-imxrt1050.c b/drivers/clk/imx/clk-imxrt1050.c
index 329f4580c5..8279e784fe 100644
--- a/drivers/clk/imx/clk-imxrt1050.c
+++ b/drivers/clk/imx/clk-imxrt1050.c
@@ -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;