Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Qualcomm PON Device
2
3The Power On device for Qualcomm PM8xxx is MFD supporting pwrkey
4and resin along with the Android reboot-mode.
5
6This DT node has pwrkey and resin as sub nodes.
7
8Required 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
15Optional 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
21The rest of the properties should follow the generic reboot-mode description
22found in reboot-mode.txt
23
24Example:
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 };