Merge "ARM: dts: msm: Enable volume up key for qrd sdm660"

This commit is contained in:
Linux Build Service Account 2017-01-08 08:05:50 -08:00 committed by Gerrit - the friendly Code Review server
commit 824a1a6d2a

View file

@ -103,3 +103,45 @@
&soc {
};
&pm660l_gpios {
/* GPIO 7 for VOL_UP */
gpio@c600 {
status = "ok";
qcom,mode = <0>;
qcom,pull = <0>;
qcom,vin-sel = <0>;
qcom,src-sel = <0>;
qcom,out-strength = <1>;
};
};
&soc {
gpio_keys {
compatible = "gpio-keys";
input-name = "gpio-keys";
status = "ok";
vol_up {
label = "volume_up";
gpios = <&pm660l_gpios 7 0x1>;
linux,input-type = <1>;
linux,code = <115>;
gpio-key,wakeup;
debounce-interval = <15>;
};
};
};
/ {
qrd_batterydata: qcom,battery-data {
qcom,batt-id-range-pct = <15>;
#include "fg-gen3-batterydata-qrd-skuk-4v4-3000mah.dtsi"
};
};
&pm660_fg {
qcom,battery-data = <&qrd_batterydata>;
qcom,fg-jeita-thresholds = <0 5 55 55>;
};