linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] renesas: remove support for H3 ES1
@ 2023-03-07 10:56 Wolfram Sang
  2023-03-07 10:56 ` [PATCH 5/5] soc: renesas: remove r8a77950 arch Wolfram Sang
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfram Sang @ 2023-03-07 10:56 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, devicetree, Geert Uytterhoeven, linux-arm-kernel,
	linux-gpio, linux-kernel

Because H3 ES1 becomes an increasing maintenance burden and was only
available to a development group, we decided to remove upstream support
for it. It doesn't even boot since v6.3-rc1. Here are the patches to
remove the architecture and core bits. Other driver changes will be sent
individually. Review tags have been gathered before during an internal
discussion. Only change since the internal version is a plain rebase to
v6.3-rc1. A branch with all removals is here:

git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/h3es1-removal


Wolfram Sang (5):
  pinctrl: renesas: remove R-Car H3 ES1.* handling
  arm64: dts: renesas: remove R-Car H3 ES1.* devicetrees
  dt-bindings: soc: renesas: remove R-Car H3 ES1.*
  soc: renesas: rcar-sysc: remove R-Car H3 ES1.* handling
  soc: renesas: remove r8a77950 arch

 .../bindings/soc/renesas/renesas.yaml         |    8 +-
 arch/arm64/boot/dts/renesas/Makefile          |    4 -
 .../boot/dts/renesas/r8a77950-salvator-x.dts  |   49 -
 .../boot/dts/renesas/r8a77950-ulcb-kf.dts     |   16 -
 arch/arm64/boot/dts/renesas/r8a77950-ulcb.dts |   37 -
 arch/arm64/boot/dts/renesas/r8a77950.dtsi     |  330 -
 arch/arm64/configs/defconfig                  |    1 -
 drivers/pinctrl/renesas/Kconfig               |    5 -
 drivers/pinctrl/renesas/Makefile              |    1 -
 drivers/pinctrl/renesas/core.c                |   41 +-
 drivers/pinctrl/renesas/pfc-r8a77950.c        | 5947 -----------------
 drivers/pinctrl/renesas/sh_pfc.h              |    1 -
 drivers/soc/renesas/Kconfig                   |    7 -
 drivers/soc/renesas/r8a7795-sysc.c            |   10 -
 drivers/soc/renesas/renesas-soc.c             |    2 +-
 include/dt-bindings/power/r8a7795-sysc.h      |    1 -
 16 files changed, 8 insertions(+), 6452 deletions(-)
 delete mode 100644 arch/arm64/boot/dts/renesas/r8a77950-salvator-x.dts
 delete mode 100644 arch/arm64/boot/dts/renesas/r8a77950-ulcb-kf.dts
 delete mode 100644 arch/arm64/boot/dts/renesas/r8a77950-ulcb.dts
 delete mode 100644 arch/arm64/boot/dts/renesas/r8a77950.dtsi
 delete mode 100644 drivers/pinctrl/renesas/pfc-r8a77950.c

-- 
2.35.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [PATCH 5/5] soc: renesas: remove r8a77950 arch
  2023-03-07 10:56 [PATCH 0/5] renesas: remove support for H3 ES1 Wolfram Sang
@ 2023-03-07 10:56 ` Wolfram Sang
  2023-03-08  9:57   ` Geert Uytterhoeven
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfram Sang @ 2023-03-07 10:56 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Laurent Pinchart, Geert Uytterhoeven,
	Catalin Marinas, Will Deacon, Magnus Damm, linux-arm-kernel,
	linux-kernel

R-Car H3 ES1.* was only available to an internal development group and
needed a lot of quirks and workarounds. These become a maintenance
burden now, so our development group decided to remove upstream support
and disable booting for this SoC. Public users only have ES2 onwards.

Remove the architecture which describes H3 ES1.*.

Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 arch/arm64/configs/defconfig      | 1 -
 drivers/soc/renesas/Kconfig       | 7 -------
 drivers/soc/renesas/renesas-soc.c | 2 +-
 3 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 7790ee42c68a..ef88f86fbfda 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1217,7 +1217,6 @@ CONFIG_QCOM_APR=m
 CONFIG_QCOM_ICC_BWMON=m
 CONFIG_ARCH_R8A77995=y
 CONFIG_ARCH_R8A77990=y
-CONFIG_ARCH_R8A77950=y
 CONFIG_ARCH_R8A77951=y
 CONFIG_ARCH_R8A77965=y
 CONFIG_ARCH_R8A77960=y
diff --git a/drivers/soc/renesas/Kconfig b/drivers/soc/renesas/Kconfig
index 4e8b51ba2266..de31589ed054 100644
--- a/drivers/soc/renesas/Kconfig
+++ b/drivers/soc/renesas/Kconfig
@@ -206,13 +206,6 @@ config ARCH_R8A77990
 	  This enables support for the Renesas R-Car E3 SoC.
 	  This includes different gradings like R-Car E3e.
 
-config ARCH_R8A77950
-	bool "ARM64 Platform support for R-Car H3 ES1.x"
-	select ARCH_RCAR_GEN3
-	select SYSC_R8A7795
-	help
-	  This enables support for the Renesas R-Car H3 SoC (revision 1.x).
-
 config ARCH_R8A77951
 	bool "ARM64 Platform support for R-Car H3 ES2.0+"
 	select ARCH_RCAR_GEN3
diff --git a/drivers/soc/renesas/renesas-soc.c b/drivers/soc/renesas/renesas-soc.c
index 468ebce1ea88..66ff1c25f85f 100644
--- a/drivers/soc/renesas/renesas-soc.c
+++ b/drivers/soc/renesas/renesas-soc.c
@@ -330,7 +330,7 @@ static const struct of_device_id renesas_socs[] __initconst = {
 #ifdef CONFIG_ARCH_R8A7794
 	{ .compatible = "renesas,r8a7794",	.data = &soc_rcar_e2 },
 #endif
-#if defined(CONFIG_ARCH_R8A77950) || defined(CONFIG_ARCH_R8A77951)
+#if defined(CONFIG_ARCH_R8A77951)
 	{ .compatible = "renesas,r8a7795",	.data = &soc_rcar_h3 },
 #endif
 #ifdef CONFIG_ARCH_R8A77951
-- 
2.35.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 5/5] soc: renesas: remove r8a77950 arch
  2023-03-07 10:56 ` [PATCH 5/5] soc: renesas: remove r8a77950 arch Wolfram Sang
