diff --git a/bindings/input/qpnp-power-on.txt b/bindings/input/qpnp-power-on.txt index b9bb2bfea1ae..2db6719b2c54 100644 --- a/bindings/input/qpnp-power-on.txt +++ b/bindings/input/qpnp-power-on.txt @@ -129,6 +129,8 @@ Optional properties: - qcom,use-legacy-hard-reset-offset Boolean property to support legacy hard-reset offset of the PON_RB_SPARE register for some (PON gen2) platforms. +- qcom,log-kpd-event: Boolean property to enable logging of KPDPWR status + during driver INIT and runtime when key is pressed. Optional Sub-nodes: - qcom,pon_1 ... qcom,pon_n: These PON child nodes correspond to features diff --git a/qcom/holi-pmic-overlay-pm6125.dtsi b/qcom/holi-pmic-overlay-pm6125.dtsi index cf4d9588b4c1..1e7a198c34a1 100644 --- a/qcom/holi-pmic-overlay-pm6125.dtsi +++ b/qcom/holi-pmic-overlay-pm6125.dtsi @@ -494,3 +494,6 @@ }; }; +&pm6125_pon { + qcom,log-kpd-event; +}; diff --git a/qcom/pm6125.dtsi b/qcom/pm6125.dtsi index 28ac8c196c2e..fb71fa0fd284 100644 --- a/qcom/pm6125.dtsi +++ b/qcom/pm6125.dtsi @@ -17,7 +17,7 @@ #address-cells = <1>; #size-cells = <0>; - qcom,power-on@800 { + pm6125_pon: qcom,power-on@800 { compatible = "qcom,qpnp-power-on"; reg = <0x800>; interrupts = <0x0 0x8 0x0 IRQ_TYPE_EDGE_BOTH>,