18c2ecf20Sopenharmony_ciQualcomm PM8xxx PMIC Power Key 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciPROPERTIES 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci- compatible: 68c2ecf20Sopenharmony_ci Usage: required 78c2ecf20Sopenharmony_ci Value type: <string> 88c2ecf20Sopenharmony_ci Definition: must be one of: 98c2ecf20Sopenharmony_ci "qcom,pm8058-pwrkey" 108c2ecf20Sopenharmony_ci "qcom,pm8921-pwrkey" 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci- reg: 138c2ecf20Sopenharmony_ci Usage: required 148c2ecf20Sopenharmony_ci Value type: <prop-encoded-array> 158c2ecf20Sopenharmony_ci Definition: address of power key control register 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci- interrupts: 188c2ecf20Sopenharmony_ci Usage: required 198c2ecf20Sopenharmony_ci Value type: <prop-encoded-array> 208c2ecf20Sopenharmony_ci Definition: the first interrupt specifies the key release interrupt 218c2ecf20Sopenharmony_ci and the second interrupt specifies the key press interrupt. 228c2ecf20Sopenharmony_ci The format of the specifier is defined by the binding 238c2ecf20Sopenharmony_ci document describing the node's interrupt parent. 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci- debounce: 268c2ecf20Sopenharmony_ci Usage: optional 278c2ecf20Sopenharmony_ci Value type: <u32> 288c2ecf20Sopenharmony_ci Definition: time in microseconds that key must be pressed or release 298c2ecf20Sopenharmony_ci for state change interrupt to trigger. 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci- pull-up: 328c2ecf20Sopenharmony_ci Usage: optional 338c2ecf20Sopenharmony_ci Value type: <empty> 348c2ecf20Sopenharmony_ci Definition: presence of this property indicates that the KPDPWR_N pin 358c2ecf20Sopenharmony_ci should be configured for pull up. 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ciEXAMPLE 388c2ecf20Sopenharmony_ci 398c2ecf20Sopenharmony_ci pwrkey@1c { 408c2ecf20Sopenharmony_ci compatible = "qcom,pm8921-pwrkey"; 418c2ecf20Sopenharmony_ci reg = <0x1c>; 428c2ecf20Sopenharmony_ci interrupt-parent = <&pmicintc>; 438c2ecf20Sopenharmony_ci interrupts = <50 1>, <51 1>; 448c2ecf20Sopenharmony_ci debounce = <15625>; 458c2ecf20Sopenharmony_ci pull-up; 468c2ecf20Sopenharmony_ci }; 47