* [PATCH] clk: imx7d: remove UART1 clock setting
@ 2018-10-18 6:51 ` Anson Huang
0 siblings, 0 replies; 4+ messages in thread
From: Anson Huang @ 2018-10-18 6:51 UTC (permalink / raw)
To: shawnguo, s.hauer, kernel, Fabio Estevam, mturquette, sboyd,
linux-arm-kernel, linux-clk, linux-kernel
Cc: dl-linux-imx
There is clock assignment in dtb for UART1, so setting
UART1 clock in clock driver is NOT necessary.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
drivers/clk/imx/clk-imx7d.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c
index adb08f6..06c105d 100644
--- a/drivers/clk/imx/clk-imx7d.c
+++ b/drivers/clk/imx/clk-imx7d.c
@@ -886,9 +886,6 @@ static void __init imx7d_clocks_init(struct device_node *ccm_node)
/* use old gpt clk setting, gpt1 root clk must be twice as gpt counter freq */
clk_set_parent(clks[IMX7D_GPT1_ROOT_SRC], clks[IMX7D_OSC_24M_CLK]);
- /* set uart module clock's parent clock source that must be great then 80MHz */
- clk_set_parent(clks[IMX7D_UART1_ROOT_SRC], clks[IMX7D_OSC_24M_CLK]);
-
/* Set clock rate for USBPHY, the USB_PLL at CCM is from USBOTG2 */
clks[IMX7D_USB1_MAIN_480M_CLK] = imx_clk_fixed_factor("pll_usb1_main_clk", "osc", 20, 1);
clks[IMX7D_USB_MAIN_480M_CLK] = imx_clk_fixed_factor("pll_usb_main_clk", "osc", 20, 1);
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] clk: imx7d: remove UART1 clock setting
@ 2018-10-18 6:51 ` Anson Huang
0 siblings, 0 replies; 4+ messages in thread
From: Anson Huang @ 2018-10-18 6:51 UTC (permalink / raw)
To: linux-arm-kernel
There is clock assignment in dtb for UART1, so setting
UART1 clock in clock driver is NOT necessary.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
drivers/clk/imx/clk-imx7d.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/clk/imx/clk-imx7d.c b/drivers/clk/imx/clk-imx7d.c
index adb08f6..06c105d 100644
--- a/drivers/clk/imx/clk-imx7d.c
+++ b/drivers/clk/imx/clk-imx7d.c
@@ -886,9 +886,6 @@ static void __init imx7d_clocks_init(struct device_node *ccm_node)
/* use old gpt clk setting, gpt1 root clk must be twice as gpt counter freq */
clk_set_parent(clks[IMX7D_GPT1_ROOT_SRC], clks[IMX7D_OSC_24M_CLK]);
- /* set uart module clock's parent clock source that must be great then 80MHz */
- clk_set_parent(clks[IMX7D_UART1_ROOT_SRC], clks[IMX7D_OSC_24M_CLK]);
-
/* Set clock rate for USBPHY, the USB_PLL at CCM is from USBOTG2 */
clks[IMX7D_USB1_MAIN_480M_CLK] = imx_clk_fixed_factor("pll_usb1_main_clk", "osc", 20, 1);
clks[IMX7D_USB_MAIN_480M_CLK] = imx_clk_fixed_factor("pll_usb_main_clk", "osc", 20, 1);
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] clk: imx7d: remove UART1 clock setting
2018-10-18 6:51 ` Anson Huang
@ 2018-10-18 18:01 ` Stephen Boyd
-1 siblings, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2018-10-18 18:01 UTC (permalink / raw)
To: kernel, linux-arm-kernel, linux-clk, linux-kernel, mturquette,
s.hauer, shawnguo, Anson Huang, Fabio Estevam
Cc: dl-linux-imx
Quoting Anson Huang (2018-10-17 23:51:55)
> There is clock assignment in dtb for UART1, so setting
> UART1 clock in clock driver is NOT necessary.
Can you mention the commit that introduced the assignment and possibly
the file where it is done?
>
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] clk: imx7d: remove UART1 clock setting
@ 2018-10-18 18:01 ` Stephen Boyd
0 siblings, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2018-10-18 18:01 UTC (permalink / raw)
To: linux-arm-kernel
Quoting Anson Huang (2018-10-17 23:51:55)
> There is clock assignment in dtb for UART1, so setting
> UART1 clock in clock driver is NOT necessary.
Can you mention the commit that introduced the assignment and possibly
the file where it is done?
>
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-10-18 18:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-18 6:51 [PATCH] clk: imx7d: remove UART1 clock setting Anson Huang
2018-10-18 6:51 ` Anson Huang
2018-10-18 18:01 ` Stephen Boyd
2018-10-18 18:01 ` Stephen Boyd
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.