Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1456054

[RFC][PATCH 0/4] SRAM based reboot reason driver for HiKey

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject [RFC][PATCH 0/4] SRAM based reboot reason driver for HiKey
Date 2016-08-04 01:10 +0200
Message-ID <s2dst-EM-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Now that Andy's reboot reason core driver has landed, I wanted
to resubmit a reworked version of my SRAM based reboot reason
driver.

This allows the kernel to communicate to the bootloader what mode
it should reboot to using some reserved memory.

Feedback would be very much appreciated!

thanks
-john

Cc: Andy Yan <andy.yan@rock-chips.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Thierry Reding <treding@nvidia.com>
Cc: Heiko Stübner <heiko@sntech.de>
Cc: Caesar Wang <wxt@rock-chips.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Guodong Xu <guodong.xu@linaro.org>
Cc: Haojian Zhuang <haojian.zhuang@linaro.org>
Cc: Vishal Bhoj <vishal.bhoj@linaro.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: devicetree@vger.kernel.org
Cc: Android Kernel Team <kernel-team@android.com>

John Stultz (4):
  drivers: sram: Have sram driver probe children nodes
  dt-bindings: power: reset: Add document for sram-reboot-mode driver
  power: reset: Add sram-reboot-mode driver
  dts: hikey: Add hikey support for sram-reboot-mode

 .../bindings/power/reset/sram-reboot-mode.txt      | 35 ++++++++
 arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts     | 22 ++++-
 drivers/misc/sram.c                                |  3 +
 drivers/power/reset/Kconfig                        | 10 +++
 drivers/power/reset/Makefile                       |  1 +
 drivers/power/reset/sram-reboot-mode.c             | 95 ++++++++++++++++++++++
 6 files changed, 165 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/power/reset/sram-reboot-mode.txt
 create mode 100644 drivers/power/reset/sram-reboot-mode.c

-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RFC][PATCH 0/4] SRAM based reboot reason driver for HiKey John Stultz <john.stultz@linaro.org> - 2016-08-04 01:10 +0200
  [RFC][PATCH 1/4] drivers: sram: Have sram driver probe children nodes John Stultz <john.stultz@linaro.org> - 2016-08-04 01:10 +0200
  [RFC][PATCH 4/4] dts: hikey: Add hikey support for sram-reboot-mode John Stultz <john.stultz@linaro.org> - 2016-08-04 01:10 +0200
  Re: [RFC][PATCH 0/4] SRAM based reboot reason driver for HiKey Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> - 2016-08-05 14:50 +0200
    Re: [RFC][PATCH 0/4] SRAM based reboot reason driver for HiKey John Stultz <john.stultz@linaro.org> - 2016-08-06 22:10 +0200
    Re: [RFC][PATCH 0/4] SRAM based reboot reason driver for HiKey Rob Herring <robh@kernel.org> - 2016-08-06 23:00 +0200
      Re: [RFC][PATCH 0/4] SRAM based reboot reason driver for HiKey Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> - 2016-08-08 15:50 +0200

csiph-web