From: Stefan Agner <stefan@agner.ch>
To: shawn.guo@linaro.org, kernel@pengutronix.de, linux@roeck-us.net,
arnd@arndb.de, sre@kernel.org, fkan@apm.com,
grant.likely@linaro.org, robh+dt@kernel.org
Cc: dbaryshkov@gmail.com, dwmw2@infradead.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, stefan@agner.ch
Subject: [PATCH v2 0/3] power: reset: vf610 system reset controller
Date: Mon, 1 Dec 2014 18:03:06 +0100 [thread overview]
Message-ID: <1417453389-1588-1-git-send-email-stefan@agner.ch> (raw)
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
next reply other threads:[~2014-12-01 17:03 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-01 17:03 Stefan Agner [this message]
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
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=1417453389-1588-1-git-send-email-stefan@agner.ch \
--to=stefan@agner.ch \
--cc=arnd@arndb.de \
--cc=dbaryshkov@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dwmw2@infradead.org \
--cc=fkan@apm.com \
--cc=grant.likely@linaro.org \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=robh+dt@kernel.org \
--cc=shawn.guo@linaro.org \
--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®