linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] power: reset: vf610 system reset controller
@ 2014-12-01 17:03 Stefan Agner
  2014-12-01 17:03 ` [PATCH v2 1/3] power: reset: read priority from device tree Stefan Agner
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Stefan Agner @ 2014-12-01 17:03 UTC (permalink / raw)
  To: linux-arm-kernel

This second version does essentially the same as v1, but with a lot
less code due to the usage of syscon and syscon-reboot driver. My
earlier misgivings that it might be a problem for the suspend/resume
implementation later on did not hold true: I tested my prelinear
suspend code and in case the code really needs to access some
registers form assembler, it is possible to map temporarly the
relevant region again.

I refrained from adding POWER_RESET_SYSCON as a hard dependency for
Vybrid (SOC_VF610): In its dual-core configuration, one might want
have the Cortex-M4 in charge of the system reset... Hence the user
should be able to build a kernel without the system reset (beside
the option to create a board specific device tree with disabled
SRC node).

Shawn, the defconfig change is based on the latest (almost-merged?)
defconfig patch.

Changes since v1:
- Total rework using syscon/syscon-reboot capabilities
- Enhance syscon-reboot with priority capabilities (as suggested by Guenter)

Stefan Agner (3):
  power: reset: read priority from device tree
  ARM: dts: vf610: add system reset controller and syscon-reboot
  ARM: imx_v6_v7_defconfig: add POWER_RESET_SYSCON

 .../devicetree/bindings/power/reset/syscon-reboot.txt       |  3 +++
 arch/arm/boot/dts/vf500.dtsi                                |  4 ++++
 arch/arm/boot/dts/vfxxx.dtsi                                | 13 +++++++++++++
 arch/arm/configs/imx_v6_v7_defconfig                        |  8 ++++----
 drivers/power/reset/syscon-reboot.c                         |  5 ++++-
 5 files changed, 28 insertions(+), 5 deletions(-)

-- 
2.1.3

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-12-01 22:35 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-01 17:03 [PATCH v2 0/3] power: reset: vf610 system reset controller Stefan Agner
2014-12-01 17:03 ` [PATCH v2 1/3] power: reset: read priority from device tree Stefan Agner
2014-12-01 17:11   ` Mark Rutland
2014-12-01 17:22     ` Guenter Roeck
2014-12-01 17:24     ` Stefan Agner
2014-12-01 17:41       ` Mark Rutland
2014-12-01 17:51         ` Guenter Roeck
2014-12-01 17:59           ` Mark Rutland
2014-12-01 18:12             ` Guenter Roeck
2014-12-01 18:18               ` Mark Rutland
2014-12-01 18:50         ` Arnd Bergmann
2014-12-01 17:15   ` Feng Kan
2014-12-01 17:29     ` Stefan Agner
2014-12-01 17:38       ` Feng Kan
2014-12-01 17:42         ` Guenter Roeck
2014-12-01 22:18           ` Stefan Agner
2014-12-01 22:35             ` Guenter Roeck
2014-12-01 17:03 ` [PATCH v2 2/3] ARM: dts: vf610: add system reset controller and syscon-reboot Stefan Agner
2014-12-01 17:03 ` [PATCH v2 3/3] ARM: imx_v6_v7_defconfig: add POWER_RESET_SYSCON Stefan Agner

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).