Skip to content

Commit ad8cd35

Browse files
jhovoldandersson
authored andcommitted
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 0b65118 ("Input: pm8941-pwrkey - add software key press debouncing support") (which may or may not be needed). Fixes: ccd3517 ("arm64: dts: qcom: sc8280xp: Add reference device") Signed-off-by: Johan Hovold <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Tested-by: Steev Klimaszewski <[email protected]> #Thinkpad X13s Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 1dc4055 commit ad8cd35

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@
5959
#size-cells = <0>;
6060

6161
pmk8280_pon: pon@1300 {
62-
compatible = "qcom,pm8998-pon";
63-
reg = <0x1300>;
62+
compatible = "qcom,pmk8350-pon";
63+
reg = <0x1300>, <0x800>;
64+
reg-names = "hlos", "pbs";
6465

6566
pmk8280_pon_pwrkey: pwrkey {
6667
compatible = "qcom,pmk8350-pwrkey";

0 commit comments

Comments
 (0)