All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] SH Drivers Updates for v4.8
@ 2016-07-25  2:29 ` Simon Horman
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2016-07-25  2:29 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-renesas-soc, linux-kernel, Magnus Damm, Yoshinori Sato,
	Rich Felker, linux-sh, Simon Horman

Hi Linus,

Please consider these SH drivers updates for v4.8.

I expect this to be my last pull request for these drivers as
it removes usage of them from Renesas ARM Based SoCs and my
co-maintenance of them.

The drivers are still used by some SH SoCs and listed under SUPERH
in the MAINTAINERS file.


The following changes since commit 1a695a905c18548062509178b98bc91e67510864:

  Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-sh-drivers-for-v4.8

for you to fetch changes up to 3fd0498b842f2932558797ec297dc30f6eb5cec0:

  MAINTAINERS: Drop drivers/sh/ for Renesas ARM (2016-05-30 09:41:39 +0900)

----------------------------------------------------------------
SH Drivers Updates for v4.8

* Drop us of SH Drivers on Renesas ARM Based SoCs

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

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

* [GIT PULL] SH Drivers Updates for v4.8
@ 2016-07-25  2:29 ` Simon Horman
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2016-07-25  2:29 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-renesas-soc, linux-kernel, Magnus Damm, Yoshinori Sato,
	Rich Felker, linux-sh, Simon Horman

Hi Linus,

Please consider these SH drivers updates for v4.8.

I expect this to be my last pull request for these drivers as
it removes usage of them from Renesas ARM Based SoCs and my
co-maintenance of them.

The drivers are still used by some SH SoCs and listed under SUPERH
in the MAINTAINERS file.


The following changes since commit 1a695a905c18548062509178b98bc91e67510864:

  Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-sh-drivers-for-v4.8

for you to fetch changes up to 3fd0498b842f2932558797ec297dc30f6eb5cec0:

  MAINTAINERS: Drop drivers/sh/ for Renesas ARM (2016-05-30 09:41:39 +0900)

----------------------------------------------------------------
SH Drivers Updates for v4.8

* Drop us of SH Drivers on Renesas ARM Based SoCs

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

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

* [PATCH 1/2] drivers: sh: Stop using the legacy clock domain on ARM
  2016-07-25  2:29 ` Simon Horman
@ 2016-07-25  2:29   ` Simon Horman
  -1 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2016-07-25  2:29 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-renesas-soc, linux-kernel, Magnus Damm, Yoshinori Sato,
	Rich Felker, linux-sh, Geert Uytterhoeven, Simon Horman

From: Geert Uytterhoeven <geert+renesas@glider.be>

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>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 drivers/Makefile        | 1 -
 drivers/sh/pm_runtime.c | 9 ---------
 2 files changed, 10 deletions(-)

diff --git a/drivers/Makefile b/drivers/Makefile
index 0b6f3d60193d..a7187b999c5e 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -128,7 +128,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 a9bac3bf20de..c887ecdaf19b 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;
 }
-- 
2.7.0.rc3.207.g0ac5344


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

* [PATCH 1/2] drivers: sh: Stop using the legacy clock domain on ARM
@ 2016-07-25  2:29   ` Simon Horman
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2016-07-25  2:29 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-renesas-soc, linux-kernel, Magnus Damm, Yoshinori Sato,
	Rich Felker, linux-sh, Geert Uytterhoeven, Simon Horman

From: Geert Uytterhoeven <geert+renesas@glider.be>

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>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 drivers/Makefile        | 1 -
 drivers/sh/pm_runtime.c | 9 ---------
 2 files changed, 10 deletions(-)

diff --git a/drivers/Makefile b/drivers/Makefile
index 0b6f3d60193d..a7187b999c5e 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -128,7 +128,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 a9bac3bf20de..c887ecdaf19b 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;
 }
-- 
2.7.0.rc3.207.g0ac5344

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

* [PATCH 2/2] MAINTAINERS: Drop drivers/sh/ for Renesas ARM
  2016-07-25  2:29 ` Simon Horman
@ 2016-07-25  2:29   ` Simon Horman
  -1 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2016-07-25  2:29 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-renesas-soc, linux-kernel, Magnus Damm, Yoshinori Sato,
	Rich Felker, linux-sh, Geert Uytterhoeven

From: Geert Uytterhoeven <geert+renesas@glider.be>

None of the code under drivers/sh/ is used anymore on Renesas ARM.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 7304d2e37a98..e6bf58769b49 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1664,7 +1664,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/
 
-- 
2.7.0.rc3.207.g0ac5344


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

* [PATCH 2/2] MAINTAINERS: Drop drivers/sh/ for Renesas ARM
@ 2016-07-25  2:29   ` Simon Horman
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2016-07-25  2:29 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-renesas-soc, linux-kernel, Magnus Damm, Yoshinori Sato,
	Rich Felker, linux-sh, Geert Uytterhoeven

From: Geert Uytterhoeven <geert+renesas@glider.be>

None of the code under drivers/sh/ is used anymore on Renesas ARM.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 7304d2e37a98..e6bf58769b49 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1664,7 +1664,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/
 
-- 
2.7.0.rc3.207.g0ac5344

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

end of thread, other threads:[~2016-07-25  2:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-25  2:29 [GIT PULL] SH Drivers Updates for v4.8 Simon Horman
2016-07-25  2:29 ` Simon Horman
2016-07-25  2:29 ` [PATCH 1/2] drivers: sh: Stop using the legacy clock domain on ARM Simon Horman
2016-07-25  2:29   ` Simon Horman
2016-07-25  2:29 ` [PATCH 2/2] MAINTAINERS: Drop drivers/sh/ for Renesas ARM Simon Horman
2016-07-25  2:29   ` 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.