diff options
| author | Stephen Boyd <sboyd@codeaurora.org> | 2016-05-11 14:39:17 -0400 |
|---|---|---|
| committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-05-12 17:48:26 -0400 |
| commit | d8609a3a2e4f6fb1fa5cf2468547eb30507e78c4 (patch) | |
| tree | 27494a2b82d6f2d7a019f67225f5640873163b5e /drivers/clk/imx | |
| parent | 4afe2d1a6ed5cba794aeeaa816e7c97a45167b01 (diff) | |
| parent | 3397c2c45b1b6f54834dfeae30a73046f33ca943 (diff) | |
Merge tag 'imx-clk-fixes-4.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into clk-next
Pull some non-critical i.MX clk fixes from Shawn Guo:
* Fix the commit 3713e3f5e927 ("clk: imx35: define two clocks for rtc")
which messed up the clock enumeration when adding new clock.
* tag 'imx-clk-fixes-4.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux:
ARM: dts: imx35: restore existing used clock enumeration
clk: imx6q: fix typo in CAN clock definition
Diffstat (limited to 'drivers/clk/imx')
| -rw-r--r-- | drivers/clk/imx/clk-imx35.c | 4 | ||||
| -rw-r--r-- | drivers/clk/imx/clk-imx6q.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clk/imx/clk-imx35.c b/drivers/clk/imx/clk-imx35.c index a71d24cb4c06..b0978d3b83e2 100644 --- a/drivers/clk/imx/clk-imx35.c +++ b/drivers/clk/imx/clk-imx35.c | |||
| @@ -66,7 +66,7 @@ static const char *std_sel[] = {"ppll", "arm"}; | |||
| 66 | static const char *ipg_per_sel[] = {"ahb_per_div", "arm_per_div"}; | 66 | static const char *ipg_per_sel[] = {"ahb_per_div", "arm_per_div"}; |
| 67 | 67 | ||
| 68 | enum mx35_clks { | 68 | enum mx35_clks { |
| 69 | ckih, ckil, mpll, ppll, mpll_075, arm, hsp, hsp_div, hsp_sel, ahb, ipg, | 69 | ckih, mpll, ppll, mpll_075, arm, hsp, hsp_div, hsp_sel, ahb, ipg, |
| 70 | arm_per_div, ahb_per_div, ipg_per, uart_sel, uart_div, esdhc_sel, | 70 | arm_per_div, ahb_per_div, ipg_per, uart_sel, uart_div, esdhc_sel, |
| 71 | esdhc1_div, esdhc2_div, esdhc3_div, spdif_sel, spdif_div_pre, | 71 | esdhc1_div, esdhc2_div, esdhc3_div, spdif_sel, spdif_div_pre, |
| 72 | spdif_div_post, ssi_sel, ssi1_div_pre, ssi1_div_post, ssi2_div_pre, | 72 | spdif_div_post, ssi_sel, ssi1_div_pre, ssi1_div_post, ssi2_div_pre, |
| @@ -79,7 +79,7 @@ enum mx35_clks { | |||
| 79 | rtc_gate, rtic_gate, scc_gate, sdma_gate, spba_gate, spdif_gate, | 79 | rtc_gate, rtic_gate, scc_gate, sdma_gate, spba_gate, spdif_gate, |
| 80 | ssi1_gate, ssi2_gate, uart1_gate, uart2_gate, uart3_gate, usbotg_gate, | 80 | ssi1_gate, ssi2_gate, uart1_gate, uart2_gate, uart3_gate, usbotg_gate, |
| 81 | wdog_gate, max_gate, admux_gate, csi_gate, csi_div, csi_sel, iim_gate, | 81 | wdog_gate, max_gate, admux_gate, csi_gate, csi_div, csi_sel, iim_gate, |
| 82 | gpu2d_gate, clk_max | 82 | gpu2d_gate, ckil, clk_max |
| 83 | }; | 83 | }; |
| 84 | 84 | ||
| 85 | static struct clk *clk[clk_max]; | 85 | static struct clk *clk[clk_max]; |
diff --git a/drivers/clk/imx/clk-imx6q.c b/drivers/clk/imx/clk-imx6q.c index 02e18182fcb5..2beb396fe652 100644 --- a/drivers/clk/imx/clk-imx6q.c +++ b/drivers/clk/imx/clk-imx6q.c | |||
| @@ -394,7 +394,7 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node) | |||
| 394 | clk[IMX6QDL_CLK_LDB_DI1_DIV_3_5] = imx_clk_fixed_factor("ldb_di1_div_3_5", "ldb_di1", 2, 7); | 394 | clk[IMX6QDL_CLK_LDB_DI1_DIV_3_5] = imx_clk_fixed_factor("ldb_di1_div_3_5", "ldb_di1", 2, 7); |
| 395 | } else { | 395 | } else { |
| 396 | clk[IMX6QDL_CLK_ECSPI_ROOT] = imx_clk_divider("ecspi_root", "pll3_60m", base + 0x38, 19, 6); | 396 | clk[IMX6QDL_CLK_ECSPI_ROOT] = imx_clk_divider("ecspi_root", "pll3_60m", base + 0x38, 19, 6); |
| 397 | clk[IMX6QDL_CLK_CAN_ROOT] = imx_clk_divider("can_root", "pll3_60", base + 0x20, 2, 6); | 397 | clk[IMX6QDL_CLK_CAN_ROOT] = imx_clk_divider("can_root", "pll3_60m", base + 0x20, 2, 6); |
| 398 | clk[IMX6QDL_CLK_IPG_PER] = imx_clk_fixup_divider("ipg_per", "ipg", base + 0x1c, 0, 6, imx_cscmr1_fixup); | 398 | clk[IMX6QDL_CLK_IPG_PER] = imx_clk_fixup_divider("ipg_per", "ipg", base + 0x1c, 0, 6, imx_cscmr1_fixup); |
| 399 | clk[IMX6QDL_CLK_UART_SERIAL_PODF] = imx_clk_divider("uart_serial_podf", "pll3_80m", base + 0x24, 0, 6); | 399 | clk[IMX6QDL_CLK_UART_SERIAL_PODF] = imx_clk_divider("uart_serial_podf", "pll3_80m", base + 0x24, 0, 6); |
| 400 | clk[IMX6QDL_CLK_LDB_DI0_DIV_3_5] = imx_clk_fixed_factor("ldb_di0_div_3_5", "ldb_di0_sel", 2, 7); | 400 | clk[IMX6QDL_CLK_LDB_DI0_DIV_3_5] = imx_clk_fixed_factor("ldb_di0_div_3_5", "ldb_di0_sel", 2, 7); |
