From patchwork Wed Oct 4 06:38:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 114735 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp5628552edb; Tue, 3 Oct 2017 23:38:40 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCgz5lluN+Ja6/AaUSMvA5h7ybVVwNNPUx7Wafxq4HT49cXQncLoXwBWSzF/IDJDrB8nqKR X-Received: by 10.84.245.137 with SMTP id j9mr12149909pll.423.1507099120712; Tue, 03 Oct 2017 23:38:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507099120; cv=none; d=google.com; s=arc-20160816; b=KKrkPHlmzGumLnRgnZAESA02FYCJHp9N+xUqrxCHyKHe3Ur5Qnzj0uqHjNI2nNvbvo FLa9YRXQje84xfTFbehjIkXD6QCcA06cwSmOo9SCIFqL5FqSRH67hp4epDMXzKEL+J3g 6g4u1hwJtK868PEbxtiQzpJSOMFu6K7cYT+reP+AImOB6HZPY8tjxWVtrwOO/FVZvEPo H/f4nSI3kYVTeCBz28SCXFnWIz5f8pMzubVSRIE4mJBIAq0x1+hHGwoAUtHpNlIjANBd haa6PUQxg2CYObiNfe08e/ebn9yuhRRrPndUcGEfYTdBLKRt04bxd+3SJi42TEZbGCh2 i71A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=FHcIA3MdRmg87yyDmY3C4mB1Wj5ibFCxpT5Rk6Slo6E=; b=KnfoC4Bhfwo/PD+tTwXkUifljlGtZzz+B9rgDz7oibXiVJo5e1ewef61bJnirVS8U3 b7PR5M6db+pW7qW1x+PIRr0O0287LEma0L+RwuinIM4W6TX52dXBLPGi5CkpuygUzScG ByTxp3BTH4JxP+h8gDZ+l7Q+FwNZ4Pr41j1KujEVnRI+77hZ4N+P8ipBxNS4WwuYhp4j VsYmoGexfTZ7eMBHkJzEi0xh879dSNPWvkiuV5IS5jY12lgXdkn8TgEQPzLut4A7lDRV oa3ZKh91UT0LoAmL6j84J0NWsGhjBgJAjhX+L5wfqDVQp5fEmOu2z5bY7QGRKZudSzRX ID6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g18si7549630plj.743.2017.10.03.23.38.40; Tue, 03 Oct 2017 23:38:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751259AbdJDGij (ORCPT + 4 others); Wed, 4 Oct 2017 02:38:39 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:54533 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751203AbdJDGii (ORCPT ); Wed, 4 Oct 2017 02:38:38 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20171004063836euoutp02ce56956137e4cff05ee4903c144bf845~qSqlrc7LS3044430444euoutp02c; Wed, 4 Oct 2017 06:38:36 +0000 (GMT) Received: from eusmges2.samsung.com (unknown [203.254.199.241]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171004063836eucas1p12c09e6bfb72db17971dc3fc881663eb4~qSqk819bO1724617246eucas1p1k; Wed, 4 Oct 2017 06:38:36 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2.samsung.com (EUCPMTA) with SMTP id 6D.D6.12907.BE184D95; Wed, 4 Oct 2017 07:38:35 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171004063835eucas1p2d9c25263cbae0b9d57f1af2dfcfcdcd6~qSqkIaVNB0934209342eucas1p2U; Wed, 4 Oct 2017 06:38:35 +0000 (GMT) X-AuditID: cbfec7f1-f793a6d00000326b-13-59d481ebcabe Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 06.88.20118.BE184D95; Wed, 4 Oct 2017 07:38:35 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OXA00MT7D47C980@eusync4.samsung.com>; Wed, 04 Oct 2017 07:38:35 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 1/7] ARM: EXYNOS: Remove Exynos4212 related dead code Date: Wed, 04 Oct 2017 08:38:22 +0200 Message-id: <20171004063828.22068-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20171004063828.22068-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFIsWRmVeSWpSXmKPExsWy7djP87qvG69EGvRu0bfYOGM9q8X58xvY LWac38dksfbIXXaLw2/aWR1YPTat6mTz6NuyitHj8ya5AOYoLpuU1JzMstQifbsEroyHV16w FvzXqTj5o4elgfGSWhcjJ4eEgInExT+f2SFsMYkL99azgdhCAksZJRbfdu1i5AKyPzNKrHjz nRGm4VBbNzNEYhmjxPTbT9ggnAYmiY4pbcwgVWwChhJdb7vARokIqEp8blvADlLELLCXUeLQ tEawhLCAq8Txff/BbBagov+LnoPZvAK2Ep8/3mWDWCcv8X7BfbDVnAJ2En2tn1lBBkkIfGSV WD9pAwtEkYvEuhunoe4Tlnh1fAvUQzISlyd3Q9X0M0o0tWpD2DMYJc695YWwrSUOH7/ICmIz C/BJTNo2HegDDqA4r0RHmxBEiYfEmvOLoMY7Stw4sooR4uOJjBL//51nmsAovYCRYRWjSGpp cW56arGRXnFibnFpXrpecn7uJkZgDJ7+d/zjDsb3J6wOMQpwMCrx8Db0XY4UYk0sK67MPcQo wcGsJMLbWXMlUog3JbGyKrUoP76oNCe1+BCjNAeLkjivbVRbpJBAemJJanZqakFqEUyWiYNT qoGRUfuNV+cVl3UqF8UsA1XXnD22e/NaTwW/IqNjV6Ucv37NUD7ee6ZX+fD73CshdqrbT0de 4l06/5e5EONLA06rbY51F29YKfzac6PySqjrxJL1hztKXseobbi51OVJ1nQu7YdT0y+1S7cb P5Zdf7O7Kbfxwr/lag1szZuOy3bu4/Wu3iLfMGuZEktxRqKhFnNRcSIAN1xD8L0CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgluLIzCtJLcpLzFFi42I5/e/4Nd3XjVciDXZt5LDYOGM9q8X58xvY LWac38dksfbIXXaLw2/aWR1YPTat6mTz6NuyitHj8ya5AOYoLpuU1JzMstQifbsEroyHV16w FvzXqTj5o4elgfGSWhcjJ4eEgInEobZuZghbTOLCvfVsXYxcHEICSxglTky5ywLhNDFJPNx0 nx2kik3AUKLrbRcbiC0ioCrxuW0BO0gRs8B+RonzW5+BjRIWcJU4vu8/WBELUNH/Rc/BbF4B W4nPH++yQayTl3i/4D4jiM0pYCfR1/qZFcQWAqqZdqKReQIj7wJGhlWMIqmlxbnpucVGesWJ ucWleel6yfm5mxiB4bLt2M8tOxi73gUfYhTgYFTi4dXouRwpxJpYVlyZe4hRgoNZSYS3s+ZK pBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHe3j2rI4UE0hNLUrNTUwtSi2CyTBycUg2Mx+WNEp6y udyTcD2c9KVOuJptHuu6kLRUgfprDJu7VJb4bHMS0OVMDFPJ4DTiU//z2vZJdJ7TY+NNW8ID lX8Kfpc8lW3VcXxWLHdt5fsJzOtWNnIoRTscjojduk33mO2UeTdqjr4M8/l48ZbkZMmvr7++ 7/v1Pk9m19vbiWc4XmXk/GJa/P28EktxRqKhFnNRcSIAuaszFBMCAAA= X-CMS-MailID: 20171004063835eucas1p2d9c25263cbae0b9d57f1af2dfcfcdcd6 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1B?= =?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1BSam?= =?utf-8?q?sung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 201P X-CMS-RootMailID: 20171004063835eucas1p2d9c25263cbae0b9d57f1af2dfcfcdcd6 X-RootMTR: 20171004063835eucas1p2d9c25263cbae0b9d57f1af2dfcfcdcd6 References: <20171004063828.22068-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Support for Exynos4212 SoCs has been removed by commit bca9085e0ae9 ("ARM: dts: exynos: remove Exynos4212 support (dead code)"), so there is no need to keep remaining dead code related to this SoC version. Signed-off-by: Marek Szyprowski --- arch/arm/mach-exynos/Kconfig | 5 ----- arch/arm/mach-exynos/common.h | 11 +---------- arch/arm/mach-exynos/exynos.c | 2 -- arch/arm/mach-exynos/firmware.c | 5 ----- arch/arm/mach-exynos/pm.c | 3 +-- arch/arm/mach-exynos/suspend.c | 4 ---- 6 files changed, 2 insertions(+), 28 deletions(-) -- 2.14.2 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 0a99140b6ba2..44fa753bd79c 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -85,11 +85,6 @@ config CPU_EXYNOS4210 default y depends on ARCH_EXYNOS4 -config SOC_EXYNOS4212 - bool "SAMSUNG EXYNOS4212" - default y - depends on ARCH_EXYNOS4 - config SOC_EXYNOS4412 bool "SAMSUNG EXYNOS4412" default y diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h index 9424a8a9f308..3f715524c9d6 100644 --- a/arch/arm/mach-exynos/common.h +++ b/arch/arm/mach-exynos/common.h @@ -18,7 +18,6 @@ #define EXYNOS3_SOC_MASK 0xFFFFF000 #define EXYNOS4210_CPU_ID 0x43210000 -#define EXYNOS4212_CPU_ID 0x43220000 #define EXYNOS4412_CPU_ID 0xE4412200 #define EXYNOS4_CPU_MASK 0xFFFE0000 @@ -39,7 +38,6 @@ static inline int is_samsung_##name(void) \ IS_SAMSUNG_CPU(exynos3250, EXYNOS3250_SOC_ID, EXYNOS3_SOC_MASK) IS_SAMSUNG_CPU(exynos4210, EXYNOS4210_CPU_ID, EXYNOS4_CPU_MASK) -IS_SAMSUNG_CPU(exynos4212, EXYNOS4212_CPU_ID, EXYNOS4_CPU_MASK) IS_SAMSUNG_CPU(exynos4412, EXYNOS4412_CPU_ID, EXYNOS4_CPU_MASK) IS_SAMSUNG_CPU(exynos5250, EXYNOS5250_SOC_ID, EXYNOS5_SOC_MASK) IS_SAMSUNG_CPU(exynos5410, EXYNOS5410_SOC_ID, EXYNOS5_SOC_MASK) @@ -59,12 +57,6 @@ IS_SAMSUNG_CPU(exynos5800, EXYNOS5800_SOC_ID, EXYNOS5_SOC_MASK) # define soc_is_exynos4210() 0 #endif -#if defined(CONFIG_SOC_EXYNOS4212) -# define soc_is_exynos4212() is_samsung_exynos4212() -#else -# define soc_is_exynos4212() 0 -#endif - #if defined(CONFIG_SOC_EXYNOS4412) # define soc_is_exynos4412() is_samsung_exynos4412() #else @@ -105,8 +97,7 @@ IS_SAMSUNG_CPU(exynos5800, EXYNOS5800_SOC_ID, EXYNOS5_SOC_MASK) # define soc_is_exynos5800() 0 #endif -#define soc_is_exynos4() (soc_is_exynos4210() || soc_is_exynos4212() || \ - soc_is_exynos4412()) +#define soc_is_exynos4() (soc_is_exynos4210() || soc_is_exynos4412()) #define soc_is_exynos5() (soc_is_exynos5250() || soc_is_exynos5410() || \ soc_is_exynos5420() || soc_is_exynos5800()) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index c404c15ad07f..9a9caac1125a 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -195,7 +195,6 @@ static void __init exynos_dt_machine_init(void) exynos_cpuidle.dev.platform_data = &cpuidle_coupled_exynos_data; #endif if (of_machine_is_compatible("samsung,exynos4210") || - of_machine_is_compatible("samsung,exynos4212") || (of_machine_is_compatible("samsung,exynos4412") && of_machine_is_compatible("samsung,trats2")) || of_machine_is_compatible("samsung,exynos3250") || @@ -208,7 +207,6 @@ static char const *const exynos_dt_compat[] __initconst = { "samsung,exynos3250", "samsung,exynos4", "samsung,exynos4210", - "samsung,exynos4212", "samsung,exynos4412", "samsung,exynos5", "samsung,exynos5250", diff --git a/arch/arm/mach-exynos/firmware.c b/arch/arm/mach-exynos/firmware.c index e81a78b125d9..2a51e4603a6f 100644 --- a/arch/arm/mach-exynos/firmware.c +++ b/arch/arm/mach-exynos/firmware.c @@ -70,12 +70,7 @@ static int exynos_cpu_boot(int cpu) /* * The second parameter of SMC_CMD_CPU1BOOT command means CPU id. - * But, Exynos4212 has only one secondary CPU so second parameter - * isn't used for informing secure firmware about CPU id. */ - if (soc_is_exynos4212()) - cpu = 0; - exynos_smc(SMC_CMD_CPU1BOOT, cpu, 0, 0); return 0; } diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index 1a7e5b5d08d8..c9740d96db9e 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -167,8 +167,7 @@ void exynos_enter_aftr(void) exynos_pm_central_suspend(); - if (of_machine_is_compatible("samsung,exynos4212") || - of_machine_is_compatible("samsung,exynos4412")) { + if (of_machine_is_compatible("samsung,exynos4412")) { /* Setting SEQ_OPTION register */ pmu_raw_writel(S5P_USE_STANDBY_WFI0 | S5P_USE_STANDBY_WFE0, S5P_CENTRAL_SEQ_OPTION); diff --git a/arch/arm/mach-exynos/suspend.c b/arch/arm/mach-exynos/suspend.c index b529ba04ed16..370d37ded7e7 100644 --- a/arch/arm/mach-exynos/suspend.c +++ b/arch/arm/mach-exynos/suspend.c @@ -225,7 +225,6 @@ static int __init exynos_pmu_irq_init(struct device_node *node, EXYNOS_PMU_IRQ(exynos3250_pmu_irq, "samsung,exynos3250-pmu"); EXYNOS_PMU_IRQ(exynos4210_pmu_irq, "samsung,exynos4210-pmu"); -EXYNOS_PMU_IRQ(exynos4212_pmu_irq, "samsung,exynos4212-pmu"); EXYNOS_PMU_IRQ(exynos4412_pmu_irq, "samsung,exynos4412-pmu"); EXYNOS_PMU_IRQ(exynos5250_pmu_irq, "samsung,exynos5250-pmu"); EXYNOS_PMU_IRQ(exynos5420_pmu_irq, "samsung,exynos5420-pmu"); @@ -616,9 +615,6 @@ static const struct of_device_id exynos_pmu_of_device_ids[] __initconst = { }, { .compatible = "samsung,exynos4210-pmu", .data = &exynos4_pm_data, - }, { - .compatible = "samsung,exynos4212-pmu", - .data = &exynos4_pm_data, }, { .compatible = "samsung,exynos4412-pmu", .data = &exynos4_pm_data, From patchwork Wed Oct 4 06:38:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 114737 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp5628584edb; Tue, 3 Oct 2017 23:38:43 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC7Mm7CAfP+Kv65tQENYkaJ+yb8X9SIXbDsRPd2y73aXBdCySXGAXj/NQNtk4pRGDcwyIUG X-Received: by 10.101.92.67 with SMTP id v3mr17462558pgr.409.1507099123581; Tue, 03 Oct 2017 23:38:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507099123; cv=none; d=google.com; s=arc-20160816; b=OjcoD0qBk4OZJRTVKi4FCg6ptxSqeQ6/ZCeONATqDvTCk6DxJEa2SLlbOmC90DwcAu UZcNnxIb6JT2mTDkD0CUADZ/iS4gOaoLNMFkiPGgbwBYCdOqA8zdckP461RM7/tY3VPK HbX27fCLui3VZdzpFDyBTN2Rw2Oh/rOXIeBvoazIQKvZXIx8r6U2AQE0mkunNpGbw9Bb tW/kM1MuykD9TzinHL6TxjPw7p246QZhby10CVD02a5qi/pEb7ise6jwRQu7ZRHrwTo8 wIQzGS6eoN85cZH7wISMoxosCkQPLHyenzSNejavNwU//RWbr624abFNoxeWmatLSq9+ DiAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=59mxdD70KO2YpJbVtA5UgzTRCvHlytEK0OofXqXXBJ0=; b=lByOiE2lpDnCZ4zi/oiX3JWWnukpKO34aUVJceabDUCIBmnZ3FmoXd2NsguhdFipKS gkBH6yP/e8C59dE7lq+OUY/OFJNffVXTogG5DSBhR6JAXjL2bU0SP3vZH2oLBSSWQET6 YUduIMN3DSswsvplNyIa/BdXdPA5o1XlvwQCKo3oXlXFfe9DJMo+naNDkF4vxQMBudgW u5ucwkFYcJ3gAjGzXWRykzArbTqTNDjdKtYB9tOaJ/nFUazrKjBrQMRRGH4gN705IbC1 eJRYURhCwA2965Gvw8PmfXGgBub36uduCwWbOs6VqfcSOHQ0Gr+ZCuG6qWp+m7zMaVwV rv2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g18si7549630plj.743.2017.10.03.23.38.43; Tue, 03 Oct 2017 23:38:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751115AbdJDGil (ORCPT + 4 others); Wed, 4 Oct 2017 02:38:41 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:32947 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751209AbdJDGii (ORCPT ); Wed, 4 Oct 2017 02:38:38 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20171004063836euoutp0141717841ef6faaa9720f2b0f67228700~qSqlt7wmA1762917629euoutp01h; Wed, 4 Oct 2017 06:38:36 +0000 (GMT) Received: from eusmges3.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171004063836eucas1p2e67210c47e6fbe25a0524891cd1f76d5~qSqlD80jq2606726067eucas1p28; Wed, 4 Oct 2017 06:38:36 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3.samsung.com (EUCPMTA) with SMTP id 0B.74.12867.BE184D95; Wed, 4 Oct 2017 07:38:35 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171004063835eucas1p28e23131c839ad432d0e5af60fe8ad504~qSqkZn1o-1150011500eucas1p2E; Wed, 4 Oct 2017 06:38:35 +0000 (GMT) X-AuditID: cbfec7f2-f793b6d000003243-01-59d481eb71ab Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 86.88.20118.BE184D95; Wed, 4 Oct 2017 07:38:35 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OXA00MT7D47C980@eusync4.samsung.com>; Wed, 04 Oct 2017 07:38:35 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 2/7] soc: samsung: Remove Exynos4212 related dead code Date: Wed, 04 Oct 2017 08:38:23 +0200 Message-id: <20171004063828.22068-3-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20171004063828.22068-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFIsWRmVeSWpSXmKPExsWy7djPc7qvG69EGux7YmaxccZ6Vovz5zew W8w4v4/JYu2Ru+wWh9+0szqwemxa1cnm0bdlFaPH501yAcxRXDYpqTmZZalF+nYJXBkd73cx FaxTrZi7/ztzA+Mk+S5GTg4JAROJlx+6WSFsMYkL99azdTFycQgJLGWUuLR2DhtIQkjgM6PE 8sneMA0nWueyQBQtAypaeJ8RwmlgkuiY0sYMUsUmYCjR9bYLrFtEQFXic9sCdpAiZoG9jBKH pjWCJYQF3CTWzFrBAmKzABV1HFrDCGLzCthKrHi3iQlinbzE+wX3weKcAnYSfa2fWUEGSQh8 ZJV41XyAGaLIRWLTkinsELawxKvjW6BsGYnLk7tZIOx+RommVm0IewajxLm3vBC2tcTh4xfB AcAswCcxadt0oJkcQHFeiY42IYgSD4n/i75DjXGUOHShERpGExklViy6yTKBUXoBI8MqRpHU 0uLc9NRiY73ixNzi0rx0veT83E2MwBg8/e/4px2MX09YHWIU4GBU4uFt6LscKcSaWFZcmXuI UYKDWUmEt7PmSqQQb0piZVVqUX58UWlOavEhRmkOFiVxXtuotkghgfTEktTs1NSC1CKYLBMH p1QDY+GG33GT9hf/6lWOkzAItm/zWO+9+03CnttCd4V/xYdp5PvXnBY6/NJxsW3ZPefnx+9J 7W3/vl9yFcuEJU8qcg5wLzz6vXHew7s8XrPui2osq/Z9xSO51fzr5X1z9aNXJBx87bNL7zUv 45mlD7ZohOWbCPI0l27+fXLp9WfpfBcKfoV07d57/5QSS3FGoqEWc1FxIgCXjcwtvQIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpgluLIzCtJLcpLzFFi42I5/e/4Nd3XjVciDc62SFlsnLGe1eL8+Q3s FjPO72OyWHvkLrvF4TftrA6sHptWdbJ59G1ZxejxeZNcAHMUl01Kak5mWWqRvl0CV0bH+11M BetUK+bu/87cwDhJvouRk0NCwETiROtcFghbTOLCvfVsXYxcHEICSxglXq69wwzhNDFJPNx0 nx2kik3AUKLrbRcbiC0ioCrxuW0BO0gRs8B+RonzW58xgySEBdwk1sxaATaWBaio49AaRhCb V8BWYsW7TUwQ6+Ql3i+4DxbnFLCT6Gv9zApiCwHVTDvRyDyBkXcBI8MqRpHU0uLc9NxiI73i xNzi0rx0veT83E2MwHDZduznlh2MXe+CDzEKcDAq8fBq9FyOFGJNLCuuzD3EKMHBrCTC21lz JVKINyWxsiq1KD++qDQntfgQozQHi5I4b++e1ZFCAumJJanZqakFqUUwWSYOTqkGxrniNUa8 86TPzbx3aGXve4/c83bcX8xXb7a0CfLseqr3MFdOozqgZqPipbOpjEGsFnsU/67wb7j34tcc q/5faftf5fFdK118ISfjkvLUTx2zfsR71VrL7J249sh9tYd/z2j47Df15WTSLW17dV+PKyMj RP7XqeiMbLMfO+tVZs2fqq6678ajpUosxRmJhlrMRcWJAOOZ7uoTAgAA X-CMS-MailID: 20171004063835eucas1p28e23131c839ad432d0e5af60fe8ad504 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1B?= =?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1BSam?= =?utf-8?q?sung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 201P X-CMS-RootMailID: 20171004063835eucas1p28e23131c839ad432d0e5af60fe8ad504 X-RootMTR: 20171004063835eucas1p28e23131c839ad432d0e5af60fe8ad504 References: <20171004063828.22068-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Support for Exynos4212 SoCs has been removed by commit bca9085e0ae9 ("ARM: dts: exynos: remove Exynos4212 support (dead code)"), so there is no need to keep remaining dead code related to this SoC version. Signed-off-by: Marek Szyprowski --- Documentation/devicetree/bindings/arm/samsung/pmu.txt | 1 - drivers/soc/samsung/exynos-pmu.c | 9 --------- drivers/soc/samsung/exynos-pmu.h | 2 -- drivers/soc/samsung/exynos4-pmu.c | 13 ++----------- 4 files changed, 2 insertions(+), 23 deletions(-) -- 2.14.2 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/arm/samsung/pmu.txt b/Documentation/devicetree/bindings/arm/samsung/pmu.txt index bf5fc59a6938..87ed95512b63 100644 --- a/Documentation/devicetree/bindings/arm/samsung/pmu.txt +++ b/Documentation/devicetree/bindings/arm/samsung/pmu.txt @@ -4,7 +4,6 @@ Properties: - compatible : should contain two values. First value must be one from following list: - "samsung,exynos3250-pmu" - for Exynos3250 SoC, - "samsung,exynos4210-pmu" - for Exynos4210 SoC, - - "samsung,exynos4212-pmu" - for Exynos4212 SoC, - "samsung,exynos4412-pmu" - for Exynos4412 SoC, - "samsung,exynos5250-pmu" - for Exynos5250 SoC, - "samsung,exynos5260-pmu" - for Exynos5260 SoC. diff --git a/drivers/soc/samsung/exynos-pmu.c b/drivers/soc/samsung/exynos-pmu.c index bd4a76f27bc2..938f8ccfcb74 100644 --- a/drivers/soc/samsung/exynos-pmu.c +++ b/drivers/soc/samsung/exynos-pmu.c @@ -60,12 +60,6 @@ void exynos_sys_powerdown_conf(enum sys_powerdown mode) if (pmu_data->powerdown_conf_extra) pmu_data->powerdown_conf_extra(mode); - - if (pmu_data->pmu_config_extra) { - for (i = 0; pmu_data->pmu_config_extra[i].offset != PMU_TABLE_END; i++) - pmu_raw_writel(pmu_data->pmu_config_extra[i].val[mode], - pmu_data->pmu_config_extra[i].offset); - } } /* @@ -88,9 +82,6 @@ static const struct of_device_id exynos_pmu_of_device_ids[] = { }, { .compatible = "samsung,exynos4210-pmu", .data = exynos_pmu_data_arm_ptr(exynos4210_pmu_data), - }, { - .compatible = "samsung,exynos4212-pmu", - .data = exynos_pmu_data_arm_ptr(exynos4212_pmu_data), }, { .compatible = "samsung,exynos4412-pmu", .data = exynos_pmu_data_arm_ptr(exynos4412_pmu_data), diff --git a/drivers/soc/samsung/exynos-pmu.h b/drivers/soc/samsung/exynos-pmu.h index 40d4229abfb5..86b3f2f8966d 100644 --- a/drivers/soc/samsung/exynos-pmu.h +++ b/drivers/soc/samsung/exynos-pmu.h @@ -23,7 +23,6 @@ struct exynos_pmu_conf { struct exynos_pmu_data { const struct exynos_pmu_conf *pmu_config; - const struct exynos_pmu_conf *pmu_config_extra; void (*pmu_init)(void); void (*powerdown_conf)(enum sys_powerdown); @@ -36,7 +35,6 @@ extern void __iomem *pmu_base_addr; /* list of all exported SoC specific data */ extern const struct exynos_pmu_data exynos3250_pmu_data; extern const struct exynos_pmu_data exynos4210_pmu_data; -extern const struct exynos_pmu_data exynos4212_pmu_data; extern const struct exynos_pmu_data exynos4412_pmu_data; extern const struct exynos_pmu_data exynos5250_pmu_data; extern const struct exynos_pmu_data exynos5420_pmu_data; diff --git a/drivers/soc/samsung/exynos4-pmu.c b/drivers/soc/samsung/exynos4-pmu.c index bc4fa73bed11..5dbfe4e31f4c 100644 --- a/drivers/soc/samsung/exynos4-pmu.c +++ b/drivers/soc/samsung/exynos4-pmu.c @@ -90,7 +90,7 @@ static const struct exynos_pmu_conf exynos4210_pmu_config[] = { { PMU_TABLE_END,}, }; -static const struct exynos_pmu_conf exynos4x12_pmu_config[] = { +static const struct exynos_pmu_conf exynos4412_pmu_config[] = { { S5P_ARM_CORE0_LOWPWR, { 0x0, 0x0, 0x2 } }, { S5P_DIS_IRQ_CORE0, { 0x0, 0x0, 0x0 } }, { S5P_DIS_IRQ_CENTRAL0, { 0x0, 0x0, 0x0 } }, @@ -195,10 +195,6 @@ static const struct exynos_pmu_conf exynos4x12_pmu_config[] = { { S5P_GPS_ALIVE_LOWPWR, { 0x7, 0x0, 0x0 } }, { S5P_CMU_SYSCLK_ISP_LOWPWR, { 0x1, 0x0, 0x0 } }, { S5P_CMU_SYSCLK_GPS_LOWPWR, { 0x1, 0x0, 0x0 } }, - { PMU_TABLE_END,}, -}; - -static const struct exynos_pmu_conf exynos4412_pmu_config[] = { { S5P_ARM_CORE2_LOWPWR, { 0x0, 0x0, 0x2 } }, { S5P_DIS_IRQ_CORE2, { 0x0, 0x0, 0x0 } }, { S5P_DIS_IRQ_CENTRAL2, { 0x0, 0x0, 0x0 } }, @@ -212,11 +208,6 @@ const struct exynos_pmu_data exynos4210_pmu_data = { .pmu_config = exynos4210_pmu_config, }; -const struct exynos_pmu_data exynos4212_pmu_data = { - .pmu_config = exynos4x12_pmu_config, -}; - const struct exynos_pmu_data exynos4412_pmu_data = { - .pmu_config = exynos4x12_pmu_config, - .pmu_config_extra = exynos4412_pmu_config, + .pmu_config = exynos4412_pmu_config, }; From patchwork Wed Oct 4 06:38:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 114742 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp5628676edb; Tue, 3 Oct 2017 23:38:50 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCW61klzgb4HeRzjiujSzrmPJttEf152guE+P+LwVOdIxAr/brSRHkQCz1c4Clkz65dCJ3S X-Received: by 10.101.74.206 with SMTP id c14mr1122858pgu.190.1507099130757; Tue, 03 Oct 2017 23:38:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507099130; cv=none; d=google.com; s=arc-20160816; b=xjxR3nCnn3xmProiGyoJxy1qmTfcunnOi8hpD0MmpDxS6YPmxMzMqCdfORMLYbpKCl hhZnSDRSHxeSXm1zg/qVI7+BMJMjunoSb5M6r8eWCgoOv7Y5+uV5Hd2VMYm/WSwKcWCj oQ6JSY6TP2PMEVY2huSS4FB8fPdIVjmBCLEYfdgPFDtTnnWjwRgRKM7MQ2lxzk5B2rIW VqjzrEmFGtdCVrBW/8sE0flVcY9wE/AEORxXZHoi/xSYvJX/BZ8urHIP3+RJBOPc7TAy 2wVLgTeRpXEy7ZL7H08ZLDhOk6U3NbWrr6bagU3ngAY4K1Q8UrBT9JgiUzZeuYT69Axj R22A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=M9M7v6g18cjtLUJP2/2eNAu5huQ63SM5Z/PbaIMtwyE=; b=LOnnipr3Ycb9h7mwxbkZlZ51qnYr/J/J/Y5EZMp/sp9MxZCYsSFW+2LeiWIFNrpcvI yAD9mGhTJ5CnFPBpV/8VnrJc3qSngL9BQ655foSfER4r1ldfkMVKgl7x6ZYjz4Pao/JJ LusRnZuaz9B7gpBKVpqYDChRVGFKp9QCZy/xOWOOQWPqJk//u8IfzgmT8Z0FB5wsVLSB 81CbIL0ViN515zA9l7qSNXyzC9t7OrvcmH8bHSfETPqSjWAwKX158vQVUyk0+0lbMdUB +YbatV9hpIUZURx/3TRIbjrnD6Wmr/pjhlp7e81pzeWnxoNXPJXazqdXWQO+a+cW0uqr T7cw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 191si11280894pfv.520.2017.10.03.23.38.50; Tue, 03 Oct 2017 23:38:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751256AbdJDGir (ORCPT + 4 others); Wed, 4 Oct 2017 02:38:47 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:54536 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751253AbdJDGij (ORCPT ); Wed, 4 Oct 2017 02:38:39 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20171004063837euoutp02b9ec385188293e10c29f21d4ee78a07c~qSqmwFjBP3070930709euoutp02u; Wed, 4 Oct 2017 06:38:37 +0000 (GMT) Received: from eusmges5.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171004063837eucas1p1a386f8cb1630a718bd2e94c878d96ac0~qSqmGq06X1724617246eucas1p1o; Wed, 4 Oct 2017 06:38:37 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges5.samsung.com (EUCPMTA) with SMTP id 45.EF.12743.CE184D95; Wed, 4 Oct 2017 07:38:37 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171004063836eucas1p1c45902d81f8520b4bfc6b06ded50cc2b~qSqlIxs6R1946319463eucas1p1R; Wed, 4 Oct 2017 06:38:36 +0000 (GMT) X-AuditID: cbfec7f5-f79d06d0000031c7-8b-59d481ec3385 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id F7.35.18832.CE184D95; Wed, 4 Oct 2017 07:38:36 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OXA00MT7D47C980@eusync4.samsung.com>; Wed, 04 Oct 2017 07:38:36 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-media@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH 4/7] media: exynos4-is: Remove dependency on obsolete SoC support Date: Wed, 04 Oct 2017 08:38:25 +0200 Message-id: <20171004063828.22068-5-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20171004063828.22068-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPIsWRmVeSWpSXmKPExsWy7djPc7pvG69EGnTXW2ycsZ7V4vz5DewW PRu2slrMOL+PyWLtkbvsFofftLM6sHlsWtXJ5tG3ZRWjx+dNcgHMUVw2Kak5mWWpRfp2CVwZ X5ddYy04L1Axd9kD1gbGuXxdjJwcEgImEmvnX2WDsMUkLtxbD2RzcQgJLGWUuHnoOiuE85lR 4s3bCywwHc8WTGGESCxjlNi/5SELhNPAJLFs73tGkCo2AUOJrrddYHNFBJwkFu//BzaKWWAv o8ShaY1gCWGBYInOU1vAxrIIqEoc6ZgD1swrYCtx4+IaqKPkJd4vuA8W5xSwk+hr/Qw2SELg J6tEU2cXI0SRi8Tezu/sELawxKvjW6BsGYnOjoNMEHY/o0RTqzaEPYNR4txbXgjbWuLw8Yus IDazAJ/EpG3TmbsYOYDivBIdbUIQJR4Sl9b2Qa1ylJi7fRE0XCYyShy4dYtlAqP0AkaGVYwi qaXFuempxaZ6xYm5xaV56XrJ+bmbGIHRePrf8a87GJceszrEKMDBqMTD29B3OVKINbGsuDL3 EKMEB7OSCG9nzZVIId6UxMqq1KL8+KLSnNTiQ4zSHCxK4ry2UW2RQgLpiSWp2ampBalFMFkm Dk6pBsa+vzaql/JF3TbmJPh1JLu/WcpcmLxp1cfXCdPCXucfzxBzjTp/2Prbe9sQk+CVTHIf ZPrK7xzYzLPjjs6LxX/bnv+r+ir1sD92zgbR3W6C/+/uFWV9JnX52lUThWhBrn5pBuUtIv/c F89UXHU102t+g/9+NzaLqV+nTFz9K3ztr8v7wnMvWjopsRRnJBpqMRcVJwIA7tC838ICAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplluLIzCtJLcpLzFFi42I5/e/4Nd03jVciDb6u4bXYOGM9q8X58xvY LXo2bGW1mHF+H5PF2iN32S0Ov2lndWDz2LSqk82jb8sqRo/Pm+QCmKO4bFJSczLLUov07RK4 Mr4uu8ZacF6gYu6yB6wNjHP5uhg5OSQETCSeLZjCCGGLSVy4t56ti5GLQ0hgCaPE1sZVrBBO E5PEu0VnwKrYBAwlut52sYHYIgJOEov3/wMrYhbYzyhxfuszZpCEsECwROepLSwgNouAqsSR jjlgzbwCthI3Lq5hg1gnL/F+wX2wOKeAnURf62dWEFsIqGbaiUbmCYy8CxgZVjGKpJYW56bn FhvqFSfmFpfmpesl5+duYgQGzrZjPzfvYLy0MfgQowAHoxIPb0Pf5Ugh1sSy4srcQ4wSHMxK IrydNVcihXhTEiurUovy44tKc1KLDzFKc7AoifP27lkdKSSQnliSmp2aWpBaBJNl4uCUamBU nhHveTG0+uMZFWXJ/5I5xTzLWBq7p8rr/Fj6oFpk1j390NQvZfVP/HfdkGHZdXVGPqur19df S0u73KZYzIuW4Ny8X/dFlu03x7e6t2e80qj6N2vHdO7+6XdjQp+t3dW5rWHnwqvfP0xKlrv3 coW0dGdd0JuS2eVxS7ZMYM2JcVl6803/VRsxJZbijERDLeai4kQAnC/GZBgCAAA= X-CMS-MailID: 20171004063836eucas1p1c45902d81f8520b4bfc6b06ded50cc2b X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1B?= =?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1BSam?= =?utf-8?q?sung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 201P X-CMS-RootMailID: 20171004063836eucas1p1c45902d81f8520b4bfc6b06ded50cc2b X-RootMTR: 20171004063836eucas1p1c45902d81f8520b4bfc6b06ded50cc2b References: <20171004063828.22068-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Support for Exynos4212 SoCs has been removed by commit bca9085e0ae9 ("ARM: dts: exynos: remove Exynos4212 support (dead code)"), so there is no need to keep remaining dead code related to this SoC version. Signed-off-by: Marek Szyprowski --- drivers/media/platform/exynos4-is/Kconfig | 2 +- drivers/media/platform/exynos4-is/fimc-core.c | 2 +- drivers/media/platform/exynos4-is/fimc-lite.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 2.14.2 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Krzysztof Kozlowski Acked-by: Sylwester Nawrocki diff --git a/drivers/media/platform/exynos4-is/Kconfig b/drivers/media/platform/exynos4-is/Kconfig index 46a7d242a1a5..7b2c49e5a592 100644 --- a/drivers/media/platform/exynos4-is/Kconfig +++ b/drivers/media/platform/exynos4-is/Kconfig @@ -41,7 +41,7 @@ config VIDEO_S5P_MIPI_CSIS To compile this driver as a module, choose M here: the module will be called s5p-csis. -if SOC_EXYNOS4212 || SOC_EXYNOS4412 || SOC_EXYNOS5250 +if SOC_EXYNOS4412 || SOC_EXYNOS5250 config VIDEO_EXYNOS_FIMC_LITE tristate "EXYNOS FIMC-LITE camera interface driver" diff --git a/drivers/media/platform/exynos4-is/fimc-core.c b/drivers/media/platform/exynos4-is/fimc-core.c index 099c735a39b7..7ae239f2b0fd 100644 --- a/drivers/media/platform/exynos4-is/fimc-core.c +++ b/drivers/media/platform/exynos4-is/fimc-core.c @@ -1211,7 +1211,7 @@ static const struct fimc_drvdata fimc_drvdata_exynos4210 = { .out_buf_count = 32, }; -/* EXYNOS4212, EXYNOS4412 */ +/* EXYNOS4412 */ static const struct fimc_drvdata fimc_drvdata_exynos4x12 = { .num_entities = 4, .lclk_frequency = 166000000UL, diff --git a/drivers/media/platform/exynos4-is/fimc-lite.c b/drivers/media/platform/exynos4-is/fimc-lite.c index 4a3c9948ca54..3805a6daa3f4 100644 --- a/drivers/media/platform/exynos4-is/fimc-lite.c +++ b/drivers/media/platform/exynos4-is/fimc-lite.c @@ -1646,7 +1646,7 @@ static const struct dev_pm_ops fimc_lite_pm_ops = { NULL) }; -/* EXYNOS4212, EXYNOS4412 */ +/* EXYNOS4412 */ static struct flite_drvdata fimc_lite_drvdata_exynos4 = { .max_width = 8192, .max_height = 8192, From patchwork Wed Oct 4 06:38:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 114741 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp5628671edb; Tue, 3 Oct 2017 23:38:50 -0700 (PDT) X-Google-Smtp-Source: AOwi7QA/8XEyDBxno8LBCsZcGWyHFhw6xPY9IqhvyxMA+vd6sgpZGRviZFqovUa01tdhHOQH0fRY X-Received: by 10.159.253.66 with SMTP id b2mr5913105plx.237.1507099130349; Tue, 03 Oct 2017 23:38:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507099130; cv=none; d=google.com; s=arc-20160816; b=yvZkWj6zuMvmvi5OsNmAlY/8LETBGMTDLggOIggCkApwibdDMh7CYfho54TCprM9hL P+qEnqHjD/zE8gcX994xnUuwWlSyII1EHuev2Dk0NL2N/aKR7hR2zwFV6D1yURrWryXn u9Bwd6u4yfLgYrSQkvbYufFKNeBOcaGZxF3bNUOLJu1YEGhyPQ5pHh63tJWT8403XMO3 MHhHa7t9yan/v99/oYC9ZmXsz59aoO2ZLRVe0YJvJFkkREXjVNe3UtSjBSz0y/3xcWj0 6gBHe58KE6N5Hvo3PeUX13/CVNRrtFY7eHk4IPwMK1bSD4WdbVBar5I0h9w3tSEpLmJe tPMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=pkEdLqIK/CK0CdhlLTWwi410HEgQ5qSD6M77v4cPDt4=; b=S/6jwoucBow5iXogF9XouPO8Q0hdb8KRjYQIOdFpA9jihlalSQEo0NzH2DXs4uNp4v 7Ej/PonSWidcPFd5xiPUzfL9U4qD0esl6yFKHAZ44R7Mk9p/4JID0Tg1Yfp3+t3H0M9P 2Esoai5+Dxy2SdU0TzkkL0At2DJeLK+YxxYLf3i0ZQ5jkMlS8sXo7KlvLzfgGz6Mc7ny nG5bK5GkRao3CMFCXVupFtLRTWOWxzrSZpO6ebeIR/G49ncbd3NxzXnmRAIaXfFO4kwN 2k6bGX1THOqvISDfhITE7O1Ly1NROj1s75er0p7n/B0mP6GdYR8NW535z3VfGr7vdmfd 6sGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 191si11280894pfv.520.2017.10.03.23.38.50; Tue, 03 Oct 2017 23:38:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751345AbdJDGip (ORCPT + 4 others); Wed, 4 Oct 2017 02:38:45 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:54540 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751256AbdJDGij (ORCPT ); Wed, 4 Oct 2017 02:38:39 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20171004063838euoutp026f2985373e8ba6aadbd5d820a6f4e309~qSqm209YS3044430444euoutp02f; Wed, 4 Oct 2017 06:38:38 +0000 (GMT) Received: from eusmges2.samsung.com (unknown [203.254.199.241]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171004063837eucas1p1d750c548ff84b69ee6ab50b3fbc8eaa4~qSqmT5_HG1167411674eucas1p1D; Wed, 4 Oct 2017 06:38:37 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2.samsung.com (EUCPMTA) with SMTP id ED.D6.12907.DE184D95; Wed, 4 Oct 2017 07:38:37 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171004063836eucas1p1ab64c174baf2773eb17d1c94cd05ed8c~qSqlgF_Y61946319463eucas1p1S; Wed, 4 Oct 2017 06:38:36 +0000 (GMT) X-AuditID: cbfec7f1-f793a6d00000326b-17-59d481ede312 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 78.35.18832.CE184D95; Wed, 4 Oct 2017 07:38:36 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OXA00MT7D47C980@eusync4.samsung.com>; Wed, 04 Oct 2017 07:38:36 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org Cc: Marek Szyprowski , Sylwester Nawrocki , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Chanwoo Choi Subject: [PATCH 5/7] clk: samsung: Remove support for Exynos4212 SoCs in Exynos CLKOUT driver Date: Wed, 04 Oct 2017 08:38:26 +0200 Message-id: <20171004063828.22068-6-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20171004063828.22068-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsWy7djP87pvG69EGmxbw22xccZ6VovrX56z Wpw/v4Hd4mPPPVaLGef3MVmsPXKX3eLwm3ZWB3aPTas62Tz6tqxi9Pi8SS6AOYrLJiU1J7Ms tUjfLoErY3/TUraCWRwVt95dY2tgnMvexcjBISFgIvH1RXkXIyeQKSZx4d56ti5GLg4hgaWM Ejc3fGeFcD4zSrT8X8UGUWUisWDeCxaIxDJGiW8rPzBBOA1MEsv2vmcEqWITMJToetsF1iEi 4CCx69hksCJmgaeMEvcWtzCBJIQF4iUmTmthAbFZBFQlVu2cBtbMK2ArsfvUIah18hLvF9wH i3MK2En0tX5mhYg3skm0T/KDsF0k/v1ZyAJhC0u8Or6FHcKWkejsOMgEYfczSjS1akPYMxgl zr3lhbCtJQ4fvwg2k1mAT2LStunMkHDhlehoE4Io8ZB48WMu1FpHicNrXjNDPDwRaEzHd9YJ jNILGBlWMYqklhbnpqcWG+kVJ+YWl+al6yXn525iBEbl6X/HP+5gfH/C6hCjAAejEg9vQ9/l SCHWxLLiytxDjBIczEoivJ01VyKFeFMSK6tSi/Lji0pzUosPMUpzsCiJ89pGtUUKCaQnlqRm p6YWpBbBZJk4OKUaGI0rox79f3ozSP+wx7Ufv06Ifvlku9a5+9938SXqXzkWtwWsPa9/IDvc 7NaFtN9vr600udRUXLXw+EXfzhViz9gTpl94H57gq22w/ilbWo3ljXv2F9R+MAZcsNaTeL6D O2SR2eyf1/iveMTsEdj483ysT/2qE/pn19/YN6tre9bHCNZ5yybIHZ+pxFKckWioxVxUnAgA wi1tuMYCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupiluLIzCtJLcpLzFFi42I5/e/4Nd03jVciDVb3qlpsnLGe1eL6l+es FufPb2C3+Nhzj9Vixvl9TBZrj9xltzj8pp3Vgd1j06pONo++LasYPT5vkgtgjuKySUnNySxL LdK3S+DK2N+0lK1gFkfFrXfX2BoY57J3MXJySAiYSCyY94IFwhaTuHBvPVsXIxeHkMASRokp S74zQzhNTBLvFp1hBKliEzCU6HrbxQZiiwg4SOw6NpkJpIhZ4DmjxPvd/WCjhAXiJZ5/ugtW xCKgKrFq5zSwZl4BW4ndpw6xQayTl3i/4D5YnFPATqKv9TMriC0EVDPtRCPzBEbeBYwMqxhF UkuLc9Nziw31ihNzi0vz0vWS83M3MQJDaNuxn5t3MF7aGHyIUYCDUYmHt6HvcqQQa2JZcWXu IUYJDmYlEd7OmiuRQrwpiZVVqUX58UWlOanFhxilOViUxHl796yOFBJITyxJzU5NLUgtgsky cXBKNTCyMgY8zVxhqpNzeoOcwVURZjnbiPhNlt7zjnwLEdfuznyzzMXESdOT+8dL45f+D4yu OGslWlzLL26f8p/j4ezs/oiilx/fyPh2JV7uO/Kxfnfy9j+RsfNPfWhV0t4lel5WsnvCgZdS VxxY2x7f/Rbcn7nv+9qPwdc/z1r2jsHuXn+Uj8I052olluKMREMt5qLiRAAdh0WZHQIAAA== X-CMS-MailID: 20171004063836eucas1p1ab64c174baf2773eb17d1c94cd05ed8c X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1B?= =?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1BSam?= =?utf-8?q?sung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 201P X-CMS-RootMailID: 20171004063836eucas1p1ab64c174baf2773eb17d1c94cd05ed8c X-RootMTR: 20171004063836eucas1p1ab64c174baf2773eb17d1c94cd05ed8c References: <20171004063828.22068-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Support for Exynos4212 SoCs has been removed by commit bca9085e0ae9 ("ARM: dts: exynos: remove Exynos4212 support (dead code)"), so there is no need to keep remaining dead code related to this SoC version. Signed-off-by: Marek Szyprowski --- drivers/clk/samsung/clk-exynos-clkout.c | 2 -- 1 file changed, 2 deletions(-) -- 2.14.2 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Acked-by: Krzysztof Kozlowski diff --git a/drivers/clk/samsung/clk-exynos-clkout.c b/drivers/clk/samsung/clk-exynos-clkout.c index a21aea062bae..f29fb5824005 100644 --- a/drivers/clk/samsung/clk-exynos-clkout.c +++ b/drivers/clk/samsung/clk-exynos-clkout.c @@ -144,8 +144,6 @@ static void __init exynos4_clkout_init(struct device_node *node) } CLK_OF_DECLARE_DRIVER(exynos4210_clkout, "samsung,exynos4210-pmu", exynos4_clkout_init); -CLK_OF_DECLARE_DRIVER(exynos4212_clkout, "samsung,exynos4212-pmu", - exynos4_clkout_init); CLK_OF_DECLARE_DRIVER(exynos4412_clkout, "samsung,exynos4412-pmu", exynos4_clkout_init); CLK_OF_DECLARE_DRIVER(exynos3250_clkout, "samsung,exynos3250-pmu",