diff options
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | 2021-05-13 12:19:33 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-06-09 13:01:33 +0200 |
commit | f544dfecd2801489ad7efe24bf3e3452b48f2c40 (patch) | |
tree | b146433e8be7bbee5a26a45fe98bb1d96a3e39a6 /drivers/clk | |
parent | 006f0dfb1d6dfa2bf7b1a08d2abcaf40eee6ae96 (diff) | |
download | u-boot-f544dfecd2801489ad7efe24bf3e3452b48f2c40.tar.gz u-boot-f544dfecd2801489ad7efe24bf3e3452b48f2c40.tar.bz2 u-boot-f544dfecd2801489ad7efe24bf3e3452b48f2c40.zip |
clk: imx: clk-imxrt1050: introduce LCDIF_PIX and rename LCDIF to LCDIF_APB
Lcd peripheral needs 2 different gates to be enable to work, so let's
introduce the missing one(LCDIF_PIX) and rename the existing one
(LCDIF_APB).
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/imx/clk-imxrt1050.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/clk/imx/clk-imxrt1050.c b/drivers/clk/imx/clk-imxrt1050.c index 594093ee5f..eb6847f865 100644 --- a/drivers/clk/imx/clk-imxrt1050.c +++ b/drivers/clk/imx/clk-imxrt1050.c @@ -255,8 +255,10 @@ static int imxrt1050_clk_probe(struct udevice *dev) imx_clk_gate2("lpuart1", "lpuart_podf", base + 0x7c, 24)); 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 + 0x74, 10)); + clk_dm(IMXRT1050_CLK_LCDIF_APB, + imx_clk_gate2("lcdif", "lcdif_podf", base + 0x70, 28)); + clk_dm(IMXRT1050_CLK_LCDIF_PIX, + imx_clk_gate2("lcdif_pix", "lcdif", base + 0x74, 10)); struct clk *clk, *clk1; |