devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gary Bisson <gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
To: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	fabio.estevam-3arQi8VN3Tc@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org,
	mturquette-rdvid1DuHRBWk0Htik3J/w@public.gmane.org,
	troy.kisky-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org,
	Gary Bisson
	<gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.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-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>

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-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
Signed-off-by: Gary Bisson <gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
---

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

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  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
     [not found] ` <1458037826-19375-1-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
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
     [not found]     ` <1458037826-19375-7-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
2016-03-15 10:53       ` Vladimir Zapolskiy
     [not found]         ` <56E7E98F.5030902-nmGgyN9QBj3QT0dZR+AlfA@public.gmane.org>
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
     [not found]     ` <1458050668-26748-1-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
2016-03-15 14:04       ` [PATCH v2 1/9] ARM: dts: imx7d: add lcdif support Gary Bisson
     [not found]         ` <1458050668-26748-2-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
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
     [not found]         ` <1458050668-26748-3-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
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
     [not found]         ` <1459614351-16731-1-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
2016-04-02 16:25           ` [PATCH v3 1/9] ARM: dts: imx7d: add lcdif support Gary Bisson
     [not found]             ` <1459614351-16731-2-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
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
     [not found]             ` <1459614351-16731-5-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
2016-04-06 14:15               ` Shawn Guo
2016-04-07 10:07                 ` Gary Bisson
2016-04-07 13:50               ` [PATCH v4] " Gary Bisson
     [not found]                 ` <1460037057-23191-1-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
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
     [not found]             ` <1459614351-16731-6-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
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
     [not found]             ` <1459614351-16731-7-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
2016-04-07 13:52               ` [PATCH v4] " Gary Bisson
     [not found]                 ` <1460037168-23292-1-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
2016-04-11 14:31                   ` Shawn Guo
2016-04-11 21:01                   ` [PATCH v5] " Gary Bisson
     [not found]                     ` <1460408496-21164-1-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
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
     [not found]             ` <1459614351-16731-8-git-send-email-gary.bisson-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.org>
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-q5rjgjkts06cy9shamctrueocmrvltnr@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=fabio.estevam-3arQi8VN3Tc@public.gmane.org \
    --cc=kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
    --cc=mturquette-rdvid1DuHRBWk0Htik3J/w@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=troy.kisky-Q5RJGjKts06CY9SHAMCTRUEOCMrvLtNR@public.gmane.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).