From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D27DAC38A2D for ; Mon, 24 Oct 2022 12:31:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dStU1AxqFskpw9dxiyqhUU70QADYAgpyMrjQL0v8t1E=; b=m2PQlhT4PfdmTc drraAaV4ibbgYR1UN3rTvSCeEUcZLyws3qXSOejDhk5R1KfHoYAAJENnWStjtuNdOEbSgmpc3Z9Ta wpPbv9L4E0gRYFre4khxDDJcMJaINuLYhTy3utW5+OL6CHHn4xD3x/+s32RBMxgCH0QPSGYcQ8Na7 GmuOhR9vrrkzrNfhvZpmB0D+6xi/eZ6sDd2yOjD9y3+7MISzhcnP4Ebz8a18SGb8pEa7/eLD8fFEB GnZ/6kbfe36qT5qvya950gddZVGU9Z+Xb0DAPijyQdgEMWJt6oPto24/yoXpl/ya+v0RjztXVSY/e B0Y1im1xPZ7EdAxMGwOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1omwan-001PnV-UJ; Mon, 24 Oct 2022 12:30:11 +0000 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1omwaf-001PkS-IX for linux-arm-kernel@lists.infradead.org; Mon, 24 Oct 2022 12:30:03 +0000 Received: by mail-qv1-xf2b.google.com with SMTP id t16so6360944qvm.9 for ; Mon, 24 Oct 2022 05:30:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=wiP9jS952IZOWcL/pVtNm5S9NucWCd+fi6C3AHbXT/o=; b=Wmjw+YBbfbQzr4P3mGJzdz86Pr1QTcS8Xx0ZDy3yQG5kMeVAWjvvzMAGPOlpqZA4Hd nX1PTIKK4WGThZMRatkX7W62zknb05+sb435nbmW/m+zJk7RWBfqVK2DF2mzVAljEnvR rJy9vg+9UyyOFUzXo6fx1spl+kxJv9k6cGosUCrIBvZf94YBh1Qu+yGBLHNXvXBJigmN EZ608QbdhjYMG58PwJ4pLxhHEGP3UipSJbVjyf8GXoqop8AQEeoMTBl0p4DJnpL6XScw IrkKjSCjjjuUf+z3yg8/i2NdD6cNllkY9ZilJBO0+7Gm9qc0MgS9D5gEHhiF+y3/QcXm SLdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wiP9jS952IZOWcL/pVtNm5S9NucWCd+fi6C3AHbXT/o=; b=HwK2S0P05+dwW9CY7PMyZ/W524tS5LxzSXnF6s9j1d5ZzGoER2ac/QZH0aQRfu6XiS OCenbMr0SM9vtoDNESJUoD+iIYsHMIIiyr60qAKGboOIJdmXWNMV5/6YvFHFiB851BGn DahbeYgLz/RJk06F2D29AKm7IdXQYIxziOLEZpm+vOsR/DLUMdDBlMc89Fu6ND/OtCDj I4nPU4a1eI9SKrhvbWZs8EZHlVXHO5yWrAVaZVlgoT7oGLaPqVKoKQ8dI9ggtzLm+pZz h/FHttklx0oO8vlEAhh0P+WkzFBQHlVPkCiOHwxC4ERXCCRnTXVD6FSuIUv6XQNpqhm9 lIww== X-Gm-Message-State: ACrzQf2JOM63t2qIUrwJcN0qOY7Q9jxqEO7EIbmjRztuAZLnaNxGH6l2 tFAZQTjwdUTz44zCf8wHrm+Ofw== X-Google-Smtp-Source: AMsMyM4B5Snj6u5GQrG1tZZFXhC/VAAEyUP1giWk5ju319EFibalR6g5PfblDQDPQyIyehJLwnKEYg== X-Received: by 2002:a05:6214:27ea:b0:4bb:6e71:7cc6 with SMTP id jt10-20020a05621427ea00b004bb6e717cc6mr4320206qvb.24.1666614599792; Mon, 24 Oct 2022 05:29:59 -0700 (PDT) Received: from [192.168.1.8] ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id 5-20020a370805000000b006ec09d7d357sm14636384qki.47.2022.10.24.05.29.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Oct 2022 05:29:59 -0700 (PDT) Message-ID: Date: Mon, 24 Oct 2022 08:29:57 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH 05/21] ARM: s3c: simplify platform code Content-Language: en-US To: Arnd Bergmann , linux-arm-kernel@lists.infradead.org, Mauro Carvalho Chehab Cc: linux-kernel@vger.kernel.org, Ben Dooks , Simtec Linux Team , Arnd Bergmann , Alim Akhtar , Mark Brown , Juerg Haefliger , Linus Walleij , Tomasz Figa , Heiko Stuebner , linux-samsung-soc@vger.kernel.org, linux-media@vger.kernel.org References: <20221021202254.4142411-1-arnd@kernel.org> <20221021203329.4143397-5-arnd@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <20221021203329.4143397-5-arnd@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_053001_669489_5FFB7201 X-CRM114-Status: GOOD ( 22.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 21/10/2022 16:27, Arnd Bergmann wrote: > From: Arnd Bergmann > > Following down the now unused symbols and header files, some additional > content can be dropped that is used by neither the s3c64xx DT support > nor the crag6410 board. > > Signed-off-by: Arnd Bergmann > --- > arch/arm/mach-s3c/Kconfig | 50 -- > arch/arm/mach-s3c/Kconfig.s3c64xx | 5 - > arch/arm/mach-s3c/Makefile | 2 - > arch/arm/mach-s3c/Makefile.s3c64xx | 1 - > arch/arm/mach-s3c/adc-core.h | 24 - > arch/arm/mach-s3c/ata-core-s3c64xx.h | 24 - > arch/arm/mach-s3c/backlight-s3c64xx.h | 22 - > arch/arm/mach-s3c/cpu.h | 47 -- > arch/arm/mach-s3c/dev-audio-s3c64xx.c | 127 ---- > arch/arm/mach-s3c/devs.c | 725 ------------------- > arch/arm/mach-s3c/devs.h | 37 - > arch/arm/mach-s3c/dma-s3c64xx.h | 57 -- > arch/arm/mach-s3c/dma.h | 2 - > arch/arm/mach-s3c/gpio-cfg-helpers.h | 124 ---- > arch/arm/mach-s3c/gpio-cfg.h | 19 - > arch/arm/mach-s3c/gpio-core.h | 3 - > arch/arm/mach-s3c/gpio-samsung.c | 443 +---------- > arch/arm/mach-s3c/iic-core.h | 7 - > arch/arm/mach-s3c/init.c | 26 +- > arch/arm/mach-s3c/map-s3c.h | 37 - > arch/arm/mach-s3c/onenand-core-s3c64xx.h | 32 - > arch/arm/mach-s3c/otom.h | 25 - > arch/arm/mach-s3c/pm-core-s3c64xx.h | 17 - > arch/arm/mach-s3c/pm-s3c64xx.c | 83 --- > arch/arm/mach-s3c/pm.c | 7 +- > arch/arm/mach-s3c/pm.h | 12 - > arch/arm/mach-s3c/regs-srom-s3c64xx.h | 55 -- > arch/arm/mach-s3c/s3c6400.c | 6 - > arch/arm/mach-s3c/s3c6410.c | 9 - > arch/arm/mach-s3c/sdhci.h | 25 - > arch/arm/mach-s3c/setup-ide-s3c64xx.c | 40 - > arch/arm/mach-s3c/sleep-s3c64xx.S | 27 - > include/linux/platform_data/media/s5p_hdmi.h | 32 - > 33 files changed, 6 insertions(+), 2146 deletions(-) > delete mode 100644 arch/arm/mach-s3c/adc-core.h > delete mode 100644 arch/arm/mach-s3c/ata-core-s3c64xx.h > delete mode 100644 arch/arm/mach-s3c/backlight-s3c64xx.h > delete mode 100644 arch/arm/mach-s3c/dma-s3c64xx.h > delete mode 100644 arch/arm/mach-s3c/dma.h > delete mode 100644 arch/arm/mach-s3c/onenand-core-s3c64xx.h > delete mode 100644 arch/arm/mach-s3c/otom.h > delete mode 100644 arch/arm/mach-s3c/regs-srom-s3c64xx.h > delete mode 100644 arch/arm/mach-s3c/setup-ide-s3c64xx.c > delete mode 100644 include/linux/platform_data/media/s5p_hdmi.h > > diff --git a/arch/arm/mach-s3c/Kconfig b/arch/arm/mach-s3c/Kconfig > index 0dde4010aa64..b3656109f1f7 100644 > --- a/arch/arm/mach-s3c/Kconfig > +++ b/arch/arm/mach-s3c/Kconfig > @@ -90,36 +90,6 @@ config S3C_DEV_I2C1 > help > Compile in platform device definitions for I2C channel 1 > > -config S3C_DEV_I2C2 > - bool > - help > - Compile in platform device definitions for I2C channel 2 > - > -config S3C_DEV_I2C3 > - bool > - help > - Compile in platform device definition for I2C controller 3 > - > -config S3C_DEV_I2C4 > - bool > - help > - Compile in platform device definition for I2C controller 4 > - > -config S3C_DEV_I2C5 > - bool > - help > - Compile in platform device definition for I2C controller 5 > - > -config S3C_DEV_I2C6 > - bool > - help > - Compile in platform device definition for I2C controller 6 > - > -config S3C_DEV_I2C7 > - bool > - help > - Compile in platform device definition for I2C controller 7 > - > config S3C_DEV_FB > bool > help > @@ -135,26 +105,6 @@ config S3C_DEV_USB_HSOTG > help > Compile in platform device definition for USB high-speed OtG > > -config S3C_DEV_WDT > - bool > - help > - Compile in platform device definition for Watchdog Timer > - > -config S3C_DEV_NAND > - bool > - help > - Compile in platform device definition for NAND controller > - > -config S3C_DEV_ONENAND > - bool > - help > - Compile in platform device definition for OneNAND controller > - > -config S3C_DEV_RTC > - bool > - help > - Compile in platform device definition for RTC > - > config S3C64XX_DEV_SPI0 > bool > help > diff --git a/arch/arm/mach-s3c/Kconfig.s3c64xx b/arch/arm/mach-s3c/Kconfig.s3c64xx > index c403d7642f0a..c52c7ce1d8fa 100644 > --- a/arch/arm/mach-s3c/Kconfig.s3c64xx > +++ b/arch/arm/mach-s3c/Kconfig.s3c64xx > @@ -15,12 +15,9 @@ menuconfig ARCH_S3C64XX > select HAVE_TCM > select PLAT_SAMSUNG > select PM_GENERIC_DOMAINS if PM > - select S3C_DEV_NAND if ATAGS > select S3C_GPIO_TRACK if ATAGS > - select S3C2410_WATCHDOG This does not seem right. S3C2410_WATCHDOG is a driver used by all (including Exynos) platforms. > select SAMSUNG_ATAGS if ATAGS > select SAMSUNG_WAKEMASK if PM > - select WATCHDOG > help > Samsung S3C64XX series based systems > > @@ -121,10 +118,8 @@ config MACH_WLF_CRAGG_6410 > select S3C_DEV_HSMMC1 > select S3C_DEV_HSMMC2 > select S3C_DEV_I2C1 > - select S3C_DEV_RTC This as well. > select S3C_DEV_USB_HOST > select S3C_DEV_USB_HSOTG > - select S3C_DEV_WDT > select SAMSUNG_DEV_KEYPAD > select SAMSUNG_DEV_PWM > help Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel