xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/reset/ltc2952-poweroff.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBinding for the LTC2952 PowerPath controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis chip is used to externally trigger a system shut down. Once the trigger has
4*4882a593Smuzhiyunbeen sent, the chip's watchdog has to be reset to gracefully shut down.
5*4882a593SmuzhiyunA full powerdown can be triggered via the kill signal.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRequired properties:
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun- compatible:		Must contain: "lltc,ltc2952"
10*4882a593Smuzhiyun- watchdog-gpios:	phandle + gpio-specifier for the GPIO connected to the
11*4882a593Smuzhiyun			chip's watchdog line
12*4882a593Smuzhiyun- kill-gpios:		phandle + gpio-specifier for the GPIO connected to the
13*4882a593Smuzhiyun			chip's kill line
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunOptional properties:
16*4882a593Smuzhiyun- trigger-gpios:	phandle + gpio-specifier for the GPIO connected to the
17*4882a593Smuzhiyun			chip's trigger line. If this property is not set, the
18*4882a593Smuzhiyun			trigger function is ignored and the chip is kept alive
19*4882a593Smuzhiyun			until an explicit kill signal is received
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunExample:
22*4882a593Smuzhiyun
23*4882a593Smuzhiyunltc2952 {
24*4882a593Smuzhiyun	compatible = "lltc,ltc2952";
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun	trigger-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
27*4882a593Smuzhiyun	watchdog-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
28*4882a593Smuzhiyun	kill-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
29*4882a593Smuzhiyun};
30