dt-bindings: power: reset: Convert syscon-reboot-mode to DT schema
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>
Thu, 7 May 2020 23:38:44 +0000 (02:38 +0300)
committerSebastian Reichel <sre@kernel.org>
Sat, 9 May 2020 00:19:39 +0000 (02:19 +0200)
commita776f560abcba90ee8959c4b7a7f6c9911ca2988
tree7f0eae2fdf16c98ffb23600a8973e0ba08b7d6e4
parent1a45732926f33245b5cabd37f03cdbf4a1818a16
dt-bindings: power: reset: Convert syscon-reboot-mode to DT schema

Modern device tree bindings are supposed to be created as YAML-files
in accordance with dt-schema. This commit replaces SYSCON reboot-mode
legacy bare text bindings with YAML file. As before the bindings file
states that the corresponding dts node is supposed to be compatible
"syscon-reboot-mode" device and necessarily have an offset property
to determine which register from the regmap is supposed to keep the
mode on reboot.

Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.txt [deleted file]
Documentation/devicetree/bindings/power/reset/syscon-reboot-mode.yaml [new file with mode: 0644]