* [PATCH 0/7] ARM: Replace <linux/clk-provider.h> by <linux/of_clk.h>
@ 2020-02-12 10:08 Geert Uytterhoeven
2020-02-12 10:08 ` [PATCH 1/7] ARM/time: " Geert Uytterhoeven
` (6 more replies)
0 siblings, 7 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2020-02-12 10:08 UTC (permalink / raw)
To: Russell King, Matthias Brugger, Lubomir Rintel, Heiko Stuebner,
Magnus Damm, Maxime Ripard, Chen-Yu Tsai, Michal Simek
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
Hi all,
The OF clock helpers were moved to <linux/of_clk.h> a while ago.
Hence code that is not a clock provider, but just needs to call
of_clk_init(), can (and should) include <linux/of_clk.h> instead of
<linux/clk-provider.h>.
All these patches are independent of each others, and thus can be
applied by the corresponding subsystem maintainers.
Thanks!
Geert Uytterhoeven (7):
ARM/time: Replace <linux/clk-provider.h> by <linux/of_clk.h>
ARM: mediatek: Replace <linux/clk-provider.h> by <linux/of_clk.h>
ARM: mmp: Replace <linux/clk-provider.h> by <linux/of_clk.h>
ARM: rockchip: Replace <linux/clk-provider.h> by <linux/of_clk.h>
ARM: shmobile: Replace <linux/clk-provider.h> by <linux/of_clk.h>
ARM: sunxi: Replace <linux/clk-provider.h> by <linux/of_clk.h>
ARM: zynq: Replace <linux/clk-provider.h> by <linux/of_clk.h>
arch/arm/kernel/time.c | 2 +-
arch/arm/mach-mediatek/mediatek.c | 2 +-
arch/arm/mach-mmp/mmp-dt.c | 2 +-
arch/arm/mach-mmp/mmp2-dt.c | 2 +-
arch/arm/mach-rockchip/rockchip.c | 2 +-
arch/arm/mach-shmobile/setup-rcar-gen2.c | 2 +-
arch/arm/mach-sunxi/sunxi.c | 2 +-
arch/arm/mach-zynq/common.c | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
--
2.17.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 18+ messages in thread
* [PATCH 1/7] ARM/time: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 [PATCH 0/7] ARM: Replace <linux/clk-provider.h> by <linux/of_clk.h> Geert Uytterhoeven
@ 2020-02-12 10:08 ` Geert Uytterhoeven
2020-02-12 17:08 ` Stephen Boyd
2020-02-12 10:08 ` [PATCH 2/7] ARM: mediatek: " Geert Uytterhoeven
` (5 subsequent siblings)
6 siblings, 1 reply; 18+ messages in thread
From: Geert Uytterhoeven @ 2020-02-12 10:08 UTC (permalink / raw)
To: Russell King, Matthias Brugger, Lubomir Rintel, Heiko Stuebner,
Magnus Damm, Maxime Ripard, Chen-Yu Tsai, Michal Simek
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
The ARM time code is not a clock provider, and just needs to call
of_clk_init().
Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/kernel/time.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c
index dddc7ebf4db4418d..09b149b09c43850b 100644
--- a/arch/arm/kernel/time.c
+++ b/arch/arm/kernel/time.c
@@ -8,7 +8,6 @@
* This file contains the ARM-specific time handling details:
* reading the RTC at bootup, etc...
*/
-#include <linux/clk-provider.h>
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/errno.h>
@@ -17,6 +16,7 @@
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/kernel.h>
+#include <linux/of_clk.h>
#include <linux/profile.h>
#include <linux/sched.h>
#include <linux/sched_clock.h>
--
2.17.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 2/7] ARM: mediatek: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 [PATCH 0/7] ARM: Replace <linux/clk-provider.h> by <linux/of_clk.h> Geert Uytterhoeven
2020-02-12 10:08 ` [PATCH 1/7] ARM/time: " Geert Uytterhoeven
@ 2020-02-12 10:08 ` Geert Uytterhoeven
2020-02-12 17:08 ` Stephen Boyd
2020-02-12 10:08 ` [PATCH 3/7] ARM: mmp: " Geert Uytterhoeven
` (4 subsequent siblings)
6 siblings, 1 reply; 18+ messages in thread
From: Geert Uytterhoeven @ 2020-02-12 10:08 UTC (permalink / raw)
To: Russell King, Matthias Brugger, Lubomir Rintel, Heiko Stuebner,
Magnus Damm, Maxime Ripard, Chen-Yu Tsai, Michal Simek
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
The Mediatek platform code is not a clock provider, and just needs to
call of_clk_init().
Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/mach-mediatek/mediatek.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-mediatek/mediatek.c b/arch/arm/mach-mediatek/mediatek.c
index f6f102fa9e23a0f8..e6e9f93a1f01c7d0 100644
--- a/arch/arm/mach-mediatek/mediatek.c
+++ b/arch/arm/mach-mediatek/mediatek.c
@@ -9,7 +9,7 @@
#include <linux/io.h>
#include <asm/mach/arch.h>
#include <linux/of.h>
-#include <linux/clk-provider.h>
+#include <linux/of_clk.h>
#include <linux/clocksource.h>
--
2.17.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 3/7] ARM: mmp: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 [PATCH 0/7] ARM: Replace <linux/clk-provider.h> by <linux/of_clk.h> Geert Uytterhoeven
2020-02-12 10:08 ` [PATCH 1/7] ARM/time: " Geert Uytterhoeven
2020-02-12 10:08 ` [PATCH 2/7] ARM: mediatek: " Geert Uytterhoeven
@ 2020-02-12 10:08 ` Geert Uytterhoeven
2020-02-12 17:09 ` Stephen Boyd
2020-02-12 10:08 ` [PATCH 4/7] ARM: rockchip: " Geert Uytterhoeven
` (3 subsequent siblings)
6 siblings, 1 reply; 18+ messages in thread
From: Geert Uytterhoeven @ 2020-02-12 10:08 UTC (permalink / raw)
To: Russell King, Matthias Brugger, Lubomir Rintel, Heiko Stuebner,
Magnus Damm, Maxime Ripard, Chen-Yu Tsai, Michal Simek
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
The Marvell MMP platform code is not a clock provider, and just needs to
call of_clk_init().
Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/mach-mmp/mmp-dt.c | 2 +-
arch/arm/mach-mmp/mmp2-dt.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-mmp/mmp-dt.c b/arch/arm/mach-mmp/mmp-dt.c
index 91214996acecc9fb..3f43c0867dcae4ed 100644
--- a/arch/arm/mach-mmp/mmp-dt.c
+++ b/arch/arm/mach-mmp/mmp-dt.c
@@ -8,7 +8,7 @@
#include <linux/irqchip.h>
#include <linux/of_platform.h>
-#include <linux/clk-provider.h>
+#include <linux/of_clk.h>
#include <linux/clocksource.h>
#include <asm/mach/arch.h>
#include <asm/mach/time.h>
diff --git a/arch/arm/mach-mmp/mmp2-dt.c b/arch/arm/mach-mmp/mmp2-dt.c
index 510c762ddc484c40..34a5fe4b3949167e 100644
--- a/arch/arm/mach-mmp/mmp2-dt.c
+++ b/arch/arm/mach-mmp/mmp2-dt.c
@@ -9,7 +9,7 @@
#include <linux/io.h>
#include <linux/irqchip.h>
#include <linux/of_platform.h>
-#include <linux/clk-provider.h>
+#include <linux/of_clk.h>
#include <linux/clocksource.h>
#include <asm/mach/arch.h>
#include <asm/mach/time.h>
--
2.17.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 4/7] ARM: rockchip: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 [PATCH 0/7] ARM: Replace <linux/clk-provider.h> by <linux/of_clk.h> Geert Uytterhoeven
` (2 preceding siblings ...)
2020-02-12 10:08 ` [PATCH 3/7] ARM: mmp: " Geert Uytterhoeven
@ 2020-02-12 10:08 ` Geert Uytterhoeven
2020-02-12 13:38 ` Heiko Stuebner
2020-02-12 17:09 ` Stephen Boyd
2020-02-12 10:08 ` [PATCH 5/7] ARM: shmobile: " Geert Uytterhoeven
` (2 subsequent siblings)
6 siblings, 2 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2020-02-12 10:08 UTC (permalink / raw)
To: Russell King, Matthias Brugger, Lubomir Rintel, Heiko Stuebner,
Magnus Damm, Maxime Ripard, Chen-Yu Tsai, Michal Simek
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
The Rockchip platform code is not a clock provider, and just needs to
call of_clk_init().
Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/mach-rockchip/rockchip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-rockchip/rockchip.c b/arch/arm/mach-rockchip/rockchip.c
index f9797a2b5d0d5558..beea4564eed4037e 100644
--- a/arch/arm/mach-rockchip/rockchip.c
+++ b/arch/arm/mach-rockchip/rockchip.c
@@ -9,9 +9,9 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/io.h>
+#include <linux/of_clk.h>
#include <linux/of_platform.h>
#include <linux/irqchip.h>
-#include <linux/clk-provider.h>
#include <linux/clocksource.h>
#include <linux/mfd/syscon.h>
#include <linux/regmap.h>
--
2.17.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 5/7] ARM: shmobile: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 [PATCH 0/7] ARM: Replace <linux/clk-provider.h> by <linux/of_clk.h> Geert Uytterhoeven
` (3 preceding siblings ...)
2020-02-12 10:08 ` [PATCH 4/7] ARM: rockchip: " Geert Uytterhoeven
@ 2020-02-12 10:08 ` Geert Uytterhoeven
2020-02-12 17:09 ` Stephen Boyd
2020-02-12 10:08 ` [PATCH 6/7] ARM: sunxi: " Geert Uytterhoeven
2020-02-12 10:08 ` [PATCH 7/7] ARM: zynq: " Geert Uytterhoeven
6 siblings, 1 reply; 18+ messages in thread
From: Geert Uytterhoeven @ 2020-02-12 10:08 UTC (permalink / raw)
To: Russell King, Matthias Brugger, Lubomir Rintel, Heiko Stuebner,
Magnus Damm, Maxime Ripard, Chen-Yu Tsai, Michal Simek
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
The R-Car Gen2 platform code is not a clock provider, and just needs to
call of_clk_init().
Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
To be queued in renesas-devel for v5.7.
arch/arm/mach-shmobile/setup-rcar-gen2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-shmobile/setup-rcar-gen2.c b/arch/arm/mach-shmobile/setup-rcar-gen2.c
index 2faedf0af1f96fbc..3f549bcdbdf4b6a1 100644
--- a/arch/arm/mach-shmobile/setup-rcar-gen2.c
+++ b/arch/arm/mach-shmobile/setup-rcar-gen2.c
@@ -7,7 +7,6 @@
* Copyright (C) 2014 Ulrich Hecht
*/
-#include <linux/clk-provider.h>
#include <linux/clocksource.h>
#include <linux/device.h>
#include <linux/dma-contiguous.h>
@@ -15,6 +14,7 @@
#include <linux/kernel.h>
#include <linux/memblock.h>
#include <linux/of.h>
+#include <linux/of_clk.h>
#include <linux/of_fdt.h>
#include <linux/of_platform.h>
#include <linux/psci.h>
--
2.17.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 6/7] ARM: sunxi: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 [PATCH 0/7] ARM: Replace <linux/clk-provider.h> by <linux/of_clk.h> Geert Uytterhoeven
` (4 preceding siblings ...)
2020-02-12 10:08 ` [PATCH 5/7] ARM: shmobile: " Geert Uytterhoeven
@ 2020-02-12 10:08 ` Geert Uytterhoeven
2020-02-12 17:09 ` Stephen Boyd
2020-02-12 10:08 ` [PATCH 7/7] ARM: zynq: " Geert Uytterhoeven
6 siblings, 1 reply; 18+ messages in thread
From: Geert Uytterhoeven @ 2020-02-12 10:08 UTC (permalink / raw)
To: Russell King, Matthias Brugger, Lubomir Rintel, Heiko Stuebner,
Magnus Damm, Maxime Ripard, Chen-Yu Tsai, Michal Simek
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
The Allwinner platform code is not a clock provider, and just needs to
call of_clk_init().
Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/mach-sunxi/sunxi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-sunxi/sunxi.c b/arch/arm/mach-sunxi/sunxi.c
index 933b6930f024f03a..06da2747a90bc21d 100644
--- a/arch/arm/mach-sunxi/sunxi.c
+++ b/arch/arm/mach-sunxi/sunxi.c
@@ -10,9 +10,9 @@
* warranty of any kind, whether express or implied.
*/
-#include <linux/clk-provider.h>
#include <linux/clocksource.h>
#include <linux/init.h>
+#include <linux/of_clk.h>
#include <linux/platform_device.h>
#include <linux/reset/sunxi.h>
--
2.17.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* [PATCH 7/7] ARM: zynq: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 [PATCH 0/7] ARM: Replace <linux/clk-provider.h> by <linux/of_clk.h> Geert Uytterhoeven
` (5 preceding siblings ...)
2020-02-12 10:08 ` [PATCH 6/7] ARM: sunxi: " Geert Uytterhoeven
@ 2020-02-12 10:08 ` Geert Uytterhoeven
2020-02-12 11:14 ` Michal Simek
2020-02-12 17:10 ` Stephen Boyd
6 siblings, 2 replies; 18+ messages in thread
From: Geert Uytterhoeven @ 2020-02-12 10:08 UTC (permalink / raw)
To: Russell King, Matthias Brugger, Lubomir Rintel, Heiko Stuebner,
Magnus Damm, Maxime Ripard, Chen-Yu Tsai, Michal Simek
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
The Zynq platform code is not a clock provider, and just needs to call
of_clk_init().
Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm/mach-zynq/common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c
index 3a4248fd796281c3..a9dd2f71cd19d2a9 100644
--- a/arch/arm/mach-zynq/common.c
+++ b/arch/arm/mach-zynq/common.c
@@ -12,10 +12,10 @@
#include <linux/cpumask.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
-#include <linux/clk-provider.h>
#include <linux/clk/zynq.h>
#include <linux/clocksource.h>
#include <linux/of_address.h>
+#include <linux/of_clk.h>
#include <linux/of_irq.h>
#include <linux/of_platform.h>
#include <linux/of.h>
--
2.17.1
^ permalink raw reply related [flat|nested] 18+ messages in thread
* Re: [PATCH 7/7] ARM: zynq: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 ` [PATCH 7/7] ARM: zynq: " Geert Uytterhoeven
@ 2020-02-12 11:14 ` Michal Simek
2020-02-12 17:10 ` Stephen Boyd
1 sibling, 0 replies; 18+ messages in thread
From: Michal Simek @ 2020-02-12 11:14 UTC (permalink / raw)
To: Geert Uytterhoeven, Russell King, Matthias Brugger,
Lubomir Rintel, Heiko Stuebner, Magnus Damm, Maxime Ripard,
Chen-Yu Tsai, Michal Simek
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel
On 12. 02. 20 11:08, Geert Uytterhoeven wrote:
> The Zynq platform code is not a clock provider, and just needs to call
> of_clk_init().
>
> Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> arch/arm/mach-zynq/common.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c
> index 3a4248fd796281c3..a9dd2f71cd19d2a9 100644
> --- a/arch/arm/mach-zynq/common.c
> +++ b/arch/arm/mach-zynq/common.c
> @@ -12,10 +12,10 @@
> #include <linux/cpumask.h>
> #include <linux/platform_device.h>
> #include <linux/clk.h>
> -#include <linux/clk-provider.h>
> #include <linux/clk/zynq.h>
> #include <linux/clocksource.h>
> #include <linux/of_address.h>
> +#include <linux/of_clk.h>
> #include <linux/of_irq.h>
> #include <linux/of_platform.h>
> #include <linux/of.h>
>
Looks good. Applied to zynq/soc.
Thanks,
Michal
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 4/7] ARM: rockchip: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 ` [PATCH 4/7] ARM: rockchip: " Geert Uytterhoeven
@ 2020-02-12 13:38 ` Heiko Stuebner
2020-02-12 17:09 ` Stephen Boyd
1 sibling, 0 replies; 18+ messages in thread
From: Heiko Stuebner @ 2020-02-12 13:38 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Russell King, Matthias Brugger, Lubomir Rintel, Magnus Damm,
Maxime Ripard, Chen-Yu Tsai, Michal Simek, linux-arm-kernel,
linux-mediatek, linux-rockchip, linux-renesas-soc, linux-clk,
linux-kernel
Am Mittwoch, 12. Februar 2020, 11:08:27 CET schrieb Geert Uytterhoeven:
> The Rockchip platform code is not a clock provider, and just needs to
> call of_clk_init().
>
> Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
applied for 5.7
Thanks
Heiko
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 1/7] ARM/time: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 ` [PATCH 1/7] ARM/time: " Geert Uytterhoeven
@ 2020-02-12 17:08 ` Stephen Boyd
0 siblings, 0 replies; 18+ messages in thread
From: Stephen Boyd @ 2020-02-12 17:08 UTC (permalink / raw)
To: Chen-Yu Tsai, Geert Uytterhoeven, Heiko Stuebner, Lubomir Rintel,
Magnus Damm, Matthias Brugger, Maxime Ripard, Michal Simek,
Russell King
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
Quoting Geert Uytterhoeven (2020-02-12 02:08:24)
> The ARM time code is not a clock provider, and just needs to call
> of_clk_init().
>
> Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 2/7] ARM: mediatek: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 ` [PATCH 2/7] ARM: mediatek: " Geert Uytterhoeven
@ 2020-02-12 17:08 ` Stephen Boyd
0 siblings, 0 replies; 18+ messages in thread
From: Stephen Boyd @ 2020-02-12 17:08 UTC (permalink / raw)
To: Chen-Yu Tsai, Geert Uytterhoeven, Heiko Stuebner, Lubomir Rintel,
Magnus Damm, Matthias Brugger, Maxime Ripard, Michal Simek,
Russell King
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
Quoting Geert Uytterhoeven (2020-02-12 02:08:25)
> The Mediatek platform code is not a clock provider, and just needs to
> call of_clk_init().
>
> Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 3/7] ARM: mmp: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 ` [PATCH 3/7] ARM: mmp: " Geert Uytterhoeven
@ 2020-02-12 17:09 ` Stephen Boyd
0 siblings, 0 replies; 18+ messages in thread
From: Stephen Boyd @ 2020-02-12 17:09 UTC (permalink / raw)
To: Chen-Yu Tsai, Geert Uytterhoeven, Heiko Stuebner, Lubomir Rintel,
Magnus Damm, Matthias Brugger, Maxime Ripard, Michal Simek,
Russell King
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
Quoting Geert Uytterhoeven (2020-02-12 02:08:26)
> The Marvell MMP platform code is not a clock provider, and just needs to
> call of_clk_init().
>
> Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 4/7] ARM: rockchip: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 ` [PATCH 4/7] ARM: rockchip: " Geert Uytterhoeven
2020-02-12 13:38 ` Heiko Stuebner
@ 2020-02-12 17:09 ` Stephen Boyd
1 sibling, 0 replies; 18+ messages in thread
From: Stephen Boyd @ 2020-02-12 17:09 UTC (permalink / raw)
To: Chen-Yu Tsai, Geert Uytterhoeven, Heiko Stuebner, Lubomir Rintel,
Magnus Damm, Matthias Brugger, Maxime Ripard, Michal Simek,
Russell King
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
Quoting Geert Uytterhoeven (2020-02-12 02:08:27)
> The Rockchip platform code is not a clock provider, and just needs to
> call of_clk_init().
>
> Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 5/7] ARM: shmobile: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 ` [PATCH 5/7] ARM: shmobile: " Geert Uytterhoeven
@ 2020-02-12 17:09 ` Stephen Boyd
0 siblings, 0 replies; 18+ messages in thread
From: Stephen Boyd @ 2020-02-12 17:09 UTC (permalink / raw)
To: Chen-Yu Tsai, Geert Uytterhoeven, Heiko Stuebner, Lubomir Rintel,
Magnus Damm, Matthias Brugger, Maxime Ripard, Michal Simek,
Russell King
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
Quoting Geert Uytterhoeven (2020-02-12 02:08:28)
> The R-Car Gen2 platform code is not a clock provider, and just needs to
> call of_clk_init().
>
> Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 6/7] ARM: sunxi: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 ` [PATCH 6/7] ARM: sunxi: " Geert Uytterhoeven
@ 2020-02-12 17:09 ` Stephen Boyd
2020-02-12 17:15 ` Maxime Ripard
0 siblings, 1 reply; 18+ messages in thread
From: Stephen Boyd @ 2020-02-12 17:09 UTC (permalink / raw)
To: Chen-Yu Tsai, Geert Uytterhoeven, Heiko Stuebner, Lubomir Rintel,
Magnus Damm, Matthias Brugger, Maxime Ripard, Michal Simek,
Russell King
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
Quoting Geert Uytterhoeven (2020-02-12 02:08:29)
> The Allwinner platform code is not a clock provider, and just needs to
> call of_clk_init().
>
> Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 7/7] ARM: zynq: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 10:08 ` [PATCH 7/7] ARM: zynq: " Geert Uytterhoeven
2020-02-12 11:14 ` Michal Simek
@ 2020-02-12 17:10 ` Stephen Boyd
1 sibling, 0 replies; 18+ messages in thread
From: Stephen Boyd @ 2020-02-12 17:10 UTC (permalink / raw)
To: Chen-Yu Tsai, Geert Uytterhoeven, Heiko Stuebner, Lubomir Rintel,
Magnus Damm, Matthias Brugger, Maxime Ripard, Michal Simek,
Russell King
Cc: linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel, Geert Uytterhoeven
Quoting Geert Uytterhoeven (2020-02-12 02:08:30)
> The Zynq platform code is not a clock provider, and just needs to call
> of_clk_init().
>
> Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
^ permalink raw reply [flat|nested] 18+ messages in thread
* Re: [PATCH 6/7] ARM: sunxi: Replace <linux/clk-provider.h> by <linux/of_clk.h>
2020-02-12 17:09 ` Stephen Boyd
@ 2020-02-12 17:15 ` Maxime Ripard
0 siblings, 0 replies; 18+ messages in thread
From: Maxime Ripard @ 2020-02-12 17:15 UTC (permalink / raw)
To: Stephen Boyd
Cc: Chen-Yu Tsai, Geert Uytterhoeven, Heiko Stuebner, Lubomir Rintel,
Magnus Damm, Matthias Brugger, Michal Simek, Russell King,
linux-arm-kernel, linux-mediatek, linux-rockchip,
linux-renesas-soc, linux-clk, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 443 bytes --]
On Wed, Feb 12, 2020 at 09:09:56AM -0800, Stephen Boyd wrote:
> Quoting Geert Uytterhoeven (2020-02-12 02:08:29)
> > The Allwinner platform code is not a clock provider, and just needs to
> > call of_clk_init().
> >
> > Hence it can include <linux/of_clk.h> instead of <linux/clk-provider.h>.
> >
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > ---
>
> Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Applied, thanks!
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2020-02-12 17:16 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12 10:08 [PATCH 0/7] ARM: Replace <linux/clk-provider.h> by <linux/of_clk.h> Geert Uytterhoeven
2020-02-12 10:08 ` [PATCH 1/7] ARM/time: " Geert Uytterhoeven
2020-02-12 17:08 ` Stephen Boyd
2020-02-12 10:08 ` [PATCH 2/7] ARM: mediatek: " Geert Uytterhoeven
2020-02-12 17:08 ` Stephen Boyd
2020-02-12 10:08 ` [PATCH 3/7] ARM: mmp: " Geert Uytterhoeven
2020-02-12 17:09 ` Stephen Boyd
2020-02-12 10:08 ` [PATCH 4/7] ARM: rockchip: " Geert Uytterhoeven
2020-02-12 13:38 ` Heiko Stuebner
2020-02-12 17:09 ` Stephen Boyd
2020-02-12 10:08 ` [PATCH 5/7] ARM: shmobile: " Geert Uytterhoeven
2020-02-12 17:09 ` Stephen Boyd
2020-02-12 10:08 ` [PATCH 6/7] ARM: sunxi: " Geert Uytterhoeven
2020-02-12 17:09 ` Stephen Boyd
2020-02-12 17:15 ` Maxime Ripard
2020-02-12 10:08 ` [PATCH 7/7] ARM: zynq: " Geert Uytterhoeven
2020-02-12 11:14 ` Michal Simek
2020-02-12 17:10 ` Stephen Boyd
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).