Commit 4c881ab7 authored by Dzmitry Sankouski's avatar Dzmitry Sankouski Committed by Bjorn Andersson

arm64: dts: qcom: Re-enable resin on MSM8998 and SDM845 boards

resin node declaration was moved to pm8998.dtsi file (in disabled state).
MSM8998 and SDM845 boards defining resin node did not previously have
status="okay" and ended up disabled.
Re-enable it by using resin node link from pm8998.dtsi with status="okay".

Fixes: f86ae6f2 ("arm64: dts: qcom: sagit: add initial device tree for sagit")
Signed-off-by: default avatarDzmitry Sankouski <dsankouski@gmail.com>
Reviewed-by: default avatarMarijn Suijten <marijn.suijten@somainline.org>
Reported-by: default avatarMarijn Suijten <marijn.suijten@somainline.org>
Link: https://lore.kernel.org/linux-arm-msm/20221222115922.jlachctn4lxopp7a@SoMainline.org/Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221228115243.201038-1-dsankouski@gmail.com
parent dc58c4d1
...@@ -364,14 +364,9 @@ cam_snapshot_pin_a: cam-snapshot-btn-active-state { ...@@ -364,14 +364,9 @@ cam_snapshot_pin_a: cam-snapshot-btn-active-state {
}; };
}; };
&pm8998_pon { &pm8998_resin {
resin { linux,code = <KEY_VOLUMEDOWN>;
compatible = "qcom,pm8941-resin"; status = "okay";
interrupts = <GIC_SPI 0x8 1 IRQ_TYPE_EDGE_BOTH>;
bias-pull-up;
debounce = <15625>;
linux,code = <KEY_VOLUMEDOWN>;
};
}; };
&qusb2phy { &qusb2phy {
......
...@@ -357,14 +357,9 @@ vib_default: vib-en-state { ...@@ -357,14 +357,9 @@ vib_default: vib-en-state {
}; };
}; };
&pm8998_pon { &pm8998_resin {
resin { linux,code = <KEY_VOLUMEUP>;
compatible = "qcom,pm8941-resin"; status = "okay";
interrupts = <GIC_SPI 0x8 1 IRQ_TYPE_EDGE_BOTH>;
debounce = <15625>;
bias-pull-up;
linux,code = <KEY_VOLUMEUP>;
};
}; };
&qusb2phy { &qusb2phy {
......
...@@ -615,14 +615,9 @@ vol_up_pin_a: vol-up-active-state { ...@@ -615,14 +615,9 @@ vol_up_pin_a: vol-up-active-state {
}; };
}; };
&pm8998_pon { &pm8998_resin {
resin { linux,code = <KEY_VOLUMEDOWN>;
compatible = "qcom,pm8941-resin"; status = "okay";
interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
debounce = <15625>;
bias-pull-up;
linux,code = <KEY_VOLUMEDOWN>;
};
}; };
&pmi8998_lpg { &pmi8998_lpg {
......
...@@ -482,14 +482,9 @@ &mss_pil { ...@@ -482,14 +482,9 @@ &mss_pil {
status = "okay"; status = "okay";
}; };
&pm8998_pon { &pm8998_resin {
resin { linux,code = <KEY_VOLUMEDOWN>;
compatible = "qcom,pm8941-resin"; status = "okay";
interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
debounce = <15625>;
bias-pull-up;
linux,code = <KEY_VOLUMEDOWN>;
};
}; };
&sdhc_2 { &sdhc_2 {
......
...@@ -522,14 +522,9 @@ pinconf { ...@@ -522,14 +522,9 @@ pinconf {
}; };
}; };
&pm8998_pon { &pm8998_resin {
volume_down_resin: resin { linux,code = <KEY_VOLUMEDOWN>;
compatible = "qcom,pm8941-resin"; status = "okay";
interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
debounce = <15625>;
bias-pull-up;
linux,code = <KEY_VOLUMEDOWN>;
};
}; };
&pmi8998_lpg { &pmi8998_lpg {
......
...@@ -325,14 +325,9 @@ &pmi8998_wled { ...@@ -325,14 +325,9 @@ &pmi8998_wled {
qcom,cabc; qcom,cabc;
}; };
&pm8998_pon { &pm8998_resin {
resin { linux,code = <KEY_VOLUMEDOWN>;
compatible = "qcom,pm8941-resin"; status = "okay";
interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
debounce = <15625>;
bias-pull-up;
linux,code = <KEY_VOLUMEDOWN>;
};
}; };
&pmi8998_rradc { &pmi8998_rradc {
......
...@@ -530,14 +530,9 @@ pinconf { ...@@ -530,14 +530,9 @@ pinconf {
}; };
}; };
&pm8998_pon { &pm8998_resin {
resin { linux,code = <KEY_VOLUMEDOWN>;
interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>; status = "okay";
compatible = "qcom,pm8941-resin";
linux,code = <KEY_VOLUMEDOWN>;
debounce = <15625>;
bias-pull-up;
};
}; };
&q6afedai { &q6afedai {
......
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