summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/qcom/pm660.dtsi
diff options
context:
space:
mode:
authorDang Huynh <danct12@riseup.net>2021-11-21 00:42:21 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2021-11-21 01:24:58 +0300
commit9f6cbe37a72fc9dafe8f560e557c93209cc100e7 (patch)
tree4fcf0c6ed82501986fe21114cc479bd04a7e9140 /arch/arm64/boot/dts/qcom/pm660.dtsi
parentb139425115b801e56fe2d6dbcd2e798be87e2e06 (diff)
downloadlinux-9f6cbe37a72fc9dafe8f560e557c93209cc100e7.tar.xz
arm64: dts: qcom: sdm630-pm660: Move RESIN to pm660 dtsi
It's not worth duplicating the same node over and over again, so let's keep the common bits in the pm660 DTSI, making only changing the status and keycode necessary. Also, disable RESIN/PWR by default just in case if there are devices that doesn't use them. Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Dang Huynh <danct12@riseup.net> Reviewed-by: Caleb Connolly <caleb@connolly.tech> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211120214227.779742-3-danct12@riseup.net
Diffstat (limited to 'arch/arm64/boot/dts/qcom/pm660.dtsi')
-rw-r--r--arch/arm64/boot/dts/qcom/pm660.dtsi12
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/qcom/pm660.dtsi b/arch/arm64/boot/dts/qcom/pm660.dtsi
index d0ef8a1675e2..c482663aad56 100644
--- a/arch/arm64/boot/dts/qcom/pm660.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm660.dtsi
@@ -54,14 +54,24 @@
mode-bootloader = <0x2>;
mode-recovery = <0x1>;
- pwrkey {
+ pon_pwrkey: pwrkey {
compatible = "qcom,pm8941-pwrkey";
interrupts = <0x0 0x8 0 IRQ_TYPE_EDGE_BOTH>;
debounce = <15625>;
bias-pull-up;
linux,code = <KEY_POWER>;
+
+ status = "disabled";
};
+ pon_resin: resin {
+ compatible = "qcom,pm8941-resin";
+ interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
+ debounce = <15625>;
+ bias-pull-up;
+
+ status = "disabled";
+ };
};
pm660_temp: temp-alarm@2400 {