Merge "ARM: dts: msm: Enable volume up key for qrd sdm660"
This commit is contained in:
commit
824a1a6d2a
1 changed files with 42 additions and 0 deletions
|
@ -103,3 +103,45 @@
|
||||||
|
|
||||||
&soc {
|
&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>;
|
||||||
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue