]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
arm64: dts: qcom: sc8280xp-pmics: fix pon compatible and registers
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 27 Mar 2023 12:29:48 +0000 (14:29 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 16 Jun 2023 12:57:52 +0000 (14:57 +0200)
commitce5cd30646bf0c549ecbb7e1f405549f1ba6258f
tree16d427dad619b62af78b8a878602cb27aef7de21
parentb07887993f2c45aeaa48246c431ab2ac02c854d4
arm64: dts: qcom: sc8280xp-pmics: fix pon compatible and registers

BugLink: https://bugs.launchpad.net/bugs/2023929
[ Upstream commit ad8cd35c58ca3ec5e93f52a0124899627b98efb2 ]

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 0b65118e6ba3 ("Input: pm8941-pwrkey - add software key press
debouncing support") (which may or may not be needed).

Fixes: ccd3517faf18 ("arm64: dts: qcom: sc8280xp: Add reference device")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Steev Klimaszewski <steev@kali.org> #Thinkpad X13s
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230327122948.4323-1-johan+linaro@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi