From patchwork Wed Sep 14 13:27:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 76193 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1876718qgf; Wed, 14 Sep 2016 06:30:37 -0700 (PDT) X-Received: by 10.66.25.111 with SMTP id b15mr4637558pag.88.1473859833574; Wed, 14 Sep 2016 06:30:33 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id yd1si4796809pab.148.2016.09.14.06.30.33; Wed, 14 Sep 2016 06:30:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-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 S1761796AbcINNa2 (ORCPT + 14 others); Wed, 14 Sep 2016 09:30:28 -0400 Received: from mail-wm0-f52.google.com ([74.125.82.52]:36536 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762427AbcINN3W (ORCPT ); Wed, 14 Sep 2016 09:29:22 -0400 Received: by mail-wm0-f52.google.com with SMTP id b187so47351058wme.1 for ; Wed, 14 Sep 2016 06:29:22 -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=120OVgnJhBqYJsgjO65NJ7NwOuGxHo6yK+1ZrI0LrPI=; b=dbgALB5YuXoD2O0gaUwjn/3j1DnC9X2h/c/Kfmz9Hx2mQQaa90AQ+HHn3gliG+otCJ ca0Q0CS49oYmZ2JWLAONmPEBzj4/iJMqukBGGLVyqHE2neEIwQ8bZoL7KBElIxBRyfFh JrJV9/8Ye02i44a3mfMW7TnjXcHmGTGTR/wSA= 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=120OVgnJhBqYJsgjO65NJ7NwOuGxHo6yK+1ZrI0LrPI=; b=dB1bOeICkKO0asV2Xd28xPUIuch14X7slSBJB5HiX2gptPpjwHU/FhvQtEFuXftYq9 QNLB8Fv6oYHmTidLY3OXOmrk/NxKUWHOBfv2bxpL7m5FNI2c8XICorHAFxGbQa7U84oH qPlkiV+/k/VCJwRYJ6CK3fc9moXXNzOer86AyDrJinKzdWsNjzcFJA4N1cQf3qraVrdZ qdLzzGnCcny9v5rbpkha4PyQphAXXjlfDhrGdOznp22/cvPHYkNVXCfgw7uTmF178+v0 kgq3fPYStzjaWy1k2+AprRYf3f7satstcxNsPQC5AickwjMac2qxnw2DM68yEF8AoR3R d0zg== X-Gm-Message-State: AE9vXwPcO1gr6o/H/aF4fEz/hcFMCcfbP+KJBrntIS8rpP/lk1D6zh5NS324ineM1E/86jlM X-Received: by 10.194.66.41 with SMTP id c9mr3173073wjt.30.1473859761360; Wed, 14 Sep 2016 06:29:21 -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.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Sep 2016 06:29:20 -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 16/19] power: reset: st-poweroff: Remove obsolete platforms. Date: Wed, 14 Sep 2016 14:27:54 +0100 Message-Id: <1473859677-9231-17-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-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org This patch removes support for STiH415/6 SoC's from the st-poweroff driver, as support for these platforms is being removed from the kernel. Signed-off-by: Peter Griffin Cc: Cc: Cc: Cc: --- drivers/power/reset/st-poweroff.c | 41 --------------------------------------- 1 file changed, 41 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-pm" 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/power/reset/st-poweroff.c b/drivers/power/reset/st-poweroff.c index a488877..2046b31 100644 --- a/drivers/power/reset/st-poweroff.c +++ b/drivers/power/reset/st-poweroff.c @@ -28,28 +28,6 @@ struct reset_syscfg { unsigned int mask_rst_msk; }; -/* STiH415 */ -#define STIH415_SYSCFG_11 0x2c -#define STIH415_SYSCFG_15 0x3c - -static struct reset_syscfg stih415_reset = { - .offset_rst = STIH415_SYSCFG_11, - .mask_rst = BIT(0), - .offset_rst_msk = STIH415_SYSCFG_15, - .mask_rst_msk = BIT(0) -}; - -/* STiH416 */ -#define STIH416_SYSCFG_500 0x7d0 -#define STIH416_SYSCFG_504 0x7e0 - -static struct reset_syscfg stih416_reset = { - .offset_rst = STIH416_SYSCFG_500, - .mask_rst = BIT(0), - .offset_rst_msk = STIH416_SYSCFG_504, - .mask_rst_msk = BIT(0) -}; - /* STiH407 */ #define STIH407_SYSCFG_4000 0x0 #define STIH407_SYSCFG_4008 0x20 @@ -61,16 +39,6 @@ static struct reset_syscfg stih407_reset = { .mask_rst_msk = BIT(0) }; -/* STiD127 */ -#define STID127_SYSCFG_700 0x0 -#define STID127_SYSCFG_773 0x124 - -static struct reset_syscfg stid127_reset = { - .offset_rst = STID127_SYSCFG_773, - .mask_rst = BIT(0), - .offset_rst_msk = STID127_SYSCFG_700, - .mask_rst_msk = BIT(8) -}; static struct reset_syscfg *st_restart_syscfg; @@ -99,17 +67,8 @@ static struct notifier_block st_restart_nb = { static const struct of_device_id st_reset_of_match[] = { { - .compatible = "st,stih415-restart", - .data = (void *)&stih415_reset, - }, { - .compatible = "st,stih416-restart", - .data = (void *)&stih416_reset, - }, { .compatible = "st,stih407-restart", .data = (void *)&stih407_reset, - }, { - .compatible = "st,stid127-restart", - .data = (void *)&stid127_reset, }, {} };