From patchwork Wed Sep 14 13:27:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 76195 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1877161qgf; Wed, 14 Sep 2016 06:31:28 -0700 (PDT) X-Received: by 10.202.177.2 with SMTP id a2mr2150878oif.47.1473859884972; Wed, 14 Sep 2016 06:31:24 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p20si17848303oic.16.2016.09.14.06.31.24 for ; Wed, 14 Sep 2016 06:31:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-watchdog-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-watchdog-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762157AbcINNbW (ORCPT ); Wed, 14 Sep 2016 09:31:22 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:38337 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761805AbcINN3U (ORCPT ); Wed, 14 Sep 2016 09:29:20 -0400 Received: by mail-wm0-f51.google.com with SMTP id 1so31255590wmz.1 for ; Wed, 14 Sep 2016 06:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7xdAXpcCnpgrow9EZKE/BKbOQfXKYHgVkThvFxAWCwQ=; b=gHM8U1edMfZes9y3CVOD/4km0wCv2kf/NEkvhT8mcStJj6FmoZkE0i7AEYtZqr/Hv/ SOh5Ui0j4Zvsy5KiXK0lVzKxOBywKZ5QzAMFH+Dym682KD0rgqV820/9ZudilWURgnNI 6KxE6m8eer2OUY7o6WIzZXMtwCTC5ESkQHfTs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=7xdAXpcCnpgrow9EZKE/BKbOQfXKYHgVkThvFxAWCwQ=; b=bsCwX99bcP93patq0uU6JKVD1WQgtciq13Xm0oFEH6nnD6UlBHIT2u8xjgK6NP+nhD 9H/3D2bIBbuwANYMVOfiq/mdTbv6GJAtz2kJZunQ4gWZEyID+4oak7BdaVET16qOX5yW vlGZK2zuYvqhE5jBE/QHvsUBoXTvF88JfrurD7zsqUaz+qr2FFx85d7fZOQExXjqbyu8 SOFRbgQTeVgcKUY1QvpHpzNYnWrje0WMs/4TfrunTGvx/pqG1EmU9cASpmbRqjaJvUSJ f7KkuKQmybPGsOaYczlb3ftw0rEMyjshD46JVeQRxu6GJmIcHBRv/nC4CnolBHL/kZ9x 7XHw== X-Gm-Message-State: AE9vXwM2DGUPRVhPPN/5xYqvvwyjYSa7CM4etF7tlK39BIrVXEEjCy6jqZsgNzR9vxq8JNrd X-Received: by 10.28.142.2 with SMTP id q2mr3022983wmd.119.1473859754068; Wed, 14 Sep 2016 06:29:14 -0700 (PDT) Received: from localhost.localdomain (cpc89244-aztw30-2-0-cust4998.18-1.cable.virginm.net. [86.31.179.135]) by smtp.gmail.com with ESMTPSA id c5sm4212812wjw.29.2016.09.14.06.29.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Sep 2016 06:29:13 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, patrice.chotard@st.com, devicetree@vger.kernel.org Cc: peter.griffin@linaro.org, lee.jones@linaro.org, , , Subject: [PATCH 11/19] watchdog: st_wdt: Remove support for obsolete platforms Date: Wed, 14 Sep 2016 14:27:49 +0100 Message-Id: <1473859677-9231-12-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1473859677-9231-1-git-send-email-peter.griffin@linaro.org> References: <1473859677-9231-1-git-send-email-peter.griffin@linaro.org> Sender: linux-watchdog-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.org STiH415/6 SoC support is being removed from the kernel. This patch updates the watchdog driver to remove references to these obsolete platforms. Signed-off-by: Peter Griffin Cc: Cc: Cc: --- drivers/watchdog/st_lpc_wdt.c | 33 --------------------------------- 1 file changed, 33 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" 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/drivers/watchdog/st_lpc_wdt.c b/drivers/watchdog/st_lpc_wdt.c index 14e9bad..e6100e4 100644 --- a/drivers/watchdog/st_lpc_wdt.c +++ b/drivers/watchdog/st_lpc_wdt.c @@ -52,27 +52,6 @@ struct st_wdog { bool warm_reset; }; -static struct st_wdog_syscfg stid127_syscfg = { - .reset_type_reg = 0x004, - .reset_type_mask = BIT(2), - .enable_reg = 0x000, - .enable_mask = BIT(2), -}; - -static struct st_wdog_syscfg stih415_syscfg = { - .reset_type_reg = 0x0B8, - .reset_type_mask = BIT(6), - .enable_reg = 0x0B4, - .enable_mask = BIT(7), -}; - -static struct st_wdog_syscfg stih416_syscfg = { - .reset_type_reg = 0x88C, - .reset_type_mask = BIT(6), - .enable_reg = 0x888, - .enable_mask = BIT(7), -}; - static struct st_wdog_syscfg stih407_syscfg = { .enable_reg = 0x204, .enable_mask = BIT(19), @@ -83,18 +62,6 @@ static const struct of_device_id st_wdog_match[] = { .compatible = "st,stih407-lpc", .data = &stih407_syscfg, }, - { - .compatible = "st,stih416-lpc", - .data = &stih416_syscfg, - }, - { - .compatible = "st,stih415-lpc", - .data = &stih415_syscfg, - }, - { - .compatible = "st,stid127-lpc", - .data = &stid127_syscfg, - }, {}, }; MODULE_DEVICE_TABLE(of, st_wdog_match);