diff options
author | 2019-07-29 08:51:48 -0700 | |
---|---|---|
committer | 2019-07-29 08:51:48 -0700 | |
commit | ed32f8d42cee118b075e4372a55c7739a11094b2 (patch) | |
tree | 5a806c5168d4177e0536b98b6bda30ec4bdbac43 /Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.txt | |
parent | drm/i915: Flush the i915_vm_release before ggtt shutdown (diff) | |
parent | Linus 5.3-rc1 (diff) | |
download | linux-ed32f8d42cee118b075e4372a55c7739a11094b2.tar.gz linux-ed32f8d42cee118b075e4372a55c7739a11094b2.tar.bz2 linux-ed32f8d42cee118b075e4372a55c7739a11094b2.zip |
Merge drm/drm-next into drm-intel-next-queued
Catching up with 5.3-rc*
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.txt')
-rw-r--r-- | Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.txt b/Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.txt new file mode 100644 index 000000000000..752d6126d5da --- /dev/null +++ b/Documentation/devicetree/bindings/power/reset/nvmem-reboot-mode.txt @@ -0,0 +1,26 @@ +NVMEM reboot mode driver + +This driver gets reboot mode magic value from reboot-mode driver +and stores it in a NVMEM cell named "reboot-mode". Then the bootloader +can read it and take different action according to the magic +value stored. + +Required properties: +- compatible: should be "nvmem-reboot-mode". +- nvmem-cells: A phandle to the reboot mode provided by a nvmem device. +- nvmem-cell-names: Should be "reboot-mode". + +The rest of the properties should follow the generic reboot-mode description +found in reboot-mode.txt + +Example: + reboot-mode { + compatible = "nvmem-reboot-mode"; + nvmem-cells = <&reboot_mode>; + nvmem-cell-names = "reboot-mode"; + + mode-normal = <0xAAAA5501>; + mode-bootloader = <0xBBBB5500>; + mode-recovery = <0xCCCC5502>; + mode-test = <0xDDDD5503>; + }; |