Commit 280e05a3 authored by Johan Hovold's avatar Johan Hovold Committed by Bjorn Andersson

arm64: dts: qcom: sc8280xp-pmics: fix pon compatible and registers

The pmk8280 PMIC PON peripheral is gen3 and uses two sets of registers;
hlos and pbs.

This specifically fixes the following error message during boot when the
pbs registers are not defined:

	PON_PBS address missing, can't read HW debounce time

Note that this also enables the spurious interrupt workaround introduced
by commit 0b65118e ("Input: pm8941-pwrkey - add software key press
debouncing support") (which may or may not be needed).

Fixes: ccd3517f ("arm64: dts: qcom: sc8280xp: Add reference device")
Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Tested-by: Steev Klimaszewski <steev@kali.org> #Thinkpad X13s
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230327122948.4323-1-johan+linaro@kernel.org
parent d97e712b
...@@ -59,8 +59,9 @@ pmk8280: pmic@0 { ...@@ -59,8 +59,9 @@ pmk8280: pmic@0 {
#size-cells = <0>; #size-cells = <0>;
pmk8280_pon: pon@1300 { pmk8280_pon: pon@1300 {
compatible = "qcom,pm8998-pon"; compatible = "qcom,pmk8350-pon";
reg = <0x1300>; reg = <0x1300>, <0x800>;
reg-names = "hlos", "pbs";
pmk8280_pon_pwrkey: pwrkey { pmk8280_pon_pwrkey: pwrkey {
compatible = "qcom,pmk8350-pwrkey"; compatible = "qcom,pmk8350-pwrkey";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment