From: Peter Griffin <peter.griffin@linaro.org>
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,
<dwmw2@infradead.org>, <dbaryshkov@gmail.com>, <sre@kernel.org>,
<linux-pm@vger.kernel.org>
Subject: [PATCH 16/19] power: reset: st-poweroff: Remove obsolete platforms.
Date: Wed, 14 Sep 2016 14:27:54 +0100 [thread overview]
Message-ID: <1473859677-9231-17-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1473859677-9231-1-git-send-email-peter.griffin@linaro.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 <peter.griffin@linaro.org>
Cc: <dwmw2@infradead.org>
Cc: <dbaryshkov@gmail.com>
Cc: <sre@kernel.org>
Cc: <linux-pm@vger.kernel.org>
---
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,
},
{}
};
--
1.9.1
next prev parent reply other threads:[~2016-09-14 13:30 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-14 13:27 [PATCH 00/19] [RESEND] Remove STiH415 and STiH416 SoC platform support Peter Griffin
2016-09-14 13:27 ` [PATCH 01/19] phy: phy-miphy365x: Remove miphy365 driver and dt binding documentation Peter Griffin
2016-09-23 15:06 ` Rob Herring
2016-10-18 7:47 ` Patrice Chotard
2016-10-18 8:45 ` [STLinux Kernel] " Patrice Chotard
2016-10-18 9:18 ` Kishon Vijay Abraham I
2016-09-14 13:27 ` [PATCH 02/19] phy: stih41x-usb: Remove usb phy " Peter Griffin
2016-09-23 15:06 ` Rob Herring
2016-10-18 7:47 ` Patrice Chotard
2016-10-18 8:52 ` [STLinux Kernel] " Patrice Chotard
2016-10-18 9:06 ` Kishon Vijay Abraham I
2016-11-15 13:07 ` Kishon Vijay Abraham I
2016-09-14 13:27 ` [PATCH 03/19] MAINTAINERS: Remove phy-miphy365x.c entry from STi arch Peter Griffin
2016-10-18 7:48 ` Patrice Chotard
2016-09-14 13:27 ` [PATCH 04/19] MAINTAINERS: Remove phy-stih41x-usb.c " Peter Griffin
2016-10-18 7:50 ` Patrice Chotard
2016-09-14 13:27 ` [PATCH 05/19] ARM: multi_v7_defconfig: Remove miphy365 phy Peter Griffin
2016-10-18 7:53 ` Patrice Chotard
2016-10-18 9:22 ` Patrice Chotard
2016-09-14 13:27 ` [PATCH 06/19] ARM: multi_v7_defconfig: Remove stih41x phy Kconfig symbol Peter Griffin
2016-10-18 7:53 ` Patrice Chotard
2016-09-14 13:27 ` [PATCH 07/19] ahci: st: Remove STiH416 dt example Peter Griffin
2016-09-16 15:54 ` Tejun Heo
2016-09-19 7:19 ` Patrice Chotard
2016-09-23 15:07 ` Rob Herring
2016-09-14 13:27 ` [PATCH 08/19] thermal: sti: Remove obsolete platforms from the DT doc Peter Griffin
2016-09-23 15:08 ` Rob Herring
2016-10-18 7:56 ` Patrice Chotard
2016-09-14 13:27 ` [PATCH 09/19] thermal: sti: Remove obsolete STiH416 platform support Peter Griffin
2016-09-14 13:27 ` [PATCH 10/19] watchdog: bindings: Remove obsolete platforms from dt doc Peter Griffin
2016-09-14 22:16 ` Guenter Roeck
2016-09-23 15:08 ` Rob Herring
2016-10-08 14:04 ` Wim Van Sebroeck
2016-09-14 13:27 ` [PATCH 11/19] watchdog: st_wdt: Remove support for obsolete platforms Peter Griffin
2016-09-14 22:16 ` Guenter Roeck
2016-09-14 13:27 ` [PATCH 12/19] reset: sti: Remove obsolete platforms from dt binding doc Peter Griffin
2016-09-23 15:10 ` Rob Herring
2016-10-18 8:02 ` Patrice Chotard
2016-09-14 13:27 ` [PATCH 13/19] pinctrl: st: Remove STiH415/6 SoC pinctrl driver support Peter Griffin
2016-09-15 12:33 ` Linus Walleij
2016-09-14 13:27 ` [PATCH 14/19] pinctrl: st: Remove obsolete platforms from pinctrl-st dt doc Peter Griffin
2016-09-15 12:37 ` Linus Walleij
2016-09-14 13:27 ` [PATCH 15/19] reset: sti: Remove STiH415/6 reset support Peter Griffin
2016-09-27 8:02 ` Philipp Zabel
2016-10-11 7:05 ` Patrice Chotard
2016-10-20 10:36 ` Philipp Zabel
2016-09-14 13:27 ` Peter Griffin [this message]
2016-09-19 19:34 ` [PATCH 16/19] power: reset: st-poweroff: Remove obsolete platforms Sebastian Reichel
2016-09-14 13:27 ` [PATCH 17/19] power: reset: st: Remove obsolete platforms from dt doc Peter Griffin
2016-09-19 19:34 ` Sebastian Reichel
2016-09-14 13:27 ` [PATCH 18/19] stmmac: dwmac-sti: Remove obsolete STi platforms Peter Griffin
2016-09-23 15:11 ` Rob Herring
2016-10-18 8:05 ` Patrice Chotard
2016-10-18 8:59 ` [STLinux Kernel] " Patrice Chotard
2016-09-14 13:27 ` [PATCH 19/19] reset: sti: softreset: Remove obsolete platforms from dt binding doc Peter Griffin
2016-09-23 15:12 ` Rob Herring
2016-09-14 13:38 ` [PATCH 00/19] [RESEND] Remove STiH415 and STiH416 SoC platform support Arnd Bergmann
2016-09-14 14:04 ` Patrice Chotard
2016-09-15 7:01 ` Peter Griffin
2016-09-15 12:00 ` Arnd Bergmann
2016-09-19 8:56 ` Peter Griffin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1473859677-9231-17-git-send-email-peter.griffin@linaro.org \
--to=peter.griffin@linaro.org \
--cc=dbaryshkov@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dwmw2@infradead.org \
--cc=kernel@stlinux.com \
--cc=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=patrice.chotard@st.com \
--cc=sre@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®