mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-27 12:57:53 +00:00
arm64: dts: qcom: sm8150: simplify references to pwrkey and resin
Since commit d0a6ce59ea
("arm64: dts: qcom: sm8150: Add support for
SONY Xperia 1 / 5 (Kumano platform)"), we can directly refer to pwrkey
and resin by their new labels, respectively pon_pwrkey and pon_resin.
Simplify microsof surface duo DTS by utilizing the new labels.
Signed-off-by: Felipe Balbi <felipe.balbi@microsoft.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211217124546.1192281-1-balbi@kernel.org
This commit is contained in:
parent
abdd4b7a7a
commit
2a03c21cca
1 changed files with 8 additions and 12 deletions
|
@ -430,18 +430,8 @@ &i2c19 {
|
|||
/* MAX34417 @ 0x1e */
|
||||
};
|
||||
|
||||
&pon {
|
||||
pwrkey {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
resin {
|
||||
compatible = "qcom,pm8941-resin";
|
||||
interrupts = <0x0 0x8 0x1 IRQ_TYPE_EDGE_BOTH>;
|
||||
debounce = <15625>;
|
||||
bias-pull-up;
|
||||
linux,code = <KEY_VOLUMEDOWN>;
|
||||
};
|
||||
&pon_pwrkey {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&qupv3_id_0 {
|
||||
|
@ -476,6 +466,12 @@ &remoteproc_slpi {
|
|||
firmware-name = "qcom/sm8150/microsoft/slpi.mdt";
|
||||
};
|
||||
|
||||
&pon_resin {
|
||||
status = "okay";
|
||||
|
||||
linux,code = <KEY_VOLUMEDOWN>;
|
||||
};
|
||||
|
||||
&tlmm {
|
||||
gpio-reserved-ranges = <126 4>;
|
||||
|
||||
|
|
Loading…
Reference in a new issue