Message ID | 1524230914-10175-8-git-send-email-geert+renesas@glider.be (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers |
Received: from vger.kernel.org ([209.132.180.67]) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from <linux-media-owner@vger.kernel.org>) id 1f9W8k-0004m0-VR; Fri, 20 Apr 2018 13:31:51 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755144AbeDTNbE (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Fri, 20 Apr 2018 09:31:04 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:38444 "EHLO andre.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755019AbeDTN27 (ORCPT <rfc822;linux-media@vger.kernel.org>); Fri, 20 Apr 2018 09:28:59 -0400 Received: from ayla.of.borg ([84.194.111.163]) by andre.telenet-ops.be with bizsmtp id cdUc1x00G3XaVaC01dUcLh; Fri, 20 Apr 2018 15:28:56 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.86_2) (envelope-from <geert@linux-m68k.org>) id 1f9W5c-0000bE-5X; Fri, 20 Apr 2018 15:28:36 +0200 Received: from geert by ramsan with local (Exim 4.86_2) (envelope-from <geert@linux-m68k.org>) id 1f9W5c-0002fS-2D; Fri, 20 Apr 2018 15:28:36 +0200 From: Geert Uytterhoeven <geert+renesas@glider.be> To: Simon Horman <horms@verge.net.au>, Magnus Damm <magnus.damm@gmail.com>, Russell King <linux@armlinux.org.uk>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, Dan Williams <dan.j.williams@intel.com>, Vinod Koul <vinod.koul@intel.com>, Mauro Carvalho Chehab <mchehab@kernel.org>, Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>, "David S . Miller" <davem@davemloft.net>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>, Arnd Bergmann <arnd@arndb.de>, Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>, Laurent Pinchart <laurent.pinchart@ideasonboard.com> Cc: linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-media@vger.kernel.org, netdev@vger.kernel.org, devel@driverdev.osuosl.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven <geert+renesas@glider.be> Subject: [PATCH/RFC 7/8] ARM: shmobile: Remove the ARCH_SHMOBILE Kconfig symbol Date: Fri, 20 Apr 2018 15:28:33 +0200 Message-Id: <1524230914-10175-8-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524230914-10175-1-git-send-email-geert+renesas@glider.be> References: <1524230914-10175-1-git-send-email-geert+renesas@glider.be> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org |
Commit Message
Geert Uytterhoeven
April 20, 2018, 1:28 p.m. UTC
All drivers for Renesas ARM SoCs have gained proper ARCH_RENESAS
platform dependencies. Hence finish the conversion from ARCH_SHMOBILE
to ARCH_RENESAS for Renesas 32-bit ARM SoCs, as started by commit
9b5ba0df4ea4f940 ("ARM: shmobile: Introduce ARCH_RENESAS").
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
This depends on the previous patches in this series, hence the RFC.
JFTR, after this, the following symbols for drivers supporting only
Renesas SuperH "SH-Mobile" SoCs can no longer be selected:
- CONFIG_KEYBOARD_SH_KEYSC,
- CONFIG_VIDEO_SH_VOU,
- CONFIG_VIDEO_SH_MOBILE_CEU,
- CONFIG_DRM_SHMOBILE[*],
- CONFIG_FB_SH_MOBILE_MERAM.
(changes for a shmobile_defconfig .config)
[*] CONFIG_DRM_SHMOBILE has a dependency on ARM, but it was never wired
up. From the use of sh_mobile_meram, I guess it was meant for
SH-Mobile AP4 on Mackerel or AP4EVB, which are long gone.
So the only remaining upstream platforms that could make use of it
are legacy SuperH SH-Mobile SoCs?
---
arch/arm/mach-shmobile/Kconfig | 4 ----
1 file changed, 4 deletions(-)
Comments
On Fri, Apr 20, 2018 at 03:28:33PM +0200, Geert Uytterhoeven wrote: > All drivers for Renesas ARM SoCs have gained proper ARCH_RENESAS > platform dependencies. Hence finish the conversion from ARCH_SHMOBILE > to ARCH_RENESAS for Renesas 32-bit ARM SoCs, as started by commit > 9b5ba0df4ea4f940 ("ARM: shmobile: Introduce ARCH_RENESAS"). > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > This depends on the previous patches in this series, hence the RFC. > > JFTR, after this, the following symbols for drivers supporting only > Renesas SuperH "SH-Mobile" SoCs can no longer be selected: > - CONFIG_KEYBOARD_SH_KEYSC, > - CONFIG_VIDEO_SH_VOU, > - CONFIG_VIDEO_SH_MOBILE_CEU, > - CONFIG_DRM_SHMOBILE[*], > - CONFIG_FB_SH_MOBILE_MERAM. > (changes for a shmobile_defconfig .config) > > [*] CONFIG_DRM_SHMOBILE has a dependency on ARM, but it was never wired > up. From the use of sh_mobile_meram, I guess it was meant for > SH-Mobile AP4 on Mackerel or AP4EVB, which are long gone. > So the only remaining upstream platforms that could make use of it > are legacy SuperH SH-Mobile SoCs? That sounds about right. If there is interest I can sift through my mail archive and see if it yields any answers.
On Fri, Apr 20, 2018 at 03:28:33PM +0200, Geert Uytterhoeven wrote: > All drivers for Renesas ARM SoCs have gained proper ARCH_RENESAS > platform dependencies. Hence finish the conversion from ARCH_SHMOBILE > to ARCH_RENESAS for Renesas 32-bit ARM SoCs, as started by commit > 9b5ba0df4ea4f940 ("ARM: shmobile: Introduce ARCH_RENESAS"). > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > This depends on the previous patches in this series, hence the RFC. Thanks, I have marked this and the following patch as deferred. Please repost or otherwise ping me once the dependencies are in place.
(Reducing/enhancing CC list) On Fri, Apr 20, 2018 at 3:28 PM, Geert Uytterhoeven <geert+renesas@glider.be> wrote: > All drivers for Renesas ARM SoCs have gained proper ARCH_RENESAS > platform dependencies. Hence finish the conversion from ARCH_SHMOBILE > to ARCH_RENESAS for Renesas 32-bit ARM SoCs, as started by commit > 9b5ba0df4ea4f940 ("ARM: shmobile: Introduce ARCH_RENESAS"). > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> > --- > This depends on the previous patches in this series, hence the RFC. > > JFTR, after this, the following symbols for drivers supporting only > Renesas SuperH "SH-Mobile" SoCs can no longer be selected: > - CONFIG_KEYBOARD_SH_KEYSC, > - CONFIG_VIDEO_SH_VOU, > - CONFIG_VIDEO_SH_MOBILE_CEU, > - CONFIG_DRM_SHMOBILE[*], > - CONFIG_FB_SH_MOBILE_MERAM. > (changes for a shmobile_defconfig .config) Apparently CONFIG_VIDEO_SH_MOBILE_CEU was set in the old armadillo800eva_defconfig, and used by the old board code. While DT bindings do exist [1], some DT support has been added to the driver [2], and this even ended up as the example in [3], this was never enabled in the corresponding board DTS. Nevertheless, I understand that soc_camera-based driver is obsolete, and has been replaced by [4], but bindings for r8a7740 are lacking [5]. [1] Documentation/devicetree/bindings/media/sh_mobile_ceu.txt [2] drivers/media/platform/soc_camera/sh_mobile_ceu_camera.c [3] Documentation/devicetree/bindings/media/video-interfaces.txt [4] drivers/media/platform/renesas-ceu.c [5] Documentation/devicetree/bindings/media/renesas,ceu.txt Gr{oetje,eeting}s, Geert
diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig index 96672da02f5f17b9..d892c5b52b6f5627 100644 --- a/arch/arm/mach-shmobile/Kconfig +++ b/arch/arm/mach-shmobile/Kconfig @@ -1,6 +1,3 @@ -config ARCH_SHMOBILE - bool - config PM_RMOBILE bool select PM @@ -30,7 +27,6 @@ menuconfig ARCH_RENESAS bool "Renesas ARM SoCs" depends on ARCH_MULTI_V7 && MMU select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE - select ARCH_SHMOBILE select ARM_GIC select GPIOLIB select HAVE_ARM_SCU if SMP