Merge tag 'tegra-for-4.8-i2c' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra...
[cascardo/linux.git] / Documentation / devicetree / bindings / power / reset / reboot-mode.txt
1 Generic reboot mode core map driver
2
3 This driver get reboot mode arguments and call the write
4 interface to store the magic value in special register
5 or ram. Then the bootloader can read it and take different
6 action according to the argument stored.
7
8 All mode properties are vendor specific, it is a indication to tell
9 the bootloader what to do when the system reboots, and should be named
10 as mode-xxx = <magic> (xxx is mode name, magic should be a none-zero value).
11
12 For example modes common on Android platform:
13 - mode-normal: Normal reboot mode, system reboot with command "reboot".
14 - mode-recovery: Android Recovery mode, it is a mode to format the device or update a new image.
15 - mode-bootloader: Android fastboot mode, it's a mode to re-flash partitions on the Android based device.
16 - mode-loader: A bootloader mode, it's a mode used to download image on Rockchip platform,
17                usually used in development.
18
19 Example:
20         reboot-mode {
21                 mode-normal = <BOOT_NORMAL>;
22                 mode-recovery = <BOOT_RECOVERY>;
23                 mode-bootloader = <BOOT_FASTBOOT>;
24                 mode-loader = <BOOT_BL_DOWNLOAD>;
25         }