linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: gary.bisson@boundarydevices.com (Gary Bisson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/9] clk: imx: add ckil clock for i.MX7
Date: Tue, 15 Mar 2016 15:04:22 +0100	[thread overview]
Message-ID: <1458050668-26748-4-git-send-email-gary.bisson@boundarydevices.com> (raw)
In-Reply-To: <1458050668-26748-1-git-send-email-gary.bisson@boundarydevices.com>

Add the necessary clock to use the ckil on i.MX7.

Inspired from the following patch:
https://github.com/boundarydevices/linux-imx6/commit/b80e8271

Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
---

Changelog v1 -> v2:
- none

---
 drivers/clk/imx/clk-imx7d.c             | 3 ++-
 include/dt-bindings/clock/imx7d-clock.h | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c
index fbb6a8c..7912be8 100644
--- a/drivers/clk/imx/clk-imx7d.c
+++ b/drivers/clk/imx/clk-imx7d.c
@@ -342,7 +342,7 @@ static const char *clko1_sel[] = { "osc", "pll_sys_main_clk",
 
 static const char *clko2_sel[] = { "osc", "pll_sys_main_240m_clk",
 	"pll_sys_pfd0_392m_clk", "pll_sys_pfd1_166m_clk", "pll_sys_pfd4_clk",
-	"pll_audio_main_clk", "pll_video_main_clk", "osc_32k_clk", };
+	"pll_audio_main_clk", "pll_video_main_clk", "ckil", };
 
 static const char *lvds1_sel[] = { "pll_arm_main_clk",
 	"pll_sys_main_clk", "pll_sys_pfd0_392m_clk", "pll_sys_pfd1_332m_clk",
@@ -382,6 +382,7 @@ static void __init imx7d_clocks_init(struct device_node *ccm_node)
 
 	clks[IMX7D_CLK_DUMMY] = imx_clk_fixed("dummy", 0);
 	clks[IMX7D_OSC_24M_CLK] = of_clk_get_by_name(ccm_node, "osc");
+	clks[IMX7D_CKIL] = of_clk_get_by_name(ccm_node, "ckil");
 
 	np = of_find_compatible_node(NULL, NULL, "fsl,imx7d-anatop");
 	base = of_iomap(np, 0);
diff --git a/include/dt-bindings/clock/imx7d-clock.h b/include/dt-bindings/clock/imx7d-clock.h
index edca8985c..1183347 100644
--- a/include/dt-bindings/clock/imx7d-clock.h
+++ b/include/dt-bindings/clock/imx7d-clock.h
@@ -448,5 +448,6 @@
 #define IMX7D_PLL_DRAM_TEST_DIV		435
 #define IMX7D_ADC_ROOT_CLK		436
 #define IMX7D_CLK_ARM			437
-#define IMX7D_CLK_END			438
+#define IMX7D_CKIL			438
+#define IMX7D_CLK_END			439
 #endif /* __DT_BINDINGS_CLOCK_IMX7D_H */
-- 
2.7.0

  parent reply	other threads:[~2016-03-15 14:04 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-15 10:30 [PATCH 0/9] imx: add latest Boundary Devices boards support Gary Bisson
2016-03-15 10:30 ` [PATCH 1/9] ARM: dts: imx7d: add lcdif support Gary Bisson
2016-03-15 10:30 ` [PATCH 2/9] ARM: dts: imx7d: add flexcan support Gary Bisson
2016-03-15 10:30 ` [PATCH 3/9] clk: imx: add ckil clock for i.MX7 Gary Bisson
2016-03-15 10:30 ` [PATCH 4/9] ARM: dts: imx: add Boundary Devices Nitrogen7 board Gary Bisson
2016-03-15 10:30 ` [PATCH 5/9] ARM: dts: imx: add Boundary Devices Nitrogen6_MAX QP board Gary Bisson
2016-03-15 10:30 ` [PATCH 6/9] ARM: dts: imx: add Boundary Devices Nitrogen6_SoloX board Gary Bisson
2016-03-15 10:53   ` Vladimir Zapolskiy
2016-03-15 10:58     ` Gary Bisson
2016-03-15 10:30 ` [PATCH 7/9] ARM: imx_v6_v7_defconfig: add FT5x06 and TSC2004 touch support Gary Bisson
2016-03-15 10:30 ` [PATCH 8/9] ARM: imx_v6_v7_defconfig: add CONFIG_I2C_MUX_GPIO Gary Bisson
2016-03-15 10:30 ` [PATCH 9/9] ARM: imx_v6_v7_defconfig: add CONFIG_RTC_DRV_M41T80 Gary Bisson
2016-03-15 14:04 ` [PATCH v2 0/9] imx: add latest Boundary Devices boards support Gary Bisson
2016-03-15 14:04   ` [PATCH v2 1/9] ARM: dts: imx7d: add lcdif support Gary Bisson
2016-04-02  1:29     ` Shawn Guo
2016-04-02 16:08       ` Gary Bisson
2016-03-15 14:04   ` [PATCH v2 2/9] ARM: dts: imx7d: add flexcan support Gary Bisson
2016-04-02  1:31     ` Shawn Guo
2016-04-02 16:10       ` Gary Bisson
2016-03-15 14:04   ` Gary Bisson [this message]
2016-03-15 14:04   ` [PATCH v2 4/9] ARM: dts: imx: add Boundary Devices Nitrogen7 board Gary Bisson
2016-03-15 14:04   ` [PATCH v2 5/9] ARM: dts: imx: add Boundary Devices Nitrogen6_MAX QP board Gary Bisson
2016-03-15 14:04   ` [PATCH v2 6/9] ARM: dts: imx: add Boundary Devices Nitrogen6_SoloX board Gary Bisson
2016-03-15 14:04   ` [PATCH v2 7/9] ARM: imx_v6_v7_defconfig: add FT5x06 and TSC2004 touch support Gary Bisson
2016-03-15 14:04   ` [PATCH v2 8/9] ARM: imx_v6_v7_defconfig: add CONFIG_I2C_MUX_GPIO Gary Bisson
2016-03-15 14:04   ` [PATCH v2 9/9] ARM: imx_v6_v7_defconfig: add CONFIG_RTC_DRV_M41T80 Gary Bisson
2016-04-02 16:25   ` [PATCH v3 0/9] imx: add latest Boundary Devices boards support Gary Bisson
2016-04-02 16:25     ` [PATCH v3 1/9] ARM: dts: imx7d: add lcdif support Gary Bisson
2016-04-06  9:06       ` Shawn Guo
2016-04-02 16:25     ` [PATCH v3 2/9] ARM: dts: imx7d: add flexcan support Gary Bisson
2016-04-02 16:25     ` [PATCH v3 3/9] clk: imx: add ckil clock for i.MX7 Gary Bisson
2016-04-02 16:25     ` [PATCH v3 4/9] ARM: dts: imx: add Boundary Devices Nitrogen7 board Gary Bisson
2016-04-06 14:15       ` Shawn Guo
2016-04-07 10:07         ` Gary Bisson
2016-04-07 13:50       ` [PATCH v4] " Gary Bisson
2016-04-11 14:13         ` Shawn Guo
2016-04-02 16:25     ` [PATCH v3 5/9] ARM: dts: imx: add Boundary Devices Nitrogen6_MAX QP board Gary Bisson
2016-04-06 14:25       ` Shawn Guo
2016-04-02 16:25     ` [PATCH v3 6/9] ARM: dts: imx: add Boundary Devices Nitrogen6_SoloX board Gary Bisson
2016-04-07 13:52       ` [PATCH v4] " Gary Bisson
2016-04-11 14:31         ` Shawn Guo
2016-04-11 21:01         ` [PATCH v5] " Gary Bisson
2016-04-12  0:47           ` Shawn Guo
2016-04-02 16:25     ` [PATCH v3 7/9] ARM: imx_v6_v7_defconfig: add FT5x06 and TSC2004 touch support Gary Bisson
2016-04-06 14:35       ` Shawn Guo
2016-04-02 16:25     ` [PATCH v3 8/9] ARM: imx_v6_v7_defconfig: add CONFIG_I2C_MUX_GPIO Gary Bisson
2016-04-02 16:25     ` [PATCH v3 9/9] ARM: imx_v6_v7_defconfig: add CONFIG_RTC_DRV_M41T80 Gary Bisson

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=1458050668-26748-4-git-send-email-gary.bisson@boundarydevices.com \
    --to=gary.bisson@boundarydevices.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).