Skip to content

Commit

Permalink
arm64: dts: qcom: sdm845: Disable pwrkey on Cheza
Browse files Browse the repository at this point in the history
We don't use the power key from the PMIC on Cheza. Disable this node so
that we don't probe the driver for this device.

Reviewed-by: Douglas Anderson <[email protected]>
Cc: Douglas Anderson <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
  • Loading branch information
bebarino authored and andersson committed Feb 12, 2020
1 parent bb6d3fb commit 31a233a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/qcom/pm8998.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
mode-bootloader = <0x2>;
mode-recovery = <0x1>;

pwrkey {
pm8998_pwrkey: pwrkey {
compatible = "qcom,pm8941-pwrkey";
interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
debounce = <15625>;
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,10 @@ ap_ts_i2c: &i2c14 {
status = "okay";
};

&pm8998_pwrkey {
status = "disabled";
};

&qupv3_id_0 {
status = "okay";
};
Expand Down

0 comments on commit 31a233a

Please sign in to comment.