From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: u-boot@lists.denx.de
Subject: [PATCH v3 19/22] clk: imx: clk-imxrt1050: introduce LCDIF_PIX and rename LCDIF to LCDIF_APB
Date: Thu, 13 May 2021 12:19:33 +0200 [thread overview]
Message-ID: <20210513101936.11318-2-giulio.benetti@benettiengineering.com> (raw)
In-Reply-To: <20210513101936.11318-1-giulio.benetti@benettiengineering.com>
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>
---
drivers/clk/imx/clk-imxrt1050.c | 6 ++++--
include/dt-bindings/clock/imxrt1050-clock.h | 5 +++--
2 files changed, 7 insertions(+), 4 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;
diff --git a/include/dt-bindings/clock/imxrt1050-clock.h b/include/dt-bindings/clock/imxrt1050-clock.h
index c174f90c1a..09b65e5df2 100644
--- a/include/dt-bindings/clock/imxrt1050-clock.h
+++ b/include/dt-bindings/clock/imxrt1050-clock.h
@@ -52,7 +52,7 @@
#define IMXRT1050_CLK_USDHC2 43
#define IMXRT1050_CLK_LPUART1 44
#define IMXRT1050_CLK_SEMC 45
-#define IMXRT1050_CLK_LCDIF 46
+#define IMXRT1050_CLK_LCDIF_APB 46
#define IMXRT1050_CLK_PLL1_ARM 47
#define IMXRT1050_CLK_PLL2_SYS 48
#define IMXRT1050_CLK_PLL3_USB_OTG 49
@@ -60,6 +60,7 @@
#define IMXRT1050_CLK_PLL5_VIDEO 51
#define IMXRT1050_CLK_PLL6_ENET 52
#define IMXRT1050_CLK_PLL7_USB_HOST 53
-#define IMXRT1050_CLK_END 54
+#define IMXRT1050_CLK_LCDIF_PIX 54
+#define IMXRT1050_CLK_END 55
#endif /* __DT_BINDINGS_CLOCK_IMXRT1050_H */
--
2.25.1
next prev parent reply other threads:[~2021-05-13 10:19 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-12 23:03 [PATCH 0/5] Fix i.MXRT1050 hang on lcdif init and improve DT for mxsfb Giulio Benetti
2021-04-12 23:03 ` [PATCH 1/5] video: mxsfb: add enabling of "axi" clock other than "per" clock Giulio Benetti
2021-04-12 23:03 ` [PATCH 2/5] video: mxsfb: add enabling of "disp_axi" clock Giulio Benetti
2021-04-12 23:03 ` [PATCH 3/5] clk: imx: clk-imxrt1050: introduce LCDIF_PIX and rename LCDIF to LCDIF_APB Giulio Benetti
2021-04-12 23:03 ` [PATCH 4/5] ARM: dts: imxrt1050: move lcdif assigned clock to dtsi Giulio Benetti
2021-04-12 23:03 ` [PATCH 5/5] ARM: dts: imxrt1050: set lcdif clocks according to mxsfb driver Giulio Benetti
2021-04-12 23:05 ` [PATCH 0/5] Fix i.MXRT1050 hang on lcdif init and improve DT for mxsfb Giulio Benetti
2021-05-01 23:44 ` Giulio Benetti
2021-05-12 22:12 ` Giulio Benetti
2021-05-13 8:14 ` Stefano Babic
2021-05-13 9:09 ` [PATCH v3 00/22] Fix i.MXRT1020/50 Giulio Benetti
2021-05-13 10:18 ` Giulio Benetti
2021-05-13 10:18 ` [PATCH v3 01/22] arm: imxrt: soc: make mpu regions generic Giulio Benetti
2021-06-09 13:43 ` sbabic
2021-05-13 10:18 ` [PATCH v3 02/22] timer: imx-gpt: Add timer support for i.MX SoCs family Giulio Benetti
2021-06-09 13:44 ` sbabic
2021-05-13 10:18 ` [PATCH v3 03/22] ARM: dts: imxrt1020: add node label to osc Giulio Benetti
2021-06-09 13:43 ` sbabic
2021-05-13 10:18 ` [PATCH v3 04/22] ARM: dts: imxrt1020: add gpt1 node Giulio Benetti
2021-06-09 13:44 ` sbabic
2021-05-13 10:18 ` [PATCH v3 05/22] ARM: dts: imxrt1020-evk: enable gpt1 timer Giulio Benetti
2021-06-09 13:43 ` sbabic
2021-05-13 10:18 ` [PATCH v3 06/22] ARM: dts: imxrt1020-evk: set gpt1 as tick-timer for u-boot Giulio Benetti
2021-06-09 13:42 ` sbabic
2021-05-13 10:18 ` [PATCH v3 07/22] ARM: dts: imxrt1020-evk-u-boot: make gpt1 present for SPL Giulio Benetti
2021-06-09 13:42 ` sbabic
2021-05-13 10:18 ` [PATCH v3 08/22] ARM: dts: imxrt1020-evk: add device_type = "memory" to memory node Giulio Benetti
2021-06-09 13:44 ` sbabic
2021-05-13 10:18 ` [PATCH v3 09/22] configs: imxrt1020-evk: enable imx gpt timer as tick-timer Giulio Benetti
2021-06-09 13:43 ` sbabic
2021-05-13 10:18 ` [PATCH v3 10/22] ARM: dts: imxrt1050: add node label to osc Giulio Benetti
2021-06-09 13:42 ` sbabic
2021-05-13 10:18 ` [PATCH v3 11/22] ARM: dts: imxrt1050: add gpt1 node Giulio Benetti
2021-06-09 13:44 ` sbabic
2021-05-13 10:18 ` [PATCH v3 12/22] ARM: dts: imxrt1050-evk: enable gpt1 timer Giulio Benetti
2021-06-09 13:43 ` sbabic
2021-05-13 10:18 ` [PATCH v3 13/22] ARM: dts: imxrt1050-evk: set gpt1 as tick-timer for u-boot Giulio Benetti
2021-06-09 13:44 ` sbabic
2021-05-13 10:18 ` [PATCH v3 14/22] ARM: dts: imxrt1050-evk-u-boot: make gpt1 present for SPL Giulio Benetti
2021-06-09 13:43 ` sbabic
2021-05-13 10:18 ` [PATCH v3 15/22] ARM: dts: imxrt1050-evk: add device_type = "memory" to memory node Giulio Benetti
2021-06-09 13:42 ` sbabic
2021-05-13 10:18 ` [PATCH v3 16/22] configs: imxrt1050-evk: enable imx gpt timer as tick-timer Giulio Benetti
2021-06-09 13:42 ` sbabic
2021-05-13 10:18 ` [PATCH v3 17/22] video: mxsfb: add enabling of "axi" clock other than "per" clock Giulio Benetti
2021-06-09 13:43 ` sbabic
2021-05-13 10:18 ` [PATCH v3 18/22] video: mxsfb: add enabling of "disp_axi" clock Giulio Benetti
2021-06-09 13:44 ` sbabic
2021-05-13 10:19 ` Giulio Benetti
2021-05-13 10:19 ` Giulio Benetti [this message]
2021-06-09 13:44 ` [PATCH v3 19/22] clk: imx: clk-imxrt1050: introduce LCDIF_PIX and rename LCDIF to LCDIF_APB sbabic
2021-05-13 10:19 ` [PATCH v3 20/22] ARM: dts: imxrt1050: move lcdif assigned clock to dtsi Giulio Benetti
2021-06-09 13:44 ` sbabic
2021-05-13 10:19 ` [PATCH v3 21/22] ARM: dts: imxrt1050: set lcdif clocks according to mxsfb driver Giulio Benetti
2021-06-09 13:43 ` sbabic
2021-05-13 10:19 ` [PATCH v3 22/22] ARM: dts: imxrt1050-evk: remove u-boot,dm-spl Giulio Benetti
2021-06-09 13:43 ` sbabic
2021-05-13 10:21 ` [PATCH v3 18/22] video: mxsfb: add enabling of "disp_axi" clock Giulio Benetti
2021-05-13 10:26 ` [PATCH 0/5] Fix i.MXRT1050 hang on lcdif init and improve DT for mxsfb Giulio Benetti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210513101936.11318-2-giulio.benetti@benettiengineering.com \
--to=giulio.benetti@benettiengineering.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox