Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

power: reset: ltc2952: document optional trigger behavior

Document the fact that the trigger signal is now optional, and describe
the behavior when this is used.

While at it, fix a typo, and paraphrase a sentence to be less platform
specific.

Signed-off-by: Frans Klaver <frans.klaver@xsens.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>

authored by

Frans Klaver and committed by
Sebastian Reichel
0f2ecb8f ee181853

+8 -5
+8 -5
Documentation/devicetree/bindings/power/reset/ltc2952-poweroff.txt
··· 1 1 Binding for the LTC2952 PowerPath controller 2 2 3 3 This chip is used to externally trigger a system shut down. Once the trigger has 4 - been sent, the chips' watchdog has to be reset to gracefully shut down. 5 - If the Linux systems decides to shut down it powers off the platform via the 6 - kill signal. 4 + been sent, the chip's watchdog has to be reset to gracefully shut down. 5 + A full powerdown can be triggered via the kill signal. 7 6 8 7 Required properties: 9 8 10 9 - compatible: Must contain: "lltc,ltc2952" 11 - - trigger-gpios: phandle + gpio-specifier for the GPIO connected to the 12 - chip's trigger line 13 10 - watchdog-gpios: phandle + gpio-specifier for the GPIO connected to the 14 11 chip's watchdog line 15 12 - kill-gpios: phandle + gpio-specifier for the GPIO connected to the 16 13 chip's kill line 14 + 15 + Optional properties: 16 + - trigger-gpios: phandle + gpio-specifier for the GPIO connected to the 17 + chip's trigger line. If this property is not set, the 18 + trigger function is ignored and the chip is kept alive 19 + until an explicit kill signal is received 17 20 18 21 Example: 19 22