* [PATCH v2 0/2] ARM/arm64: renesas: Stop using drivers/sh/
@ 2016-05-20 7:50 ` Geert Uytterhoeven
0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2016-05-20 7:50 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Yoshinori Sato, Rich Felker, linux-renesas-soc, linux-sh,
Geert Uytterhoeven
Hi Simon, Magnus,
Now CONFIG_PM and CONFIG_PM_GENERIC_DOMAINS are enabled unconditionally
for Renesas ARM-based SoCs, the legacy clock domain is no longer used on
these SoCs, and we can return drivers/sh/ to SuperH.
Both patches were extracted from series "[PATCH 0/4] Enable PM and
PM_GENERIC_DOMAINS for SoCs with PM Domains", and updated, hence the
v2.
Note that this does break booting R-Car Gen2 boards using pre-v4.3 DTSes
that don't have power-domains properties, as this relied on the legacy
clock domain.
Thanks!
Geert Uytterhoeven (2):
drivers: sh: Stop using the legacy clock domain on ARM
MAINTAINERS: Drop drivers/sh/ for Renesas ARM
MAINTAINERS | 1 -
drivers/Makefile | 1 -
drivers/sh/pm_runtime.c | 9 ---------
3 files changed, 11 deletions(-)
--
1.9.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] 8+ messages in thread
* [PATCH v2 0/2] ARM/arm64: renesas: Stop using drivers/sh/
@ 2016-05-20 7:50 ` Geert Uytterhoeven
0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2016-05-20 7:50 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Yoshinori Sato, Rich Felker, linux-renesas-soc, linux-sh,
Geert Uytterhoeven
Hi Simon, Magnus,
Now CONFIG_PM and CONFIG_PM_GENERIC_DOMAINS are enabled unconditionally
for Renesas ARM-based SoCs, the legacy clock domain is no longer used on
these SoCs, and we can return drivers/sh/ to SuperH.
Both patches were extracted from series "[PATCH 0/4] Enable PM and
PM_GENERIC_DOMAINS for SoCs with PM Domains", and updated, hence the
v2.
Note that this does break booting R-Car Gen2 boards using pre-v4.3 DTSes
that don't have power-domains properties, as this relied on the legacy
clock domain.
Thanks!
Geert Uytterhoeven (2):
drivers: sh: Stop using the legacy clock domain on ARM
MAINTAINERS: Drop drivers/sh/ for Renesas ARM
MAINTAINERS | 1 -
drivers/Makefile | 1 -
drivers/sh/pm_runtime.c | 9 ---------
3 files changed, 11 deletions(-)
--
1.9.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] 8+ messages in thread
* [PATCH v2 1/2] drivers: sh: Stop using the legacy clock domain on ARM
2016-05-20 7:50 ` Geert Uytterhoeven
@ 2016-05-20 7:50 ` Geert Uytterhoeven
-1 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2016-05-20 7:50 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Yoshinori Sato, Rich Felker, linux-renesas-soc, linux-sh,
Geert Uytterhoeven
Since commits 71d076ceb245f0d9 ("ARM: shmobile: Enable PM and
PM_GENERIC_DOMAINS for SoCs with PM Domains") and 2ee98234b88174f2
("arm64: renesas: Enable PM and PM_GENERIC_DOMAINS for SoCs with PM
Domains"), CONFIG_PM and CONFIG_PM_GENERIC_DOMAINS are enabled
unconditionally for Renesas ARM-based SoCs. Hence the legacy clock
domain is no longer used on these SoCs.
Remove the related support code, and stop entering drivers/sh/ on ARM.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
- Extracted from series "[PATCH 0/4] Enable PM and PM_GENERIC_DOMAINS
for SoCs with PM Domains",
- Rebased,
- Updated patch description with commit IDs.
Notes:
- This does break booting R-Car Gen2 boards using pre-v4.3 DTSes that
don't have power-domains properties,
---
drivers/Makefile | 1 -
drivers/sh/pm_runtime.c | 9 ---------
2 files changed, 10 deletions(-)
diff --git a/drivers/Makefile b/drivers/Makefile
index 8f5d076baeb0e832..6afdb78e21382538 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -127,7 +127,6 @@ obj-$(CONFIG_SGI_SN) += sn/
obj-y += firmware/
obj-$(CONFIG_CRYPTO) += crypto/
obj-$(CONFIG_SUPERH) += sh/
-obj-$(CONFIG_ARCH_SHMOBILE) += sh/
ifndef CONFIG_ARCH_USES_GETTIMEOFFSET
obj-y += clocksource/
endif
diff --git a/drivers/sh/pm_runtime.c b/drivers/sh/pm_runtime.c
index a9bac3bf20de14e5..c887ecdaf19b7c10 100644
--- a/drivers/sh/pm_runtime.c
+++ b/drivers/sh/pm_runtime.c
@@ -34,15 +34,6 @@ static struct pm_clk_notifier_block platform_bus_notifier = {
static int __init sh_pm_runtime_init(void)
{
- if (IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_ARCH_SHMOBILE)) {
- if (!of_find_compatible_node(NULL, NULL,
- "renesas,cpg-mstp-clocks"))
- return 0;
- if (IS_ENABLED(CONFIG_PM_GENERIC_DOMAINS_OF) &&
- of_find_node_with_property(NULL, "#power-domain-cells"))
- return 0;
- }
-
pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier);
return 0;
}
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v2 1/2] drivers: sh: Stop using the legacy clock domain on ARM
@ 2016-05-20 7:50 ` Geert Uytterhoeven
0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2016-05-20 7:50 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Yoshinori Sato, Rich Felker, linux-renesas-soc, linux-sh,
Geert Uytterhoeven
Since commits 71d076ceb245f0d9 ("ARM: shmobile: Enable PM and
PM_GENERIC_DOMAINS for SoCs with PM Domains") and 2ee98234b88174f2
("arm64: renesas: Enable PM and PM_GENERIC_DOMAINS for SoCs with PM
Domains"), CONFIG_PM and CONFIG_PM_GENERIC_DOMAINS are enabled
unconditionally for Renesas ARM-based SoCs. Hence the legacy clock
domain is no longer used on these SoCs.
Remove the related support code, and stop entering drivers/sh/ on ARM.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
- Extracted from series "[PATCH 0/4] Enable PM and PM_GENERIC_DOMAINS
for SoCs with PM Domains",
- Rebased,
- Updated patch description with commit IDs.
Notes:
- This does break booting R-Car Gen2 boards using pre-v4.3 DTSes that
don't have power-domains properties,
---
drivers/Makefile | 1 -
drivers/sh/pm_runtime.c | 9 ---------
2 files changed, 10 deletions(-)
diff --git a/drivers/Makefile b/drivers/Makefile
index 8f5d076baeb0e832..6afdb78e21382538 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -127,7 +127,6 @@ obj-$(CONFIG_SGI_SN) += sn/
obj-y += firmware/
obj-$(CONFIG_CRYPTO) += crypto/
obj-$(CONFIG_SUPERH) += sh/
-obj-$(CONFIG_ARCH_SHMOBILE) += sh/
ifndef CONFIG_ARCH_USES_GETTIMEOFFSET
obj-y += clocksource/
endif
diff --git a/drivers/sh/pm_runtime.c b/drivers/sh/pm_runtime.c
index a9bac3bf20de14e5..c887ecdaf19b7c10 100644
--- a/drivers/sh/pm_runtime.c
+++ b/drivers/sh/pm_runtime.c
@@ -34,15 +34,6 @@ static struct pm_clk_notifier_block platform_bus_notifier = {
static int __init sh_pm_runtime_init(void)
{
- if (IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_ARCH_SHMOBILE)) {
- if (!of_find_compatible_node(NULL, NULL,
- "renesas,cpg-mstp-clocks"))
- return 0;
- if (IS_ENABLED(CONFIG_PM_GENERIC_DOMAINS_OF) &&
- of_find_node_with_property(NULL, "#power-domain-cells"))
- return 0;
- }
-
pm_clk_add_notifier(&platform_bus_type, &platform_bus_notifier);
return 0;
}
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v2 2/2] MAINTAINERS: Drop drivers/sh/ for Renesas ARM
2016-05-20 7:50 ` Geert Uytterhoeven
@ 2016-05-20 7:50 ` Geert Uytterhoeven
-1 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2016-05-20 7:50 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Yoshinori Sato, Rich Felker, linux-renesas-soc, linux-sh,
Geert Uytterhoeven
None of the code under drivers/sh/ is used anymore on Renesas ARM.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
- Extracted from series "[PATCH 0/4] Enable PM and PM_GENERIC_DOMAINS
for SoCs with PM Domains",
- Rebased.
---
MAINTAINERS | 1 -
1 file changed, 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 03d537d375503907..c45737b306c97e9a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1605,7 +1605,6 @@ F: arch/arm/boot/dts/sh*
F: arch/arm/configs/shmobile_defconfig
F: arch/arm/include/debug/renesas-scif.S
F: arch/arm/mach-shmobile/
-F: drivers/sh/
F: drivers/soc/renesas/
F: include/linux/soc/renesas/
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v2 2/2] MAINTAINERS: Drop drivers/sh/ for Renesas ARM
@ 2016-05-20 7:50 ` Geert Uytterhoeven
0 siblings, 0 replies; 8+ messages in thread
From: Geert Uytterhoeven @ 2016-05-20 7:50 UTC (permalink / raw)
To: Simon Horman, Magnus Damm
Cc: Yoshinori Sato, Rich Felker, linux-renesas-soc, linux-sh,
Geert Uytterhoeven
None of the code under drivers/sh/ is used anymore on Renesas ARM.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
v2:
- Extracted from series "[PATCH 0/4] Enable PM and PM_GENERIC_DOMAINS
for SoCs with PM Domains",
- Rebased.
---
MAINTAINERS | 1 -
1 file changed, 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 03d537d375503907..c45737b306c97e9a 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1605,7 +1605,6 @@ F: arch/arm/boot/dts/sh*
F: arch/arm/configs/shmobile_defconfig
F: arch/arm/include/debug/renesas-scif.S
F: arch/arm/mach-shmobile/
-F: drivers/sh/
F: drivers/soc/renesas/
F: include/linux/soc/renesas/
--
1.9.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v2 0/2] ARM/arm64: renesas: Stop using drivers/sh/
2016-05-20 7:50 ` Geert Uytterhoeven
@ 2016-05-23 0:41 ` Simon Horman
-1 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2016-05-23 0:41 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Magnus Damm, Yoshinori Sato, Rich Felker, linux-renesas-soc, linux-sh
On Fri, May 20, 2016 at 09:50:53AM +0200, Geert Uytterhoeven wrote:
> Hi Simon, Magnus,
>
> Now CONFIG_PM and CONFIG_PM_GENERIC_DOMAINS are enabled unconditionally
> for Renesas ARM-based SoCs, the legacy clock domain is no longer used on
> these SoCs, and we can return drivers/sh/ to SuperH.
>
> Both patches were extracted from series "[PATCH 0/4] Enable PM and
> PM_GENERIC_DOMAINS for SoCs with PM Domains", and updated, hence the
> v2.
>
> Note that this does break booting R-Car Gen2 boards using pre-v4.3 DTSes
> that don't have power-domains properties, as this relied on the legacy
> clock domain.
>
> Thanks!
Thanks, I have queued this up for v4.8 which should give it a good
amount of time to sit in next.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 0/2] ARM/arm64: renesas: Stop using drivers/sh/
@ 2016-05-23 0:41 ` Simon Horman
0 siblings, 0 replies; 8+ messages in thread
From: Simon Horman @ 2016-05-23 0:41 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Magnus Damm, Yoshinori Sato, Rich Felker, linux-renesas-soc, linux-sh
On Fri, May 20, 2016 at 09:50:53AM +0200, Geert Uytterhoeven wrote:
> Hi Simon, Magnus,
>
> Now CONFIG_PM and CONFIG_PM_GENERIC_DOMAINS are enabled unconditionally
> for Renesas ARM-based SoCs, the legacy clock domain is no longer used on
> these SoCs, and we can return drivers/sh/ to SuperH.
>
> Both patches were extracted from series "[PATCH 0/4] Enable PM and
> PM_GENERIC_DOMAINS for SoCs with PM Domains", and updated, hence the
> v2.
>
> Note that this does break booting R-Car Gen2 boards using pre-v4.3 DTSes
> that don't have power-domains properties, as this relied on the legacy
> clock domain.
>
> Thanks!
Thanks, I have queued this up for v4.8 which should give it a good
amount of time to sit in next.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-05-23 0:41 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-20 7:50 [PATCH v2 0/2] ARM/arm64: renesas: Stop using drivers/sh/ Geert Uytterhoeven
2016-05-20 7:50 ` Geert Uytterhoeven
2016-05-20 7:50 ` [PATCH v2 1/2] drivers: sh: Stop using the legacy clock domain on ARM Geert Uytterhoeven
2016-05-20 7:50 ` Geert Uytterhoeven
2016-05-20 7:50 ` [PATCH v2 2/2] MAINTAINERS: Drop drivers/sh/ for Renesas ARM Geert Uytterhoeven
2016-05-20 7:50 ` Geert Uytterhoeven
2016-05-23 0:41 ` [PATCH v2 0/2] ARM/arm64: renesas: Stop using drivers/sh/ Simon Horman
2016-05-23 0:41 ` Simon Horman
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.