linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] clk: imx7ulp: remove snvs clock
@ 2019-02-28  8:56 Anson Huang
  2019-02-28  8:56 ` [PATCH 2/2] dt-bindings: clock: imx7ulp: remove SNVS clock Anson Huang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Anson Huang @ 2019-02-28  8:56 UTC (permalink / raw)
  To: mturquette, sboyd, shawnguo, s.hauer, kernel, festevam, robh+dt,
	mark.rutland, Aisheng Dong, gustavo, linux-clk, linux-arm-kernel,
	linux-kernel, devicetree
  Cc: dl-linux-imx

Since i.MX7ULP B0 chip, the SNVS module is moved into M4
domain and its clock is also moved into PCC0 which is
contorlled by M4, Linux kernel should NOT add it into
clock tree.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 drivers/clk/imx/clk-imx7ulp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/clk/imx/clk-imx7ulp.c b/drivers/clk/imx/clk-imx7ulp.c
index ce30663..6668210 100644
--- a/drivers/clk/imx/clk-imx7ulp.c
+++ b/drivers/clk/imx/clk-imx7ulp.c
@@ -151,7 +151,6 @@ static void __init imx7ulp_clk_pcc2_init(struct device_node *np)
 	clks[IMX7ULP_CLK_DMA1]		= imx_clk_hw_gate("dma1", "nic1_clk", base + 0x20, 30);
 	clks[IMX7ULP_CLK_RGPIO2P1]	= imx_clk_hw_gate("rgpio2p1", "nic1_bus_clk", base + 0x3c, 30);
 	clks[IMX7ULP_CLK_DMA_MUX1]	= imx_clk_hw_gate("dma_mux1", "nic1_bus_clk", base + 0x84, 30);
-	clks[IMX7ULP_CLK_SNVS]		= imx_clk_hw_gate("snvs", "nic1_bus_clk", base + 0x8c, 30);
 	clks[IMX7ULP_CLK_CAAM]		= imx_clk_hw_gate("caam", "nic1_clk", base + 0x90, 30);
 	clks[IMX7ULP_CLK_LPTPM4]	= imx7ulp_clk_composite("lptpm4",  periph_bus_sels, ARRAY_SIZE(periph_bus_sels), true, false, true, base + 0x94);
 	clks[IMX7ULP_CLK_LPTPM5]	= imx7ulp_clk_composite("lptpm5",  periph_bus_sels, ARRAY_SIZE(periph_bus_sels), true, false, true, base + 0x98);
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] dt-bindings: clock: imx7ulp: remove SNVS clock
  2019-02-28  8:56 [PATCH 1/2] clk: imx7ulp: remove snvs clock Anson Huang
@ 2019-02-28  8:56 ` Anson Huang
  2019-03-20  6:47 ` [PATCH 1/2] clk: imx7ulp: remove snvs clock Anson Huang
  2019-03-20  8:00 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Anson Huang @ 2019-02-28  8:56 UTC (permalink / raw)
  To: mturquette, sboyd, shawnguo, s.hauer, kernel, festevam, robh+dt,
	mark.rutland, Aisheng Dong, gustavo, linux-clk, linux-arm-kernel,
	linux-kernel, devicetree
  Cc: dl-linux-imx

Since i.MX7ULP B0 chip, SNVS module is moved into M4
domain, so remove it from Linux clock table.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 include/dt-bindings/clock/imx7ulp-clock.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/dt-bindings/clock/imx7ulp-clock.h b/include/dt-bindings/clock/imx7ulp-clock.h
index 21d872e..6f66f9005c 100644
--- a/include/dt-bindings/clock/imx7ulp-clock.h
+++ b/include/dt-bindings/clock/imx7ulp-clock.h
@@ -65,7 +65,6 @@
 #define IMX7ULP_CLK_FLEXBUS		2
 #define IMX7ULP_CLK_SEMA42_1		3
 #define IMX7ULP_CLK_DMA_MUX1		4
-#define IMX7ULP_CLK_SNVS		5
 #define IMX7ULP_CLK_CAAM		6
 #define IMX7ULP_CLK_LPTPM4		7
 #define IMX7ULP_CLK_LPTPM5		8
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [PATCH 1/2] clk: imx7ulp: remove snvs clock
  2019-02-28  8:56 [PATCH 1/2] clk: imx7ulp: remove snvs clock Anson Huang
  2019-02-28  8:56 ` [PATCH 2/2] dt-bindings: clock: imx7ulp: remove SNVS clock Anson Huang
