Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / power / reset / qcom,pon.txt
1 Qualcomm PON Device
2
3 The Power On device for Qualcomm PM8xxx is MFD supporting pwrkey
4 and resin along with the Android reboot-mode.
5
6 This DT node has pwrkey and resin as sub nodes.
7
8 Required Properties:
9 -compatible: Must be one of:
10         "qcom,pm8916-pon"
11         "qcom,pms405-pon"
12
13 -reg: Specifies the physical address of the pon register
14
15 Optional subnode:
16 -pwrkey: Specifies the subnode pwrkey and should follow the
17  qcom,pm8941-pwrkey.txt description.
18 -resin: Specifies the subnode resin and should follow the
19  qcom,pm8xxx-pwrkey.txt description.
20
21 The rest of the properties should follow the generic reboot-mode description
22 found in reboot-mode.txt
23
24 Example:
25
26         pon@800 {
27                 compatible = "qcom,pm8916-pon";
28
29                 reg = <0x800>;
30                 mode-bootloader = <0x2>;
31                 mode-recovery = <0x1>;
32
33                 pwrkey {
34                         compatible = "qcom,pm8941-pwrkey";
35                         interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
36                         debounce = <15625>;
37                         bias-pull-up;
38                         linux,code = <KEY_POWER>;
39                 };
40
41                 resin {
42                         compatible = "qcom,pm8941-resin";
43                         interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
44                         debounce = <15625>;
45                         bias-pull-up;
46                         linux,code = <KEY_VOLUMEDOWN>;
47                 };
48         };