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: 9331497 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F088960231 for ; Wed, 14 Sep 2016 13:34:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1B7B29E55 for ; Wed, 14 Sep 2016 13:34:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D676829E57; Wed, 14 Sep 2016 13:34:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 57D8429E55 for ; Wed, 14 Sep 2016 13:34:11 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bkAIb-0004mP-OQ; Wed, 14 Sep 2016 13:32:25 +0000 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bkAFp-0001gP-Qn for linux-arm-kernel@lists.infradead.org; Wed, 14 Sep 2016 13:29:38 +0000 Received: by mail-wm0-x230.google.com with SMTP id k186so7285757wmd.0 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=XiLXMUVMs52yxay4EGTBFH0RzRFSMQscCmNsFCnYbaWnZ9WK4DvqgYabS7ti9umzkO QdhtimVs49XVdp+1NqxrMj46UX9nBwcYjbL4b+3bpcooz6phb3R36fvO8mitM9vSuskX 7nuAP30I+PcIYr9NGm+h2XRaYNWLRVjLjPAx0vAGoX6LMZH0xNp4phIKvjKjIArbQHD7 xVDR+0ih83EuZw9Z8jXHPs/S8qMhPm8RrAr5XnwzlKZiMftKRSoy1h5hiB5enuDqTCLi c9jEEHRHVlPeCFlO4McER+xr5I4omkm4DDJAg4d4iJBE1z7f629qmHWlSJjC+aYcMSO/ lB7w== X-Gm-Message-State: AE9vXwOE9sReOO/Y/tzi9aSgpNuGMxAclMjzTgLmuva+LYP2k1TmlvIZAbX6e/MSOJM6/Tzi 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160914_062934_076161_7FC83994 X-CRM114-Status: GOOD ( 12.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.griffin@linaro.org, wim@iguana.be, lee.jones@linaro.org, linux-watchdog@vger.kernel.org, linux@roeck-us.net MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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: Reviewed-by: Guenter Roeck --- drivers/watchdog/st_lpc_wdt.c | 33 --------------------------------- 1 file changed, 33 deletions(-) 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);