Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efa15237 authored by Guoping Yu's avatar Guoping Yu
Browse files

ARM: dts: msm: add keypad backlight DT entries for MSM8916



Add pinctrl configuration and device tree node for button
backlight controlled by MSM GPIO 119 on 8916 SKUI QRD.

Change-Id: I9886ff95b13a7df74da2a0b5fa9048dfba551500
Signed-off-by: default avatarGuoping Yu <guopingy@codeaurora.org>
parent 53f84163
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -1126,5 +1126,17 @@
				bias-pull-up;		/* PULL UP */
			};
		};

		button_backlight_pin {
			qcom,pins = <&gp 119>;
			qcom,num-grp-pins = <1>;
			qcom,pin-func = <0>;
			label = "button-backlight-pin";
			button_backlight_off: button_backlight_off {
				drive-strength = <2>;
				bias-disable;
				output-low;
			};
		};
	};
};
+14 −0
Original line number Diff line number Diff line
@@ -12,3 +12,17 @@

#include "msm8916-qrd.dtsi"

&soc {
	gpio-leds {
		compatible = "gpio-leds";
		status = "okay";
		pinctrl-names = "default";
		pinctrl-0 = <&button_backlight_off>;

		keypad-backlight {
			gpios = <&msm_gpio 119 0>;
			label = "button-backlight";
			linux,default-trigger = "none";
		};
	};
};