18c2ecf20Sopenharmony_ciQualcomm PON Device
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThe Power On device for Qualcomm PM8xxx is MFD supporting pwrkey
48c2ecf20Sopenharmony_ciand resin along with the Android reboot-mode.
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciThis DT node has pwrkey and resin as sub nodes.
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciRequired Properties:
98c2ecf20Sopenharmony_ci-compatible: Must be one of:
108c2ecf20Sopenharmony_ci	"qcom,pm8916-pon"
118c2ecf20Sopenharmony_ci	"qcom,pms405-pon"
128c2ecf20Sopenharmony_ci	"qcom,pm8998-pon"
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci-reg: Specifies the physical address of the pon register
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciOptional subnode:
178c2ecf20Sopenharmony_ci-pwrkey: Specifies the subnode pwrkey and should follow the
188c2ecf20Sopenharmony_ci qcom,pm8941-pwrkey.txt description.
198c2ecf20Sopenharmony_ci-resin: Specifies the subnode resin and should follow the
208c2ecf20Sopenharmony_ci qcom,pm8xxx-pwrkey.txt description.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciThe rest of the properties should follow the generic reboot-mode description
238c2ecf20Sopenharmony_cifound in reboot-mode.txt
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciExample:
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci	pon@800 {
288c2ecf20Sopenharmony_ci		compatible = "qcom,pm8916-pon";
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci		reg = <0x800>;
318c2ecf20Sopenharmony_ci		mode-bootloader = <0x2>;
328c2ecf20Sopenharmony_ci		mode-recovery = <0x1>;
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci		pwrkey {
358c2ecf20Sopenharmony_ci			compatible = "qcom,pm8941-pwrkey";
368c2ecf20Sopenharmony_ci			interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
378c2ecf20Sopenharmony_ci			debounce = <15625>;
388c2ecf20Sopenharmony_ci			bias-pull-up;
398c2ecf20Sopenharmony_ci			linux,code = <KEY_POWER>;
408c2ecf20Sopenharmony_ci		};
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci		resin {
438c2ecf20Sopenharmony_ci			compatible = "qcom,pm8941-resin";
448c2ecf20Sopenharmony_ci			interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
458c2ecf20Sopenharmony_ci			debounce = <15625>;
468c2ecf20Sopenharmony_ci			bias-pull-up;
478c2ecf20Sopenharmony_ci			linux,code = <KEY_VOLUMEDOWN>;
488c2ecf20Sopenharmony_ci		};
498c2ecf20Sopenharmony_ci	};
50