@ 2019-03-20  6:47 ` Anson Huang
  2019-03-20  8:00 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Anson Huang @ 2019-03-20  6:47 UTC (permalink / raw)
  To: mturquette, sboyd, shawnguo, s.hauer, kernel, festevam, robh+dt,
	mark.rutland, Aisheng Dong, gustavo, linux-clk, linux-arm-kernel,
	linux-kernel, devicetree
  Cc: dl-linux-imx

Ping...

Best Regards!
Anson Huang

> -----Original Message-----
> From: Anson Huang
> Sent: 2019年2月28日 16:56
> To: mturquette@baylibre.com; sboyd@kernel.org; shawnguo@kernel.org;
> s.hauer@pengutronix.de; kernel@pengutronix.de; festevam@gmail.com;
> robh+dt@kernel.org; mark.rutland@arm.com; Aisheng Dong
> <aisheng.dong@nxp.com>; gustavo@embeddedor.com; linux-
> clk@vger.kernel.org; linux-arm-kernel@lists.infradead.org; linux-
> kernel@vger.kernel.org; devicetree@vger.kernel.org
> Cc: dl-linux-imx <linux-imx@nxp.com>
> Subject: [PATCH 1/2] clk: imx7ulp: remove snvs clock
> 
> Since i.MX7ULP B0 chip, the SNVS module is moved into M4 domain and its
> clock is also moved into PCC0 which is contorlled by M4, Linux kernel should
> NOT add it into clock tree.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
> ---
>  drivers/clk/imx/clk-imx7ulp.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/clk/imx/clk-imx7ulp.c b/drivers/clk/imx/clk-imx7ulp.c
> index ce30663..6668210 100644
> --- a/drivers/clk/imx/clk-imx7ulp.c
> +++ b/drivers/clk/imx/clk-imx7ulp.c
> @@ -151,7 +151,6 @@ static void __init imx7ulp_clk_pcc2_init(struct
> device_node *np)
>  	clks[IMX7ULP_CLK_DMA1]		= imx_clk_hw_gate("dma1",
> "nic1_clk", base + 0x20, 30);
>  	clks[IMX7ULP_CLK_RGPIO2P1]	= imx_clk_hw_gate("rgpio2p1",
> "nic1_bus_clk", base + 0x3c, 30);
>  	clks[IMX7ULP_CLK_DMA_MUX1]	=
> imx_clk_hw_gate("dma_mux1", "nic1_bus_clk", base + 0x84, 30);
> -	clks[IMX7ULP_CLK_SNVS]		= imx_clk_hw_gate("snvs",
> "nic1_bus_clk", base + 0x8c, 30);
>  	clks[IMX7ULP_CLK_CAAM]		= imx_clk_hw_gate("caam",
> "nic1_clk", base + 0x90, 30);
>  	clks[IMX7ULP_CLK_LPTPM4]	= imx7ulp_clk_composite("lptpm4",
> periph_bus_sels, ARRAY_SIZE(periph_bus_sels), true, false, true, base +
> 0x94);
>  	clks[IMX7ULP_CLK_LPTPM5]	= imx7ulp_clk_composite("lptpm5",
> periph_bus_sels, ARRAY_SIZE(periph_bus_sels), true, false, true, base +
> 0x98);
> --
> 2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] clk: imx7ulp: remove snvs clock
  2019-02-28  8:56 [PATCH 1/2] clk: imx7ulp: remove snvs clock Anson Huang
  2019-02-28  8:56 ` [PATCH 2/2] dt-bindings: clock: imx7ulp: remove SNVS clock Anson Huang
  2019-03-20  6:47 ` [PATCH 1/2] clk: imx7ulp: remove snvs clock Anson Huang
@ 2019-03-20  8:00 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2019-03-20  8:00 UTC (permalink / raw)
  To: Anson Huang
  Cc: mturquette, sboyd, s.hauer, kernel, festevam, robh+dt,
	mark.rutland, Aisheng Dong, gustavo, linux-clk, linux-arm-kernel,
	linux-kernel, devicetree, dl-linux-imx

On Thu, Feb 28, 2019 at 08:56:00AM +0000, Anson Huang wrote:
> Since i.MX7ULP B0 chip, the SNVS module is moved into M4
> domain and its clock is also moved into PCC0 which is
> contorlled by M4, Linux kernel should NOT add it into
> clock tree.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>

Applied both, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-20  8:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-28  8:56 [PATCH 1/2] clk: imx7ulp: remove snvs clock Anson Huang
2019-02-28  8:56 ` [PATCH 2/2] dt-bindings: clock: imx7ulp: remove SNVS clock Anson Huang
2019-03-20  6:47 ` [PATCH 1/2] clk: imx7ulp: remove snvs clock Anson Huang
2019-03-20  8:00 ` Shawn Guo

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).