linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Anson.Huang@nxp.com (Anson Huang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/7] clk: imx6sx: add mmdc1 ipg clock
Date: Fri, 31 Aug 2018 15:53:14 +0800	[thread overview]
Message-ID: <1535701998-20443-4-git-send-email-Anson.Huang@nxp.com> (raw)
In-Reply-To: <1535701998-20443-1-git-send-email-Anson.Huang@nxp.com>

i.MX6SX has MMDC1 ipg clock in CCM CCGR, add it into
clock tree for clock management.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 drivers/clk/imx/clk-imx6sx.c             | 1 +
 include/dt-bindings/clock/imx6sx-clock.h | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/clk/imx/clk-imx6sx.c b/drivers/clk/imx/clk-imx6sx.c
index d9f2890..18527a3 100644
--- a/drivers/clk/imx/clk-imx6sx.c
+++ b/drivers/clk/imx/clk-imx6sx.c
@@ -431,6 +431,7 @@ static void __init imx6sx_clocks_init(struct device_node *ccm_node)
 	clks[IMX6SX_CLK_MLB]          = imx_clk_gate2("mlb",           "ahb",               base + 0x74, 18);
 	clks[IMX6SX_CLK_MMDC_P0_FAST] = imx_clk_gate2_flags("mmdc_p0_fast", "mmdc_podf", base + 0x74, 20, CLK_IS_CRITICAL);
 	clks[IMX6SX_CLK_MMDC_P0_IPG]  = imx_clk_gate2_flags("mmdc_p0_ipg", "ipg", base + 0x74, 24, CLK_IS_CRITICAL);
+	clks[IMX6SX_CLK_MMDC_P1_IPG]  = imx_clk_gate2("mmdc_p1_ipg", "ipg", base + 0x74, 26);
 	clks[IMX6SX_CLK_OCRAM]        = imx_clk_gate2_flags("ocram", "ocram_podf", base + 0x74, 28, CLK_IS_CRITICAL);
 
 	/* CCGR4 */
diff --git a/include/dt-bindings/clock/imx6sx-clock.h b/include/dt-bindings/clock/imx6sx-clock.h
index cd2d6c5..fb420c7 100644
--- a/include/dt-bindings/clock/imx6sx-clock.h
+++ b/include/dt-bindings/clock/imx6sx-clock.h
@@ -279,6 +279,7 @@
 #define IMX6SX_CLK_LVDS2_OUT		266
 #define IMX6SX_CLK_LVDS2_IN		267
 #define IMX6SX_CLK_ANACLK2		268
-#define IMX6SX_CLK_CLK_END		269
+#define IMX6SX_CLK_MMDC_P1_IPG		269
+#define IMX6SX_CLK_CLK_END		270
 
 #endif /* __DT_BINDINGS_CLOCK_IMX6SX_H */
-- 
2.7.4

  parent reply	other threads:[~2018-08-31  7:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-31  7:53 [PATCH 0/7] Add i.MX6 SoCs mmdc ipg clocks management Anson Huang
2018-08-31  7:53 ` [PATCH 1/7] ARM: imx: add mmdc ipg clock operation for mmdc Anson Huang
2018-09-10  0:17   ` Shawn Guo
2018-08-31  7:53 ` [PATCH 2/7] clk: imx6ul: add mmdc1 ipg clock Anson Huang
2018-09-04 13:36   ` Rob Herring
2018-10-17 18:16   ` Stephen Boyd
2018-08-31  7:53 ` Anson Huang [this message]
2018-09-04 13:36   ` [PATCH 3/7] clk: imx6sx: " Rob Herring
2018-10-17 18:16   ` Stephen Boyd
2018-08-31  7:53 ` [PATCH 4/7] clk: imx6sll: " Anson Huang
2018-09-04 13:36   ` Rob Herring
2018-10-17 18:16   ` Stephen Boyd
2018-08-31  7:53 ` [PATCH 5/7] clk: imx6sl: add mmdc ipg clocks Anson Huang
2018-09-04 13:36   ` Rob Herring
2018-10-17 18:16   ` Stephen Boyd
2018-08-31  7:53 ` [PATCH 6/7] clk: imx6q: add mmdc0 ipg clock Anson Huang
2018-09-04 13:36   ` Rob Herring
2018-10-17 18:16   ` Stephen Boyd
2018-08-31  7:53 ` [PATCH 7/7] ARM: dts: imx6: add mmdc " Anson Huang
2018-11-05  2:20   ` Shawn Guo

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=1535701998-20443-4-git-send-email-Anson.Huang@nxp.com \
    --to=anson.huang@nxp.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).