* [PATCH 0/5] power: reset: Add support for ST's boards
@ 2014-07-22 14:52 Lee Jones
2014-07-22 14:52 ` [PATCH 1/5] power: reset: Add restart functionality for STiH41x platforms Lee Jones
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: Lee Jones @ 2014-07-22 14:52 UTC (permalink / raw)
To: linux-arm-kernel
This set provides device reset support for Orly2 and Cannes.
Lee Jones (5):
power: reset: Add restart functionality for STiH41x platforms
power: reset: st: Provide DT bindings for ST's Power Reset driver
ARM: sti: Add Restart support for the STiH417 (Cannes) board
ARM: sti: Add Restart support for the STiH416 (Orly2) board
ARM: multi_v7_defconfig: Enable ST's Power Reset driver
.../devicetree/bindings/power/reset/st-reset.txt | 11 ++
arch/arm/boot/dts/stih407.dtsi | 6 +
arch/arm/boot/dts/stih416.dtsi | 6 +
arch/arm/configs/multi_v7_defconfig | 1 +
drivers/power/reset/Kconfig | 6 +
drivers/power/reset/Makefile | 1 +
drivers/power/reset/st-poweroff.c | 151 +++++++++++++++++++++
7 files changed, 182 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/reset/st-reset.txt
create mode 100644 drivers/power/reset/st-poweroff.c
--
1.8.3.2
^ permalink raw reply [flat|nested] 9+ messages in thread* [PATCH 1/5] power: reset: Add restart functionality for STiH41x platforms 2014-07-22 14:52 [PATCH 0/5] power: reset: Add support for ST's boards Lee Jones @ 2014-07-22 14:52 ` Lee Jones 2014-09-26 9:56 ` Lee Jones 2014-07-22 14:52 ` [PATCH 2/5] power: reset: st: Provide DT bindings for ST's Power Reset driver Lee Jones ` (3 subsequent siblings) 4 siblings, 1 reply; 9+ messages in thread From: Lee Jones @ 2014-07-22 14:52 UTC (permalink / raw) To: linux-arm-kernel This driver adds the restart functionality for STiH415 and STiH416 platforms from STMicroelectronics. This driver registers an arm_pm_restart function to reset the platform. Signed-off-by: Christophe Kerello <christophe.kerello@st.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/power/reset/Kconfig | 6 ++ drivers/power/reset/Makefile | 1 + drivers/power/reset/st-poweroff.c | 151 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 158 insertions(+) create mode 100644 drivers/power/reset/st-poweroff.c diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 003e4d4..445b330 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -58,6 +58,12 @@ config POWER_RESET_SUN6I help Reboot support for the Allwinner A31 SoCs. +config POWER_RESET_ST + bool "ST restart power-off driver" + depends on POWER_RESET && ARCH_STI + help + Power off and reset support for STMicroelectronics boards. + config POWER_RESET_VEXPRESS bool "ARM Versatile Express power-off and reset driver" depends on ARM || ARM64 diff --git a/drivers/power/reset/Makefile b/drivers/power/reset/Makefile index dde2e8b..aaae990 100644 --- a/drivers/power/reset/Makefile +++ b/drivers/power/reset/Makefile @@ -5,6 +5,7 @@ obj-$(CONFIG_POWER_RESET_MSM) += msm-poweroff.o obj-$(CONFIG_POWER_RESET_QNAP) += qnap-poweroff.o obj-$(CONFIG_POWER_RESET_RESTART) += restart-poweroff.o obj-$(CONFIG_POWER_RESET_SUN6I) += sun6i-reboot.o +obj-$(CONFIG_POWER_RESET_ST) += st-poweroff.o obj-$(CONFIG_POWER_RESET_VEXPRESS) += vexpress-poweroff.o obj-$(CONFIG_POWER_RESET_XGENE) += xgene-reboot.o obj-$(CONFIG_POWER_RESET_KEYSTONE) += keystone-reset.o diff --git a/drivers/power/reset/st-poweroff.c b/drivers/power/reset/st-poweroff.c new file mode 100644 index 0000000..a0acf25 --- /dev/null +++ b/drivers/power/reset/st-poweroff.c @@ -0,0 +1,151 @@ +/* + * Copyright (C) 2014 STMicroelectronics + * + * Power off Restart driver, used in STMicroelectronics devices. + * + * Author: Christophe Kerello <christophe.kerello@st.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2, as + * published by the Free Software Foundation. + */ + +#include <linux/module.h> +#include <linux/of.h> +#include <linux/of_platform.h> +#include <linux/platform_device.h> +#include <linux/mfd/syscon.h> +#include <linux/regmap.h> + +#include <asm/system_misc.h> + +struct reset_syscfg { + struct regmap *regmap; + /* syscfg used for reset */ + unsigned int offset_rst; + unsigned int mask_rst; + /* syscfg used for unmask the reset */ + unsigned int offset_rst_msk; + 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 + +static struct reset_syscfg stih407_reset = { + .offset_rst = STIH407_SYSCFG_4000, + .mask_rst = BIT(0), + .offset_rst_msk = STIH407_SYSCFG_4008, + .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; + +static void st_restart(enum reboot_mode reboot_mode, const char *cmd) +{ + /* reset syscfg updated */ + regmap_update_bits(st_restart_syscfg->regmap, + st_restart_syscfg->offset_rst, + st_restart_syscfg->mask_rst, + 0); + + /* unmask the reset */ + regmap_update_bits(st_restart_syscfg->regmap, + st_restart_syscfg->offset_rst_msk, + st_restart_syscfg->mask_rst_msk, + 0); +} + +static 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, + }, + {} +}; + +static int st_reset_probe(struct platform_device *pdev) +{ + struct device_node *np = pdev->dev.of_node; + const struct of_device_id *match; + struct device *dev = &pdev->dev; + + match = of_match_device(st_reset_of_match, dev); + if (!match) + return -ENODEV; + + st_restart_syscfg = (struct reset_syscfg *)match->data; + + st_restart_syscfg->regmap = + syscon_regmap_lookup_by_phandle(np, "st,syscfg"); + if (IS_ERR(st_restart_syscfg->regmap)) { + dev_err(dev, "No syscfg phandle specified\n"); + return PTR_ERR(st_restart_syscfg->regmap); + } + + arm_pm_restart = st_restart; + + return 0; +} + +static struct platform_driver st_reset_driver = { + .probe = st_reset_probe, + .driver = { + .name = "st_reset", + .of_match_table = st_reset_of_match, + }, +}; + +static int __init st_reset_init(void) +{ + return platform_driver_register(&st_reset_driver); +} + +device_initcall(st_reset_init); + +MODULE_AUTHOR("Christophe Kerello <christophe.kerello@st.com>"); +MODULE_DESCRIPTION("STMicroelectronics Power off Restart driver"); +MODULE_LICENSE("GPL v2"); -- 1.8.3.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 1/5] power: reset: Add restart functionality for STiH41x platforms 2014-07-22 14:52 ` [PATCH 1/5] power: reset: Add restart functionality for STiH41x platforms Lee Jones @ 2014-09-26 9:56 ` Lee Jones 2014-09-26 15:56 ` Sebastian Reichel 0 siblings, 1 reply; 9+ messages in thread From: Lee Jones @ 2014-09-26 9:56 UTC (permalink / raw) To: linux-arm-kernel Dmitry, This patch-set has been on the list for some time (2 months) now. How would you like me to proceed? > This driver adds the restart functionality for STiH415 and STiH416 > platforms from STMicroelectronics. This driver registers an > arm_pm_restart function to reset the platform. > > Signed-off-by: Christophe Kerello <christophe.kerello@st.com> > Signed-off-by: Lee Jones <lee.jones@linaro.org> > --- > drivers/power/reset/Kconfig | 6 ++ > drivers/power/reset/Makefile | 1 + > drivers/power/reset/st-poweroff.c | 151 ++++++++++++++++++++++++++++++++++++++ > 3 files changed, 158 insertions(+) > create mode 100644 drivers/power/reset/st-poweroff.c > > diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig > index 003e4d4..445b330 100644 > --- a/drivers/power/reset/Kconfig > +++ b/drivers/power/reset/Kconfig > @@ -58,6 +58,12 @@ config POWER_RESET_SUN6I > help > Reboot support for the Allwinner A31 SoCs. > > +config POWER_RESET_ST > + bool "ST restart power-off driver" > + depends on POWER_RESET && ARCH_STI > + help > + Power off and reset support for STMicroelectronics boards. > + > config POWER_RESET_VEXPRESS > bool "ARM Versatile Express power-off and reset driver" > depends on ARM || ARM64 > diff --git a/drivers/power/reset/Makefile b/drivers/power/reset/Makefile > index dde2e8b..aaae990 100644 > --- a/drivers/power/reset/Makefile > +++ b/drivers/power/reset/Makefile > @@ -5,6 +5,7 @@ obj-$(CONFIG_POWER_RESET_MSM) += msm-poweroff.o > obj-$(CONFIG_POWER_RESET_QNAP) += qnap-poweroff.o > obj-$(CONFIG_POWER_RESET_RESTART) += restart-poweroff.o > obj-$(CONFIG_POWER_RESET_SUN6I) += sun6i-reboot.o > +obj-$(CONFIG_POWER_RESET_ST) += st-poweroff.o > obj-$(CONFIG_POWER_RESET_VEXPRESS) += vexpress-poweroff.o > obj-$(CONFIG_POWER_RESET_XGENE) += xgene-reboot.o > obj-$(CONFIG_POWER_RESET_KEYSTONE) += keystone-reset.o > diff --git a/drivers/power/reset/st-poweroff.c b/drivers/power/reset/st-poweroff.c > new file mode 100644 > index 0000000..a0acf25 > --- /dev/null > +++ b/drivers/power/reset/st-poweroff.c > @@ -0,0 +1,151 @@ > +/* > + * Copyright (C) 2014 STMicroelectronics > + * > + * Power off Restart driver, used in STMicroelectronics devices. > + * > + * Author: Christophe Kerello <christophe.kerello@st.com> > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2, as > + * published by the Free Software Foundation. > + */ > + > +#include <linux/module.h> > +#include <linux/of.h> > +#include <linux/of_platform.h> > +#include <linux/platform_device.h> > +#include <linux/mfd/syscon.h> > +#include <linux/regmap.h> > + > +#include <asm/system_misc.h> > + > +struct reset_syscfg { > + struct regmap *regmap; > + /* syscfg used for reset */ > + unsigned int offset_rst; > + unsigned int mask_rst; > + /* syscfg used for unmask the reset */ > + unsigned int offset_rst_msk; > + 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 > + > +static struct reset_syscfg stih407_reset = { > + .offset_rst = STIH407_SYSCFG_4000, > + .mask_rst = BIT(0), > + .offset_rst_msk = STIH407_SYSCFG_4008, > + .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; > + > +static void st_restart(enum reboot_mode reboot_mode, const char *cmd) > +{ > + /* reset syscfg updated */ > + regmap_update_bits(st_restart_syscfg->regmap, > + st_restart_syscfg->offset_rst, > + st_restart_syscfg->mask_rst, > + 0); > + > + /* unmask the reset */ > + regmap_update_bits(st_restart_syscfg->regmap, > + st_restart_syscfg->offset_rst_msk, > + st_restart_syscfg->mask_rst_msk, > + 0); > +} > + > +static 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, > + }, > + {} > +}; > + > +static int st_reset_probe(struct platform_device *pdev) > +{ > + struct device_node *np = pdev->dev.of_node; > + const struct of_device_id *match; > + struct device *dev = &pdev->dev; > + > + match = of_match_device(st_reset_of_match, dev); > + if (!match) > + return -ENODEV; > + > + st_restart_syscfg = (struct reset_syscfg *)match->data; > + > + st_restart_syscfg->regmap = > + syscon_regmap_lookup_by_phandle(np, "st,syscfg"); > + if (IS_ERR(st_restart_syscfg->regmap)) { > + dev_err(dev, "No syscfg phandle specified\n"); > + return PTR_ERR(st_restart_syscfg->regmap); > + } > + > + arm_pm_restart = st_restart; > + > + return 0; > +} > + > +static struct platform_driver st_reset_driver = { > + .probe = st_reset_probe, > + .driver = { > + .name = "st_reset", > + .of_match_table = st_reset_of_match, > + }, > +}; > + > +static int __init st_reset_init(void) > +{ > + return platform_driver_register(&st_reset_driver); > +} > + > +device_initcall(st_reset_init); > + > +MODULE_AUTHOR("Christophe Kerello <christophe.kerello@st.com>"); > +MODULE_DESCRIPTION("STMicroelectronics Power off Restart driver"); > +MODULE_LICENSE("GPL v2"); -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org ? Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/5] power: reset: Add restart functionality for STiH41x platforms 2014-09-26 9:56 ` Lee Jones @ 2014-09-26 15:56 ` Sebastian Reichel 0 siblings, 0 replies; 9+ messages in thread From: Sebastian Reichel @ 2014-09-26 15:56 UTC (permalink / raw) To: linux-arm-kernel Hi Lee, On Fri, Sep 26, 2014 at 10:56:28AM +0100, Lee Jones wrote: > Dmitry, > > This patch-set has been on the list for some time (2 months) now. > > How would you like me to proceed? http://git.infradead.org/battery-2.6.git/commit/f0745f3696e88b4055c6229e1306a78fbe503066 -- Sebastian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140926/f0be5e59/attachment.sig> ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 2/5] power: reset: st: Provide DT bindings for ST's Power Reset driver 2014-07-22 14:52 [PATCH 0/5] power: reset: Add support for ST's boards Lee Jones 2014-07-22 14:52 ` [PATCH 1/5] power: reset: Add restart functionality for STiH41x platforms Lee Jones @ 2014-07-22 14:52 ` Lee Jones 2014-09-26 15:57 ` Sebastian Reichel 2014-07-22 14:52 ` [PATCH 3/5] ARM: sti: Add Restart support for the STiH417 (Cannes) board Lee Jones ` (2 subsequent siblings) 4 siblings, 1 reply; 9+ messages in thread From: Lee Jones @ 2014-07-22 14:52 UTC (permalink / raw) To: linux-arm-kernel Signed-off-by: Christophe Kerello <christophe.kerello@st.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> --- Documentation/devicetree/bindings/power/reset/st-reset.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/reset/st-reset.txt diff --git a/Documentation/devicetree/bindings/power/reset/st-reset.txt b/Documentation/devicetree/bindings/power/reset/st-reset.txt new file mode 100644 index 0000000..809af54 --- /dev/null +++ b/Documentation/devicetree/bindings/power/reset/st-reset.txt @@ -0,0 +1,11 @@ +*Device-Tree bindings for ST SW reset functionality + +Required properties: +- compatible: should be "st,<chip>-restart". +- st,syscfg: should be a phandle of the syscfg node. + +Example node: + restart { + compatible = "st,stih416-restart"; + st,syscfg = <&syscfg_sbc>; + }; -- 1.8.3.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/5] power: reset: st: Provide DT bindings for ST's Power Reset driver 2014-07-22 14:52 ` [PATCH 2/5] power: reset: st: Provide DT bindings for ST's Power Reset driver Lee Jones @ 2014-09-26 15:57 ` Sebastian Reichel 0 siblings, 0 replies; 9+ messages in thread From: Sebastian Reichel @ 2014-09-26 15:57 UTC (permalink / raw) To: linux-arm-kernel Hi, On Tue, Jul 22, 2014 at 03:52:29PM +0100, Lee Jones wrote: > Signed-off-by: Christophe Kerello <christophe.kerello@st.com> > Signed-off-by: Lee Jones <lee.jones@linaro.org> > --- > Documentation/devicetree/bindings/power/reset/st-reset.txt | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 Documentation/devicetree/bindings/power/reset/st-reset.txt > > diff --git a/Documentation/devicetree/bindings/power/reset/st-reset.txt b/Documentation/devicetree/bindings/power/reset/st-reset.txt > new file mode 100644 > index 0000000..809af54 > --- /dev/null > +++ b/Documentation/devicetree/bindings/power/reset/st-reset.txt > @@ -0,0 +1,11 @@ > +*Device-Tree bindings for ST SW reset functionality > + > +Required properties: > +- compatible: should be "st,<chip>-restart". > +- st,syscfg: should be a phandle of the syscfg node. > + > +Example node: > + restart { > + compatible = "st,stih416-restart"; > + st,syscfg = <&syscfg_sbc>; > + }; http://git.infradead.org/battery-2.6.git/commit/b08fec2262c8dbb349fe9456586cf0724407e5ee -- Sebastian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140926/57d03813/attachment.sig> ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 3/5] ARM: sti: Add Restart support for the STiH417 (Cannes) board 2014-07-22 14:52 [PATCH 0/5] power: reset: Add support for ST's boards Lee Jones 2014-07-22 14:52 ` [PATCH 1/5] power: reset: Add restart functionality for STiH41x platforms Lee Jones 2014-07-22 14:52 ` [PATCH 2/5] power: reset: st: Provide DT bindings for ST's Power Reset driver Lee Jones @ 2014-07-22 14:52 ` Lee Jones 2014-07-22 14:52 ` [PATCH 4/5] ARM: sti: Add Restart support for the STiH416 (Orly2) board Lee Jones 2014-07-22 14:52 ` [PATCH 5/5] ARM: multi_v7_defconfig: Enable ST's Power Reset driver Lee Jones 4 siblings, 0 replies; 9+ messages in thread From: Lee Jones @ 2014-07-22 14:52 UTC (permalink / raw) To: linux-arm-kernel Signed-off-by: Lee Jones <lee.jones@linaro.org> --- arch/arm/boot/dts/stih407.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stih407.dtsi b/arch/arm/boot/dts/stih407.dtsi index 4f9024f..a370e73 100644 --- a/arch/arm/boot/dts/stih407.dtsi +++ b/arch/arm/boot/dts/stih407.dtsi @@ -63,6 +63,12 @@ ranges; compatible = "simple-bus"; + restart { + compatible = "st,stih407-restart"; + st,syscfg = <&syscfg_sbc_reg>; + status = "okay"; + }; + syscfg_sbc: sbc-syscfg at 9620000 { compatible = "st,stih407-sbc-syscfg", "syscon"; reg = <0x9620000 0x1000>; -- 1.8.3.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 4/5] ARM: sti: Add Restart support for the STiH416 (Orly2) board 2014-07-22 14:52 [PATCH 0/5] power: reset: Add support for ST's boards Lee Jones ` (2 preceding siblings ...) 2014-07-22 14:52 ` [PATCH 3/5] ARM: sti: Add Restart support for the STiH417 (Cannes) board Lee Jones @ 2014-07-22 14:52 ` Lee Jones 2014-07-22 14:52 ` [PATCH 5/5] ARM: multi_v7_defconfig: Enable ST's Power Reset driver Lee Jones 4 siblings, 0 replies; 9+ messages in thread From: Lee Jones @ 2014-07-22 14:52 UTC (permalink / raw) To: linux-arm-kernel Signed-off-by: Lee Jones <lee.jones@linaro.org> --- arch/arm/boot/dts/stih416.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stih416.dtsi b/arch/arm/boot/dts/stih416.dtsi index 84758d7..95b15b0 100644 --- a/arch/arm/boot/dts/stih416.dtsi +++ b/arch/arm/boot/dts/stih416.dtsi @@ -28,6 +28,12 @@ ranges; compatible = "simple-bus"; + restart { + compatible = "st,stih416-restart"; + st,syscfg = <&syscfg_sbc>; + status = "okay"; + }; + powerdown: powerdown-controller { #reset-cells = <1>; compatible = "st,stih416-powerdown"; -- 1.8.3.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 5/5] ARM: multi_v7_defconfig: Enable ST's Power Reset driver 2014-07-22 14:52 [PATCH 0/5] power: reset: Add support for ST's boards Lee Jones ` (3 preceding siblings ...) 2014-07-22 14:52 ` [PATCH 4/5] ARM: sti: Add Restart support for the STiH416 (Orly2) board Lee Jones @ 2014-07-22 14:52 ` Lee Jones 4 siblings, 0 replies; 9+ messages in thread From: Lee Jones @ 2014-07-22 14:52 UTC (permalink / raw) To: linux-arm-kernel Signed-off-by: Lee Jones <lee.jones@linaro.org> --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 5348364..1878e8d 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -221,6 +221,7 @@ CONFIG_CHARGER_TPS65090=y CONFIG_POWER_RESET_AS3722=y CONFIG_POWER_RESET_GPIO=y CONFIG_POWER_RESET_SUN6I=y +CONFIG_POWER_RESET_ST=y CONFIG_SENSORS_LM90=y CONFIG_THERMAL=y CONFIG_ARMADA_THERMAL=y -- 1.8.3.2 ^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-09-26 15:57 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-07-22 14:52 [PATCH 0/5] power: reset: Add support for ST's boards Lee Jones 2014-07-22 14:52 ` [PATCH 1/5] power: reset: Add restart functionality for STiH41x platforms Lee Jones 2014-09-26 9:56 ` Lee Jones 2014-09-26 15:56 ` Sebastian Reichel 2014-07-22 14:52 ` [PATCH 2/5] power: reset: st: Provide DT bindings for ST's Power Reset driver Lee Jones 2014-09-26 15:57 ` Sebastian Reichel 2014-07-22 14:52 ` [PATCH 3/5] ARM: sti: Add Restart support for the STiH417 (Cannes) board Lee Jones 2014-07-22 14:52 ` [PATCH 4/5] ARM: sti: Add Restart support for the STiH416 (Orly2) board Lee Jones 2014-07-22 14:52 ` [PATCH 5/5] ARM: multi_v7_defconfig: Enable ST's Power Reset driver Lee Jones
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).