From: bjorn.andersson@linaro.org (Bjorn Andersson)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC][PATCH 3/4] arm64: dts: hikey: Add hikey support for syscon-reboot-mode
Date: Tue, 9 Aug 2016 21:34:24 -0700 [thread overview]
Message-ID: <20160810043424.GH26240@tuxbot> (raw)
In-Reply-To: <1470697426-16426-3-git-send-email-john.stultz@linaro.org>
On Mon 08 Aug 16:03 PDT 2016, John Stultz wrote:
[..]
> diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
[..]
> memory at 0 {
> device_type = "memory";
> reg = <0x00000000 0x00000000 0x00000000 0x05e00000>,
> - <0x00000000 0x05f00000 0x00000000 0x00eff000>,
> + <0x00000000 0x05f00000 0x00000000 0x00001000>,
> + <0x00000000 0x05f02000 0x00000000 0x00efd000>,
> <0x00000000 0x06e00000 0x00000000 0x0060f000>,
> <0x00000000 0x07410000 0x00000000 0x36bf0000>;
> };
As I said when talked about this, I don't think you should punch holes
in the /memory node, but rather add these regions as no-map in a
/reserved-memory node. But that's a unrelated matter.
>
> + reboot-mode-syscon at 5f01000 {
> + compatible = "syscon", "simple-mfd";
> + reg = <0x0 0x05f01000 0x0 0x00001000>;
> +
> + reboot-mode at 0 {
Drop the @0
Other than that:
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> + compatible = "syscon-reboot-mode";
> + offset = <0x0>;
> +
> + mode-normal = <0x77665501>;
> + mode-bootloader = <0x77665500>;
> + mode-recovery = <0x77665502>;
> + };
> + };
> +
> soc {
> spi0: spi at f7106000 {
> status = "ok";
Regards,
Bjorn
WARNING: multiple messages have this Message-ID (diff)
From: Bjorn Andersson <bjorn.andersson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: John Stultz <john.stultz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: lkml <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Andy Yan <andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org>,
Haojian Zhuang
<haojian.zhuang-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
Guodong Xu <guodong.xu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
Wei Xu <xuwei5-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org>,
Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
Catalin Marinas <catalin.marinas-5wv7dgnIgG8@public.gmane.org>,
Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [RFC][PATCH 3/4] arm64: dts: hikey: Add hikey support for syscon-reboot-mode
Date: Tue, 9 Aug 2016 21:34:24 -0700 [thread overview]
Message-ID: <20160810043424.GH26240@tuxbot> (raw)
In-Reply-To: <1470697426-16426-3-git-send-email-john.stultz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
On Mon 08 Aug 16:03 PDT 2016, John Stultz wrote:
[..]
> diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
[..]
> memory@0 {
> device_type = "memory";
> reg = <0x00000000 0x00000000 0x00000000 0x05e00000>,
> - <0x00000000 0x05f00000 0x00000000 0x00eff000>,
> + <0x00000000 0x05f00000 0x00000000 0x00001000>,
> + <0x00000000 0x05f02000 0x00000000 0x00efd000>,
> <0x00000000 0x06e00000 0x00000000 0x0060f000>,
> <0x00000000 0x07410000 0x00000000 0x36bf0000>;
> };
As I said when talked about this, I don't think you should punch holes
in the /memory node, but rather add these regions as no-map in a
/reserved-memory node. But that's a unrelated matter.
>
> + reboot-mode-syscon@5f01000 {
> + compatible = "syscon", "simple-mfd";
> + reg = <0x0 0x05f01000 0x0 0x00001000>;
> +
> + reboot-mode@0 {
Drop the @0
Other than that:
Acked-by: Bjorn Andersson <bjorn.andersson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> + compatible = "syscon-reboot-mode";
> + offset = <0x0>;
> +
> + mode-normal = <0x77665501>;
> + mode-bootloader = <0x77665500>;
> + mode-recovery = <0x77665502>;
> + };
> + };
> +
> soc {
> spi0: spi@f7106000 {
> status = "ok";
Regards,
Bjorn
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Bjorn Andersson <bjorn.andersson@linaro.org>
To: John Stultz <john.stultz@linaro.org>
Cc: lkml <linux-kernel@vger.kernel.org>,
Andy Yan <andy.yan@rock-chips.com>,
Haojian Zhuang <haojian.zhuang@linaro.org>,
Guodong Xu <guodong.xu@linaro.org>, Wei Xu <xuwei5@hisilicon.com>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will.deacon@arm.com>,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org
Subject: Re: [RFC][PATCH 3/4] arm64: dts: hikey: Add hikey support for syscon-reboot-mode
Date: Tue, 9 Aug 2016 21:34:24 -0700 [thread overview]
Message-ID: <20160810043424.GH26240@tuxbot> (raw)
In-Reply-To: <1470697426-16426-3-git-send-email-john.stultz@linaro.org>
On Mon 08 Aug 16:03 PDT 2016, John Stultz wrote:
[..]
> diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts
[..]
> memory@0 {
> device_type = "memory";
> reg = <0x00000000 0x00000000 0x00000000 0x05e00000>,
> - <0x00000000 0x05f00000 0x00000000 0x00eff000>,
> + <0x00000000 0x05f00000 0x00000000 0x00001000>,
> + <0x00000000 0x05f02000 0x00000000 0x00efd000>,
> <0x00000000 0x06e00000 0x00000000 0x0060f000>,
> <0x00000000 0x07410000 0x00000000 0x36bf0000>;
> };
As I said when talked about this, I don't think you should punch holes
in the /memory node, but rather add these regions as no-map in a
/reserved-memory node. But that's a unrelated matter.
>
> + reboot-mode-syscon@5f01000 {
> + compatible = "syscon", "simple-mfd";
> + reg = <0x0 0x05f01000 0x0 0x00001000>;
> +
> + reboot-mode@0 {
Drop the @0
Other than that:
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> + compatible = "syscon-reboot-mode";
> + offset = <0x0>;
> +
> + mode-normal = <0x77665501>;
> + mode-bootloader = <0x77665500>;
> + mode-recovery = <0x77665502>;
> + };
> + };
> +
> soc {
> spi0: spi@f7106000 {
> status = "ok";
Regards,
Bjorn
next prev parent reply other threads:[~2016-08-10 4:34 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-08 23:03 [RFC][PATCH 1/4] arm64: dts: Add display subsystem DT nodes for hi6220-hikey John Stultz
2016-08-08 23:03 ` John Stultz
2016-08-08 23:03 ` John Stultz
2016-08-08 23:03 ` [RFC][PATCH 2/4] arm64: dts: Add HDMI node " John Stultz
2016-08-08 23:03 ` John Stultz
2016-08-08 23:03 ` John Stultz
2016-08-08 23:03 ` [RFC][PATCH 3/4] arm64: dts: hikey: Add hikey support for syscon-reboot-mode John Stultz
2016-08-08 23:03 ` John Stultz
2016-08-10 4:34 ` Bjorn Andersson [this message]
2016-08-10 4:34 ` Bjorn Andersson
2016-08-10 4:34 ` Bjorn Andersson
2016-08-10 4:58 ` John Stultz
2016-08-10 4:58 ` John Stultz
2016-08-10 4:58 ` John Stultz
2016-08-12 13:34 ` Wei Xu
2016-08-12 13:34 ` Wei Xu
2016-08-12 13:34 ` Wei Xu
2016-08-12 16:11 ` Bjorn Andersson
2016-08-12 16:11 ` Bjorn Andersson
2016-08-08 23:03 ` [RFC][PATCH 4/4] arm64: dts: hikey: Add pstore support for HiKey John Stultz
2016-08-08 23:03 ` John Stultz
2016-08-08 23:20 ` Kees Cook
2016-08-08 23:20 ` Kees Cook
2016-08-08 23:23 ` John Stultz
2016-08-08 23:23 ` John Stultz
2016-08-08 23:48 ` [RFC][PATCH 4/4 v2] " John Stultz
2016-08-08 23:48 ` John Stultz
2016-08-09 0:36 ` Kees Cook
2016-08-09 0:36 ` Kees Cook
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=20160810043424.GH26240@tuxbot \
--to=bjorn.andersson@linaro.org \
--cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.