Skip to content

Commit 6193bbc

Browse files
kaechelebarni2000
authored andcommitted
fixup! arm64: dts: qcom: msm8953: Add device tree for Lenovo ThinkSmart View
1 parent 2bccefe commit 6193bbc

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

arch/arm64/boot/dts/qcom/apq8053-lenovo-cd-18781y.dts

+17
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@
5757
label = "Volume Up";
5858
gpios = <&tlmm 85 GPIO_ACTIVE_LOW>;
5959
linux,code = <KEY_VOLUMEUP>;
60+
/* The device only has a Volume Up and a Volume Down key.
61+
* We define them as a wakeup-source, so the user can
62+
* use them to wake the device.
63+
*/
64+
wakeup-source;
6065
};
6166
};
6267

@@ -309,8 +314,16 @@
309314
/delete-node/ mpss;
310315
};
311316

317+
&pm8953_pon {
318+
/* Device doesn't have a power key */
319+
pwrkey {
320+
status = "disabled";
321+
};
322+
};
323+
312324
&pm8953_resin {
313325
linux,code = <KEY_VOLUMEDOWN>;
326+
wakeup-source;
314327

315328
status = "okay";
316329
};
@@ -718,3 +731,7 @@
718731
&usb3_dwc3 {
719732
dr_mode = "otg";
720733
};
734+
735+
&zap_shader {
736+
firmware-name = "qcom/msm8953/lenovo/cd-18781y/a506_zap.mdt";
737+
};

0 commit comments

Comments
 (0)