Skip to content
Snippets Groups Projects
Commit 1bc1e5fb authored by Devin Kim's avatar Devin Kim
Browse files

arm/dt: lenok: Warn a long key press with vibration


Unintended power off may happen by long key press. So if power key is pressed
for over 6 seconds, vibe for the notification.

Change-Id: I10b0ea8cf50ebbe9a6e231a6d56b584f5656506f
Signed-off-by: default avatarDevin Kim <dojip.kim@lge.com>
parent 26647e54
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
*/ */
&soc { &soc {
vibrator@fd8C3420 { vibrator: vibrator@fd8C3420 {
status = "ok"; status = "ok";
compatible = "msm,pwm_vibrator"; compatible = "msm,pwm_vibrator";
reg = <0xfd8C3420 0x400>; reg = <0xfd8C3420 0x400>;
......
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
&spmi_bus { &spmi_bus {
qcom,pm8226@0 { qcom,pm8226@0 {
qcom,power-on@800 { qcom,power-on@800 {
qcom,external-vibrator = <&vibrator>;
qcom,longkey-warn-time = <6000>;
qcom,pon_2 { qcom,pon_2 {
status = "disabled"; status = "disabled";
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment