From patchwork Mon Jun 30 21:32:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kim Kukjin X-Patchwork-Id: 4449931 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BCCF49F390 for ; Mon, 30 Jun 2014 13:19:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DA4E220225 for ; Mon, 30 Jun 2014 13:19:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EC7512034B for ; Mon, 30 Jun 2014 13:19:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753201AbaF3NTQ (ORCPT ); Mon, 30 Jun 2014 09:19:16 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:60295 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752864AbaF3NTK (ORCPT ); Mon, 30 Jun 2014 09:19:10 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N7Z004A2GZVR860@mailout3.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 30 Jun 2014 22:19:07 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 2C.AD.14704.BC361B35; Mon, 30 Jun 2014 22:19:07 +0900 (KST) X-AuditID: cbfee68f-b7fef6d000003970-ce-53b163cba0d7 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 9C.98.05196.AC361B35; Mon, 30 Jun 2014 22:19:07 +0900 (KST) Received: from kindness.dsn.sec.samsung.com ([12.36.165.106]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N7Z005Y2GZRAH00@mmp1.samsung.com>; Mon, 30 Jun 2014 22:19:06 +0900 (KST) From: Kukjin Kim To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Kukjin Kim , Thierry Reding Subject: [PATCH 11/17] pwm: samsung: remove s5pc100 related pwm codes Date: Tue, 01 Jul 2014 06:32:21 +0900 Message-id: <1404163947-3105-12-git-send-email-kgene.kim@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1404163947-3105-1-git-send-email-kgene.kim@samsung.com> References: <1404163947-3105-1-git-send-email-kgene.kim@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrALMWRmVeSWpSXmKPExsVy+t8zQ93TyRuDDZq2sVj0LrjKZrHp8TVW ixnn9zFZ/Nw1j8WBxWPnrLvsHpuX1Hv0bVnF6PF5k1wASxSXTUpqTmZZapG+XQJXxooLx1kL PohWLGjqZmlgnCrUxcjJISFgInHl2WZGCFtM4sK99WxdjFwcQgLLGCWmPJzMBlO04P9rJojE IkaJeb+esUA4PUwSe5+uZAKpYhPQkDj8/hl7FyMHh4iAt8Tya4ogYWaBYIk1G9pYQGxhAVeJ qW8ngZWzCKhKbP23nB3E5gWKL7k5lxlimYLEsalfWUHGcALFNx0JAAkLCbhITNy7ixVkrYTA dzaJ6z/6mSHmCEh8m3yIBaReQkBWYtMBqDGSEgdX3GCZwCi8gJFhFaNoakFyQXFSepGxXnFi bnFpXrpecn7uJkZI6PbvYLx7wPoQYzLQuInMUqLJ+cDQzyuJNzQ2M7IwNTE1NjK3NCNNWEmc 9/7DpCAhgfTEktTs1NSC1KL4otKc1OJDjEwcnFINjPuSOxsWsTk+/X8x6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GS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, DATE_IN_FUTURE_06_12, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch removes supporting s5pc100 related pwm codes. Signed-off-by: Kukjin Kim Cc: Thierry Reding --- Documentation/devicetree/bindings/pwm/pwm-samsung.txt | 2 -- drivers/clocksource/samsung_pwm_timer.c | 12 ------------ drivers/pwm/pwm-samsung.c | 8 -------- 3 files changed, 22 deletions(-) diff --git a/Documentation/devicetree/bindings/pwm/pwm-samsung.txt b/Documentation/devicetree/bindings/pwm/pwm-samsung.txt index 43925d3..82c7f6b 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-samsung.txt +++ b/Documentation/devicetree/bindings/pwm/pwm-samsung.txt @@ -11,8 +11,6 @@ Required properties: - compatible : should be one of following: samsung,s3c2410-pwm - for 16-bit timers present on S3C24xx SoCs samsung,s3c6400-pwm - for 32-bit timers present on S3C64xx SoCs - samsung,s5pc100-pwm - for 32-bit timers present on S5PC100, S5PV210, - Exynos4210 rev0 SoCs samsung,exynos4210-pwm - for 32-bit timers present on Exynos4210, Exynos4x12, Exynos5250 and Exynos5420 SoCs - reg: base address and size of register area diff --git a/drivers/clocksource/samsung_pwm_timer.c b/drivers/clocksource/samsung_pwm_timer.c index e35a9b7..d846caa 100644 --- a/drivers/clocksource/samsung_pwm_timer.c +++ b/drivers/clocksource/samsung_pwm_timer.c @@ -480,16 +480,4 @@ static void __init s3c64xx_pwm_clocksource_init(struct device_node *np) } CLOCKSOURCE_OF_DECLARE(s3c6400_pwm, "samsung,s3c6400-pwm", s3c64xx_pwm_clocksource_init); -static const struct samsung_pwm_variant s5p_variant = { - .bits = 32, - .div_base = 0, - .has_tint_cstat = true, - .tclk_mask = (1 << 5), -}; - -static void __init s5p_pwm_clocksource_init(struct device_node *np) -{ - samsung_pwm_alloc(np, &s5p_variant); -} -CLOCKSOURCE_OF_DECLARE(s5pc100_pwm, "samsung,s5pc100-pwm", s5p_pwm_clocksource_init); #endif diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm-samsung.c index 68f3471..d40364a 100644 --- a/drivers/pwm/pwm-samsung.c +++ b/drivers/pwm/pwm-samsung.c @@ -411,17 +411,9 @@ static const struct samsung_pwm_variant exynos4210_variant = { .tclk_mask = 0, }; -static const struct samsung_pwm_variant s5pc100_variant = { - .bits = 32, - .div_base = 0, - .has_tint_cstat = true, - .tclk_mask = BIT(5), -}; - static const struct of_device_id samsung_pwm_matches[] = { { .compatible = "samsung,s3c2410-pwm", .data = &s3c24xx_variant }, { .compatible = "samsung,s3c6400-pwm", .data = &s3c64xx_variant }, - { .compatible = "samsung,s5pc100-pwm", .data = &s5pc100_variant }, { .compatible = "samsung,exynos4210-pwm", .data = &exynos4210_variant }, {}, };