@ 2023-03-08  9:57   ` Geert Uytterhoeven
  2023-03-08 12:16     ` Wolfram Sang
  0 siblings, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2023-03-08  9:57 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-renesas-soc, Laurent Pinchart, Geert Uytterhoeven,
	Catalin Marinas, Will Deacon, Magnus Damm, linux-arm-kernel,
	linux-kernel

Hi Wolfram,

On Tue, Mar 7, 2023 at 11:57 AM Wolfram Sang
<wsa+renesas@sang-engineering.com> wrote:
> R-Car H3 ES1.* was only available to an internal development group and
> needed a lot of quirks and workarounds. These become a maintenance
> burden now, so our development group decided to remove upstream support
> and disable booting for this SoC. Public users only have ES2 onwards.
>
> Remove the architecture which describes H3 ES1.*.
>
> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Thanks for your patch!

> ---
>  arch/arm64/configs/defconfig      | 1 -
>  drivers/soc/renesas/Kconfig       | 7 -------
>  drivers/soc/renesas/renesas-soc.c | 2 +-

I will split this in two patches (defconfig and drivers/soc)...

> --- a/drivers/soc/renesas/renesas-soc.c
> +++ b/drivers/soc/renesas/renesas-soc.c
> @@ -330,7 +330,7 @@ static const struct of_device_id renesas_socs[] __initconst = {
>  #ifdef CONFIG_ARCH_R8A7794
>         { .compatible = "renesas,r8a7794",      .data = &soc_rcar_e2 },
>  #endif
> -#if defined(CONFIG_ARCH_R8A77950) || defined(CONFIG_ARCH_R8A77951)
> +#if defined(CONFIG_ARCH_R8A77951)
>         { .compatible = "renesas,r8a7795",      .data = &soc_rcar_h3 },

... and merge this with the section below ...

>  #endif
>  #ifdef CONFIG_ARCH_R8A77951

... while queuing in renesas-devel for v6.4.

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [PATCH 5/5] soc: renesas: remove r8a77950 arch
  2023-03-08  9:57   ` Geert Uytterhoeven
@ 2023-03-08 12:16     ` Wolfram Sang
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfram Sang @ 2023-03-08 12:16 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: linux-renesas-soc, Laurent Pinchart, Geert Uytterhoeven,
	Catalin Marinas, Will Deacon, Magnus Damm, linux-arm-kernel,
	linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 114 bytes --]

Hi Geert,

> ... while queuing in renesas-devel for v6.4.

Thank you for the fixups!

Happy hacking,

   Wolfram


[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-03-08 12:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-07 10:56 [PATCH 0/5] renesas: remove support for H3 ES1 Wolfram Sang
2023-03-07 10:56 ` [PATCH 5/5] soc: renesas: remove r8a77950 arch Wolfram Sang
2023-03-08  9:57   ` Geert Uytterhoeven
2023-03-08 12:16     ` Wolfram Sang

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