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: 9331507 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 DA84160231 for ; Wed, 14 Sep 2016 13:36:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBC0F29CD4 for ; Wed, 14 Sep 2016 13:36:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C02E629E45; Wed, 14 Sep 2016 13:36:17 +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=unavailable 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 9307329CD4 for ; Wed, 14 Sep 2016 13:36:16 +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 1bkAKZ-0006Ms-6o; Wed, 14 Sep 2016 13:34:27 +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 1bkAFu-0001iK-Qg for linux-arm-kernel@lists.infradead.org; Wed, 14 Sep 2016 13:29:42 +0000 Received: by mail-wm0-x230.google.com with SMTP id b187so47351065wme.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=hqMpomxcFbozRHPcCOFFWQfRJwO/du0esuntUP5VkeBMuRVeNdVKTDJYekUArjyePX zJoeCB5XoeWAC7l+XbGo/cnDVGXq0lXAD7/2Cd+JkLwu58gpdecOAUd+bjdzbJy3c2Ph saq5Q4Lm6cdfcR99PmsmRdQtidkgy0GYq7Pc6U5wUZWg8xg9DKIPD9+2mZj6mULeOeDB qpzJpD5Gi+x1d1eHcVfvCmfVy6D9dJwDWC+7qfHuGMjF630FK+azNNsMkIOoAUvWsflO 6oV+9OF/lUEiovkxGXPoHhmgZv0sgRpdapxQRLmZjY/FTnXpevNclhuHIgtIRVguetR9 LHyg== X-Gm-Message-State: AE9vXwOCDZ5OUlPnPmzjPuZBx4ZkuMIK7e79SBaVm5CXciXwfPFTGfRaMPc+vBGcaRkHjM1r 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160914_062939_083005_641007CA X-CRM114-Status: GOOD ( 12.59 ) 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: linux-pm@vger.kernel.org, dbaryshkov@gmail.com, lee.jones@linaro.org, sre@kernel.org, peter.griffin@linaro.org, dwmw2@infradead.org 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 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(-) 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, }, {} };